// JavaScript Document
function startCalc2(){
  interval2 = setInterval("calc2()",1);
}
function calc2(){

  if (document.form1.quantity1.value <= 2) {
		document.form1.subtotal1.value = ((72.50 * 1) * document.form1.quantity1.value).toFixed(2);
		document.form1.price1.value = 72.50.toFixed(2);
		
	} 
 if (document.form1.quantity1.value >= 3) {
		document.form1.subtotal1.value = ((72.50* .95) * document.form1.quantity1.value).toFixed(2);
		document.form1.price1.value = 68.88.toFixed(2);
		
	}
 if (document.form1.quantity1.value >= 6) {
		document.form1.subtotal1.value = ((72.50* .9) * document.form1.quantity1.value).toFixed(2);
		document.form1.price1.value = 65.25.toFixed(2);
	}
   B = document.form1.subtotal1.value;
   G = document.form1.hst.value; 
  // H = document.form1.pst.value;  
   
  document.form1.hst.value = ((B * 1) * .13).toFixed(2);
 // document.form1.pst.value = ((B * 1) * .08).toFixed(2);
  document.form1.charge_total.value = ((B * 1) + (G * 1)).toFixed(2);
  
}
function stopCalc2(){
  clearInterval(interval2);
}

//REFILL KITS

function startCalc3(){
  interval3 = setInterval("calc3()",1);
}
function calc3(){
	document.form1.subtotal1.value = ((52.50 * 1) * document.form1.quantity1.value).toFixed(2);
	document.form1.price1.value = 52.50.toFixed(2);
  
   B = document.form1.subtotal1.value;
   G = document.form1.hst.value; 
  // H = document.form1.pst.value;  
   
  document.form1.hst.value = ((B * 1) * .13).toFixed(2);
  //document.form1.pst.value = ((B * 1) * .08).toFixed(2);
  document.form1.charge_total.value = ((B * 1) + (G * 1)).toFixed(2);
  
}
function stopCalc3(){
  clearInterval(interval3);
}