
function fill_textbox()
{ 
  if (document.seminar_sale.checkbox.checked)
  { 
    document.seminar_sale.ship_address1.value = document.seminar_sale.address1.value;
    document.seminar_sale.ship_address2.value = document.seminar_sale.address2.value;                        
    document.seminar_sale.ship_city.value = document.seminar_sale.city.value;
    document.seminar_sale.ship_prov_state.value = document.seminar_sale.prov_state.value;
    document.seminar_sale.ship_postal_zip.value = document.seminar_sale.postal_zip.value;
    document.seminar_sale.ship_country.value = document.seminar_sale.country.value;
  } 
  else
  {
    document.seminar_sale.ship_address1.value = "";
    document.seminar_sale.ship_address2.value = "";                        
    document.seminar_sale.ship_city.value = "";
    document.seminar_sale.ship_prov_state.value = "";
    document.seminar_sale.ship_postal_zip.value = "";
    document.seminar_sale.ship_country.value = "";
  }
}
                   
function calculate_total()
{ 
  var total = 0;
  var sem_total = 0;
  var GST = false;
 
  if (document.seminar_sale.guest1_last.value != "")
  { 
    total = total + 495.00;
  }
  if (document.seminar_sale.guest2_last.value != "")
  { 
    total = total + 495.00;
  }
  if (document.seminar_sale.guest3_last.value != "")
  { 
    total = total + 495.00;
  }
  if (document.seminar_sale.guest4_last.value != "")
  { 
    total = total + 495.00;
  }	

//	if (document.seminar_sale.country.value == "Canada") GST = true;
		
	gst_amount = "";																				  
  sem_total = total + 1295.00;
//  if(GST)
//  {
//	  gst_amount = sem_total * .06;
//	  gst_amount = " + " + gst_amount.toFixed(2) + " GST";
//	}
  sem_total1.innerHTML = "Pay in one installment price: $" + sem_total + ".00" + gst_amount;
  
	sem_total = total + 1495.00; 
  three_total = Math.round((sem_total/3)*100)/100;
//  if(GST)
//	{
//	  gst_amount = three_total * .06;
//		gst_amount = " + " + gst_amount.toFixed(2) + " GST";
//	}

  sem_total2.innerHTML = "Split Payment in three price: $" + sem_total + ".00 ($" + three_total +" X 3" + gst_amount+ ")";

}