
<!-- Paste this code into an external JavaScript file named: copyFields.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Will Bontrager :: http://www.willmaster.com/ */

function FillBilling(f) {
  if(f.billSame.checked == true) {
 // alert("Please read/accept terms to submit form");
  //  f.billingname.value = f.shippingname.value;
   // f.billingcity.value = f.shippingcity.value;
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */

	   f.billAddress1.value = f.address1.value;
	   f.billAddress2.value = f.address2.value;
	   f.billCity.value     = f.city.value;
	   f.billState.value    = f.state.value;
	   f.billZip2.value     = f.zipcode.value;
	 
  }
}



