var CampCost = 0
var CampValue = "No Camp Selected";
var DPCost = 0;
var DPValue = "No Early Drop off or Late Pickup";
var LunchCost = 0;
var LunchValue = "No Lunch Program";
function UpdateCamp(cost, value)
{
 CampCost = cost;
 CampValue = value;
 UpdateChart();

}
function UpdateDropPickup(cost, value)
{
 DPCost = cost;
 DPValue = value;
 UpdateChart();

}
function UpdateLunch(cost, value)
{
 LunchCost = cost;
 LunchValue = value;
 UpdateChart();
}
function UpdateChart()
{
var SubTotal = CampCost+DPCost+LunchCost
var HST = SubTotal * 0.13;
//var GST = (CampCost+DPCost+LunchCost) * 0.05;
//var PST = (LunchCost) * 0.08;
//var GSTTotal = CampCost+DPCost+LunchCost+GST+PST;
var HSTTotal = CampCost+DPCost+LunchCost+HST;
//var GSTCheque = GSTTotal - 100;
var HSTCheque = HSTTotal - 100;
document.getElementById("CAMPVALUE").innerHTML = CampValue;
//document.getElementById("GST_CAMPCOST").innerHTML = "$"+CampCost.toFixed(2);
document.getElementById("HST_CAMPCOST").innerHTML = "$"+CampCost.toFixed(2);
//document.getElementById("DPVALUE").innerHTML = DPValue;
//document.getElementById("GST_DPCOST").innerHTML = "$"+DPCost.toFixed(2);
document.getElementById("HST_DPCOST").innerHTML = "$"+DPCost.toFixed(2);
//document.getElementById("LUNCHVALUE").innerHTML = LunchValue;
//document.getElementById("GST_LUNCHCOST").innerHTML = "$"+LunchCost.toFixed(2);
document.getElementById("HST_LUNCHCOST").innerHTML = "$"+LunchCost.toFixed(2);
//document.getElementById("GST").innerHTML = "$"+GST.toFixed(2);
//document.getElementById("PST").innerHTML = "$"+PST.toFixed(2);
document.getElementById("SUBTOTAL").innerHTML = "$"+SubTotal.toFixed(2);
document.getElementById("HST").innerHTML = "$"+HST.toFixed(2);
//document.getElementById("GST_TOTAL").innerHTML = "$"+GSTTotal.toFixed(2);
document.getElementById("HST_TOTAL").innerHTML = "$"+HSTTotal.toFixed(2);
//document.getElementById("GST_CHEQUE").innerHTML = "$"+GSTCheque.toFixed(2);
document.getElementById("HST_CHEQUE").innerHTML = "$"+HSTCheque.toFixed(2);
}

