/***************************************************
 portal_global_eggeater.js	( consolidated )
 * v2.16 2007-10-05	 based on  bushmaster 3.26 2007-07-10
 * Copyright 2007 Interkey Networks Ltd. All Rights Reserved.
 * Use is prohibited without licence from Interkey Networks.
 * http://www.artofcoding.co.uk
***************************************************/
 String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")};String.prototype.noSpaces=function(){return this.replace(/\s/g,"")};String.prototype.contains=function(s,i){return i?this.toLowerCase().indexOf(s.toLowerCase())!= -1:this.indexOf(s)!= -1;};String.prototype.startswith=function(s,i){return i?this.toLowerCase().indexOf(s.toLowerCase())==0:this.indexOf(s)==0;};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(BI,pv_fk){var pA=this.length;if(pv_fk==undefined){pv_fk=0;};if(pv_fk>=pA){return-1};if(pv_fk<0){pv_fk=(pA+pv_fk)};for(var i=pv_fk;i<pA;i++){if(this[i]===BI){return i;}};return-1;}}Array.prototype.contains=function(BI){if(typeof BI=="function"){var pA=this.length;for(var i=0;i<pA;i++){if(this[i].toString()===BI.toString()){return true;}};return false;}else{return(this.indexOf(BI)!= -1);}};var sky_oNavigator=window.navigator;var sky_sUserAgent=sky_oNavigator.userAgent.toLowerCase();var sky_sAppVersion=sky_oNavigator.appVersion.toLowerCase();var sky_bMac=(sky_oNavigator.platform.toLowerCase().indexOf("mac")!= -1);var sky_bSafari=sky_sUserAgent.indexOf("safari")!= -1;var sky_bGecko=(sky_oNavigator.product&&sky_oNavigator.product.toLowerCase()=="gecko")&& !sky_bSafari;var sky_bGeckoOld=sky_bGecko;if(sky_bGecko){var sky_bFF=(sky_sUserAgent.indexOf("firefox")!= -1);if(sky_bFF&&(sky_oNavigator.productSub&&(parseInt(sky_oNavigator.productSub)>=20051111))){sky_bGeckoOld=false;}}var sky_bOpera=(window.opera!=null);var sky_bOperaXSLT=false;var sky_bOperaMac=false;var sky_bOpera9=false;var sky_bOpera9_plus=false;var sky_bOpera8_minus=false;if(sky_bOpera){sky_bOperaMac=sky_bMac;sky_bOperaXSLT=(window.XSLTProcessor!=null);var sky_nOpVersion=parseFloat(sky_sAppVersion);sky_bOpera9=(sky_nOpVersion==9);sky_bOpera9_plus=(sky_nOpVersion>=9);sky_bOpera8_minus= !sky_bOpera9_plus;}var sky_bIE=false;var sky_bIE55=false;var sky_bIE55_plus=false;var sky_bIE6=false;var sky_bIE6_plus=false;var sky_bIE6_minus=false;var sky_bIE7=false;var sky_bIE7_plus=false;var sky_nMSIE=sky_sUserAgent.indexOf("msie");if((sky_nMSIE!= -1)&&(!sky_bOpera)){var sky_nIEVersion=parseFloat(sky_sUserAgent.slice(sky_nMSIE+5));sky_bIE=true;sky_bIE55=(sky_nIEVersion==5.5);sky_bIE55_plus=(sky_nIEVersion>=5.5);sky_bIE6=(sky_nIEVersion==6);sky_bIE6_plus=(sky_nIEVersion>=6);sky_bIE7=(sky_nIEVersion==7);sky_bIE7_plus=(sky_nIEVersion>=7);sky_bIE6_minus= !sky_bIE7_plus;}window.onload=sky_fWindowOnLoad;var LR=null;if(sky_bIE){document.onreadystatechange=function(){if((/complete/).test(document.readyState)){document.onreadystatechange=null;sky_fWindowOnLoad();}}}else if(sky_bGecko||sky_bOpera9_plus){document.addEventListener("DOMContentLoaded",sky_fWindowOnLoad,false);}else if(document.readyState!=undefined){window.LR=setInterval(function(){if((/(loaded|complete)/).test(document.readyState)){clearInterval(window.LR);window.LR=null;sky_fWindowOnLoad();}},100);}var sky_bHTTP=null;var sky_bIETextRange=null;var tU="sky_eEmStandard";var sky_aLoadExecutes=new Array();var sky_sEventOver=sky_bIE?"onmouseenter":"onmouseover";var sky_sEventOut=sky_bIE?"onmouseleave":"onmouseout";var sky_bHasMinHeight= !sky_bIE6_minus;var sky_sMinHeightProp=sky_bHasMinHeight?"minHeight":"height";var tS="|";var tT="~";var ub="aoc-genericpanel";var tI="aoc-genericcolumn";var tZ="vgn-footer-container";var ua="aoc-footer";var ue="aoc-title";var sky_sTitleButtonsId="aoc-header-buts";var pv_if="aoc-pagecontent";var tG="b-tl";var tH="aoc-gutter-horiz";var sky_sDummyQuery="?local=true";var att="lg-foot";var asC="hdr-search-inp";var sky_aImagesLoaded=new Array();var sky_aAllThePanels=new Array();var sky_aAllTheComps=new Array();var tC=new Array();var tD=new Array();var aud="js-on";document.documentElement.className=aud;function sky_fWindowOnLoad(Te){if(Te!=true){if(arguments.callee.Qb){return true};}arguments.callee.Qb=true;clearInterval(window.LR);window.LR=null;sky_fAddClassName(document.body,aud);aQ();ES();aE();aD();aR();sky_fExecuteFunctions(window.sky_aLoadExecutes);};function aQ(){sky_fExecuteFunctions(tC);};function aR(){sky_fExecuteFunctions(tD);};function sky_fExecuteFunctions(ig){var SF=ig.length;var te;for(var i=0;i<SF;i++){BE=ig[i];nC=(typeof BE=="string")?window[BE]:BE;if(typeof nC=="function"){nC();}}};function sky_fWindowOnLoadBeginAdd(te){window.tC.push(te);};function sky_fWindowOnLoadEndAdd(te){window.tD.push(te);};function Fr(){aH();aG();};function aH(){v();aE();};function aG(){apf();aD();};function v(){window.sky_aAllThePanels=new Array()};function apf(){window.sky_aAllTheComps=new Array()};function ap(){return window.sky_aAllThePanels};function ac(){return window.sky_aAllTheComps};function sky_fGetCompsByClass(pv_gz){return ac()[pv_gz]||new Array()};function sky_fGetSingleComp(pv_gz){var hR=ac()[pv_gz];if(hR){return hR[0];}return null;};function ad(){return ap()[this.qb];};function aq(){return Fo(this,true);};function aE(){Fp(document.body);};function aD(){var hR=ac();var iI=ap();var qc=iI.length;var pv_dz,hY,kJ,j,sj,hL,ox,pv_gz;var nE=ad;for(var i=0;i<qc;i++){pv_dz=iI[i];hY=pv_dz.getElementsByTagName("div");if(hY.length){kJ=hY[0];sj=kJ.className;hL=sj.split(" ");ox=hL.length;for(j=0;j<ox;j++){pv_gz=hL[j];if(hR[pv_gz]==null){hR[pv_gz]=new Array();}hR[pv_gz].push(kJ);}hR.push(kJ);kJ.qb=i;pv_dz.ss=kJ.ss=hL[0];kJ.og=nE;}}};function Fp(pv_cY){var jR=(pv_cY!=document.body);var pv_bg=sky_aAllThePanels;var zT=ub;var hY=pv_cY.getElementsByTagName("div");var oS=hY.length;if(oS==0){return false;}var kc=false,pv_cS,jx,j,hN,k,oy,sk,jK,qc;for(var i=0;i<oS;i++){pv_cS=hY[i];hN=pv_cS.className.split(" ");oy=hN.length;for(j=0;j<oy;j++){sk=hN[j];switch(sk){case zT:pv_cS.og=aq;jK=Fp(pv_cS);if(!jK){jx=false;qc=pv_bg.length;for(var k=0;k<qc;k++){if(pv_bg[k]==pv_cS){jx=true;break;}}if(!jx){pv_bg.push(pv_cS);}kc=true;}break;case tG:case att:EN(pv_cS);break;case ue:EN(pv_cS);break;}}}return kc};var tx=new Array();var pv_if=null;function ao(){return window.pv_if?document.getElementById(window.pv_if):null};function aj(){return document.getElementById(tZ)||document.getElementById(ua)};function Fn(pv_dz){var hY=pv_dz.getElementsByTagName("div");if(hY.length){var pv_gA=hY[0].className;hM=pv_gA.match(/^.*?(\s|$)/);return hM[0].trim();}return null;};function sky_fGetPreviousSibling(pv_cY){var mC=pv_cY.previousSibling;if(mC!=null){while(mC!=null&&mC.nodeType!=1){mC=mC.previousSibling;}}return mC;};function sky_fGetPreviousSiblingByClassName(pv_cY,pv_gz){var mC=pv_cY.previousSibling;if(mC!=null){while(mC!=null&&(mC.nodeType!=1|| !sky_fHasClassName(mC,pv_gz))){mC=mC.previousSibling;}}return mC;};function asa(pv_cY,pv_hB){var mC=pv_cY.previousSibling;if(mC!=null){while(mC!=null&&(mC.nodeType!=1||(mC.tagName!=pv_hB))){mC=mC.previousSibling;}}return mC;};function sky_fGetNextSiblingByClassName(pv_cY,pv_gz){var lZ=pv_cY.nextSibling;if(lZ!=null){while(lZ!=null&&(lZ.nodeType!=1|| !sky_fHasClassName(lZ,pv_gz))){lZ=lZ.nextSibling;}}return lZ;};function sky_fGetNextSibling(pv_cY){var lZ=pv_cY.nextSibling;if(lZ!=null){while(lZ!=null&&lZ.nodeType!=1){lZ=lZ.nextSibling;}}return lZ;};function sky_fGetParentElement(pv_cY){pv_cY=pv_cY.parentNode;while(pv_cY.nodeType!=1){pv_cY=pv_cY.parentNode;}return pv_cY;};function sky_fGetEvent(e){return(e||window.event);};function sky_fGetSrcElement(pv_fT){var pv_dF=(pv_fT.srcElement||pv_fT.target);while(pv_dF.nodeType!=1){pv_dF=pv_dF.parentNode;}return pv_dF;};function sky_fEventGetPageX(pv_fT){return((pv_fT.x!=null)?(pv_fT.x+sky_fGetScrollLeft()):pv_fT.pageX);};function sky_fEventGetPageY(pv_fT){return((pv_fT.y!=null)?(pv_fT.y+sky_fGetScrollTop()):pv_fT.pageY);};function sky_fEventCancel(e){var pv_fT=sky_fGetEvent(e);pv_fT.returnValue=false;return false;};function sky_fCancelBubble(e){var pv_fT=sky_fGetEvent(e);pv_fT.cancelBubble=true;if(pv_fT.stopPropagation){pv_fT.stopPropagation();}};function sky_fSetInnerText(pv_cY,pv_hE){(pv_cY.innerText!=null)?(pv_cY.innerText=pv_hE):(pv_cY.textContent=pv_hE)};function sky_fGetInnerText(pv_cY){var pv_hE='';if(pv_cY.innerText!=null){pv_hE=pv_cY.innerText;if((pv_hE.trim().length==0)&&(sky_bSafari)&&(pv_cY.hasChildNodes())){var rB=pv_cY.firstChild;if(rB.nodeType==3){pv_hE=rB.nodeValue;}}}else if(pv_cY.textContent!=null){pv_hE=pv_cY.textContent;}return pv_hE.trim();};function sky_fAddClassName(pv_cY){var AX=pv_cY.className.trim();var pv_bi=(typeof arguments[1]=="string")?arguments:arguments[1];var on=pv_bi.length;for(var i=1;i<on;i++){AX+=(" "+pv_bi[i]);}pv_cY.className=AX;};function sky_fRemoveClassName(pv_cY){var AX=pv_cY.className.trim();var pv_bi=(typeof arguments[1]=="string")?arguments:arguments[1];var on=pv_bi.length;for(var i=1;i<on;i++){var CD=new RegExp(("(^|\\b)"+pv_bi[i]+"(\\b|$)"),"g");AX=AX.replace(CD,"").trim();}if(pv_cY.className!=AX){pv_cY.className=AX;}};function sky_fHasClassName(pv_cY,pv_gz){var sj=pv_cY.className;if(sj){var hL=pv_cY.className.trim().split(" ");var ox=hL.length;for(var i=0;i<ox;i++){if(hL[i].trim()==pv_gz){return true;}}}return false;};function sky_fGetCurrentStyle(pv_cY,Aw){if(pv_cY.currentStyle!=null){var rj=pv_cY.currentStyle;var pv_hK=rj[Aw];if(pv_hK==null){pv_hK=rj[Aw.replace(/(\-)(.{1})/g,function(a,b,c){return c.toUpperCase()})];}return pv_hK;}else{var rm=document.defaultView;if(rm.getComputedStyle){var ri=rm.getComputedStyle(pv_cY,null);if(ri){return ri.getPropertyValue(Aw);}}}return null;};function EQ(pv_cY){var Bq=sky_fGetCurrentStyle(pv_cY,"visibility");switch(Bq){case "hidden":return false;case "visible":if(!sky_bIE){return true;}}return null;};function sky_fIsVisible(pv_cY){var Do=((pv_cY.offsetWidth==null)||(pv_cY.offsetWidth==0));if(Do){return false;kd=false}do{var BJ=EQ(pv_cY);if(BJ!=null){return BJ;}pv_cY=sky_fGetParentElement(pv_cY);}while(pv_cY!=document.body);return true;};function aF(zX){var iK=zX.trim().split(tS);var qd=iK.length;var iA=new Array();var iJ,zU,pf,pv_hb,pv_hK;for(var i=0;i<qd;i++){zU=iK[i];pf=zU.indexOf("=");pv_hb=zU.substr(0,pf);pv_hK=zU.slice(pf+1);iA[pv_hb]=pv_hK;iA.push(pv_hb);}return iA;};var tF="args";function ab(pv_cY,rK){return ah(pv_cY,tF,true)[rK];};function ae(pv_cY,rK){return ah(pv_cY,tF,false)[rK];};function ah(pv_cY,rN,jt){if(jt){pv_cY=sky_fGetCompContainer(pv_cY);};if(typeof pv_cY.iM=="undefined"){pv_cY.iM=new Array();}if(typeof pv_cY.iM[rN]=="undefined"){var zV=pv_cY.getAttribute(rN);pv_cY.iM[rN]=(zV!=null)?aF(zV):new Array();}return pv_cY.iM[rN];};function as(pv_cY,mj,Aw,pv_hK,jY){pv_hK=pv_hK.toLowerCase();var Cy=new RegExp("(^|\\s)"+pv_hK+"(\\s|$)");if(jY){pv_cY=pv_cY.parentNode;};while(!Cy.test(pv_cY[Aw].toLowerCase())){pv_cY=pv_cY.parentNode;if((pv_cY==mj)||(pv_cY==null)){return null};}return pv_cY;};function aqd(pv_cY,pv_gU,mj,jY){return as(pv_cY,(mj||document.body),"id",pv_gU,jY);};function sky_fGetParentByTagName(pv_cY,pv_hB,mj,jY){return as(pv_cY,(mj||document.body),"tagName",pv_hB,jY);};function sky_fGetParentByClassName(pv_cY,pv_gz,mj,jY){return as(pv_cY,(mj||document.body),"className",pv_gz,jY);};function Fo(pv_cY,jY){return sky_fGetParentByClassName(pv_cY,ub,null,jY);};function sky_fGetCompContainer(pv_cY){var pv_dz=Fo(pv_cY,false);return sky_fGetFirstElementByClassName(pv_dz,pv_dz.ss);};function sky_fGetFirstElementByTagName(pv_dB,pv_hB){return pv_dB.getElementsByTagName(pv_hB)[0];};function Xg(pv_dB,pv_hB){pv_hB=pv_hB.toLowerCase();var pv_br=new Array();if(pv_dB.hasChildNodes()){var Lg=pv_dB.childNodes;var RW=Lg.length;var acu,ahn;for(var i=0;i<RW;i++){acu=Lg[i];ahn=acu.tagName;if((ahn!=null)&&(ahn.toLowerCase()==pv_hB)){pv_br.push(acu);}}}return pv_br;};function sky_fGetElementByTagName(pv_dB,pv_hB){if(pv_dB.tagName.toLowerCase()==pv_hB.toLowerCase()){return pv_dB;}else{return sky_fGetFirstElementByTagName(pv_dB,pv_hB);}};function ER(pv_cY){while(pv_cY.hasChildNodes()){pv_cY.removeChild(pv_cY.lastChild);}};function sky_fRemoveElement(pv_cY){sky_fGetParentElement(pv_cY).removeChild(pv_cY);};function EN(pv_cY){window.tx.push(sky_fGetId(pv_cY));};function sky_fFixMozPosBug(){if(sky_bGeckoOld||Fl()){setTimeout("aa()",10);}};function aa(){var hU=window.tx;var oK=hU.length;var kO,zP;var nF=sky_fGetCurrentStyle;var nI=Fj;for(var i=0;i<oK;i++){if(kO=document.getElementById(hU[i])){var zP=nF(kO,"margin-top");if(zP.contains("px")){zP=nI(parseInt(zP));}kO.style.marginTop="1px";kO.style.marginTop=zP;}}};function sky_fGetFirstElementByClassName(pv_dB,pv_gz,pv_hB){return sky_fGetElementsByClassName.call(pv_dB,pv_gz,pv_hB)[0];};function sky_fGetElementsByClassName(pv_gz,pv_hB){if(pv_hB){var hJ=this.getElementsByTagName(pv_hB);}else{var hJ=sky_bIE55?this.all:this.getElementsByTagName("*");}var ow=hJ.length;var kG;var nP=sky_fHasClassName;var hK=new Array();for(var i=0;i<ow;i++){kG=hJ[i];if(nP(kG,pv_gz)){hK.push(kG);}}return hK;};function sky_fGetCSSBySelector(pv_hv){var jd=document.styleSheets;var qK=jd.length;var iX,qw,j,mQ;for(var i=0;i<qK;i++){iX=jd[i].rules;qw=iX.length;for(j=0;j<qw;j++){mQ=iX[j];if(mQ.selectorText==pv_hv){return mQ.style.cssText;}}}return null;};function sky_fGetFormElements(pv_db){var pv_br=new Array();var hv=sky_bIE55?pv_db.all:pv_db.getElementsByTagName("*");var oj=hv.length;var kr;for(var i=0;i<oj;i++){kr=hv[i];switch(kr.tagName.toLowerCase()){case "input":if(kr.type.toLowerCase()=="hidden"){break;}case "button":case "select":case "textarea":pv_br.push(kr);break;}}return pv_br;};function sky_fGetId(pv_cY){var pv_gU=pv_cY.id.trim();if(pv_gU==""){pv_gU=pv_cY.uniqueID;pv_cY.id=pv_gU;}if(pv_gU==null){pv_gU=sky_fGetRandomIdentifier();pv_cY.id=pv_gU;}return pv_gU;};function sky_fGetRandomIdentifier(){var pv_fR=new Date();return("id"+pv_fR.getHours()+pv_fR.getMinutes()+pv_fR.getSeconds()+pv_fR.getMilliseconds()+(Math.random()*(1+Math.random()))).replace(/\./g,"");};function sky_fGetScrollTop(){return((sky_bGecko||sky_bSafari)?window.pageYOffset:sky_bIE6_plus?document.documentElement.scrollTop:document.body.scrollTop);};function sky_fGetScrollLeft(){return((sky_bGecko||sky_bSafari)?window.pageXOffset:sky_bIE6_plus?document.documentElement.scrollLeft:document.body.scrollLeft);};function sky_fGetClientWidth(){return((sky_bIE55||sky_bOpera)?document.body.clientWidth:sky_bSafari?window.innerWidth:document.documentElement.clientWidth);};function sky_fGetClientHeight(){return((sky_bIE55||sky_bOpera)?document.body.clientHeight:sky_bSafari?window.innerHeight:document.documentElement.clientHeight);};function aw(){return((sky_bGecko||sky_bSafari)?window:sky_bIE6_plus?document.documentElement:document.body);};function sky_fKeepInWindow(pv_cY,pz,qN,pJ){var pL=(pJ==null)?5:pJ;var qY=sky_fGetScrollLeft();var ra=sky_fGetScrollTop();var rb=sky_fGetClientWidth();var qX=sky_fGetClientHeight();var qZ=(qY+rb)-pL;var qW=(ra+qX)-pL;var pa=pz+pv_cY.offsetWidth;var oW=qN+pv_cY.offsetHeight;if(pa>qZ){pz-=(pa-qZ);pz=Math.max(pL,pz);}if(oW>qW){qN-=(oW-qW);qN=Math.max(pL,qN);}if(qN<ra){qN=ra+pL;}if(pz<qY){pz=qY+pL;}return[pz,qN];};function Fu(){if(sky_bIE6_minus){var ja=document.getElementsByTagName("select");var qE=ja.length;var mS,Aq;for(var i=0;i<qE;i++){mS=ja[i];Aq=mS.Aq;if(Aq!=null){mS.style.visibility=Aq;mS.Aq=null;}}}};function Fq(pv_cY){if(sky_bIE6_minus){var ja=document.getElementsByTagName("select");var qE=ja.length;if(qE){if(pv_cY){var jh=new Array();var nG=sky_fGetElementLeft;var nH=sky_fGetElementTop;var oY=nG(pv_cY);var Sx=nH(pv_cY);var oZ=(oY+pv_cY.offsetWidth);var oV=(Sx+pv_cY.offsetHeight);var qC,qD,qF,qA,jX;for(var i=0;i<qE;i++){mS=ja[i];qC=nG(mS);qD=(qC+mS.offsetWidth);qF=nH(mS);qA=(qF+mS.offsetHeight);if(!((Sx>qA)||(oV<qF)||(oZ<qC)||(oY>qD))){jh.push(mS);}}}else{var jh=ja;}var nF=sky_fGetCurrentStyle;var qM=jh.length;var np;for(var i=0;i<qM;i++){np=jh[i];np.Aq=nF(np,"visibility");np.style.visibility="hidden";}}}};function ET(pv_fR){var hW=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var iy=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];this.pp=pv_fR.getHours();var pp=this.pp;this.pV=((pp==12||pp==0)?12:(pp%12));this.rI=((this.pp>=12)?"pm":"am");this.pM=pv_fR.getMinutes();this.zB=("00"+this.pM).slice(-2);this.Sr=pv_fR.getDay();this.sA=hW[this.Sr];this.oL=pv_fR.getDate();this.pO=pv_fR.getMonth();this.zD=iy[this.pO];this.zI=(this.pV+"."+this.zB+this.rI);this.zH=(this.pV+":"+this.zB+this.rI);};function EU(){this.style.textDecoration="none";};function EV(){this.style.textDecoration="underline";};var tA=new Array();function EM(Al,apP,apO,apS){var rz={pv_hb:Al,apP:apP,apO:apO,apS:apS};var iO=tA;iO[Al]=iO.length;iO.push(rz);};function aA(Al){return tA[Al]!=null};function at(Al){return tA[tA[Al]]};function EP(Al){var iO=sky_oNavigator.plugins;if(iO){var Co=new RegExp(Al);var qj=iO.length;var ry;for(var i=0;i<qj;i++){ry=iO[i];if(Co.test(ry.name)){return au(ry);}}}return false;};function EO(zA){var iw=sky_oNavigator.mimeTypes;if(iw){var Cf=new RegExp(zA);var pI=iw.length;for(i=0;i<pI;i++){rw=iw[i];if(Cf.test(rw.type)){return au(rw.enabledPlugin);}}}return false;};function au(ry){if(ry){var sE=ry.description;if(sE){var Cz=/\d+\.?.*$/;var pv_bK=sE.match(Cz);if(pv_bK!=null){return(pv_bK[0].toString());}}}return null;};function sky_fCheckForActiveX(rF,pv_fL){if(sky_bIE){for(var i=pv_fL;i>0;i--){try{var rd=new ActiveXObject(rF+"."+i);try{return(rd.GetVariable("$version"));}catch(e){return i;}}catch(e){}}}return null;};function sky_fLoadImages(){var ik=sky_aImagesLoaded;var pr=ik.length;var ij=arguments;var pq=ij.length;var tp,ru;for(var i=0,j=pr;i<pq;i++,j++){tp=ij[i];if(ik[tp]==null){ru=new Image();ru.src=tp;ik[j]=ru;ik[tp]=j;}}};function aC(lq){lq=(this||lq);aM.call(lq);lq.onload=null;};function aM(){if(!sky_bOpera){this.style.width=sky_fGetRelativeEmValue(this.width);this.style.height=sky_fGetRelativeEmValue(this.height);}};function Fm(pv_dh){return EW(pv_dh.src);};function EW(pv_hJ){var BW=/(.*\/)[^\/]+$/;var pv_bK=pv_hJ.match(BW);if(pv_bK!=null){return pv_bK[1].toString();}return null;};function sky_fGetElementLeft(pv_cY){return ag(pv_cY,"offsetLeft","clientLeft");};function sky_fGetElementTop(pv_cY){return ag(pv_cY,"offsetTop","clientTop");};function sky_fGetElementRight(pv_cY){return(sky_fGetElementLeft(pv_cY)+pv_cY.offsetWidth);};function sky_fGetElementBottom(pv_cY){return(sky_fGetElementTop(pv_cY)+pv_cY.offsetHeight);};function sky_fGetElementCentre(pv_cY){return(sky_fGetElementLeft(pv_cY)+(pv_cY.offsetWidth/2));};function sky_fGetElementMiddle(pv_cY){return(sky_fGetElementTop(pv_cY)+(pv_cY.offsetHeight/2));};function ag(pv_cY,pv_hi,pv_gB){var pv_fE=pv_cY[pv_hi];var pv_dA=pv_cY.offsetParent;var pv_hB,pv_eX;while(pv_dA!=null){if(((pv_hB=pv_dA.tagName.toLowerCase())!="table")&&(pv_hB!="body")){if((pv_eX=pv_dA[pv_gB])!=null){pv_fE+=pv_eX;}}pv_fE+=pv_dA[pv_hi];pv_dA=pv_dA.offsetParent;}return pv_fE;};function Fl(){if(sky_bIE7_plus){var OH=ai();var Vx=OH.getBoundingClientRect();return((Vx.right-Vx.left)!=OH.offsetWidth);}return false;};function ES(){if(!ai()){var kV=document.createElement("div");kV.id=tU;kV.style.position="absolute";kV.style.visibility="hidden";kV.style.top="0px";kV.style.left="0px";kV.style.width="1em";kV.style.height="1em";kV.style.overflow="hidden";document.body.appendChild(kV);}};function ai(){return document.getElementById(tU);};function Fj(qi){return((kV=ai())?((qi/kV.offsetHeight)+"em"):(qi+"px"));};function Fi(qi){return((kV=ai())?(qi/kV.offsetHeight):(qi/16));};function sky_fGetRelativeEmValue(qi){return Fj(sky_fGetRelativePixels(qi));};function sky_fGetRelativePixels(qi){return((kV=ai())?(qi*(kV.offsetHeight/16)):qi);};function sky_fGetPixelValue(pd){return(ai().offsetHeight*pd);};function sky_fGetUnscaledPixelValue(qx){return((kV=ai())?((qx*16)/kV.offsetHeight):qx);};function sky_fGetCookie(pv_hb){var pv_gH=document.cookie;var pv_hU=new RegExp(pv_hb+"=([^\\;]*)");var pv_bK=pv_gH.match(pv_hU);if(pv_bK!=null){var pv_hK=unescape(pv_bK[1]);pv_hK=pv_hK.trim();return(pv_hK.length==0)?null:pv_hK;}return null;};function sky_fDeleteCookie(pv_hb,pv_hn,sJ,avL){sky_fSetCookie(pv_hb,"",new Date(),pv_hn,sJ,avL);};function sky_fSetCookie(pv_hb,pv_hK,avI,pv_hn,sJ,avL){var atp=("");if(avI==null){var pv_cG=new Date();pv_cG.setDate(pv_cG.getDate()+30);atp=(pv_cG.toGMTString());}else if(avI=="session"){atp=("");}else{atp=(avI.toGMTString());}var avP=[pv_hb,escape(pv_hK)].join("=");var avM=["expires",atp].join("=");var avQ=["path",(pv_hn||"/")].join("=");var avO=["domain",(sJ||"")].join("=");var avN=(avL?"secure":"");document.cookie=[avP,avM,avQ,avO,avN].join(";");};var tO="just";var tP="hant";var tN="uifd";var tR="tred";var tQ="jnhg";var tM="esales_cart";var tL="skyquote";var tK="sky_login_attempt";var tJ="esales_newcust";var ug="G";var uh="P";var uf="C";function sky_fGetUserType(){return(sky_fGetCookie(tR)||ug);};function sky_fGetUserName(){return sky_fGetCookie(tP)};function sky_fGetUserId(){return sky_fGetCookie(tO)};function sky_fGetUserDisplayName(){return sky_fGetCookie(tN)};function sky_fGetUserLoggedIn(){return sky_fGetCookie(tQ)};function sky_fGetShopStateEsales(){return sky_fGetCookie(tM);};function sky_fGetShopQuote(){return sky_fGetCookie(tL);};function an(){return sky_fGetCookie(tK);};function sky_fGetNewCust(){return sky_fGetCookie(tJ);};function sky_fDeleteUserType(){sky_fDeleteCookie(tR);};function sky_fDeleteUserName(){sky_fDeleteCookie(tP);};function sky_fDeleteUserDisplayName(){sky_fDeleteCookie(tN);};function A(){sky_fDeleteCookie(tK);};function aN(){sky_fSetCookie(tK,"1","session")};function sky_fSetShopQuote(){sky_fSetCookie(tL,"1")};function sky_fIsGuest(){return(sky_fGetUserType()==ug);};function sky_fIsNewCust(){return(sky_fGetNewCust()!=null);};function sky_fIsLoggedIn(){return(sky_fGetUserLoggedIn()!=null);};function sky_fHasUserName(){return(sky_fGetUserName()!=null);};function sky_fHasUserId(){return(sky_fGetUserId()!=null);};function sky_fHasDisplayName(){return(sky_fGetUserDisplayName()!=null);};function sky_fHasShopQuote(){return(sky_fGetShopQuote()!=null);};function az(){return(an()!=null);};function sky_fHasShopBasket(){var AN=sky_fGetShopStateEsales();if(AN!=null){return true;}return false;};var XL="esales-portlet";var sky_bShoppingBasketPage=false;function Ft(MZ){window.sky_bShoppingBasketPage=MZ;};function sky_fIsShopBasketPage(){return window.sky_bShoppingBasketPage;};var tB=["sky_fHasShopBasket","sky_fIsNewCust"];function sky_fIsUnknownPros(){var jk=tB;var qQ=jk.length;var nZ;for(var i=0;i<qQ;i++){nZ=window[jk[i]];if(nZ!=null){if(nZ()==true){return true;}}}return false;};function sky_fAttachEvent(sP,BE,pv_cY,jT){sky_fBindEvent("attachEvent","addEventListener",sP,BE,pv_cY,jT);};function sky_fDetachEvent(sP,BE,pv_cY,jT){sky_fBindEvent("detachEvent","removeEventListener",sP,BE,pv_cY,jT);};function sky_fBindEvent(rM,zv,sP,BE,pv_cY,jT){try{if(parent.agd||top.agd){return};}catch(e){};pv_cY=(pv_cY||window);var nC=null;if(typeof BE=="string"){nC=window[BE];}else{nC=BE;}if(nC!=null){if(!jT){sP=sP.toLowerCase();}if(sP.indexOf("on")==0){sP=sP.slice(2);}if((sP=="load")&&(pv_cY==window)){if(!window.sky_aLoadExecutes.contains(nC)){window.sky_aLoadExecutes.push(nC)};return;}if(window[rM]){pv_cY[rM]("on"+sP,nC);}else{pv_cY[zv](sP,nC,false);}}};var tE=10000;function sky_fCanHttp(){var jP=window.sky_bHTTP;if(typeof jP!="boolean"){var rs;var nD;jP=true;if(window.XMLHttpRequest!=null){try{rs=new XMLHttpRequest();nD=ak;}catch(e){jP=false;}}else if(sky_bIE){try{rs=new ActiveXObject("Msxml2.XMLHTTP");nD=al;}catch(e){try{rs=new ActiveXObject("Microsoft.XMLHTTP");nD=am;}catch(f){jP=false;}}}window.sky_bHTTP=jP;if(jP){window.sky_fGetBrowserHTTP=nD;}}return jP;};function al(){return new ActiveXObject("Msxml2.XMLHTTP");};function am(){return new ActiveXObject("Microsoft.XMLHTTP");};function ak(){return new XMLHttpRequest();};function sky_fGetHTTP(){return window.sky_fGetBrowserHTTP();};function sky_fSendHTTP(pv_hJ,pv_ck,pv_ey){var pv_fU=sky_fGetHTTP();if(pv_ck){if(pv_ey!=null){var pv_bi=new Array();var pv_fG=arguments.length;var pv_fg=sky_fSendHTTP.length;for(var i=pv_fg;i<pv_fG;i++){pv_bi.push(arguments[i]);}pv_fU.onreadystatechange=function(){if(pv_fU.readyState==4){if(pv_fU.status==0||pv_fU.status==200){pv_ey.apply(pv_fU,pv_bi);}}}}}pv_fU.open("GET",pv_hJ,pv_ck);try{pv_fU.send(null);}catch(e){return false;}return pv_fU;};function sky_fSendHTTPSync(pv_hJ){return sky_fSendHTTP(pv_hJ,false);};function sky_fSendHTTPASync(pv_hJ){return sky_fSendHTTP(pv_hJ,true);};function aB(pv_gK){var rn=af(pv_gK);if(!rn.jQ){var pv_fU=rn.pv_fU;if(pv_fU&&pv_fU.abort){pv_fU.abort();rn.onError(pv_gK);}}};var ty=new Array();function Fs(pv_gK,rn){window.ty[pv_gK]=rn;};function af(pv_gK){return window.ty[pv_gK];};function sky_fSetHTTPResponseHTML(pv_cY,pv_hJ,pv_ck,nV,nW,nU){aK("html",pv_cY,pv_hJ,pv_ck,nV,nW,nU);};function sky_fSetHTTPResponseText(pv_cY,pv_hJ,pv_ck,nV,nW,nU){aK("text",pv_cY,pv_hJ,pv_ck,nV,nW,nU);};function aK(pv_hG,pv_cY,pv_hJ,pv_ck,nV,nW,nU){var rn=new Object();var pv_gK=sky_fGetId(pv_cY);Fs(pv_gK,rn);var pv_fU=sky_fGetHTTP();pv_fU.onreadystatechange=function(){if(pv_fU.readyState==4){if(pv_fU.status==0||pv_fU.status==200){rn.jQ=true;switch(pv_hG){case "html":pv_cY.innerHTML=pv_fU.responseText;break;case "text":sky_fSetInnerText(pv_cY,pv_fU.responseText);break;}if(nV!=null){nV(pv_gK);}if(nU!=null){nU();}}else{if(nW!=null){nW(pv_gK);}}}};rn.pv_fU=pv_fU;rn.jQ=false;rn.onError=(nW||new Function());pv_fU.open("GET",pv_hJ,pv_ck);try{pv_fU.send(null);}catch(e){if(nW!=null){nW(pv_gK,e);}}};var sky_fDoTransform=sky_bIE?B:sky_bGecko?D:sky_bOperaXSLT?F:C;function C(){return false;};function B(Bv,Bw,pv_cO,nX,nT,nA){var kp=new ActiveXObject("Msxml2.DOMDocument");kp.async=true;kp.onreadystatechange=function(){if(kp.readyState==4){var ro=kp.parseError;if(ro.errorCode!=0){if(nT){nT("xml",pv_cO,ro.reason);};}else{if(nA){var Bz=nA(kp);if(typeof Bz=="string"){nT("xml",pv_cO,Bz);return;}}var kq=new ActiveXObject("Msxml2.DOMDocument.3.0");kq.async=true;kq.onreadystatechange=function(){if(kq.readyState==4){var ro=kq.parseError;if(ro.errorCode!=0){if(nT){nT("xsl",pv_cO,ro.reason);};}else{var pv_gT=kp.transformNode(kq);pv_cO.innerHTML=pv_gT;if(nX){nX(pv_cO);};}}};kq.load(Bw);}}};kp.load(Bv);};function D(Bv,Bw,pv_cO,nX,nT,nA){var rD=new XSLTProcessor();var rv=document.implementation;var kp=rv.createDocument("","dummy",null);kp.onload=function(){if(nA){var Bz=nA(kp);if(typeof Bz=="string"){nT("xml",pv_cO,Bz);return;}}var kq=rv.createDocument("","dummy1",null);kq.onload=function(){rD.importStylesheet(kq);var kn=rD.transformToFragment(kp,document);pv_cO.innerHTML="";pv_cO.appendChild(kn);if(nX){nX(pv_cO);};};try{kq.load(Bw);}catch(e){if(nT){nT("xsl",pv_cO,e.name);};}};try{kp.load(Bv);}catch(e){if(nT){nT("xml",pv_cO,e.name);};}};function F(Bv,Bw,pv_cO,nX,nT,nA){if(sky_fCanHttp()){sky_fSendHTTP(Bv,true,G,Bw,pv_cO,nX,nT,nA);}};function G(Bw,pv_cO,nX,nT,nA){sky_fSendHTTP(Bw,true,H,this.responseXML,pv_cO,nX,nT,nA);};function H(kp,pv_cO,nX,nT,nA){var kq=this.responseXML;if(nA){var Bz=nA(kp);if(typeof Bz=="string"){nT("xml",pv_cO,Bz);return;}}var rD=new XSLTProcessor();rD.importStylesheet(kq);var kn=rD.transformToFragment(kp,document);pv_cO.innerHTML="";pv_cO.appendChild(kn);if(nX){nX(pv_cO);};};function I(AQ,jy){var nd=document.getElementById(AQ);if(nd){nd.disabled= !jy;return true;}return false;};sky_fWindowOnLoadBeginAdd("dn");var wG="nojs-error";var wH="keep";document.write("<style type='text\/css'>\n","p."+wG+"{display:none}\n","<\/style>\n");function dn(){var iE=sky_fGetElementsByClassName.call(document.body,wG,"div");var pU=iE.length;var me,pv_dB,pv_dz,lf;for(var i=0;i<pU;i++){me=iE[i];pv_dz=Fo(me);lf=sky_fGetNextSiblingByClassName(pv_dz,tH);if(lf){sky_fRemoveElement(lf);}sky_fRemoveElement(pv_dz);}iE=sky_fGetElementsByClassName.call(document.body,wG,"p");pU=iE.length;for(i=0;i<pU;i++){me=iE[i];if(!sky_fHasClassName(me,wH)){sky_fRemoveElement(me);}}};sky_fAttachEvent("load",cs);var ahG="defaultvalue";var vl="readonly";function cs(){var io=new Array();var hw=document.body.getElementsByTagName("input");var RN=hw.length;var pv_dj,sB,rK;for(var i=0;i<RN;i++){pv_dj=hw[i];if((pv_dj.type=="text")){sB=pv_dj.defaultValue;if((sB!=null)&&(sB.trim().length>0)){if((rK=ae(pv_dj,ahG))!=null){if(rK!=sB){continue;}}io.push(pv_dj);}}}var pv=io.length;var jC=false;for(i=0;i<pv;i++){pv_dj=io[i];if(sky_fHasClassName(pv_dj,vl)){continue;}if(pv_dj.onfocus==null){pv_dj.onfocus=cu;pv_dj.onblur=ct;}if(pv_dj.id==asC){pv_dj.focus();}}};function cu(){if(!this.aga){if(this.value.trim()==this.defaultValue){this.value=''}}};function ct(){if(!this.aga){if(this.value.trim().length==0){this.value=this.defaultValue}}};sky_fAttachEvent("load",arU);function arU(){avR();arA();};var asz="aoc-ee-hdrtools";var atB="ht-welcome";var asV="url";var asW="Hi ";document.write("<style type='text\/css'>\n","#"+asz+"{ visibility:hidden; }\n","<\/style>\n");function avR(){var atH=sky_fGetSingleComp(aso);if(atH){var pv_cO=sky_fGetParentElement(atH);if(pv_cO){var lf=sky_fGetNextSiblingByClassName(pv_cO,tH);if(lf){var avS=sky_fGetNextSiblingByClassName(lf,tH);if(avS){sky_fRemoveElement(avS);}sky_fRemoveElement(lf);}}}};function arA(){var asn=document.getElementById(asz);if(asn){if(sky_fIsLoggedIn()){if(sky_fCanHttp()){arG(asn);}else{avY();}}else{ip();}}};function arG(asn){var pv_hJ=ae(asn,asV);if(pv_hJ){sky_fSetHTTPResponseHTML(asn,pv_hJ,true,ary,arH,null);}else{avY();}};function avY(){ary();};function ary(pv_gK){awa();avZ();ip();};function arH(pv_gK){avY();};function ip(){var asn=document.getElementById(asz);if(asn){asn.style.visibility="visible";};};function awa(){var nv=document.getElementById(atB);if(nv){if(sky_fHasDisplayName()){var sG=sky_fGetUserDisplayName();if(sG){sky_fSetInnerText(nv,(asW+sG));}}}};function avZ(){var atH=sky_fGetSingleComp(aso);if(atH){sky_fRemoveElement(atH);}};sky_fAttachEvent("load",aU);var un=".gif";var up="-horiz";var uo=(up+un);var uk=["aoc-arrow","aoc-linkarrow","aoc-arrowlink","aoc-arrowlink-right"];var um="no-hover";function aU(){var hL=uk;var ox=hL.length;var hA=new Array();var pv_gz;var aou=sky_fGetElementsByClassName;for(var i=0;i<ox;i++){pv_gz=hL[i];hA=hA.concat(aou.call(document.body,pv_gz,"p"));hA=hA.concat(aou.call(document.body,pv_gz,"span"));hA=hA.concat(aou.call(document.body,pv_gz,"button"));}var oo=hA.length;if(oo){var kt,lD,mN;var pv_gM=sky_sEventOver;var pv_gL=sky_sEventOut;var aoz=um;var nP=sky_fHasClassName;var Qd=sky_fGetFirstElementByTagName;for(i=0;i<oo;i++){kt=hA[i];if(!nP(kt,aoz)){lD=Qd(kt,"a");mN=(lD!=null)?lD:kt.parentNode;mN[pv_gM]=aW;mN[pv_gL]=aV;}}}};function aW(){if(!this.disabled){var pv_dh=sky_fGetFirstElementByTagName(this,"img");pv_dh.src=pv_dh.src.replace(un,uo);}};function aV(){if(!this.disabled){var pv_dh=sky_fGetFirstElementByTagName(this,"img");pv_dh.src=pv_dh.src.replace(uo,un);}};var ahl=new Array();function agq(pv_gU){var agy=window.ahl;var pv_cY=agy[pv_gU];if(pv_cY==null){pv_cY=agy[pv_gU]=document.getElementById(pv_gU);agy.push(pv_gU);}return pv_cY;};sky_fAttachEvent("unload",ago);function ago(){var agy=window.ahl;var agM=agy.length;for(var i=0;i<agM;i++){agy[agy[i]]=null;agy[i]=null;}agy.length=0;};function akk(pv_cY){var Cx=/^(valid|req)\[(.*)\]$/;var sj=pv_cY.className;var hL=sj.trim().split(" ");var ox=hL.length;var pv_gz,pv_bK,Be,jj,qP,j,k,pv_hG,ji,Bd;for(var i=0;i<ox;i++){pv_gz=hL[i];pv_bK=pv_gz.match(Cx);if(pv_bK!=null){Be=pv_bK[2];if(Be){jj=Be.split("_");qP=jj.length;for(j=0;j<qP;j++){pv_hG=jj[j];ji=pv_hG.split("-");Bd=ji[0];pv_cY.Bm=Bd;return Bd;}}}}};sky_fAttachEvent("load",akC);function akC(){var hR=akg();var oG=hR.length;var kJ,hw,RN,pv_dj,i;for(var p=0;p<oG;p++){kJ=hR[p];hw=kJ.getElementsByTagName("input");RN=hw.length;pv_dj;for(var i=0;i<RN;i++){pv_dj=hw[i];if(pv_dj.type=="text"){pv_dj.aga=true;}}}};function akg(){return sky_fGetCompsByClass("ee-login");};sky_fAttachEvent("load",akI);var alb="error";var akV="required-field";var alg="required";bD=akE;var aoD="togglereq";var aoL="reqtoggle";var aoH="valid[";var aoA="ignore[";var aoN="|";var aoM=":";function akI(){var hR=akg();var oG=hR.length;for(var p=0;p<oG;p++){akP(hR[p]);}};function akP(kJ){var pv_bx=kJ.getElementsByTagName("form");var pv_fh=pv_bx.length;var pv_db;for(var i=0;i<pv_fh;i++){pv_db=pv_bx[i];pv_db.onsubmit=akG;}};function akG(e){var pv_db=this;var pv_fT=sky_fGetEvent(e);var jp=true;akH(pv_db);var Dr=akv(pv_db);var Ds=aku(pv_db);var jp=(Dr&&Ds);if(!jp){akt(pv_db);if(sky_bGeckoOld){sky_fFixMozPosBug()};}pv_fT.returnValue=jp;return jp;};function akH(pv_db){var ic=sky_fGetElementsByClassName.call(pv_db,alb,"p");var pg=ic.length;var kW;for(var i=0;i<pg;i++){kW=ic[i];pv_dB=sky_fGetParentElement(kW);pv_dB.removeChild(kW);pv_dB.Dq=false;}var pv_br=sky_fGetFormElements(pv_db);var pv_fe=pv_br.length;var pv_cY;for(i=0;i<pv_fe;i++){pv_cY=pv_br[i];pv_cY.kb=false;pv_cY.Dp=false;}sky_fFixMozPosBug();};function akv(pv_db){var iV=aky(pv_db);var qt=iV.length;var Dn=true;if(qt!=0){var mK,sM,jN;for(var i=0;i<qt;i++){mK=iV[i];sM=mK.type.replace(/\-.*$/,"");jN=true;switch(sM){case "password":case "text":case "textarea":case "file":jN=bv(mK,sM);break;case "checkbox":jN=bu(mK,sM);break;case "radio":jN=bx(mK,sM);break;case "select":jN=by(mK,sM);break;}if(!jN){mK.kb=true;Dn=false;}}}return Dn;};function aky(pv_db){var pv_br=sky_fGetFormElements(pv_db);var pv_fe=pv_br.length;var pv_cY,lz,nt,mh;var iV=new Array();var AA=akV;for(var i=0;i<pv_fe;i++){pv_cY=pv_br[i];switch(pv_cY.type){case "submit":case "button":case "reset":continue;}lz=sky_fGetParentByTagName(pv_cY,"li");if(lz){if(sky_fHasClassName(lz,AA)){iV.push(pv_cY);continue;}nt=sky_fGetParentByTagName(lz,"ul");if(nt){if(sky_fHasClassName(nt,AA)){iV.push(pv_cY);pv_cY.su=sky_fGetId(nt);}continue;}mh=sky_fGetParentByTagName(lz,"ol");if(mh){if(sky_fHasClassName(mh,AA)){iV.push(pv_cY);pv_cY.su=sky_fGetId(mh);}continue;}}else{var pv_cS=sky_fGetParentByClassName(pv_cY,AA,pv_db,true);if(pv_cS){iV.push(pv_cY);pv_cY.aqi=sky_fGetId(pv_cS);continue;}}}return iV;};function aku(pv_db){var Dn=true;var ob=window.skyvalid_fValidateElement;if(ob){var pv_br=sky_fGetFormElements(pv_db);var pv_fe=pv_br.length;var pv_cY,sM,jN;for(var i=0;i<pv_fe;i++){pv_cY=pv_br[i];switch(pv_cY.type){case "submit":case "button":case "reset":continue;}if(!pv_cY.kb){sM=pv_cY.type.replace(/\-.*$/,"");jN=true;switch(sM){case "password":case "text":case "textarea":case "file":jN=bv(pv_cY,sM);break;case "checkbox":jN=bu(pv_cY,sM);break;case "radio":jN=bx(pv_cY,sM);break;case "select":jN=by(pv_cY,sM);break;}if(jN){if(!ob(pv_cY)){pv_cY.Dp=true;Dn=false;}}}}}return Dn;};function akt(pv_db){var pv_br=sky_fGetFormElements(pv_db);var pv_fe=pv_br.length;var pv_cY,CV;var ic=new Array();for(var i=0;i<pv_fe;i++){pv_cY=pv_br[i];CV=null;if(pv_cY.kb){CV=akx(pv_cY);}else if(pv_cY.Dp){CV=akA(pv_cY)}if(CV){ic.push(CV);}}};function akx(pv_dj){return akj(pv_dj,true);};function akA(pv_dj){return akj(pv_dj,false);};function akE(pv_cY){if(pv_cY.type=="radio"){return sky_fGetParentByClassName(pv_cY,"radio-group",pv_cY.form,true);}return sky_fGetParentElement(pv_cY);};bL=akz;var alk="!&#160;";var als=" to continue.";var ale="required";var alh="invalid";function akj(pv_dj,kb){if(pv_dj.su!=null){var pv_cO=document.getElementById(pv_dj.su);var pv_dB=pv_cO.parentNode;var Dk=pv_cO;}else if(pv_dj.aqi!=null){var pv_cO=document.getElementById(pv_dj.aqi);var pv_dB=pv_cO;var Dk=pv_cO.firstChild;}else{var pv_cO=sky_fGetParentByTagName(pv_dj,"li");var pv_dB=pv_cO;var Dk=pv_cO.firstChild;}if(!pv_dB.Dq){var kW=akM(pv_dj,kb);pv_dB.insertBefore(kW,Dk);pv_dB.Dq=true;if(sky_bIE6_minus){var asj=sky_fGetSingleComp(aso);if(asj){var OM=sky_fGetFirstElementByClassName(asj,"lg-foot");if(OM){sky_fRemoveClassName(asj,"lg-foot");sky_fAddClassName(asj,"lg-foot");}}}return kW.CV;}return null;};function akM(pv_dj,kb){var kW=document.createElement("p");sky_fAddClassName(kW,alb);sky_fAddClassName(kW,kb?ale:alh);var Bm=pv_dj.Bm;if(Bm==null){Bm=akk(pv_dj);}var Df=(akW[Bm]||akW["generic"]);var CW=kb?"required":"invalid";var Dg=Df[CW];var CT=(alk+Dg.basic);kW.CV=Dg.basic;if(!kb){if(Df.tip){CT+=("<br />"+Df.tip);}}kW.innerHTML=CT;return kW;};function akL(pv_hG){return(akW[pv_hG]||"generic error - no custom error specified");};function akQ(pv_dj){akk(pv_dj);return akL(pv_dj.Bm);};var akW={generic:{required:{basic:"Please enter or select a value."},invalid:{basic:"Please correct the value entered or selected."}},password:{required:{basic:"Please enter your password."},invalid:{basic:"Please enter a valid password."}},passwordconf:{required:{basic:"Please confirm your password."},invalid:{basic:"Please re-confirm your password."}},postcode:{required:{basic:"Please enter your postcode."},invalid:{basic:"Please enter a valid postcode."}},username:{required:{basic:"Please enter your username."},invalid:{basic:"Please enter a valid username."}}};function akz(pv_dj){var lz=sky_fGetParentByTagName(pv_dj,"li");return lz?sky_fGetFirstElementByClassName(lz,"default-value","div"):null;};function bv(pv_dj){var pv_hK=pv_dj.value.trim();if(pv_hK.length==0){return false;}return true;};function bw(pv_cY,pv_hG){var pv_hB=pv_cY.tagName;var jb=bG(pv_cY,pv_hB,pv_hG);var qG=jb.length;for(var i=0;i<qG;i++){if(bF(jb[i],pv_hG)){return true;}}return false;};function bF(pv_cY,pv_hG){switch(pv_hG){case "checkbox":case "radio":return(pv_cY.checked);case "select":var qB=pv_cY.selectedIndex;return((qB>((pv_cY.size<=1)?0: -1)));}};function bG(pv_cY,pv_hB,pv_hG){var pv_cO=bD(pv_cY);if(pv_cO){var pv_br=pv_cO.getElementsByTagName(pv_hB);var jb=new Array();var pv_fe=pv_br.length;for(var i=0;i<pv_fe;i++){pv_cY=pv_br[i];if(pv_cY.type.indexOf(pv_hG)==0){jb.push(pv_cY);}}return jb;}return[pv_cY];};function bu(kF,pv_hG){return bw(kF,pv_hG)};function bx(mG,pv_hG){return bw(mG,pv_hG)};function by(mS,pv_hG){return bw(mS,pv_hG)};function bD(pv_cY){var pv_cO=pv_cY.parentNode;if(pv_cO.className.indexOf(vd)==0){pv_cO=pv_cO.parentNode;}return pv_cO;};sky_fAttachEvent("load",arM);var asK="aoc-ee-leaderboard-ad";var atM="aoc-ee-advert";var asm="aoc-ee-mpu";document.write("<style type='text\/css'>\n","#"+asK+"{ visibility:hidden; width:29.25em; left:8.125em; height:3.75em; top:0.9375em; }\n","<\/style>\n");function arM(){var alu=sky_fGetElementsByClassName.call(document.body,atM,"div");alu=alu.concat(sky_fGetCompsByClass(asm));var aly=alu.length;var alD=["object","embed","img","iframe"];var alE=alD.length;var afk=sky_fGetRelativeEmValue;var alB,j,alw,alx,k,afj,apT,pv_fN;for(var i=0;i<aly;i++){alB=alu[i];apT=0;if(alB){for(j=0;j<alE;j++){alw=alB.getElementsByTagName(alD[j]);alx=alw.length;for(k=0;k<alx;k++){afj=alw[k];pv_fN=afj.width;if(pv_fN!=1){afj.style.width=afk(afj.width);afj.style.height=afk(afj.height);apT++;}}}}}var aoe=document.getElementById(asK);if(aoe){var pv_fN=aoe.offsetWidth;var hJ=aoe.childNodes;var ow=hJ.length;var aof=false,kG;for(var i=0;i<ow;i++){kG=hJ[i];if((kG.nodeType==1)&&((kG.offsetWidth>pv_fN)||(kG.scrollWidth>pv_fN))){aof=true;sky_fAddClassName(aoe,"large-leader");break;}}aoe.style.visibility="visible";}};var asH="atp";var avk="atpdomain";function arE(sJ){return sky_fDeleteCookie(asH,null,sJ)};function arT(){return sky_fGetCookie(asH)};function ato(){return sky_fGetCookie(avk)};function arr(){var asF=arT();if(asF){asF=asF.replace(/\~/g,';');(new Image()).src=unescape(asF);arE(ato());}};arr();var aun="ee-homepage";function aub(pv_gz){var hR=sky_fGetCompsByClass(pv_gz);var aut=sky_fGetCompsByClass(aun);var auw=aut.length;for(var i=0;i<auw;i++){hR=hR.concat(sky_fGetElementsByClassName.call(aut[i],pv_gz,"div"));}return hR;};sky_fAttachEvent("load",arJ);var asX=500;var aso="ee-login";var asI="ht-login";var atf="input-remember";var ath="input-username";var ati="expanded";var ate="lg-content-bord";var asA=null;document.write("<style type='text\/css'>\n","#aoc-ee-hdrtools #ht-login-bg { display:none; }\n","#aoc-ee-hdrtools #ht-login-but { border-bottom-width:0.0625em; padding-bottom:0;  }\n",".ee-login  { display:none;  }\n","<\/style>\n");function arJ(){var asj=sky_fGetSingleComp(aso);if(asj){arw(asj);var ask=auC(asj);if(ask){auc=sky_fGetFirstElementByTagName(ask,"a");if(auc){auc.onclick=arW;window.asA=new arS();}}}};function auC(kJ){var ask=document.getElementById(asI);var kW=sky_fGetFirstElementByClassName(kJ,alb,"p");if(kW){kJ.style.display="block";if(ask){sky_fAddClassName(ask,ati);}}return ask;};function arW(e){var asj=sky_fGetSingleComp(aso);if(asj){var ask=document.getElementById(asI);if(ask){asA.auQ(ask,asj);return sky_fEventCancel(e);}}};function arR(ask,asj){this.ask=ask;this.asx=asj;this.asl=asj;(this.aum(this.ask,this.asN))?this.auE():this.auO();};function arL(){this.asx.style.visibility="hidden";this.asx.style.display="block";this.oX=this.asl.offsetHeight;this.asl.style.height="1px";this.atC=this.oX;this.asx.style.visibility="inherit";this.asE=false;this.aue=true;this.aus();};function arB(){this.oX=this.asl.offsetHeight;this.asl.style.overflow="hidden";this.atC=0;this.asE=false;this.aue=false;this.aus();};function arI(){this.atl=(new Date()).getTime();this.auj=(this.atl+this.atn);this.auK();};function arV(){var auH=Math.min(this.auj,(new Date()).getTime());var asp=Math.round(this.oX*Math.sin(this.aup*(auH-this.atl)));if(asp!=0){if(this.aue){if(!this.asE&&(asp>20)){this.auk(this.ask,this.asN);this.asE=true;}if(asp>=this.atC){this.atV();return;}}else{asp=(this.oX-asp);if(!this.asE&&(asp<20)){this.atX(this.ask,this.asN);this.asE=true;}if(asp<=this.atC){this.atV();return;}}this.asl.style.height=asp+"px";sky_fFixMozPosBug();}setTimeout("asA.auK()",10);};function arC(){this.asl.style.height="auto";if(!this.aue){this.asx.style.display="none";}this.asx=null;this.asl=null;this.ask=null;};function arS(){this.asN=ati;this.auN=ate;this.atn=asX;this.aup=(Math.PI/(2*this.atn));this.auE=arB;this.auO=arL;this.aus=arI;this.auK=arV;this.atV=arC;this.aum=sky_fHasClassName;this.auk=sky_fAddClassName;this.atX=sky_fRemoveClassName;this.auf=sky_fGetFirstElementByClassName;this.auQ=arR;};function arw(pv_cO){var kF=sky_fGetFirstElementByClassName(pv_cO,atf);var Bi=sky_fGetUserName();if(Bi!=null){var pv_dj=sky_fGetFirstElementByClassName(pv_cO,ath);if(pv_dj){pv_dj.value=Bi;if(kF){kF.checked=true;}}return;}if(kF){kF.checked=false;}};function asi(Eq){arq();arX();};function arq(){var Eq=document.getElementById(aul);var il=Eq.getElementsByTagName("img");var ps=il.length;for(var i=0;i<ps;i++){pv_dh=il[i];if(!pv_dh.complete){setTimeout(function(){arq();},100);return;}pv_dh.style.height=((1/11)*pv_dh.height)+"em";pv_dh.style.width=((1/11)*pv_dh.width)+"em";}};function arX(){setTimeout(function(){var Eq=document.getElementById(aul);var auS=Eq.getElementsByTagName("ul");var auV=auS.length;var hJ,ow,j,kG,LP,Td,k,lz,atL;var atv=(1/11);for(var i=0;i<auV;i++){hJ=auS[i].getElementsByTagName("ul");ow=hJ.length;for(j=0;j<ow;j++){kG=hJ[j];LP=kG.getElementsByTagName("li");Td=LP.length;for(k=0;k<Td;k++){lz=LP[k];lz.style.left=(atv*parseInt(lz.style.left))+"em";lz.style.top=(atv*parseInt(lz.style.top))+"em";lz.style.width=(atv*parseInt(lz.style.width))+"em";}atL=document.getElementById(kG.auW);atL.style.width=kG.style.width=(atv*parseInt(kG.style.width))+"em";atL.style.height=kG.style.height=(atv*parseInt(kG.style.height))+"em";}}},200);};sky_fAttachEvent("load",arx);var asD=new Array();var atA="ftr-list";var atb="ftr-child-blocker";var asU="ftr-child-wrapper";var asZ="ftr-child-content";var asY="ftr-child-overlay";var asr="ftr-child-vis";var asJ="ftr-with-child";var asR=0.75;var atd=7;var asT=1.5625;var atj=10;var atk=0.75;var atF="-4000em";var atr="moreimg";function arF(Pe){return ae(Pe,atr);};function arx(){if(!sky_bOpera8_minus){var Pe=document.getElementById(atA);if(Pe){var Qd=sky_fGetFirstElementByTagName;var nt=Qd(Pe,"ul");if(nt){var LP=nt.getElementsByTagName("li");var Td=LP.length;var lz,kG,lD,pv_dh;var asG=sky_fAddClassName;var nK=sky_fGetId;var aur=arv;var Qg=arN;var auq=sky_fAttachEvent;var auA=arD;var atJ=asJ;var anc=arF(Pe);for(var i=0;i<Td;i++){lz=LP[i];kG=Qd(lz,"ul");if(kG){lD=Qd(lz,"a");if(lD){asG(lD,atJ);pv_dh=document.createElement("img");pv_dh.src=anc;lD.appendChild(pv_dh);lD.asM=nK(lz);lD.atc=nK(kG);lD.onclick=Qg;auq("mousedown",auA,document);aur(kG,lz,lD.atc,lD.asM);}}}}}}};function arD(){var atU=asD;var auu=atU.length;var kG,pv_dk;var atK=atF;var atO=asr;var asv=sky_fRemoveClassName;for(var i=0;i<auu;i++){kG=document.getElementById(atU[i]);kG.style.top=atK;pv_dk=document.getElementById(kG.asM);pv_dk.onmousedown=null;asv(pv_dk,atO);}};function arN(e){var kG=document.getElementById(this.atc);var pv_dk=document.getElementById(this.asM);sky_fAddClassName(pv_dk,asr);kG.style.top=kG.atK;pv_dk.onmousedown=sky_fCancelBubble;return sky_fEventCancel(e);};function arv(nt,pv_dk,atc,asM){var auz=nt.innerHTML;pv_dk.removeChild(nt);var pv_cS=document.createElement("div");pv_cS.className=asU;pv_cS.id=atc;pv_cS.asM=asM;asD.push(atc);pv_cS.onmousedown=sky_fCancelBubble;if(sky_bIE6_minus){var Di=document.createElement("<iframe id='QH' src='javascript:false' scrolling='no' frameborder='no'></iframe>");Di.className=atb;pv_cS.appendChild(Di);}var pv_cP=document.createElement("div");pv_cP.className=asZ;var atN=document.createElement("ul");atN.innerHTML=auz;pv_cP.appendChild(atN);pv_cS.appendChild(pv_cP);pv_dk.appendChild(pv_cS);var LP=atN.getElementsByTagName("li");var Td=LP.length;var lz;var auo=0;var atz=asR;var ata=atd;var atG=asT;var atP=atj;var auG,auY,pv_fK,j,lz,pv_fo;for(var i=0;i<Td;){auG=(auo*ata)+(auo*atz);for(j=0;j<atP;j++){lz=LP[i];if(lz){lz.style.right=(auG+"em");lz.style.top=((atG*j)+"em");lz.style.width=(ata+"em");i++;}}auo++;}var aui=(Math.min(Td,atP)*atG);var auJ=((auo*ata)+((auo-1)*atz));atN.style.height=(aui+"em");atN.style.width=(auJ+"em");var auD=(aui+atk);pv_cS.atK=((-auD)+"em");pv_cS=document.createElement("div");pv_cS.className=asY;pv_dk.appendChild(pv_cS);};sky_fAttachEvent("load",arO);var atw=new Array();var aty=new Array();var atY="ee-hero-dl";var atq="selected";function arO(){var auU=document.getElementById(atY);if(auU){var Qd=sky_fGetFirstElementByTagName;var aua=sky_fGetNextSibling;var nK=sky_fGetId;var Qg=asc;var Lg=auU.childNodes;var RW=Lg.length;var kG,lD;for(var i=0;i<RW;i++){kG=Lg[i];if(kG.tagName){switch(kG.tagName.toLowerCase()){case "dt":lD=Qd(kG,"a");if(lD){auX=aua(kG);lD.asM=nK(kG);lD.atu=nK(auX);lD.onclick=Qg;}aty.push(nK(kG));break;case "dd":atw.push(nK(kG));break;}}}}};function asc(e){var auT=this.atu;var auF=atw;var auR=auF.length;var atu,auy,pv_dk;var asG=sky_fAddClassName;var asv=sky_fRemoveClassName;var asB=atq;var Qd=sky_fGetFirstElementByTagName;for(var i=0;i<auR;i++){atu=auF[i];pv_dk=document.getElementById(aty[i]);auy=document.getElementById(atu);if(atu==auT){asG(auy,asB);asG(pv_dk,asB);}else{asv(auy,asB);asv(pv_dk,asB);}}return sky_fEventCancel(e);};sky_fAttachEvent("load",arP);var asy="ee-weather";var atQ="we-form";var atg="we-form-inner";var asO="we-link";var avr="we-temp";var ats="we-replaced";var atS="Update My Weather";var asw="we-pc";var atI="Postcode";var atR='<label for="'+asw+'">Enter your postcode</label> <input class="valid[postcode]" id="'+asw+'" type="text" value="" />';document.write("<style type='text\/css'>\n","."+asy+" ."+atQ+"{ display:block; }\n","."+asy+" ."+asO+"{ visibility:hidden; }\n","<\/style>\n");function arP(){if(sky_fCanHttp()){var atD=sky_fGetSingleComp(asy);if(atD){var atm=sky_fGetFirstElementByClassName(atD,ats);if(atm){var auv=sky_fGetId(atm);arQ(auv);var atW=sky_fGetFirstElementByClassName(atD,asO);if(atW){var lD=sky_fGetFirstElementByTagName(atW,"a");if(lD){var aux=sky_fGetFirstElementByTagName(lD,"strong");if(aux){sky_fSetInnerText(aux,atS);atW.style.visibility="visible";var amu=sky_fGetFirstElementByClassName(atD,atg);amu.innerHTML=atR;pv_dj=document.getElementById(asw);pv_dj.onfocus=cu;pv_dj.onblur=ct;var avu=sky_fGetFirstElementByClassName(atD,atQ);if(avu){pv_dj.su=sky_fGetId(avu);}var pv_db=pv_dj.form;pv_db.auv=auv;pv_db.onsubmit=avv;lD.onclick=arY;}}}}}}};function arY(e){var pv_db=sky_fGetParentByTagName(this,"form",null,true);if(pv_db){return avv.call(pv_db,e);}};function avv(e){akH(this);var aug=document.getElementById(asw);var auh=aug.value.trim();var pv_cD=false;if(auh){pv_cD=skyvalid_fValidateElement(aug);aug.Dp= !pv_cD;}else{aug.kb=true;}if(pv_cD){var pv_hJ=ab(this,"url");if(pv_hJ){pv_hJ+=auh;var atm=document.getElementById(this.auv);sky_fSetHTTPResponseHTML(atm,pv_hJ,true,arQ);}}else{akt(this);if(sky_bGeckoOld){sky_fFixMozPosBug()};}return sky_fEventCancel(e);};function arQ(auv){var atm=document.getElementById(auv);var avs=sky_fGetElementsByClassName.call(atm,avr,"dd");var anY;var avt=avs.length;for(var i=0;i<avt;i++){anY=avs[i];anY.innerHTML=sky_fGetInnerText(anY).replace(/^([\+\-]?\d+).*?([cf])$/i,"$1&#176;$2");}};var ash="carousel-container";var asq="carousel-container";var asQ="carousel-content";var asP="carousel-alternate";var asu="minimised";var ast="skipIntro";var avJ="carousel-minimised";var avK="carousel-maximised";var ass="_minimised";var asL="_skipintro";window[ass]=arm();window[asL]=arl();document.write("<style type='text\/css'>\n","."+asq+" ."+asQ+"{ visibility: "+(sky_bIE6_minus?"hidden":"inherit")+"; }\n","."+asq+" ."+asP+"{ visibility:hidden; }\n","<\/style>\n");function arm(){return(sky_fGetCookie(asu)=="true");};function arl(){return(sky_fGetCookie(ast)=="true");};function acG(BI){return sky_fSetCookie(asu,BI)};function arn(BI){return sky_fSetCookie(ast,BI)};function arZ(){var pv_cY=document.getElementById(ash);if(pv_cY){sky_fRemoveClassName(pv_cY,avJ);sky_fAddClassName(pv_cY,avK);acG("false");}};function aru(){var pv_cY=document.getElementById(ash);if(pv_cY){sky_fRemoveClassName(pv_cY,avK);sky_fAddClassName(pv_cY,avJ);acG("true");arn("true");}};function aro(){(window[ass]==true)?aru():arZ();};function asb(WR,WU){document.cookie=escape(WR)+"="+escape(WU)+"; path=/";};var asf="sky_fCarouselMin";var asg="sky_fCarouselMax";var asd="sessionCookie";window[asf]=aru;window[asg]=arZ;window[asd]=asb;aro();if(window.sky_fAttachEvent){sky_fAttachEvent("load",apw);};var ape="ee-property";var aqX="pf-form";var apj="pf-rentorbuy";var app="ren";var apz="res";var apg="pf-rent";var apn="pf-buy";var pm="pm";var apG="px";var aqN="bpm";var apJ="bpx";var apH="rpm";var apI="rpx";document.write("<style type='text/css'>\n","."+ape+" ."+apg+",","."+ape+" ."+aqX+" h4 {display:none;}\n","</style>\n");function apw(){var hR=aub(ape);var oG=hR.length;for(var i=0;i<oG;i++){kJ=hR[i];aps(kJ);}};function aps(kJ){var pv_db=sky_fGetFirstElementByTagName(kJ,"form");if(pv_db){apr(pv_db);pv_db.onsubmit=apu;}};function apr(pv_db){var aqW=sky_fGetFirstElementByClassName(pv_db,apj,"div");if(aqW){var io=aqW.getElementsByTagName("input");var pv=io.length;var pv_dj;for(var i=0;i<pv;i++){pv_dj=io[i];if(pv_dj.type=="radio"){pv_dj.onclick=apk;if(pv_dj.checked){apk.call(pv_dj);}}}}};function apu(){aph.apB(this);};function apk(){aph.apF(this.form,this.value);};var aph={apF:function(pv_db,pv_hK){var apl=sky_fGetFirstElementByClassName;var apA=apl(pv_db,apg,"div");var apC=apl(pv_db,apn,"div");if(pv_hK==app){apC.style.display='none';apA.style.display='block';}else{apC.style.display='block';apA.style.display='none';}},apB:function(pv_db){var apD=aph.apE(pv_db.t);switch(apD){case app:pv_db[pm].value=pv_db[apH].value;pv_db[apG].value=pv_db[apI].value;break;case apz:pv_db[pm].value=pv_db[aqN].value;pv_db[apG].value=pv_db[apJ].value;break;}},apE:function(apq){if(apq){for(var i=0;i<apq.length;i++){if(apq[i].checked){return apq[i].value;}}return-1}else{return false;}}};var skyvalid_aTypes=[{pv_hG:"postcode",te:"gV"},{pv_hG:"username",te:"hm"},{pv_hG:"password",te:"gH"}];function skyvalid_fValidateElement(pv_cY){var jl=skyvalid_aTypes;var qS=jl.length;var Cx=/^valid\[(.*)\]$/;var sj=pv_cY.className;var hL=sj.trim().split(" ");var ox=hL.length;var pv_gz,pv_bK,Be,jj,qP,j,k,pv_hG,ji,Bd,rC,oa,aor,apb,aoT;for(var i=0;i<ox;i++){pv_gz=hL[i];pv_bK=pv_gz.match(Cx);if(pv_bK!=null){aor=pv_bK[1];if(aor){aoT=false;Be=aoT?apb:aor;jj=Be.split("_");qP=jj.length;for(j=0;j<qP;j++){pv_hG=jj[j];ji=pv_hG.split("-");Bd=ji[0];for(var k=0;k<qS;k++){rC=jl[k];if(rC.pv_hG==Bd){oa=window[rC.te];if(oa!=null){if(!oa(pv_cY,ji[1])){pv_cY.Bm=aoT?aor:Bd;return false;}}}}}break;}}}return true;};function gX(pv_cY,pv_hK,oc){if(pv_hK){var abw=oc(pv_hK,pv_cY);if(abw){pv_cY.value=(abw==true)?pv_hK:abw;pv_cY.value=pv_cY.value.replace("C/O","c/o");return true;}}return false;};function fU(pv_hK){var BO=/^[A-Z0-9]+$/i;return BO.test(pv_hK);};function fP(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),fQ);};function fQ(pv_hK){if(fU(pv_hK)){var BN=/[A-Z]+/i;if(BN.test(pv_hK)){var Ci=/[0-9]+/;return Ci.test(pv_hK);}}return false;};function hm(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),ho);};function ho(Bh){var pA=Bh.length;if(!((pA<3)||(pA>32))){var Cv=/^[A-Z0-9]([\.\-_]?[A-Z0-9]+)*$/i;return Cv.test(Bh);}return false;};function gH(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gK);};function gK(Aa){if(fQ(Aa)){if(Aa.toLowerCase().indexOf("password")== -1){var qf=Aa.length;return!((qf<7)||(qf>25));}}return false;};var zj=["GIR0AA"];var zr="valid[postcode]";var zk=["valid[postcode-1]","valid[postcode-2]"];function gV(pv_cY,pv_hG){if(pv_hG){var pv_dB=gn(pv_cY,zr);if(pv_dB){var je=gq(pv_dB,zk);if(je){var pv_br=je[0];pv_br[0].value=pv_br[0].value.noSpaces().toUpperCase();pv_br[1].value=pv_br[1].value.noSpaces().toUpperCase();return gW(je[1].join("").noSpaces().toUpperCase());}}}else{return gX(pv_cY,pv_cY.value.noSpaces().toUpperCase(),gW);}return false;};function gW(sq){if(zj.contains(sq)){return true};var Ca,sY,Sa;if((/^BFPO\s*[1-9]\d{0,2}$/).test(sq)){return true};if(((Sa=sq.length)<5)||(Sa>7)|| !((Ca=/\d[A-Z]{2}$/).test(sq.slice(-3)))|| !((/^[^CIKMOV]{2}$/).test(sq.slice(-2)))|| !((/(^[A-Z]{1,2}\d{1,2}$)|(^[A-Z]{1,2}\d[A-Z]$)/).test(sY=sq.replace(Ca,"")))|| !((/^[^QVX][^IJZ]($|[^IL-RVX-Z])($|[^CDFGI-LOQS-UZ])/).test(sY))){return false};return true;} 
	  
