/* 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.LLContactFirstName.value = f.Name.value;
    f.LLContactLastName.value = f.LastName.value;    
    f.LLAddress.value = f.Address.value;
    f.LLAddress2.value = f.Address2.value;
    f.LLUnitNumber.value = f.Unit.value;
    f.LLCity.value = f.City.value;
    f.LLState.selectedIndex = f.State.selectedIndex;
    f.LLZip.value = f.Zip.value;
    f.LLPhone.value = f.Phone.value;
    f.LLFax.value = f.Fax.value;
    f.LLEmail.value = f.Email.value;
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */
  }
}
