/* 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.same.checked == true) {
    f.mother_street.value = f.father_street.value;
    f.mother_cty.value = f.father_cty.value;
    f.mother_mstate.selectedIndex = f.father_fstate.selectedIndex;
    f.mother_zipcode.value = f.father_zipcode.value;
	f.mother_homephone.value = f.father_homephone.value;
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */
  }
	
	if(f.same.checked == false) {
    f.mother_street.value = '';
    f.mother_cty.value = '';
    f.mother_mstate.selectedIndex = '';
    f.mother_zipcode.value = '';
	f.mother_homephone.value = '';
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */
  }
}
