//<!--
//1@@m8

var validShippingForm=true;function submitShippingForm(url){var oElements=document.forms[0].elements;for(var i=0;(i<oElements.length);i++){var oName=oElements[i].name;var oValue=(oName=="fpos")?encodeURIComponent(oElements[i].value):oElements[i].value;url+=((i==0)?"?":"&")+oName+"="+oValue;}
var url2=processURLForLISOSearch(url);if((window.opener!=null)&&(url2.indexOf("QQ_majaxZ1")!=-1)){shp_submitViaAjax(url2);}else{shp_submitViaHtml(url2);}}
function shp_submitViaAjax(url2){try{window.opener.vjo.darwin.domain.finding.ajax.AjaxManager.sendRequest("Page",url2,false);window.opener.focus();window.close();}catch(e){shp_submitViaHtml(url2);};}
function shp_submitViaHtml(url2){url2=shp_processURLForAjax(url2);if(validShippingForm&&(window.opener!=null)){window.opener.location=url2;window.opener.focus();window.close();}
else{this.location=url2;}}
function shp_processURLForAjax(urlIn){var regx=/QQ_majaxZ1/;return urlIn.replace(regx,"");}
function processURLForLISOSearch(url){var requesturl=url;var resultURL=url;if(document.forms[0].elements["fpos"]!=null){var regx1=/fpos1%3D\d*%26/;var replacement1="fpos1%3D"+document.forms[0].elements["fpos"].value+"%26";var url2=requesturl.replace(regx1,replacement1);var regx2=/fpos2%3D\d*%26/;var replacement2="fpos2%3D"+document.forms[0].elements["fpos"].value+"%26";var url3=url2.replace(regx2,replacement2);var regx3=/fpos1=\d*&/;var replacement3="fpos1="+document.forms[0].elements["fpos"].value+"&";var url4=url3.replace(regx3,replacement3);var regx4=/fpos2=\d*&/;var replacement4="fpos2="+document.forms[0].elements["fpos"].value+"&";resultURL=url4.replace(regx4,replacement4);}
return resultURL;}
function showShippingCode(valid,url){var form=document.forms[0];var postal=form.elements["fpos"];if(postal==null)return;var country=form.elements["fcid"];var selected=country.options[country.selectedIndex];postal.disabled=(selected.getAttribute("spot")!="true");if(postal.disabled)postal.value="";var label=document.getElementById("shippingCodeLabel");if(postal.disabled)label.className="disabled";else label.className=(valid!="false")?"label":"error";var error=document.getElementById("shippingCodeError");if(error!=null)error.className=(valid!="false")?"hide":"error";if(validShippingForm=(valid=="true"))submitShippingForm(url);}
// b=14327537 -->