/***************************************************
 skycom_validation.js
 * v1.36 2007-07-10
 * Copyright 2007 Interkey Networks Ltd. All Rights Reserved.
 * Use is prohibited without licence from Interkey Networks.
 * http://www.artofcoding.co.uk
***************************************************/
 String.prototype.od=function(){return this.replace(/[^0-9]/g,"")};var skyvalid_aTypes=[{pv_hG:"num",te:"gD"},{pv_hG:"alpha",te:"fO"},{pv_hG:"alphanum",te:"fT"},{pv_hG:"alphaandnum",te:"fP"},{pv_hG:"alphanumpunct",te:"fR"},{pv_hG:"len",te:"akY"},{pv_hG:"min",te:"gw"},{pv_hG:"max",te:"gu"},{pv_hG:"email",te:"gi"},{pv_hG:"emailconf",te:"IV"},{pv_hG:"postcode",te:"gV"},{pv_hG:"viewcard",te:"hp"},{pv_hG:"pcn",te:"gN"},{pv_hG:"dob",te:"gh"},{pv_hG:"pob",te:"gT"},{pv_hG:"fname",te:"gl"},{pv_hG:"lname",te:"hf"},{pv_hG:"username",te:"hm"},{pv_hG:"username2",te:"hl"},{pv_hG:"username3",te:"hm"},{pv_hG:"password",te:"gH"},{pv_hG:"passwordconf",te:"gI"},{pv_hG:"securitya",te:"gY"},{pv_hG:"betid",te:"fW"},{pv_hG:"betpin",te:"fY"},{pv_hG:"maccode",te:"gy"},{pv_hG:"offercode",te:"gF"},{pv_hG:"creditcard",te:"ge"},{pv_hG:"accountnumber",te:"fM"},{pv_hG:"issuenumber",te:"gr"},{pv_hG:"securitycode",te:"ha"},{pv_hG:"sortcode",te:"hc"},{pv_hG:"startdate",te:"he"},{pv_hG:"expirydate",te:"gk"},{pv_hG:"telephone",te:"hi"},{pv_hG:"telephoneuk",te:"hi"},{pv_hG:"mobile",te:"gA"},{pv_hG:"pin",te:"gP"},{pv_hG:"pinconf",te:"gQ"},{pv_hG:"payment",te:"gL"},{pv_hG:"cardholdername",te:"gc"},{pv_hG:"accountholdername",te:"fK"},{pv_hG:"billingaccountname",te:"ga"},{pv_hG:"viewcardname",te:"hq"},{pv_hG:"skyaccountnumber",te:"IX"}];var aoR={"billingnumbersix":"num_len-6","houseno":"min-1_max-30","usernameother":"username"};function skyvalid_fValidateElement(pv_cY){var jl=skyvalid_aTypes;var aoZ=aoR;var qS=jl.length;var Cx=/^valid\[(.*)\]$/;var sj=pv_cY.className;var hL=sj.trim().split(" ");var ox=hL.length;var pv_gz,pv_bK,Be,jj,qP,j,k,pv_hG,ji,Bd,rC,oa,aor,apb,aoT;for(var i=0;i<ox;i++){pv_gz=hL[i];pv_bK=pv_gz.match(Cx);if(pv_bK!=null){aor=pv_bK[1];if(aor){apb=aoZ[aor];aoT=apb!=null;Be=aoT?apb:aor;jj=Be.split("_");qP=jj.length;for(j=0;j<qP;j++){pv_hG=jj[j];ji=pv_hG.split("-");Bd=ji[0];for(var k=0;k<qS;k++){rC=jl[k];if(rC.pv_hG==Bd){oa=window[rC.te];if(oa!=null){if(!oa(pv_cY,ji[1])){pv_cY.Bm=aoT?aor:Bd;return false;}}}}}break;}}}return true;};function gX(pv_cY,pv_hK,oc){if(pv_hK){var abw=oc(pv_hK,pv_cY);if(abw){pv_cY.value=(abw==true)?pv_hK:abw;pv_cY.value=pv_cY.value.replace("C/O","c/o");return true;}}return false;};function gn(pv_cY,pv_gz){pv_gz=pv_gz.replace(/([\[\]])/g,"\\$1");return sky_fGetParentByClassName(pv_cY,pv_gz,null,true);};function gq(pv_dB,jf){var pv_br=new Array();var ja=pv_dB.getElementsByTagName("select");var io=pv_dB.getElementsByTagName("input");var qE=ja.length;for(var i=0;i<qE;i++){pv_br[i]=ja[i];}var pv=io.length;for(var j=pv_br.length,i=0;i<pv;i++,j++){pv_br[j]=io[i];}var pv_fe=pv_br.length;var je=new Array();var jg=new Array();var qL=jf.length;var AS,pv_cY,j;for(i=0;i<qL;i++){AS=jf[i];for(var j=0;j<pv_fe;j++){pv_cY=pv_br[j];if(sky_fHasClassName(pv_cY,AS)){je.push(pv_cY);jg.push(pv_cY.value.trim());}}}return((je.length==qL)?[je,jg]:null);};var zh=["museum"];function gi(pv_cY){return((sN=pv_cY.value.trim())?gj(sN):false);};function IV(pv_cY){return gX(pv_cY,pv_cY.value.trim(),IW);};function IW(Xl,OI){if(gj(Xl)){return IU(OI,Xl,"valid[email]");}return false;};function gj(sN){if(sN.length>100){return false;}var BV=/^(.+)@(.+)$/;var AG="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]";var Bn="\[^\\s"+AG+"\]+";var Ay="(\"[^\"]*\")";var Bl="("+Bn+"|"+Ay+")";var Cw=new RegExp("^"+Bl+"(\\."+Bl+")*$");var BU=new RegExp("^"+Bn+"(\\."+Bn+")*$");var pv_bK=sN.match(BV);if(pv_bK==null){return false;}var Bi=pv_bK[1];var sJ=pv_bK[2];if(!Cw.test(Bi)){return false;}if((/^[\d\.]+$/).test(sJ)){var ip=sJ.split(".");var pw=ip.length;if(pw!=4){return false;}for(var i=0;i<=3;i++){if(Number(ip[i])>255){return false;}}return true;}if(!BU.test(sJ)){return false;}var Cx=new RegExp(Bn,"g");var hZ=sJ.match(Cx);var oT=hZ.length;if(oT<2){return false;}var sr=hZ[oT-1];var oC=sr.length;if(oC<2||(oC>4&&(!zh.contains(sr)))){return false;}return true;};var zj=["GIR0AA"];var zr="valid[postcode]";var zk=["valid[postcode-1]","valid[postcode-2]"];function gV(pv_cY,pv_hG){if(pv_hG){var pv_dB=gn(pv_cY,zr);if(pv_dB){var je=gq(pv_dB,zk);if(je){var pv_br=je[0];pv_br[0].value=pv_br[0].value.noSpaces().toUpperCase();pv_br[1].value=pv_br[1].value.noSpaces().toUpperCase();return gW(je[1].join("").noSpaces().toUpperCase());}}}else{return gX(pv_cY,pv_cY.value.noSpaces().toUpperCase(),gW);}return false;};function gW(sq){if(zj.contains(sq)){return true};var Ca,sY,Sa;if((/^BFPO\s*[1-9]\d{0,2}$/).test(sq)){return true};if(((Sa=sq.length)<5)||(Sa>7)|| !((Ca=/\d[A-Z]{2}$/).test(sq.slice(-3)))|| !((/^[^CIKMOV]{2}$/).test(sq.slice(-2)))|| !((/(^[A-Z]{1,2}\d{1,2}$)|(^[A-Z]{1,2}\d[A-Z]$)/).test(sY=sq.replace(Ca,"")))|| !((/^[^QVX][^IJZ]($|[^IL-RVX-Z])($|[^CDFGI-LOQS-UZ])/).test(sY))){return false};return true;};function gD(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gE);};function gE(zK){var Ci=/^[0-9]+$/;return Ci.test(zK);};function fO(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),fV);};function fV(rG){var BN=/^[A-Z]+$/i;return BN.test(rG);};function fT(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),fU);};function fU(pv_hK){var BO=/^[A-Z0-9]+$/i;return BO.test(pv_hK);};function fP(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),fQ);};function fQ(pv_hK){if(fU(pv_hK)){var BN=/[A-Z]+/i;if(BN.test(pv_hK)){var Ci=/[0-9]+/;return Ci.test(pv_hK);}}return false;};function fR(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),fS);};function fS(pv_hK){var BP=/^[A-Z0-9\.,'`-]+$/i;return BP.test(pv_hK);};function akY(pv_cY,apd){return((pv_hK=pv_cY.value.trim())?akT(pv_hK,apd):false);};function akT(pv_hK,apd){return(pv_hK.length==apd);};function gw(pv_cY,pJ){return((pv_hK=pv_cY.value.trim())?gx(pv_hK,pJ):false);};function gx(pv_hK,pJ){return(pv_hK.length>=pJ);};function gu(pv_cY,pF){return((pv_hK=pv_cY.value.trim())?gv(pv_hK,pF):false);};function gv(pv_hK,pF){return(pv_hK.length<=pF);};function hp(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),ht);};function ht(Bp){if(gE(Bp)){var qU=Bp.length;return!((qU<2)||(qU>12));}return false;};function gN(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gO);};function gO(Ae){var Ck=/^\d{4}$/;return Ck.test(Ae);};var zo=new Date(1907,0,1);var zn=new Date();var zp="valid[dob]";var zg=["valid[dob-day]","valid[dob-month]","valid[dob-year]"];function gh(mS,pv_hG){var pv_dB=gn(mS,zp);if(pv_dB){var je=gq(pv_dB,zg);if(je){var pv_br=je[0];var pv_cG=gp(pv_br);if(pv_cG){return((pv_cG>=zo)&&(pv_cG<zn));}}}return false;};function gp(pv_br){var BB=pv_br[0];if(typeof BB=="number"){var Sr=BB;}else{var kQ=BB;if(kQ.tagName.toLowerCase()=="input"){var sA=("0"+kQ.value.noSpaces()).slice(-2);kQ.value=sA;var Sr=Number(sA);}else{var Sr=Number(kQ.options[kQ.selectedIndex].text);}}if(isNaN(Sr)){return null;}var BF=pv_br[1];if(typeof BF=="number"){var pO=BF;}else{var lL=BF;if(lL.tagName.toLowerCase()=="input"){var zD=("0"+lL.value.noSpaces()).slice(-2);lL.value=zD;var pO=(Number(zD)-1);}else{var pO=((12-lL.options.length)+lL.selectedIndex);}}if((isNaN(pO))||(pO<0)){return null;}var BK=pv_br[2];if(typeof BK=="number"){var rc=BK;}else{var nw=BK;if(nw.tagName.toLowerCase()=="input"){var Bx=nw.value.noSpaces();if(Bx.length<2){nw.value=Bx;return null;}if(Bx.length==2){var zJ=(new Date()).getFullYear().toString();var sx=zJ.substr(0,2);var sz=zJ.slice(2);Bx=((Bx<=sz)?sx:(sx-1))+Bx;}nw.value=Bx;var rc=Number(Bx);}else{var rc=Number(nw.options[nw.selectedIndex].text);}}if(isNaN(rc)){return null;}var pv_cG=new Date(rc,pO,Sr);if(pv_cG.getMonth()!=pO){return null;}return pv_cG;};function hm(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),ho);};function ho(Bh){var pA=Bh.length;if(!((pA<3)||(pA>32))){var Cv=/^[A-Z0-9]([\.\-_]?[A-Z0-9]+)*$/i;return Cv.test(Bh);}return false;};function hl(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),hn);};function hn(Bh){if(fU(Bh)){var qR=Bh.length;return!((qR<6)||(qR>32));}return false;};function fW(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),fX);};function fX(rR){if(fU(rR)){var oq=rR.length;return!((oq<6)||(oq>12));}return false;};function fY(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),fZ);};function fZ(rS){var BR=/^\d{4,6}$/;return BR.test(rS);};function gH(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gK);};function gK(Aa){if(fQ(Aa)){if(Aa.toLowerCase().indexOf("password")== -1){var qf=Aa.length;return!((qf<7)||(qf>25));}}return false;};function gI(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gJ);};function gJ(Ab,mu){if(gK(Ab)){return IU(mu,Ab,"valid[password]");}return false;};function IU(Op,WN,ZR){var pv_db=Op.form;if(pv_db){var pv_br=pv_db.elements;var pv_fe=(pv_br.length-1);var pv_cY,Po,jC=false;for(var i=pv_fe;i>=0;i--){pv_cY=pv_br[i];if(!jC&&(pv_cY==Op)){jC=true;continue;}if(jC&&(sky_fHasClassName(pv_cY,ZR))){Po=pv_cY;break;}}if(Po){if(Po.value==WN){return true;}}}return false;};function gC(pv_hK,pF){var pA=pv_hK.length;if(!((pA<1)||(pA>pF))){var pv_hU=/^[A-Z]([\-' ]?[A-Z]+)*$/i;return pv_hU.test(pv_hK);}return false;};function anZ(pv_hK,pF){var pA=pv_hK.length;if(!((pA<1)||(pA>pF))){var pv_hU=/^[A-Z](([\-' ]|( ?& ?))?[A-Z]+)*$/i;return pv_hU.test(pv_hK);}return false;};function gl(pv_cY){return gX(pv_cY,pv_cY.value.trim(),gm);};function gm(sZ){return gC(sZ,50);};function hf(pv_cY){return gX(pv_cY,pv_cY.value.trim(),hg);};function hg(AU){return gC(AU,50);};function gY(pv_cY){return gX(pv_cY,pv_cY.value.trim(),gZ);};function gZ(rJ){var BQ=/^.{1,100}$/;return BQ.test(rJ);};function gT(pv_cY){return gX(pv_cY,pv_cY.value.trim(),gU);};function gU(Ak){var Cn=/^.{1,35}$/;return Cn.test(Ak);};var aqp="valid[mobilecountry]";function gA(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gB);};function gB(zC,pv_cY){var pv_dB=gn(pv_cY,aqp);if(pv_dB){var mS=sky_fGetFirstElementByTagName(pv_dB,"select");if(mS){var mi=mS.options[mS.selectedIndex];var aqq=mi.value.trim().toLowerCase();switch(aqq){case "+44":return aqo(zC);case "+383":return aqn(zC);}}}return(aqo(zC)||aqn(zC));};function aqo(zC){var Cg=/^0?7\d{9}$/;return Cg.test(zC);};function aqn(zC){var Cg=/^0?8\d{8}$/;return Cg.test(zC);};function hh(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),hk);};function hk(Ag){return gE(Ag);};function hi(pv_cY){return gX(pv_cY,pv_cY.value.od(),hj);};function hj(Ah,pv_cY){pv_cY.value=Ah;var Cl=/^0[1-3,5]\d{8,9}$/;return Cl.test(Ah);};function gy(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces().toUpperCase(),gz);};function gz(zw){var Cc=/^(BBIP|BBDS)\d{8}\/[A-Z0-9]{5}$/;var Cd=/^FTIP\d{9}\/[A-Z0-9]{5}$/;var Ce=/^L[A-Z0-9]{10}\/[A-Z0-9]{5}$/;return(Cc.test(zw)||Cd.test(zw)||Ce.test(zw));};function gF(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces().toUpperCase(),gG);};function gG(zN){var Cj=/^[A-Z0-9]{20}$/;return Cj.test(zN);};function gr(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gs);};function gs(ts){var BY=/^\d{1,2}$/;return BY.test(ts);};function ha(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),hb);};function hb(AC){var Cr=/^\d{3,6}$/;return Cr.test(AC);};var zs="valid[sortcode]";var zl=["valid[sortcode-1]","valid[sortcode-2]","valid[sortcode-3]"];function hc(pv_cY,pv_hG){if(pv_hG){var pv_dB=gn(pv_cY,zs);if(pv_dB){var je=gq(pv_dB,zl);if(je){return hd(je[1].join(""));}}}else{var pv_cD=gX(pv_cY,pv_cY.value.noSpaces(),hd);if(pv_cD){pv_cY.value=pv_cY.value.replace(/\-/g,"");}return pv_cD;}return false;};function hd(AF){var Ct=/^((\d{6})|(\d\d\-\d\d\-\d\d))$/;if(parseInt(AF)==0){return false;}return Ct.test(AF);};var zt="valid[startdate]";var zm=["valid[startdate-month]","valid[startdate-year]"];function he(pv_dj,pv_hG){var pv_dB=gn(pv_dj,zt);if(pv_dB){var je=gq(pv_dB,zm);if(je){je[0].unshift(1);var pv_cG=gp(je[0]);if(pv_cG){return(pv_cG<=new Date());}}}return false;};var zq="valid[expirydate]";var zi=["valid[expirydate-month]","valid[expirydate-year]"];function gk(pv_dj,pv_hG){var pv_dB=gn(pv_dj,zq);if(pv_dB){var je=gq(pv_dB,zi);if(je){je[0].unshift(1);var pv_cG=gp(je[0]);if(pv_cG){var pO=pv_cG.getMonth();var ko=new Date(pv_cG);var pF=31;do{pF--;ko.setMonth(pO);ko.setDate(pv_cG.getDate()+pF);}while(ko.getMonth()!=pO)return(ko>=new Date());}}}return false;};function IX(pv_cY){return gX(pv_cY,pv_cY.value.od(),IY);};function IY(rE){var BM=/^\d{12}$/;return BM.test(rE);};function fM(pv_cY){var pv_hK=pv_cY.value.replace(/[\/\- ]/g,"");return gX(pv_cY,pv_hK,fN);};function fN(rE){var BM=/^\d{1,15}$/;return BM.test(rE);};function ge(pv_cY){return gX(pv_cY,pv_cY.value.od(),gg);};function gg(sa,pv_cY){pv_cY.value=sa;var Cb=/^[3-6][0-9]{12,18}$/;if(Cb.test(sa)){return gf(sa)}return false;};function gf(sa){var hG=sa.split("").reverse();var ot=hG.length;var oR,qO=0;for(var i=0,j=1;i<ot;i++){oR=Number(hG[i]);if(i==j){if((oR*=2)>9){oR-=9};j+=2;}qO+=oR;}return((qO%10)==0);};function gL(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gM);};function gM(Ad,pv_cY){var qg=parseFloat(Ad);if(!isNaN(qg)){var pK=1.5;var pH=999;if((qg>=pK)&&(qg<=pH)){return qg.toFixed(2);}}return false;};function gc(pv_cY){return gX(pv_cY,pv_cY.value.trim(),gd);};function gd(pv_hb){return anZ(pv_hb,80);};function fK(pv_cY){return gX(pv_cY,pv_cY.value.trim(),fL);};function fL(pv_hb){return anZ(pv_hb,80);};function gP(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gS);};function gS(Ai){var Cm=/^[1-9]\d{3}$/;return Cm.test(Ai);};function gQ(pv_cY){return gX(pv_cY,pv_cY.value.noSpaces(),gR);};function gR(Aj,mx){if(gS(Aj)){return IU(mx,Aj,"valid[pin]");}return false;};function hq(pv_cY){return gX(pv_cY,pv_cY.value.trim(),hs);};function hs(pv_hb){var pv_hU=/^[A-Z0-9 _]{3,22}$/i;return pv_hU.test(pv_hb);};function ga(pv_cY){return gX(pv_cY,pv_cY.value.trim(),gb);};function gb(pv_hb){var pv_hU=/^[A-Z0-9\-\&,\/' ]{1,22}$/i;return pv_hU.test(pv_hb);};sky_fAttachEvent("load",agm);var ahu="showcount";var ahq="aoc-countdisplay";var ahj="counter-";var ahi="<[TOTALCOUNT]>";var ahs=" characters of "+ahi+" remaining.";function agm(){var agQ=document.body.getElementsByTagName("textarea");var agY=agQ.length;var agw,pv_bK,ahx,Sn;for(var i=0;i<agY;i++){agw=agQ[i];if(sky_fHasClassName(agw,ahu)){pv_bK=agw.className.match(/max\-(\d+)/);if(pv_bK!=null){ahx=pv_bK[1];if((ahx!=null)&&(!isNaN(Sn=parseInt(ahx)))){agp(agw,Sn);}}}}};function agp(agw,Sn){agj(agw,Sn);agk(agw);};function agj(agw,Sn){var ahy=sky_fGetId(agw);var pv_bG=agw.form.getElementsByTagName("label");var ahe=pv_bG.length;var pv_dB,Pc,agT;for(var i=0;i<ahe;i++){Pc=pv_bG[i];if(Pc.htmlFor==ahy){pv_dB=sky_fGetParentElement(Pc);agT=Pc;}}if(pv_dB==null){pv_dB=sky_fGetParentElement(agw);agT=agw;}var md=sky_fGetNextSibling(agT);var ME=(md==null);var na=document.createElement("div");sky_fAddClassName(na,ahq);var ahv=(ahj+sky_fGetId(na));var agK=document.createElement("span");agK.id=ahv;sky_fSetInnerText(agK,Sn);na.appendChild(agK);var ahw=ahs.replace(ahi,Sn);var agX=document.createTextNode(ahw);na.appendChild(agX);agw.Sn=Sn;agw.ahz=ahv;if(ME){pv_dB.appendChild(na);}else{pv_dB.insertBefore(na,md);}ud(agw);};function agk(agw){if(sky_bIE){agw.onpropertychange=agf;}else{if(sky_bGecko){sky_fAttachEvent("DOMCharacterDataModified",nn,agw,true);}else{sky_fAttachEvent("mouseout",nn,agw);sky_fAttachEvent("mouseover",nn,agw);sky_fAttachEvent("blur",nn,agw);}sky_fAttachEvent("focus",nn,agw);sky_fAttachEvent("keyup",nn,agw);}};function nn(e){var pv_fT=sky_fGetEvent(e);var agw=sky_fGetSrcElement(pv_fT);ud(agw);};function ud(agw){var Ox=agq(agw.ahz);var agI=agw.Sn;var agV=agw.value.length;var agN=Math.max(0,agI-agV);if(agN==0){agw.value=agw.value.substr(0,agI);}if(Ox){sky_fSetInnerText(Ox,agN);}};function agf(){var ahA=event.propertyName;if(ahA=="value"){ud(this)};} 