/* 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.billingtoo.checked == true) {
    f.billingname.value = f.primary_contact_name.value;
    f.billing_address1.value = f.address_1.value;
    f.billing_address2.value = f.address_2.value;
	f.billing_state.value = f.state.value;
    f.billing_city.value = f.city.value;
	f.billing_country.value = f.country.value;
    f.billing_state.value = f.state.value;
    f.billing_zip.value = f.postal.value;
    f.billing_phone.value = f.phone.value;
	f.billing_fax.value = f.fax.value;
    f.billing_email.value = f.email.value;
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */
  }
}


