/* 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.Name.value;
    f.BillingLastName.value = f.LastName.value;
    f.BillingAddress.value = f.Address.value;
    f.BillingAddress2.value = f.Address2.value;
    f.BillingUnit.value = f.Unit.value;
    f.BillingCity.value = f.City.value;
    f.BillingState.value = f.State.value;
    f.BillingZip.value = f.Zip.value;
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */
  }
}
