
function BillToShipPerson() {

if (document.accountform.copy.checked) {

document.accountform.billfirstname.value = document.accountform.shipfirstname.value;
document.accountform.billlastname.value = document.accountform.shiplastname.value;
document.accountform.billphone.value = document.accountform.shipphone.value;
document.accountform.billfax.value = document.accountform.shipfax.value;
document.accountform.billcompany.value = document.accountform.shipcompany.value;
document.accountform.billaddress.value = document.accountform.shipaddress.value;
document.accountform.billcity.value = document.accountform.shipcity.value;
document.accountform.billstate.selectedIndex = document.accountform.shipstate.selectedIndex;
document.accountform.billotherstate.value = document.accountform.shipotherstate.value;
document.accountform.billzipcode.value = document.accountform.shipzipcode.value;
document.accountform.billcountry.selectedIndex = document.accountform.shipcountry.selectedIndex;

}
else {
document.accountform.billfirstname.value = "";
document.accountform.billlastname.value = "";
document.accountform.billphone.value = "";
document.accountform.billfax.value = "";
document.accountform.billcompany.value = "";
document.accountform.billaddress.value = "";
document.accountform.billcity.value = "";
document.accountform.billstate.selectedIndex = 0;
document.accountform.billotherstate.value = "";
document.accountform.billzipcode.value = "";
document.accountform.billcountry.selectedIndex = 0;
   }
}