/* 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.name.value = f.shipping_name.value;
    f.address.value = f.shipping_address.value;
    f.city.value = f.shipping_city.value;
    f.state.value = f.shipping_state.value;
    f.zip.value = f.shipping_zip.value;
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */
  }
}
