//<!--
//\include\js\SendShippingCalcParams.js@@\main\19
<!--
function SendShippingParams(path,getValues){var originZipCode='';var bMachinable='';var packageSize='';var higherUnitWeight='';var lowerUnitWeight='';var packHandlingFee='';var price='';if(getValues)
{originZipCode=escape(document.PaymentShipping.originatingzip.value);if(document.PaymentShipping.oddshapedpackage.checked){document.PaymentShipping.oddshapedpackage.value="TRUE";}else{document.PaymentShipping.oddshapedpackage.value="FALSE";}
bMachinable=document.PaymentShipping.oddshapedpackage.value;for(i=0;i<document.PaymentShipping.packagesize.length;i++){if(document.PaymentShipping.packagesize[i].selected&&document.PaymentShipping.packagesize[i].value!="")
{packageSize=document.PaymentShipping.packagesize[i].value;}}
higherUnitWeight=escape(document.PaymentShipping.higherunitweight.value);lowerUnitWeight=escape(document.PaymentShipping.lowerunitweight.value);packHandlingFee=escape(document.PaymentShipping.packaginghandlingfee.value);price=escape(document.PaymentShipping.price.value);}
path=path+"&originZipCode="+originZipCode+"&bMachinable="+bMachinable+"&packageSize="+packageSize+"&higherUnitWeight="+higherUnitWeight+"&lowerUnitWeight="+lowerUnitWeight+"&packHandlingFee="+packHandlingFee+"&price="+price;hw=window.open(path,"shipcalc","height=620,width=570,status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,titlebar=no");hw.focus();return false;}
function openShippingCalculator(path,form){if(form>0){itemId=escape(document.shippingcalcbox.itemId.value);destinationZipCode=escape(document.shippingcalcbox.destinationZipCode.value);path=document.shippingcalcbox.action+"?EmitBuyerShippingCalculator&itemId="+itemId+"&destinationZipCode="+destinationZipCode;}
win=window.open(path,"","height=620,width=800,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,titlebar=no");win.focus();return false;}
function openShippingCalculatorNoForm(path,itemId,zipCode){itemId=escape(itemId);path=path+"?EmitBuyerShippingCalculator&itemId="+itemId;if(zipCode){path=path+"&destinationZipCode="+zipCode;}
win=window.open(path,"","height=450,width=630,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,titlebar=no");win.focus();return false;}
// -->
