<!--
  if(window.attachEvent)
    window.attachEvent("onload",setListeners);
  function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
      inputList[i].attachEvent("onpropertychange",restoreStyles);
      inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
 }//-->


function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}

function copyFromLeft(uuuuungh) 
	{
		with (uuuuungh) {
			if(shipCopyBilling.checked){
				nameFirst2.value 				= nameFirst.value;
				nameLast2.value 				= nameLast.value;
				address1_2.value 				= address1.value;
				address2_2.value 				= address2.value;
				shipCompany.value				= billCompany.value;
				city2.value 					= city.value;
				postalCode2.value 				= postalCode.value;
				stprID2.selectedIndex			= stprID.selectedIndex;
				email2.value 					= email.value;
				shipPhone.value					= billPhone.value;
			}
			else{
				nameFirst2.value 				= '';
				nameLast2.value 				= '';
				address1_2.value 				= '';
				address2_2.value 				= '';
				shipCompany.value				= '';
				city2.value 					= '';
				postalCode2.value 				= '';
				stprID2.selectedIndex			= 0;
				email2.value 					= '';
				shipPhone.value					= '';
			}
	}

}

function copyFromLeftProfile(uuuuungh) 
	{
		with (uuuuungh) {
			if(shipCopyBilling.checked){
				address1_2.value 				= address1.value;
				address2_2.value 				= address2.value;
				shipCompany.value				= billCompany.value;
				city2.value 					= city.value;
				postalCode2.value 				= postalCode.value;
				stprID2.selectedIndex			= stprID.selectedIndex;
				email2.value 					= email.value;
				shipPhone.value					= billPhone.value;
			}
			else{
				address1_2.value 				= '';
				address2_2.value 				= '';
				shipCompany.value				= '';
				city2.value 					= '';
				postalCode2.value 				= '';
				stprID2.selectedIndex			= 0;
				email2.value 					= '';
				shipPhone.value					= '';
			}
	}

}
