// 057: Copyright Dreamteam Design Ltd 1997 - No alteration of this code is permitted

function _loadPersonal(){;_progBar('_loadPersonal{}','main:');e._selCountry=e._B_Country;e._selCountry2=e._D_Country;e._selCountry2=e._selCountry2.split('|')[0];var arry=worldCountries.split('~');var cnt=1;for (var i in arry){;if(arry[i].indexOf(e._selCountry)!=-1){;e.countrySel=cnt;};if(arry[i].indexOf(e._selCountry2)!=-1){;e.countrySel2=cnt;};cnt++;};findTax('',1);e._delCountry=e._selCountry2;orderRefresh();alert('Your account details have been loaded');};
function replaceD(str){;_progBar('replaceD{}','main:');if(allowF){;if(str!=null){;var str1=itemNo[fieldCount-5];var taxG='';str1+=gProdAux;var ret=parseFloat(str1.split('Primary_Retail¬')[1]);var alt=parseFloat(str1.split('Primary_Alt¬')[1]);if(str1!=''){;var pharr=str1.split('^');var count=0;while(count!=pharr.length-1){;var tmp=pharr[count].split('¬')[1];var nme=pharr[count].split('¬')[0];tmp=popTemp(tmp,nme);tmp=repC(tmp,'‡','¦');tmp=repC(tmp,'†','|');if(nme.indexOf('_Value')!=-1){;tmp=popTemp(tmp);};if(nme=='Tax_Group')taxG=tmp;if(e._validMem==-1){;if(nme=='Current_Price_Inc_Vat'||nme=='Primary_Retail_Inc_Vat'||nme=='Primary_Alt_Inc_Vat')tmp=''+priceDisp(money(addTax(alt,-1,taxG)*e.splitRate,2,e.currencyChar),1,1);if(nme=='Current_Price'||nme=='Primary_Retail'||nme=='Primary_Alt')tmp=''+priceDisp(money(alt*e.splitRate,2,e.currencyChar),1,1);}else{;if(nme=='Primary_Retail_Inc_Vat'||nme=='Primary_Alt_Inc_Vat')tmp=''+priceDisp(money(addTax(tmp,-1,taxG)*e.splitRate,2,e.currencyChar),1,1);if(nme=='Primary_Retail'||nme=='Primary_Alt')tmp=''+priceDisp(money(tmp*e.splitRate,2,e.currencyChar),1,1);if(nme=='Current_Price')tmp=''+priceDisp(money(tmp*splitRate,2,currencyChar),1,1);if(nme=='Current_Price_Inc_Vat')tmp=''+priceDisp(money(addTax(tmp,-1,taxG)*splitRate,2,currencyChar),1,1);};var insT='<span class="'+nme+'" style="position:relative" name="'+nme+'_'+itemNo[2]+'" id="'+nme+'_'+itemNo[2]+'">'+tmp+'</span>';str=str.split('<!--'+nme+'-->').join(insT);str=str.split('!'+nme+'!').join(tmp);count++;};};return str;}else{;return '';};}else{;return str;};};
function _pageRedirect(url){;if(url=='reload'){;window.location.reload();}else{;window.location=url;};};
function _switchPrices(arg){;if(arg==true){;e._validMem=-1;}else{;e._validMem=0;};};
function _home(){;location.href=erolHome;};
function _currency(){;if(currencyType==1){;currencyOp=liveCur;_liveCurrency();}else{;getCur(1);location.reload();};};
function _liveCurrency(){;_progBar('_liveCurrency{}','main:');var postData='';postData+='do=Currency&';postData+='template='+escape(currencyOp)+'&';postData+='base='+currencyCode+'&';trafReq+='live currency > ';_sendRequest(cgiBin+'e4-currency.pl',_curLoaded,postData);};
function _curLoaded(req){;_traffic('reading');_progBar('<font color=green>_curLoaded{','main:');var tmp=req.responseText;tmp=repC(tmp,'<HTML><HEAD><SCRIPT>','');tmp=repC(tmp,'</SCRIPT></HEAD></HTML>','');tmp=repC(tmp,'parent.parent.currencyOp="',"e.currencyOp='");tmp=repC(tmp,'";parent.parent.ratesLoaded',"';e.ratesLoaded");tmp=repC(tmp,'parent.parent.selLiveCur()','selLiveCur()');eval(tmp);if(e.isCheckout==0&&e.locChange==0){;};};
function selLiveCur(){;_progBar('selLiveCur{}','main:');if(e.currencyOp.indexOf('|'+e._curCode+':')==-1||e._curCode==''){;e._curCode=currencyCode;e.cardBar=baseDec;e.currencyChar=baseChar;e.currencyChar2=baseChar2;e.splitRate=1;}else{;var a1=e.currencyOp.split('|'+e._curCode+':');var str3=a1[1].split(':');var temp=exRate.indexOf(e._curCode);var nn3=true;if(isnotN3==false)nn3=eval("temp!=''");if(temp!=-1&&nn3){;str3[2]=exRate.substring(exRate.indexOf(':',temp)+1,exRate.indexOf('|',temp+1));};e.splitRate=parseFloat(str3[2]);e.currencyChar=str3[1];e.currencyChar2=str3[3];e.cardBar=str3[4];};relPage();};
function getCur(arg){;_progBar('getCur{}','main:');if(secureFlag==false){;if(arg==6||arg==2||arg==3){;relPage();}else{;if(e.currencyType=='0'||offLine==true){;e.currencyOp=fixedCur;selLiveCur();e.ratesLoaded=true;}else{;if(e.ratesLoaded==true){;selLiveCur();}else{;currencyOp=liveCur;_liveCurrency();};};};}else{;secureFlag=false;window.location.href=pagesDir+'e-secure.html?getCur(1)';};};
function relPage(){;_progBar('relPage{}','main:');if(bskSize==0&&orderFlag==true){;orderFlag=true;orderRefresh();}else{;if(pag==-1){;orderRefresh();}else{;orderFlag=true;orderRefresh();};};};
function contOrder(){;var chkfrm=window.document.checkout_form;var postData='';postData+='item='+escape(chkfrm.item.value)+'&';postData+='gateWay='+escape(chkfrm.gateWay.value)+'&';postData+='cgiPath='+escape(chkfrm.cgiPath.value)+'&';postData+='Billing_Country='+escape(chkfrm.Billing_Country.value)+'&';if(chkfrm.Delivery_Country){;postData+='Delivery_Country='+escape(chkfrm.Delivery_Country.value)+'&';};postData+='Postage='+escape(chkfrm.Postage.value)+'&';postData+='Type='+escape(chkfrm.Type.value)+'&';postData+='Exec2='+escape(chkfrm.Exec2.value)+'&';postData+='Exec3='+escape(chkfrm.Exec3.value)+'&';postData+='SubTotal='+escape(chkfrm.SubTotal.value)+'&';postData+='VAT='+escape(chkfrm.VAT.value)+'&';postData+='Total='+escape(chkfrm.Total.value)+'&';postData+='storePath='+escape(chkfrm.storePath.value)+'&';postData+='CurrencyCode='+escape(chkfrm.CurrencyCode.value)+'&';if(chkfrm.VAT_Number){;postData+='VAT_Number='+escape(chkfrm.VAT_Number.value)+'&';postData+='VAT_Number_Check='+escape(chkfrm.VAT_Number_Check.value)+'&';};if(e.allowError==-1){;postData+='debugMode=Y&';};postData+='ProductDiscount='+escape(chkfrm.ProductDiscount.value)+'&';trafReq+='verify order > ';_sendRequest(cgiBin+'e4-vcheck.pl',_OrderVerify,postData);};
function _OrderVerify(req){;_traffic('reading');var retArry=req.responseText.split('^|');var retCode=parseInt(retArry[0]);if(req.responseText.indexOf('diagnostic')!=-1){;var chkfrm=window.document.checkout_form;chkfrm.merchantID.value='suppressed';chkfrm.Password.value='suppressed';chkfrm.pgpKey.value='suppressed';var generator=window.open('','name','height=400,width=500,scrollbars=yes');var arry=document.checkout_form.elements;generator.document.open();generator.document.write('<html><head><title>Popup</title></head><body>[post data]<br>');for (var i in arry){;if(arry[i].name){;generator.document.writeln(i+'=> '+arry[i].name+' = '+arry[i].value+'\n'+'<br>');};};generator.document.write('<p>[vcheck return]<br>');var cells = req.responseText.split('\n');for (var i in cells){;generator.document.writeln(cells[i]+'<br>');};generator.document.write('</body></html>');generator.document.close();return;};if(retCode==0){;document.getElementById('Order_Status').innerHTML=orderVerified;var chkfrm=window.document.checkout_form;chkfrm.merchantID.value=retArry[5];chkfrm.Password.value=retArry[6];chkfrm.pgpKey.value=retArry[7];chkfrm.securePage.value=retArry[8];chkfrm.confirm.value=retArry[9];chkfrm.reject.value=retArry[10];contOrder_2();}else{;document.getElementById('Order_Status').innerHTML=orderFatal+validateError['e'+parseInt(retCode*-1)];};};
function contOrder_2(){;_progBar('contOrder{}','main:');window.document.checkout_form.target='_top';window.document.checkout_form.action=action;if('|pacRaven|MoneyBooker|ssl|dataCash|dataCashCv2|Cybersource|paypalPro|'.indexOf('|'+document.checkout_form.gateWay.value+'|')!=-1){;window.document.checkout_form.action=action;window.document.checkout_form.submit();orderSubmit=true;_orderSubmitted();return;};if(gateSup.indexOf(document.checkout_form.gateWay.value)==-1){;window.document.checkout_form.action=action;window.document.checkout_form.submit();orderSubmit=true;_orderSubmitted();return;};if(document.all&&navigator.userAgent.indexOf('Opera')==-1){;if(e.allowError==-1){;var iframe=document.createElement('<iframe name="iframeSubmit" style="display:block">');var iframe=document.createElement('<iframe name="iframeSubmit" style="" width=600 height=1000>');}else{;var iframe=document.createElement('<iframe name="iframeSubmit" style="display:none">');};document.getElementsByTagName('body')[0].appendChild(iframe);}else{;var iframe = document.createElement("iframe");iframe.setAttribute("name", "iframeSubmit");iframe.setAttribute("style", "visibility:hidden");document.body.appendChild(iframe);};window.document.checkout_form.target='iframeSubmit';window.document.checkout_form.action=action;window.document.checkout_form.submit();orderSubmit=true;_orderSubmitted();};
function _recordIt(field){;_progBar('_recordIt','main:');if(!field.type)return;var val=field.value;if(field.type=='radio'){;val=field.value;};if(field.type.indexOf('select')!=-1){;val=field.selectedIndex;};if(field.type=='checkbox'){;if(field.checked==true){;val='-1';}else{;val='0';};};if(offLine==true)setCookie(field.name,val,'long');if(field.type=='checkbox'){;e['_'+field.name]=val;}else{;e['_'+field.name]=field.value;};if(document.getElementById('save_changes')){;document.getElementById('save_changes').disabled=false;};};
function _recordAll(frmObj){;_progBar('_recordAll','main:');for(count=0;count<frmObj.elements.length;count++){;var field=frmObj.elements[count];var val=field.value;if(field.type=='radio'){;val=field.value;};if(field.type.indexOf('select')!=-1){;val=field.selectedIndex;};if(field.type=='checkbox'){;if(field.checked==true){;val='-1';}else{;val='0';};};if(offLine==true)setCookie(field.name,val,'long');if(field.type=='button'){;}else if(field.type=='checkbox'){;e['_'+field.name]=val;}else{;e['_'+field.name]=field.value;};};if(document.getElementById('save_changes')){;document.getElementById('save_changes').disabled=false;};_writeBasket(escape(e.basket));alert('Your account has been updated');};
function findTax(str,arg){;if(arg==6){;e.countrySel2=str.selectedIndex;};_progBar('findTax{}','main:');blockSub=false;if(arg==5){;selTax='';if(str.checked==true){;selTax='CHECKED';e.VAT=e.countryTax+e.stateTax;}else{;e.VAT=e.countryTax;};setTimeout("orderRefresh()",1);}else if(arg==4){;if(listArg>=3){;var temp=window.document.checkout_form._DeliveryCity.value.toLowerCase();var temp1=cityName.toLowerCase();if(temp1.indexOf(temp)!=-1&&temp!=''){;alert('City Tax will now be applied to your order.');listArg=4;e.VAT=e.countryTax+e.stateTax+e.countyTax+e.cityTax;setTimeout("orderRefresh()",1);}else{;e.VAT=e.countryTax+e.stateTax+e.countyTax;if(listArg==4){;alert('City Tax no longer applies to your order.');setTimeout("orderRefresh()",1);};listArg=3;};};}else{;var temp;var temp1;if(str==''){;if(arg==6){;temp=e._selCountry2;temp1=e.countrySel2;}else{;temp=e._selCountry;temp1=e.countrySel;};}else{;temp1=str.selectedIndex;temp=str.options[temp1].value.split('|')[0];if(arg!=6){;if(e.execCom!='foundCustomer'){;if(e.locChange==-1){;e._curCode=str.options[temp1].value.split('|')[1];};};};locTyp=str.options[temp1].value.split('|')[2];if(arg==6){;e._delCountry=temp;};};if(arg==1){;applyDelTax=false;};if(arg==6){;e.countrySel2=temp1;e._selCountry2=temp;applyDelTax=true;};if(arg==1||applyDelTax==true){;if(arg==1){;e.countrySel=temp1;e._selCountry=temp;};if(temp.indexOf(countryName)!=-1&&stateName!=''){;listArg=1;e.VAT=e.countryTax;optFunc(2,1);}else{;selState='';selCounty='';opt[2]='';opt[3]='';stateSel=0;countySel=0;selTax='';if(temp==''){;temp=e._selCountry;};var pos=globalTax.indexOf(temp);if(pos==''&&pos!=0)pos=-1;if(e.countrySel2!=0){;if(arg!=1){;if(pos!=-1){;var newTax=globalTax.substring(pos);e.VAT=parseFloat(newTax.substring(newTax.indexOf(':')+1,newTax.indexOf('~')));}else{;if(countryName.indexOf(temp)!=-1){;e.VAT=e.countryTax;}else{;e.VAT=defaultTax;};};};}else{;if(pos!=-1){;var newTax=globalTax.substring(pos);e.VAT=parseFloat(newTax.substring(newTax.indexOf(':')+1,newTax.indexOf('~')));}else{;if(countryName.indexOf(temp)!=-1){;e.VAT=e.countryTax;}else{;e.VAT=defaultTax;};};};};}else if(arg==2){;stateSel=temp1;selState=temp;if(temp.indexOf(stateName)!=-1){;listArg=2;e.VAT=e.countryTax+e.stateTax;if(countyName!='')optFunc(3,1);}else{;listArg=1;e.VAT=e.countryTax;selCounty='';opt[3]='';selTax='';countySel=0;};}else if(arg!=6){;countySel=temp1;selCounty=temp;if(temp.indexOf(countyName)!=-1){;listArg=3;e['_'+'Invoice_City']='';e.VAT=e.countryTax+e.stateTax+e.countyTax;}else{;listArg=2;e.VAT=e.countryTax+e.stateTax;};};};if(e._selCountry==''){;e.VAT=defaultTax;blockSub=true;};if(arg==6){;};if(arg!=6){;e.prevVAT=e.VAT;};};
function _registerInDatabase(){;_progBar('_registerInDatabase{}','main:');var postData='';postData+='do=search_two&';postData+='search_term='+register.email+'&';postData+='type=phrase&';postData+='boolean=and&';postData+='field=ID&';postData+='sort_field=ID&';_progBar('<font color=red>_registerInDatabase','main:request chars: '+Math.floor((postData.length*4)/1000)+'Kb');trafReq+='register in database > ';_sendRequest(cgiBin+'e4-database.pl',_init_2,postData);};
function _voucherLogin(frm){;if(frm.profileID.value=='')return;if(offLine==false){;_getVoucher(frm.profilePassword.value,frm.profileID.value);};};
function _getVoucher(un,pw){;_progBar('<font color=red>_getVoucher','main:');var html=window.document,strP;if(isnotN3==false)pagesDir=storePath;if(exception1==-1&&storePrefix==''){;strP=storePath.substring(1);}else{;strP=storePath;};strP=storePrefix+strP;e.execReq='privilege';var postData='';postData+='exec='+e.execReq+'&';postData+='do=login&';postData+='profilePassword='+un+'&';postData+='profileID='+pw+'&';postData+='cgiPath='+cgiBin+'&';postData+='storePath='+strP+'&';trafReq+='get voucher > ';_sendRequest(cgiBin+'e4-profiles.pl',_voucherResponse,postData);};
function _valuePair(str,val){;_progBar('_valuePair','main:');if(str.indexOf(val)==-1)return '';var arr1=str.split('_'+val+'=')[1];var arr2=arr1.split('_')[0];return arr2;};
function _voucherResponse(req){;_traffic('reading');var tmp=req.responseText;tmp=repC(tmp,'<SCRIPT>','');tmp=repC(tmp,'</SCRIPT>','');var useOnce=_valuePair(tmp,'useOnce');var profileR=_valuePair(tmp,'profileID');if(useOnce=='yes'){;if(e.loggedIn==0){;alert('This voucher can only be redeemed when logged into this site');return;};if(e.VoucherLog.indexOf(profileR+';')!=-1){;alert('This voucher has been redeemed already');return;};};if(_isExpired(tmp)==true){;alert('This coupon is not valid');return;}else{;eval(tmp);};e._voucherProfile=profileRef;if(e._voucherProfile!=''){;if(e.privilegeLog.indexOf(privilegeLog)==-1){;if(privilegeLog)e.privilegeLog+=privilegeLog;};}else{;};if(e.profileRef=='')e.profileRef='empty';_progBar('<font color=green>_voucherResponse','main:');_controlbar();};
function _privilegeResponse(req){;_traffic('reading');_progBar('<font color=red>_privilegeResponse','main:');var tmp=req.responseText;tmp=repC(tmp,'<SCRIPT>','');tmp=repC(tmp,'</SCRIPT>','');var ac=_valuePair(tmp,'active');var rp=_valuePair(tmp,'response');if(ac=='false'){;e.profileRef='empty';return;};if(rp!=''){;if(msg11=='')return;if(msg11.indexOf('/*script*/')!=-1){;eval(unescape(msg11));}else{;alert(repC(unescape(msg11),'<%response%>',rp));};return;};if(msg4!=''){;if(msg4.indexOf('/*script*/')!=-1){;eval(unescape(msg4));}else{;alert(msg4);};};var privilegeLog='';var psn=tmp.split('/*PERSONAL*/')[1];if(_isExpired(tmp)==true){;e.profileRef='empty';eval(psn);var msg=_valuePair(tmp,'msg1');if(msg!='')alert(msg);if(psn.length>5)_loadPersonal();return;}else{;var msg2=_valuePair(tmp,'msg2');if(msg2!='')alert(msg2);eval(tmp);if(psn.length>5)_loadPersonal();};e.profileRef=profileRef;if(e.isVoucher==-1){;e._voucherProfile=e.profileRef;e.isVoucher=0;if(e.privilegeLog.indexOf(e._voucherProfile)==-1){;e.privilegeLog+=e._voucherProfile;};};if(e.profileRef!=''){;if(e.privilegeLog.indexOf(privilegeLog)==-1){;e.privilegeLog+=privilegeLog;};}else{;};if(e.profileRef=='')e.profileRef='empty';_progBar('<font color=green>_privilegeResponse','main:');_controlbar();};
function _privilegeLogin(frm){;if(offLine==false){;e.profilePassword=frm.profilePassword.value;e.ProfileReference=frm.profileID.value;_getPrivilege();};};
function _resetBasketTotals(){;_progBar('_resetBasketTotals{','main:');e._ST=0;e._DC=0;e._STVT=0;e._TVAT=0;e._TOV=0;e._TNI=0;e._TWI=0;e._TNID=0;e._TWID=0;e._VT=0;};
function _basketMatch(thisBasket){;_progBar('_basketMatch{','main:check for abandoned cart');if(thisBasket!=''&&thisBasket!='undefined'){;var srch4='Credit Card Captured[|]_BasketID[=]'+e._BasketID+'[|]';if(unescape(e.BasketLog).indexOf(srch4)!=-1){;dte=new Date();e.CurrentDate=Date.parse(dte);e._BasketID=e.CurrentDate;if(e.execBsk=='refreshRecord'){;_clearOrder(true);};_writeBasket(e.basket);}else{;if(e.execBsk=='refreshRecord'){;dte=new Date();e.CurrentDate=Date.parse(dte);e._BasketID=e.CurrentDate;}else{;if(e.cartMode!='vendorAccess'){;if(confirm('You have an abandoned cart. Click OK to keep it')){;e.basket=e.basket+'[-]'+thisBasket;};_writeBasket(e.basket);};};};};_progBar('_basketMatch{}','main:');};
function _readProductLog(str,template,arg){;_progBar('_readProductLog{}','main:');var tmp2='';var prnt='';var arry=str.split('[-]');var arry2='';for (var i in arry){;if(arry[i]){;arry2=arry[i].split('~');if(arry2.length>1){;tmp2=template;tmp2=repC(tmp2,'%Path%',arry2[0].substring(1));tmp2=repC(tmp2,'%Image%',arry2[arry2.length-4]);tmp2=repC(tmp2,'%Name%',arry2[35]);tmp2=repC(tmp2,'%Description%',arry[i].split('*')[2].split('|')[0]);tmp2=repC(tmp2,'%Code%',arry[i].split('*')[2].split('|')[1]);tmp2=repC(tmp2,'%Qty%',arry2[arry2.length-5]);prnt+=tmp2;}else{;alert('The following information was found at the end of the order history string\n\n'+arry[i]);};};};return prnt;};
function _registerIt(frm,str2,str3){;_progBar('_registerIt{}','main:');if(e.loggedIn==-1){;alert('You are currently logged in as another user! Logout first if you wish to register a new account');return;};if(_checkEmailAddress(frm.Email.value)==false){;alert('Your must enter a valid Email Address');return;};if(frm.Your_Name.value==''){;alert('Your must a name');return;};if(frm.Password.value==''){;alert('Your must enter a Password');return;};if(frm.Password.value!=frm.Confirm.value){;alert('Your confirmation password does not match your Password');return;};e.execReq='register';register.email=frm.Email.value;register.password=frm.Password.value;register.yourName=frm.Your_Name.value;if(offLine==false){;_registerInDatabase();};};
function _recordSessionField(field){;e['_'+field.name]=field.value;};
function _popEmailTemp(frm){;var tmp=emailFriendTemp;tmp=repC(tmp,'<!--Message-->',frm.Mail_Message.value);tmp=repC(tmp,'<!--Product_List-->',e.MailProductLink);return tmp;};
function _previewEmail(frm){;document.write('<input type="button" value="Back" onclick="history.back()"><hr>'+_popEmailTemp(frm));};
function _clearProducts(){;e.MailProductLink='';e.MailProductDesc='';e._Subject_Line='';e._Mail_Message='';location.reload();};
function _tellFriendReq(frm){;_progBar('_tellFriendReq{}','main:');location.href=tellFriendPage;var img='L'+frm.name.substring(3)+'img';var tmp=emailFriendRowTemp;tmp=repC(tmp,'%Image%',e.MailProductImg);tmp=repC(tmp,'%Link%',location.href);tmp=repC(tmp,'%Description%',frm.description.value);tmp=repC(tmp,'%Price%',frm.price.value);e.MailProductLink+=tmp;e.MailProductDesc+='[ '+frm.description.value+' ] ';};
function _tellFriend(frm){;_progBar('_tellFriend{}','main:');var tmp='~'+frm.Your_Name.value+'~'+frm.Your_Email.value+'~'+frm.Friends_Name.value+'~'+frm.Friends_Email.value+'~'+frm.Subject_Line.value+'~'+frm.Mail_Message.value+'~';if(tmp.indexOf('~~')!=-1){;alert('Some fields have been left blank, please complete');return;};if(_checkEmailAddress(frm.Your_Email.value)==false||_checkEmailAddress(frm.Friends_Email.value)==false){;alert('Your must enter a valid Email Address');return;};_progBar('<font color=red>_tellFriend','main:');e._Your_Name=frm.Your_Name.value;e._Your_Email=frm.Your_Email.value;e._Friends_Name=frm.Friends_Name.value;e._Friends_Email=frm.Friends_Email.value;e._Subject_Line=frm.Subject_Line.value;e._Mail_Message=frm.Mail_Message.value;e.execReq='tellFriend';var postData='';postData+='exec='+e.execReq+'&';postData+='do=tellFriend&';postData+='Your_Name='+frm.Your_Name.value+'&';postData+='Your_Email='+frm.Your_Email.value+'&';postData+='Friends_Name='+frm.Friends_Name.value+'&';postData+='Friends_Email='+frm.Friends_Email.value+'&';postData+='Subject_Line='+frm.Subject_Line.value+'&';postData+='Message='+_popEmailTemp(frm)+'&';trafReq+='tell a friend > ';_sendRequest(cgiBin+'e4-database.pl',_tellFriendResponse,postData);};
function _tellFriendResponse(req){;_traffic('reading');_progBar('<font color=green>_tellFriendResponse','main:');e._Subject_Line='';e._Mail_Message='';e.MailProductDesc='';e.MailProductLink='';if(offLine==false)_writeBasket(escape(e.basket));alert('Tell a Friend email has been sent');window.history.back();};
function _enquireReq(frm){;location.href=enquiryPage;e.MailProductLink+=frm.description.value+'\n'+location.href+'\n\n';e.MailProductDesc+='[ '+frm.description.value+' ] ';};
function _enquiry(frm){;var tmp='~'+frm.Your_Name.value+'~'+frm.Your_Email.value+'~'+frm.Subject_Line.value+'~'+frm.Mail_Message.value+'~';if(tmp.indexOf('~~')!=-1){;alert('Some fields have been left blank, please complete');return;};if(_checkEmailAddress(frm.Your_Email.value)==false){;alert('Your must enter a valid Email Address');return;};_progBar('<font color=red>_enquiry','main:');e.execReq='enquiry';var postData='';postData+='exec='+e.execReq+'&';postData+='do=enquiry&';postData+='Your_Name='+frm.Your_Name.value+'&';postData+='Your_Email='+frm.Your_Email.value+'&';postData+='Subject_Line='+frm.Subject_Line.value+'&';postData+='Friends_Email='+gCAdd.split('|')[4]+'&';postData+='Message='+frm.Mail_Message.value+'\n\n'+e.MailProductLink+'&';trafReq+='enquiry > ';_sendRequest(cgiBin+'e4-database.pl',_enquiryResponse,postData);};
function _enquiryResponse(req){;_traffic('reading');_progBar('<font color=green>_enquiryResponse','main:');e._Subject_Line='';e._Mail_Message='';e.MailProductDesc='';e.MailProductLink='';if(offLine==false)_writeBasket(escape(e.basket));alert('Your enquiry email has been sent');};
function resetForm(){;_resetForm();};
function recordIt(field){;_recordIt(field);};
function _wishList(){;_progBar('_wishList{}','main:');alert('in construction');};
function _purchasedProducts(){;_progBar('_purchasedProducts{}','main:');alert('in construction');};
function _savedBaskets(){;_progBar('_savedBaskets{}','main:');alert('in construction');};
function _searchExistsInDatabase(){;var postData='';postData+='do=search_two&';postData+='search_term='+e._Email_Address+'&';postData+='type=phrase&';postData+='boolean=and&';postData+='field=ID&';postData+='sort_field=ID&';_progBar('<font color=red>_searchExistsInDatabase','main:request chars: '+Math.floor((postData.length*4)/1000)+'Kb');trafReq+='search email in database > ';_sendRequest(cgiBin+'e4-database.pl',_autoLogin,postData);};
function replaceE(str){;_progBar('replaceE{}','main:');if(allowF){;if(str!=null){;str=str.split('<%minOrderValue%>').join(Val(minOrderVal,baseChar,1));str=str.split('<%maxOrderValue%>').join(Val(maxOrderVal,baseChar,1));str=str.split('<%trigger%>').join(Val(discTrig,baseChar,1));str=str.split('<%selectedProduct%>').join(selI);str=str.split('<%currentStock%>').join(curS);str=str.split('<%minQty%>').join(orgQ);str=str.split('<%maxQty%>').join(maxQ);str=str.split('<%discount%>').join(discD);str=str.split('<%keyword%>').join(keyW);str=str.split('<!--Total_Order_Value-->').join(Val(e._TOV,e.currencyChar,2,'Total_Order_Value'));str=str.split('<!--Total_Tax-->').join(Val(e._TVAT,e.currencyChar,2));str=str.split('<!--Shipment_Charge-->').join(Val(e._DC,e.currencyChar,2));str=str.split('<!--Sub_Total-->').join(Val(e._ST,e.currencyChar,2));str=str.split('<!--Total_Items-->').join(e._TNID);str=str.split('<!--Total_Weight-->').join(e._TWID);return str;}else{;return '';};}else{;return str;};};
function _setupOrder(){;var aForm=window.document.checkout_form;e.profilePassword=e._Email_Address;e.profileID=e._BasketID;e.User_Name=e.profilePassword;e.User_Password=e.profileID;e.sessionID=e.profilePassword+'|'+e.profileID;if(e.ProfileReference=='')e.ProfileReference=e.profileID;if(isNaN(e.ProfileReference)==true){;e.ProfileReference=e.CurrentDate;};var sendStr=profileRef+'~'+e.profilePassword+'~'+e.ProfileReference+'~'+profileExec+'~'+window.location+'?sessionID='+e.sessionID+'&basketID='+e._BasketID;aForm.elements['CustomerID'].value=sendStr;aForm.elements['LoginID'].value=e.sessionID+'|';aForm.elements['CheckoutConf'].value=myAccountPage;aForm.elements['CustomerID'].value=profileRef+'~'+e.profilePassword+'~'+e.profileID+'~'+profileExec+'~'+window.location+'?sessionID='+e.sessionID+'&basketID='+e._BasketID;};
function _autoLogin(req){;_traffic('reading');if(req.responseText!='No Matches Found'){;_progBar('<font color=green>_autoLogin','main:already registered this email address');};_progBar('<font color=green>_autoLogin','main:no matches with email so create new record');_setupOrder();e.execBsk='refreshRecord';e.execReq='submitOrder';e.BasketLog+=escape(_checkoutCompile()+'[^]'+e.basket+'[^]');if(offLine==false)_writeBasket(escape(e.basket));};
function _contOrder(){;_progBar('_contOrder{}','main:');e.trackingID=e._BasketID;if(isNaN(e.sessionID)==false){;_setupOrder();};e.execBsk='refreshRecord';e.execReq='submitOrder';e.BasketLog+=escape(_checkoutCompile()+'[^]'+e.basket+'[^]');if(offLine==false)_writeBasket(escape(e.basket));};
function _rememberMe(field){;_progBar('_rememberMe{','main:');if(field.value=='false'){;delCookie();}else{;setCookie('sessionID',e.sessionID,'long');};};
function _checkEmailAddress(email) {;var emailFilter= /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$/;if (!(emailFilter.test(email))) {;return false;}else{;return true;};};
function _updatePassword(frm){;_progBar('_updatePassword{}','main:');if(frm.Original_User_Password.value==''&&frm.New_User_Password.value==''&&frm.Confirm_User_Password.value==''){;_recordAll(frm);return;};if(frm.New_User_Password.value==''){;alert('Your must enter a Password');return;};if(frm.New_User_Password.value!=frm.Confirm_User_Password.value){;alert('Your confirmation password does not match your Password');return;};e.execReq='updatePassword';_modifyPasswordInDatabase(frm.New_User_Password.value);};
function _modifyPasswordInDatabase(psw){;var postData='';postData+='exec=updatePassword&';postData+='do=updatePassword&';postData+='key='+e.sessionID+'|&';postData+='Email='+e.profilePassword+'&';postData+='Password='+psw+'&';_progBar('<font color=red>_modifyPasswordInDatabase','main:request chars: '+Math.floor((postData.length*4)/1000)+'Kb');trafReq+='modify password in database > ';_sendRequest(cgiBin+'e4-database.pl',_showDatabase,postData);};
function _updateOrderStatus(frm){;_progBar('<font color=red>_updateOrderStatus','main:');e.execReq='orderStatus';var postData='';postData+='exec='+e.execReq+'&';postData+='do=updateOrderStatus&';postData+='key='+frm.User_Name.value+'|'+frm.User_Password.value+'|&';postData+='BasketID='+frm.BasketID.value+'&';postData+='OrderStatus='+frm.Order_Status[frm.Order_Status.selectedIndex].value+'&';postData+='ViewLink='+myAccountPage+'?sessionID='+frm.User_Name.value;trafReq+='update order status > ';_sendRequest(cgiBin+'e4-database.pl',_orderStatusResults,postData);};
function _readSearch(searchStr){;var postData='';postData+='exec=readSearch&';postData+='do=Search&';postData+='cgiPath='+cgiBin+'&';postData+='storePath='+storePath+'&';postData+='sessionID='+e.sessionID+'&';postData+='searchFor='+searchStr+'&';document.getElementById('search_results').innerHTML='Search for...' + searchStr;_progBar('<font color=red>_readSearch','main:request chars: '+Math.floor((postData.length*4)/1000)+'Kb');trafReq+='read search results > ';_sendRequest(cgiBin+'e4-database.pl',_showSearch,postData);};
function _readTime(){;var postData='';postData+='exec=readTime&';postData+='do=Time&';postData+='cgiPath='+cgiBin+'&';postData+='storePath='+storePath+'&';postData+='sessionID='+e.sessionID+'&';_progBar('<font color=red>_readTime','main:request chars: '+Math.floor((postData.length*4)/1000)+'Kb');trafReq+='read server time > ';_sendRequest(cgiBin+'e4-database.pl',_showTime,postData);};
function _orderStatusResults(req){;_traffic('reading');_progBar('<font color=green>_orderStatusResults','main:');_readBasket();alert('Order Status Updated');_addressDetails();};
function _showTime(req){;_traffic('reading');_progBar('<font color=green>_showTime','main:');document.getElementById('_test').innerHTML=req.responseText;};
function _resetForm(){;_progBar('_resetForm','main:');var aForm=window.document.checkout_form;aForm.reset();for(cnt=0;cnt<aForm.elements.length;cnt++){;aElem=aForm.elements[cnt];if(e['_'+aForm.elements[cnt].name]!=null){;if(aElem.type=='checkbox'){;e['_'+aForm.elements[cnt].name]='';}else{;e['_'+aForm.elements[cnt].name]='';};};};if(offLine==false)_writeBasket(escape(e.basket));window.location.href=e.checkout;};
function _loadContent(){;_progBar('_loadContent{}','main:');if(window.ActiveXObject){;xmlDoc = new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async=false;xmlDoc.load("_content.xml");return xmlDoc.getElementsByTagName("data")[0].firstChild.nodeValue;}else if (document.implementation && document.implementation.createDocument){;xmlDoc= document.implementation.createDocument("","",null);xmlDoc.load("_content.xml");xmlDoc.onload=_getmessage;}else{;alert('Your browser cannot handle this script');};};
function _getmessage(){;_progBar('_getmessage{}','main:');document.getElementById('_test').innerHTML=xmlDoc.getElementsByTagName("data")[0].firstChild.nodeValue;};
function _postToBasket(frm){;_progBar('_postToBasket{}','main:');if(offLine==true){;e.basketData=e.basketData+'[-]'+frm.elements[0].value;basketData=e.basketData;_controlbar();}else{;_readBasket();basketData=basketData+'[-]'+frm.elements[0].value;_writeBasket(basketData);};};
function _loadXML(xmlFile) {;_progBar('_loadXML{}','main:');xmlDoc.async="false";xmlDoc.onreadystatechange=_verify;xmlDoc.load(xmlFile);};
function _verify() {;_progBar('_verify{}','main:');if(xmlDoc.readyState!=4);return false;};
function _loadXMLDoc(url){;_progBar('_loadXMLDoc{}','main:');xmlhttp=null;if (window.XMLHttpRequest){;xmlhttp=new XMLHttpRequest();}else if (window.ActiveXObject){;xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");};if (xmlhttp!=null){;alert('_loadXMLDoc');xmlhttp.onreadystatechange=_state_Change;xmlhttp.open("GET",url,true);xmlhttp.send(null);}else{;alert("Your browser does not support XMLHTTP.");};};
function _state_Change(){;_progBar('_state_Change{}','main:');alert('_state_Change');if (xmlhttp.readyState==4){;if (xmlhttp.status==200){;e.xmltext=xmlhttp.responseXML;}else{;alert("Problem retrieving data:" + xmlhttp.statusText);};};};
function _courier_init(){;_progBar('_courier_init{}','main:');e.classVal=classVal.split('~');e.typeCalc=classVal[0];e.applyShip=false;e.shipFunc+="</SELECT>";e.shipFunc+="";e.blockCourier=0;};
function record(field){;_progBar('record{}','main:');recordIt(field);};
function delCookie(){;_progBar('delCookie{}','main:');if(document.cookie!=''){;var thisCookie=strip(document.cookie+';',';');expireDate=new Date;expireDate.setYear(expireDate.getYear()-1);for(i=0;i<globCnt;i++){;var cookieName=thisCookie[i].substring(0,thisCookie[i].indexOf('='));document.cookie=cookieName+'=;expires='+expireDate.toGMTString();};};};
function tempObj(){;this.length=0;};var panelObj=new tempObj();var onAddBasket='';var httpsPath='';var searchPage='';var checkoutPage='';/*START - STORE INJECTED VARIABLES*/
var menuFrm=0;var basketFrm=0;var toolbarFrm=95;var scriptVer='3.0';var erolVer=3.6;var erolHome='home-1-0.html';var allowTax=0;var allowVatNumber=0;var erolTag="-PondPlants,WaterPlants,AquaticPlants";var countryName="United Kingdom";var stateName="";var countyName="";var cityName="";var countryTax=15;var stateTax=0;var countyTax=0;var cityTax=0;var defaultTax=0;var shipmentTax=0;var defaultShip='z2843.html';var defaultLoc='United Kingdom';var globalShipment="";var defaultZone='z2843.html';var worldCountries="United Kingdom|GBP|BDX~";var countrySel=1;var loadCurCode='GBP';var states="";var county="";var taxGroups="(default):15:0:0:0:~Zero_Rate:0:0:0:0:~n/a:0:0:0:0:~Books:0:0:0:0:~";var globalTax="Austria:17.5~Belgium:17.5~Denmark:17.5~France:17.5~Finland:17.5~Germany:17.5~Greece:17.5~Ireland (Rep. of):17.5~Italy:17.5~Luxembourg:17.5~Netherlands:17.5~Portugal:17.5~Spain:17.5~Sweden:17.5~";var currencyChar='£';var currencyChar2='';var currencyCode='GBP';var currencyType='0';var jumpPge='checkout-3076-0.html';var bgColorOrder='#FFFFFF';var table1='#0000cc';var table2='#009900';var table3='#C0C0C0';var buyStr="images/buttons/cart_off.gif:images/buttons/cart_on.gif:width='100' height='17':";var contStr="images/buttons/continueshopping_off.gif:images/buttons/continueshopping_on.gif:width='70' height='22':";var infoStr="images/buttons/button_info_off.gif:images/buttons/button_info_on.gif:width='34' height='21':";var backStr="images/buttons/button_info_off.gif:images/buttons/button_info_on.gif:width='34' height='21':";var backOrdStr="images/buttons/continueshopping_off.gif:images/buttons/continueshopping_on.gif:width='70' height='22':";var clrOrdStr="images/buttons/clearorder_off.gif:images/buttons/clearorder_on.gif:width='70' height='22':";var clrFrmStr="images/buttons/button_clearform_off.gif:images/buttons/button_clearform_on.gif:width='70' height='22':";var prtFrmStr="images/buttons/button_printform_off.gif:images/buttons/button_printform_on.gif:width='70' height='22':";var sndOrdStr="images/buttons/button_sendorder_off.gif:images/buttons/button_sendorder_on.gif:width='70' height='22':";var label1="%3CB%3ESub-total%3C/B%3E";var label2="Sub Total";var label3="Shipment";var label4="Sub Total (incl. shipment)";var label5="Total VAT";var label6="%3CB%3ENo Items in your Cart%3C/B%3E";var label7="%3CB%3ETotal%3C/B%3E";var label8="%3Clabel for=%22VAT_Number%22%3EVAT Number%3C/label%3E";var label9="%3Clabel for=%22VAT_Number_Check%22%3EI confirm this is my valid VAT Number%3C/label%3E";var label10="VAT Exempt";var label11="Post Code";var label12="%3CB%3E*%3C/B%3ECountry";var label13="%3CBR%3E%3CB%3EDelivery Name & Address (if different) %3C/B%3E";var label14="Town & County";var label15="Post Code";var label16="Country";var label17="Discount";var label18="Email Address";var label19="DAYTIME Phone Number";var label20="Fax Number";var label21="I confirm that this number is my valid VAT Number and I am exempt from VAT charges";var label22="Your VAT Number has been withdrawn and VAT will be charged where applicable";var label23="%3CB%3E%3CFONT COLOR=#999999 SIZE=4 FACE=Arial,Helvetica,Sans Serif%3ESelect your location%3C/FONT%3E%3C/B%3E ";var label24="%3CB%3E%3CFONT COLOR=#999999 SIZE=4 FACE=Arial,Helvetica,Sans Serif%3ESelect a postage method%3C/FONT%3E%3C/B%3E";var label25="%3CB%3E%3CFONT COLOR=#999999 SIZE=4 FACE=Arial,Helvetica,Sans Serif%3ESelect your preferred currency%3C/FONT%3E%3C/B%3E";var label26="%3CB%3E%3CFONT COLOR=#999999 SIZE=4 FACE=Arial,Helvetica,Sans Serif%3ESelect your payment method%3C/FONT%3E%3C/B%3E&nbsp;&nbsp;%3CIMG SRC=%27images/visa.jpg%27 WIDTH=%2749%27 HEIGHT=%2730%27  BORDER=0%3E&nbsp;&nbsp;%3CIMG SRC=%27images/mastercard.jpg%27 WIDTH=%2750%27 HEIGHT=%2730%27  BORDER=0%3E&nbsp;&nbsp;%3CIMG SRC=%27images/delta.gif%27 WIDTH=%2748%27 HEIGHT=%2730%27  BORDER=0%3E&nbsp;&nbsp;%3CIMG SRC=%27images/switchcard.jpg%27 WIDTH=%2724%27 HEIGHT=%2730%27  BORDER=0%3E";var label27="%3CB%3E%3CFONT COLOR=#999999 SIZE=4 FACE=Arial,Helvetica,Sans Serif%3ESubmit your Order%3C/FONT%3E%3C/B%3E";var label28="%3CB%3EDelete%3C/B%3E";var label29="%3CB%3EItem%3C/B%3E";var label30="%3CB%3EDescription%3C/B%3E";var label31="%3CB%3ECode%3C/B%3E";var label32="%3CB%3EQty%3C/B%3E";var label33="Recipient County";var label34="Recipient State";var label35="%3CFONT FACE=Verdana,Arial,Helvetica,Sans Serif SIZE=1%3ECalculating Order ...%3C/FONT%3E";var label36="*Product Discounts";var label37="%3CB%3E%3CFONT COLOR=red%3E%3C%25discount%25%3E Off for orders over %3C%25trigger%25%3E%3C/FONT%3E%3C/B%3E";var label38="%3CB%3E%3CFONT COLOR=red%3EFree%3C/FONT%3E%3C/B%3E";var label39="Retrieving live exchange rate data - please wait";var label41="%3CTABLE HEIGHT=100%25 WIDTH=100%25%3E%3CTR ALIGN=center%3E%3CTD ALIGN=center%3E%3CFONT SIZE=1 FACE=Verdana,Arial,Helvetica,Sans Serif%3ESearching for ...%3CFONT COLOR=red%3E%3C%25keyword%25%3E%3C/FONT%3E%3C/FONT%3E%3C/TD%3E%3C/TR%3E%3C/TABLE%3E";var label44="Select your Location";var label45="Same as above";var msg1="You will now be transferred across to our Secure Server";var msg2="Delete this product from the order form?";var msg3="Clear all orders from the order form?";var msg4="Your login was successful";var msg5="Please select a quantity";var msg6="Please complete all fields highlighted in red\n\n%3C%25requiredFields%25%3E Required field(s) left blank.";var msg7="Please select all required options for this product";var msg8="Sorry this item is currently unavailable.";var msg9="This item has been added to your cart";var msg10="We can only accept orders between %3C%25minOrderValue%25%3E and %3C%25maxOrderValue%25%3E";var msg11="Sorry! Your login failed";var msg12="Live exchange rates are not available offline. Static rates will be applied where applicable.";var msg13="We cannot except deliveries to this country. Please choose another delivery country.";var msg14="We cannot except Credit Card payments from this country. Please choose another payment method.";var pageFont="";var basketFont="<FONT SIZE='1' FACE='Arial,Helvetica,Sans Serif' COLOR='Black'>";var bskAlign="left";var panelFont="";var backToCol="";var priceStyle="";var costStyle="";var shipStyle="";var disStyle="";var itemFont="";var oFont1='';var oFont2='';var oFont3='';var oFont4='';;var textColorOrder='';var tableFont1='Black';var tableHilite='White';var bgColorToolBar='White';var bgColorBasket='White';var bgBannerAd='White';var basketTab='';var action='https://www.securecentral2.co.uk/cgi-bin/v6_0/e3s-main.cgi';;var gateWay="<select class='Payment_Method' name='gateWay' id='gateWay' size='1' onchange='gateSel(this);record(this)'><option value='erolPay2|https://www.securecentral2.co.uk/cgi-bin/v6_0/e3s-main.cgi|25000989|AUTH|false|||'>Credit or Debit Card</option><option value='Cheque'>Cheque</option></SELECT>";var gateSup='ssl;worldPay;worldPayJunior;secureTrading;dataCash;netBanx;ePDQ;secPay;protx;noChex;2Checkout;payPal;dataCashCv2;hsbc;metaCharge;Cybersource;paypalPro;paypalProExpress;erolPay2;goPay;payOffline;MoneyBooker;pacRaven;ogone;ogoneIdeal;';var doVerify=0;var recipient='orders@bromfieldaquatics.co.uk';var recipient2='';var emailPage='';var customerMail='paulbromfieldaquatics/customer_email3.txt';var vendorMail='';var subject='New Order';var orderAsPop=0;var WPSpecial=0;var shopID='1255534019';var isDisc=0;var minOrderVal='';var maxOrderVal='';var submitMes="";var extraField1='Gift Voucher Number (if applicable)';var extraField2='Where did you hear about us?';var extraField3='';var extraField4='';var extraField5='';var fieldType1='';var fieldType2='';var fieldType3='';var fieldType4='';var fieldType5='';var shipFunc='';var panelImg='';var toolbarImg='';var cardBar='.';var Password='AUTH';var merchantID='25000989';var securePage='';var confirmIt='';var pgpKey='false';var rejectIt='';var storePath='/store/';var cgiBin='/cgi-bin/1255534019/6_5057/';var srvMsg='';var gatewayBck='';var gCAdd='Paul Bromfield Aquatics|Maydencroft Lane<br>Gosmore<br>Hitchin<br>Herts<br>SG4 7QD|01462457399|01462422652|admin@bromfieldaquatics.co.uk||www.bromfieldaquatics.co.uk';var ultraFast=0;var exception1=0;var storePrefix='';var orderBgImage='';var orderHeader="%3Ctable width=%22769%22 border=%220%22 cellspacing=%220%22 cellpadding=%220%22%3E  %3Ctr%3E %3Ctd%3E %3CIMG SRC=%27images/carthd.gif%27 %3CBR%3E %3CP ALIGN=Center%3E%3CFONT COLOR=%27#009900%27 SIZE=1 FACE=%27Verdana,Arial,Helvetica,Sans Serif%27%3E%3CB%3ETo add more products, click %27Contine Shopping%27. If you are finished shopping, please read the Order Notes and Terms of Business, then provide your details. Once you have finished, click on %27Send Order%27 and you will transferred to our Secure Server to complete the transaction.%3C/B%3E%3C/FONT%3E%3C/P%3E";var orderFooter="    %3C/td%3E   %3C/tr%3E %3C/table%3E%3Ctable width=%22769%22 border=%220%22 cellspacing=%220%22 cellpadding=%220%22 align=%22left%22%3E   %3Ctr%3E      %3Ctd%3E        %3Cdiv align=%22center%22%3E%3CFONT COLOR=%27Black%27 SIZE=1 FACE=%27Verdana,Arial,Helvetica,Sans Serif%27%3ESite          Design %3A %3Ca href=%22http%3A//www.meridiantechnology.co.uk%22 target=%22_blank%22%3EMeridian          Technology%3C/a%3E - All site content copyright &copy; Paul Bromfield -2002%3C/FONT%3E%3C/div%3E     %3C/td%3E   %3C/tr%3E %3C/table%3E";var orderCss="";var orderScript="";var orderVbScript="";var noThumb=0;var noEcom=0;var dispSearch=0;var panelBorder=0;var searchEnable=0;var supBsk=0;var showBanner=-1;var autoOrder=0;var altTwist=0;var showText=-1;var noBilling=0;var noTax=0;var noCurrency=0;var noGateway=0;var noTotals=0;var pageWidth='100%';var menuWidth='100%';var toolbarWidth='100%';var orderNotes="%3CFONT FACE=Arial,Helvetica,Sans Serif SIZE=4 COLOR=Firebrick%3E%3CB%3EOrder Notes and Terms Of Business%3C/B%3E%3C/FONT%3E%3CBR%3E %3CFONT COLOR=%27IndianRed%27 SIZE=1 FACE=%27Verdana,Arial,Helvetica,Sans Serif%27%3EPlease note that all transactions will be carried out in Sterling and are INCLUSIVE of VAT%3CBR%3E Once you have placed your order, confirmation will be sent to you via e-mail complete with transaction and order reference numbers. You will be kept informed of the progress of your order as it is processed and finally despatched%3CBR%3E %3CB%3EPayment by Credit or Debit Card%3C/B%3E%3CBR%3EWe accept VISA, DELTA, MAESTRO and MASTERCARD. %3CBR%3E%3CB%3ECredit Card Security %3C/B%3E%3CBR%3EAll our ordering is done using a secure server. Your credit card details are not held in clear text on any web site.%3CBR%3E %3CB%3EPayment by Cheque%3C/B%3E%3CBR%3EWe can alternatively accept payment by cheque when you order online. Please select from payment option. Once you have received confirmation of order by email, please send your cheque to the address at the bottom of the email along with a printout of the order confirmation. We will then despatch the goods once your cheque has been received and cleared.%3CBR%3E %3CB%3E&nbsp;Shipping And Handling %3C/B%3E%3CBR%3EAll orders are subject to a flat rate shipping charge of £6.95 in mainland UK. We use both Royal Mail and Courier depending on weight of shipment. However, the following UK postcodes may incur an additional charge if the weight of the parcel is OVER 2kgs%3A %3CB%3E%3CBR%3EAB, BT, DD, FK, IM, IV, JE, KA, KW, KY, PA, PH,%3C/B%3E %3CB%3EZE.%3C/B%3E However, %3CB%3Ewe will contact you i%3C/B%3Ef there is to be an%3C/B%3E additional charge. %3CBR%3EPlease note all our prices are inclusive of VAT.%3CBR%3E%3CB%3EDespatch%3C/B%3E%3CBR%3EOrders are  despatched on Monday%27s, Tuesday%27s and Wednesday%27s, by first class post. They then stand a good chance of delivery by the weekend. Large orders where weight is a factor are sent by overnight carrier for next day delivery. We will advise you of delivery in this instance before shipping. It is the purchaser%27s responsibility to make sure that someone is available to accept delivery or make suitable arrangements for them to be left. We cannot be held responsible for plants that are delivered and die due to lack of care and attention.%3CBR%3E %3CB%3EOutside of UK%3C/B%3E%3CBR%3EAt present we do not ship outside the UK from our website ordering system. We do however welcome interest outside of the UK and would ask you to email, or phone us to discuss whether we can ship to your country and what the shipping charges would be. You should be aware that certain plants are banned in some countries/states.%3CBR%3E  %3CB%3EDelivery Schedule%3C/B%3E%3CBR%3EOrders are ALWAYS sent out in strict rotation. Delivery times may vary depending upon time of year as we are subject to availability of plants due to seasonal variations.%3CBR%3E  %3CB%3EBack Orders%3C/B%3E%3CBR%3EIf your item is not in stock, we will back order for you. %3CBR%3E  %3CB%3EAvailability of Plants%3C/B%3E %3CBR%3EAs stated on our delivery page, some plants are very occasionally out-of-stock or unavailable. We reserve the right to substitute with a plant of equal value or more, unless told not to do so. Some plants, mainly oxygenators and floating, are available seasonally. These will be marked %27To Follow%27 and will be shipped as soon as they are ready.%3CBR%3E %3CB%3ELiability for Plant Damage%3C/B%3E%3CBR%3EOur customers should be aware that some plants may damage pool liners and possibly the structure of the pool with their roots. Consideration should be made when ordering. Paul Bromfield Aquatics cannot accept any responsibility for any damage to liners or pond structure etc.%3CBR%3E %3CB%3EGuarantee %3C/B%3E%3CBR%3EWe guarantee your satisfaction. If you have a problem with your purchase, please do not hesitate to tell us!%3CBR%3E  %3CB%3EReaching Us %3C/B%3E%3CBR%3EIf you need to reach us, please email us on admin@bromfieldaquatics.co.uk, alternatively, you can call on 01462 457399 (International +44 %3Cphone without first zero%3E) or write to us at Paul Bromfield Aquatics, Gosmore, Hitchin, Herts. SG4 7QD. UK.%3CBR%3E  %3CB%3EPrivacy Policy %3C/B%3E%3CBR%3EPaul Bromfield Aquatics do not disclose buyers%27 information to third parties.%3C/FONT%3E";var shipPrompt='';var popOptions='toolbar=no,menubar=no,scrollbars=no,status=no,location=no,directories=no,resizable=no,width=325,height=400,~Expanded View~0~0~';var popOptions2='toolbar=no,menubar=no,scrollbars=yes,status=yes,location=no,directories=no,resizable=no,width=600,height=400,~Payment Form~0~0~';var popOptions3='toolbar=yes,menubar=yes,scrollbars=yes,status=yes,location=yes,directories=yes,resizable=yes,width=,height=,~~~~';var popOptions4='toolbar=yes,menubar=yes,scrollbars=yes,status=yes,location=yes,directories=yes,resizable=yes,width=600,height=400,~Secure Form~0~0~';var discActive=0;var privilegeActive=-1;var voucherActive=-1;var headTag="%3C!DOCTYPE html PUBLIC %22-//W3C//DTD XHTML 1.0 Transitional//EN%22 %22http%3A//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22%3E %3Chtml xmlns=%22http%3A//www.w3.org/1999/xhtml%22 xml%3Alang=%22en-GB%22 lang=%22en-GB%22 dir=%22ltr%22%3E %3Chead%3E%3Cmeta http-equiv=%22Content-Type%22 content=%22text/html; charset=ISO-8859-1%22 /%3E %3Cmeta http-equiv=%22Pragma%22 content=%22no-cache%22%3E %3Ctitle%3E%3C%25Page_Title%25%3E%3C/title%3E %3Clink href=%22store.css%22 rel=%22stylesheet%22 type=%22text/css%22 /%3E %3C%25Erol_Scripts_Head%25%3E %3C%25Meta_Tags%25%3E %3C/head%3E %3Cbody id=%22%3C%25Body_Id%25%3E%22%3E %3C%25Body_Template%25%3E %3Cscript type=%22text/javascript%22 src=%22w1.js%22%3E%3C/script%3E%3C%25Erol_Scripts_Foot%25%3E %3C/body%3E%3C/html%3E";var storeCss="body {margin:0;padding:0;}img {border:0;}#e_toolbar {background-color: #009900;width: 769px;height: 105px;}#e_basket {padding: 2px 0 2px 0;margin: 10px 5px 5px 10px;color: #fff;font-size:10px;text-align: center;}#e_basket a{color: #fff;text-decoration:none;font-weight: normal;}#e_page{width:769px;}hr {border: 1px solid #009900;height:1px;border:none;background-color: LightGreen;padding: 0 20px 0 20px;margin-bottom:20px;}";var indexPage=1;var bskSize=0;var bskBordSize=3;var trgTag='div';var trgType='1';var snippets='0¬|<%VALUE%>|~1¬%3CSELECT %3C%25CONTROL%25%3E onChange=%22%3C%25EVENT%25%3E%22%3E%7C %3COPTION VALUE=%22%3C%25VALUE%25%3E%22 %3C%25SELECTED%25%3E%3E%3C%25LABEL%25%3E%3C/OPTION%3E%7C %3C/SELECT%3E~2¬%7C%3CINPUT id=%22%3C%25VALUE%25%3E%22 TYPE=%22checkbox%22 %3C%25CONTROL%25%3E onClick=%22%3C%25EVENT%25%3E%22 VALUE=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E%3E%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/label%3E&nbsp;%7C~3¬%7C%3CINPUT id=%22%3C%25VALUE%25%3E%22 TYPE=%22radio%22 %3C%25CONTROL%25%3E  onClick=%22%3C%25EVENT%25%3E%22 VALUE=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E%3E%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/label%3E&nbsp;%7C~4¬%3CTABLE%3E%7C%3CTR%3E%3CTD%3E%3C%25LABEL%25%3E%3C/TD%3E%3CTD%3E%3CINPUT NAME=%22%3C!Name=Element Name!%3E%22 SIZE=%22%3C!Name=Element Name!%3E%22 TYPE=text%22 VALUE=%22%22%3E&nbsp;%3C/TD%3E%3C/TR%3E%7C%3C/TABLE%3E~5¬%7C%3CIMG SRC=%22%3C%25LABEL%25%3E%22%3E%7C~7¬%7C%3CA NAME=%22Element Name%22 HREF=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/A%3E%7C~12¬%7C%3CINPUT id=%22%3C%25VALUE%25%3E%22 TYPE=%22radio%22 %3C%25CONTROL%25%3E  onClick=%22%3C%25EVENT%25%3E%22 VALUE=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E style=%22position%3Aabsolute;left%3A-999px;width%3A990px;%22%3E%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/label%3E&nbsp;%7C~16¬%7C%3CIMG SRC=%22%3C%25LABEL%25%3E%22%3E&nbsp;%7C~17¬%7C%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3CIMG SRC=%22images/shirt/check.gif%22%3E%3CINPUT ID=%22%3C%25VALUE%25%3E%22 TYPE=%22radio%22 %3C%25CONTROL%25%3E  onClick=%22%3C%25EVENT%25%3E%22 VALUE=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E%3E%3C%25LABEL%25%3E&nbsp;%3C/label%3E%7C~19¬%7C%3CA HREF=%22javascript%3Aalert(%27do this%27)%22%3E%3CIMG SRC=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/A%3E&nbsp;%7C~20¬%7C%3Cspan onClick=%22var var %3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/span%3E&nbsp;%7C~21¬%3CSELECT %3C%25CONTROL%25%3E onChange=%22%3C%25EVENT%25%3E%22 style=%22display%3Anone%22;%3E%7C%3COPTION VALUE=%22%3C%25VALUE%25%3E%22 %3C%25SELECTED%25%3E%3E%3C%25LABEL%25%3E%3C/OPTION%3E%7C%3C/SELECT%3E~48¬%3Cul style=%22list-style-type%3Anone;padding%3A0; margin%3A0;%22%3E%7C%3Cli%3E%3Cinput  type=%22radio%22 %3C%25CONTROL%25%3E onClick=%22%3C%25EVENT%25%3E%22 value=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E%3E%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/label%3E%3C/li%3E%7C%3C/ul%3E~49¬%3Ctable cellpadding=%222%22 cellspacing=%220%22 border=%220%22%3E%7C%3Ctr%3E%3Ctd%3E%3Cinput id=%22%3C%25VALUE%25%3E%22 type=%22checkbox%22 %3C%25CONTROL%25%3E onClick=%22%3C%25EVENT%25%3E%22 value=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E%3E%3C/td%3E%3Ctd%3E%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/label%3E%3C/td%3E%3C/tr%3E%7C%3C/table%3E~51¬%7C%3CIMG SRC=%22%3C%25LABEL%25%3E%22 width=%2270%22 height=%2270%22 border=%220%22%3E%7C~52¬%7C%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3CINPUT ID=%22%3C%25VALUE%25%3E%22 TYPE=%22radio%22 %3C%25CONTROL%25%3E  onClick=%22%3C%25EVENT%25%3E%22 VALUE=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E%3E%3CIMG SRC=%22images/shirt/check.gif%22%3E%3C%25LABEL%25%3E&nbsp;%3C/label%3E%7C~53¬%3Cul style=%22list-style-type%3Anone;padding%3A0; margin%3A0;%22%3E%7C%3Cli%3E%3CINPUT id=%22%3C%25VALUE%25%3E%22 TYPE=%22radio%22 %3C%25CONTROL%25%3E  onClick=%22%3C%25EVENT%25%3E%22 VALUE=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E style=%22position%3Aabsolute;left%3A-999px;width%3A990px;%22%3E%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/label%3E%3C/li%3E%7C%3C/ul%3E~55¬%3Cul style=%22list-style-type%3Anone;padding%3A0; margin%3A0;%22%3E%7C%3Cli%3E%3CINPUT id=%22%3C%25VALUE%25%3E%22 TYPE=%22checkbox%22 %3C%25CONTROL%25%3E onClick=%22%3C%25EVENT%25%3E%22 VALUE=%22%3C%25VALUE%25%3E%22 %3C%25CHECKED%25%3E%3E%3Clabel for=%22%3C%25VALUE%25%3E%22%3E%3C%25LABEL%25%3E%3C/label%3E%3C/li%3E%7C%3C/ul%3E~';var orderFields='';;var cFooter='%3Cp%3E%3Cstrong%3E*Required Fields%3C/strong%3E%3C/p%3E %3Cfieldset%3E %3Clegend%3EBilling Details%3C/legend%3E  %3Clabel for=%22Billing_Name%22 class=%22Billing_Name_Label%22%3E*Billing Name (Card Holders Name)%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Billing_Name%22 id=%22Billing_Name%22 class=%22Billing_Name%22 type=%22text%22 size=%2225%22 value=%22%22 title=%22Required%22 /%3E%3Cbr /%3E  %3Clabel for=%22Billing_Address_1%22 class=%22Billing_Address_1_Label%22%3E*Billing Address 1%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Billing_Address_1%22 id=%22Billing_Address_1%22 class=%22Billing_Address_1%22 type=%22text%22 size=%2225%22 value=%22%22 title=%22Required%22 /%3E%3Cbr /%3E  %3Clabel for=%22Billing_Address_2%22 class=%22Checkout_Label%22%3EBilling Address 2%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Billing_Address_2%22 id=%22Billing_Address_2%22 class=%22Billing_Address_2%22 type=%22text%22 size=%2240%22 value=%22%22 title=%22Optional%22%3E%3Cbr /%3E  %3Clabel for=%22Billing_City%22 class=%22Checkout_Label%22%3E*City/Town%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Billing_City%22 id=%22Billing_City%22 class=%22Billing_City%22 type=%22text%22 size=%2240%22 value=%22%22 title=%22Required%22%3E%3Cbr /%3E  %3Clabel for=%22Billing_Zip%22 class=%22Checkout_Label%22%3E*Postal Code/Zip%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Billing_Zip%22 id=%22Billing_Zip%22 class=%22Billing_Zip%22 type=%22text%22 size=%2225%22 value=%22%22 title=%22Required%22%3E%3Cbr /%3E  %3Clabel for=%22Billing_Country%22 class=%22Checkout_Label%22%3E*Country%3C/label%3E%3Cbr /%3E %3Cspan id=%22Billing_Country%22 class=%22Billing_Country%22%3E%3C%25Billing_Country%25%3E%3C/span%3E%3Cbr /%3E%3Cbr /%3E  %3C/fieldset%3E %3Cbr /%3E %3Cfieldset%3E%3Clegend%3EDelivery Address%3C/legend%3E %3Cbr /%3E  %3Clabel for=%22Delivery_Name%22 class=%22Checkout_Label%22%3EDelivery Name (if different)%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Delivery_Name%22 id=%22Delivery_Name%22 class=%22Delivery_Name%22 type=%22text%22 size=%2240%22 value=%22%22 title=%22Optional%22%3E%3Cbr /%3E  %3Clabel for=%22Delivery_Address_1%22 class=%22Checkout_Label%22%3EDelivery Address 1%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Delivery_Address_1%22 id=%22Delivery_Address_1%22 class=%22Delivery_Address_1%22 type=%22text%22 size=%2240%22 value=%22%22 title=%22Optional%22%3E%3Cbr /%3E  %3Clabel for=%22Delivery_Address_2%22 class=%22Checkout_Label%22%3EDelivery Address 2%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Delivery_Address_2%22 id=%22Delivery_Address_2%22 class=%22Delivery_Address_2%22 type=%22text%22 size=%2240%22 value=%22%22 title=%22Optional%22%3E%3Cbr /%3E  %3Clabel for=%22Delivery_City%22 class=%22Checkout_Label%22%3ECity/State/Province%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Delivery_City%22 id=%22Delivery_City%22 class=%22Delivery_City%22 type=%22text%22 size=%2240%22 value=%22%22 title=%22Optional%22%3E%3Cbr /%3E  %3Clabel for=%22Delivery_Zip%22 class=%22Checkout_Label%22%3EPostal Code/Zip%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Delivery_Zip%22 id=%22Delivery_Zip%22 class=%22Delivery_Zip%22 type=%22text%22 size=%2225%22 value=%22%22 title=%22Optional%22%3E%3Cbr /%3E  %3Clabel for=%22Delivery_Country%22 class=%22Checkout_Label%22%3ECountry%3C/label%3E%3Cbr /%3E %3Cspan id=%22Delivery_Country%22 class=%22Delivery_Country%22%3E%3C%25Delivery_Country%25%3E%3C/span%3E%3Cbr /%3E%3Cbr /%3E  %3C/fieldset%3E %3Cbr /%3E %3Cfieldset%3E%3Clegend%3EContact Details%3C/legend%3E %3Cbr /%3E %3Clabel for=%22Email_Address%22 class=%22Checkout_Label%22%3E*Email Address%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Email_Address%22 id=%22Email_Address%22 class=%22Email_Address%22 type=%22text%22 size=%2225%22 value=%22%22 title=%22Required%22%3E%3Cbr /%3E  %3Clabel for=%22Phone_Number%22 class=%22Checkout_Label%22%3E*Phone Number%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Phone_Number%22 id=%22Phone_Number%22 class=%22Phone_Number%22 type=%22text%22 size=%2225%22 value=%22%22 title=%22Required%22%3E%3Cbr /%3E  %3Clabel for=%22Fax_Number%22 class=%22Checkout_Label%22%3EFax Number%3C/label%3E%3Cbr /%3E %3Cinput onchange=%22record(this)%22 name=%22Fax_Number%22 id=%22Fax_Number%22 class=%22Fax_Number%22 type=%22text%22 size=%2225%22 value=%22%22 title=%22Optional%22%3E%3Cbr /%3E  %3C/fieldset%3E %3Cbr /%3E %3Cfieldset%3E%3Clegend%3EOptional Information%3C/legend%3E %3Cbr /%3E  %3Clabel for=%22Additional_Info%22 class=%22Checkout_Label%22%3EAdditional Info%3C/label%3E%3Cbr /%3E %3Ctextarea onchange=%22record(this)%22 name=%22Additional_Info%22 id=%22Additional_Info%22 class=%22Additional_Info%22 cols=%2235%22 rows=%225%22 wrap=%22virtual%22 title=%22Optional%22%3E%3C/textarea%3E%3Cbr /%3E %3C/fieldset%3E  %3Cp%3E%3Cspan class=%22Order_Notes%22 id=%22Order_Notes%22%3E%3C%25Order_Notes%25%3E%3C/span%3E%3C/p%3E';panelObj.Panel_Featured_Products='phrase=@featured&template=s8.html&orderby=relevance';panelObj.Panel_Offers='phrase=@onsale&template=s9.html&orderby=price%20ascending';panelObj.Panel_Upsell='phrase=@batteries&template=s10.html&orderby=relevance';
/*END - STORE INJECTED VARIABLES*/;e._curCode=loadCurCode;if(jumpPge!=''){;onAddBasket=jumpPge;};e.countryTax=countryTax;e.allowVatNumber=allowVatNumber;if(httpsPath!=''){;cgiBin=httpsPath+cgiBin;};baseChar=currencyChar;baseChar2=currencyChar2;var emailFriendConf='';var emailFriendTemp='<!--Message-->\n\n<!--Product_List-->';var emailFriendRowTemp='%Description% Price: %Price% \n %Link% \n\n';var emailFriendHead='';var orderVerified='Checking Order > Verified';var orderChecking='Checking Order';var orderFailed='Checking Order > Failed';var orderFatal='Checking Order > ';e5main=true;_boot('e5main');