var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function GetXmlHttpObject() { var objXMLHttp=null; if (window.XMLHttpRequest) { objXMLHttp=new XMLHttpRequest(); } else if (window.ActiveXObject) { objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP"); } return objXMLHttp; } var xmlHttpTax; function updateTax(myState,myZip,myCountry,billship) { xmlHttpTax=GetXmlHttpObject() if (xmlHttpTax==null) { alert ("Browser does not support HTTP Request"); return; } var url="includes/ajax_tax_update.php"; url=url+"?myState="+myState; url=url+"&myZip="+myZip; url=url+"&myCountry="+myCountry; url=url+"&billship="+billship; url=url+"&sid="+Math.random(); //alert('url = '+url); xmlHttpTax.onreadystatechange=taxChanged; xmlHttpTax.open("GET",url,true); xmlHttpTax.send(null); } function taxChanged() { if (xmlHttpTax.readyState==4 || xmlHttpTax.readyState=="complete") { var taxVars=innerHTML=xmlHttpTax.responseText.split('|'); if(document.getElementById("allTaxSpan")!=null) { document.getElementById('allTaxSpan').innerHTML=taxVars[0]; } if(document.getElementById("grandtotalSpan")!=null) { document.getElementById('grandtotalSpan').innerHTML=taxVars[1]; } if(document.getElementById("allTaxNameSpan")!=null) { document.getElementById('allTaxNameSpan').innerHTML=taxVars[2]; } } } function shipSubmitButtonToggle(radioButtonId) { if(document.getElementById("shipSubmitButton")!=null) { //alert('document.getElementById(radioButtonId).checked = '+document.getElementById(radioButtonId).checked); if(document.getElementById(radioButtonId).checked == true) { enableElement('shipSubmitButton'); toggleShipButtonClass('SHIPPING-OPTIONS-SUBMIT-BUTTON-ENABLED'); } } else { //alert('shipSubmitButton is NULL'); } } function toggleShipButtonClass(theClass) { //alert('toggleShipButtonClass = '+theClass); if(document.getElementById("shipSubmitButton")!=null) { document.getElementById('shipSubmitButton').className=theClass; } } function disableElement(disableMe) { if(document.getElementById(disableMe)!=null) { document.getElementById(disableMe).disabled=true; } } function enableElement(enableMe) { //alert('enableElement = '+enableMe); if(document.getElementById(enableMe)!=null) { document.getElementById(enableMe).disabled=false; } } } /* FILE ARCHIVED ON 20:48:16 Oct 12, 2013 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 17:35:35 Apr 27, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.716 exclusion.robots: 0.089 exclusion.robots.policy: 0.078 cdx.remote: 0.069 esindex: 0.011 LoadShardBlock: 202.435 (3) PetaboxLoader3.datanode: 131.874 (5) load_resource: 180.955 (2) PetaboxLoader3.resolve: 76.191 (2) */