var OnLoadHandler={isExecutingPageFunctions:false,functions:[],appendFunction:function(A,B){this.functions.push(new OLH_Function(A,B));},executeDOMFunctions:function(){if(!this.isExecutingPageFunctions){OnLoadHandler.executeFunctions();}},executePageFunctions:function(){OnLoadHandler.isExecutingPageFunctions=true;
OnLoadHandler.executeFunctions();},executeFunctions:function(){for(var A=0;A<this.functions.length;A++){if(!this.functions[A].isExecuted&&(this.functions[A].executeOnDOMLoad||this.isExecutingPageFunctions)){this.functions[A].execute();}}}};function OLH_Function(A,B){this.funcAsString=A;
this.executeOnDOMLoad=B;}OLH_Function.prototype.execute=function(){this.isExecuted=true;eval(this.funcAsString);};if(document.addEventListener){document.addEventListener("DOMContentLoaded",OnLoadHandler.executeDOMFunctions,false);/*@cc_on @*//*@if (@_win32)document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");var script=document.getElementById("__ie_onload");script.onreadystatechange=function(){if (this.readyState=="complete"){OnLoadHandler.executeDOMFunctions();}};/*@end @*/}if(/WebKit/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){clearInterval(_timer);
OnLoadHandler.executeDOMFunctions();}},10);}window.onload=OnLoadHandler.executePageFunctions;(function(C){var A=C.scrollTo=function(D,E,F){C(window).scrollTo(D,E,F);};A.defaults={axis:"xy",duration:parseFloat(C.fn.jquery)>=1.3?0:1};A.window=function(D){return C(window)._scrollable();
};C.fn._scrollable=function(){return this.map(function(){var D=this,E=!D.nodeName||C.inArray(D.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!E){return D;}var F=(D.contentWindow||D).document||D.ownerDocument||D;return C.browser.safari||F.compatMode=="BackCompat"?F.body:F.documentElement;
});};C.fn.scrollTo=function(F,E,D){if(typeof E=="object"){D=E;E=0;}if(typeof D=="function"){D={onAfter:D};}if(F=="max"){F=9000000000;}D=C.extend({},A.defaults,D);E=E||D.speed||D.duration;D.queue=D.queue&&D.axis.length>1;if(D.queue){E/=2;}D.offset=B(D.offset);
D.over=B(D.over);return this._scrollable().each(function(){var M=this,K=C(M),L=F,I,J={},G=K.is("html,body");switch(typeof L){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(L)){L=B(L);break;}L=C(L,this);case"object":if(L.is||L.style){I=(L=C(L)).offset();
}}C.each(D.axis.split(""),function(P,Q){var S=Q=="x"?"Left":"Top",R=S.toLowerCase(),U="scroll"+S,O=M[U],N=A.max(M,Q);if(I){J[U]=I[R]+(G?0:O-K.offset()[R]);if(D.margin){J[U]-=parseInt(L.css("margin"+S))||0;J[U]-=parseInt(L.css("border"+S+"Width"))||0;}J[U]+=D.offset[R]||0;
if(D.over[R]){J[U]+=L[Q=="x"?"width":"height"]()*D.over[R];}}else{var T=L[R];J[U]=T.slice&&T.slice(-1)=="%"?parseFloat(T)/100*N:T;}if(/^\d+$/.test(J[U])){J[U]=J[U]<=0?0:Math.min(J[U],N);}if(!P&&D.queue){if(O!=J[U]){H(D.onAfterFirst);}delete J[U];}});H(D.onAfter);
function H(N){K.animate(J,E,D.easing,N&&function(){N.call(this,F,D);});}}).end();};A.max=function(F,G){var I=G=="x"?"Width":"Height",H="scroll"+I;if(!C(F).is("html,body")){return F[H]-C(F)[I.toLowerCase()]();}var J="client"+I,E=F.ownerDocument.documentElement,D=F.ownerDocument.body;
return Math.max(E[H],D[H])-Math.min(E[J],D[J]);};function B(D){return typeof D=="object"?D:{top:D,left:D};}})(jQuery);(function(F){F.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(A,B){F.fx.step[B]=function(C){if(C.state==0){C.start=G(C.elem,B);
C.end=H(C.end);}C.elem.style[B]="rgb("+[Math.max(Math.min(parseInt((C.pos*(C.end[0]-C.start[0]))+C.start[0]),255),0),Math.max(Math.min(parseInt((C.pos*(C.end[1]-C.start[1]))+C.start[1]),255),0),Math.max(Math.min(parseInt((C.pos*(C.end[2]-C.start[2]))+C.start[2]),255),0)].join(",")+")";
};});function H(A){var B;if(A&&A.constructor==Array&&A.length==3){return A;}if(B=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(A)){return[parseInt(B[1]),parseInt(B[2]),parseInt(B[3])];}if(B=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(A)){return[parseFloat(B[1])*2.55,parseFloat(B[2])*2.55,parseFloat(B[3])*2.55];
}if(B=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(A)){return[parseInt(B[1],16),parseInt(B[2],16),parseInt(B[3],16)];}if(B=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(A)){return[parseInt(B[1]+B[1],16),parseInt(B[2]+B[2],16),parseInt(B[3]+B[3],16)];
}return E[F.trim(A).toLowerCase()];}function G(A,C){var B;do{B=F.curCSS(A,C);if(B!=""&&B!="transparent"||F.nodeName(A,"body")){break;}C="backgroundColor";}while(A=A.parentNode);return H(B);}var E={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]};
})(jQuery);var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;
var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");
AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0;}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7");}catch(t){try{y=new ActiveXObject(p+".6");
AC=[6,0,21];y.AllowScriptAccess="always";}catch(t){if(AC[0]==6){AB=true;}}if(!AB){try{y=new ActiveXObject(p);}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)];
}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w};
}();var L=function(){if(!h.w3cdom){return ;}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S);}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E();
}},10);}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null);}R(E);}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E();}}function E(){if(e){return ;}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);
u.parentNode.removeChild(u);}catch(w){return ;}}e=true;if(Z){clearInterval(Z);Z=null;}var q=o.length;for(var r=0;r<q;r++){o[r]();}}function f(q){if(e){q();}else{o[o.length]=q;}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false);
}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false);}else{if(typeof j.attachEvent!=b){I(j,"onload",r);}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r();};}else{j.onload=r;}}}}}function H(){var t=N.length;
for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r);}W(u,true);
}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q]);}else{O(r);}}}}else{W(u,true);}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue);
}else{w.setAttribute(y[u].nodeName,y[u].nodeValue);}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"));}}}t.parentNode.replaceChild(w,t);
}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId;}}else{M=G(u);}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310";}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137";
}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);
u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u);};I(j,"onload",v);}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x);}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");
t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t);};I(j,"onload",q);}else{t.parentNode.replaceChild(G(t),t);}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML;
}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true));}}}}}return u;}function U(AG,AE,t){var q,v=C(t);
if(v){if(typeof AG.id==b){AG.id=t;}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB];}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"';}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"';
}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />';}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id);}else{if(h.webkit&&h.webkit<312){var AC=a("embed");
AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z]);}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z]);}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z]);
}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y]);}}}v.parentNode.replaceChild(AC,v);q=AC;}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x]);
}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x]);}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w]);}}v.parentNode.replaceChild(u,v);q=u;}}}return q;}function F(t,q,r){var u=a("param");u.setAttribute("name",q);
u.setAttribute("value",r);t.appendChild(u);}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r);}else{j.attachEvent("onload",function(){B(r);});}}else{q.parentNode.removeChild(q);}}}function B(t){var r=C(t);
if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null;}}r.parentNode.removeChild(r);}}function C(t){var q=null;try{q=K.getElementById(t);}catch(r){}return q;}function a(q){return K.createElement(q);}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r];
}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false;}function V(v,r){if(h.ie&&h.mac){return ;}var u=K.getElementsByTagName("head")[0],t=a("style");
t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"));}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];
if(typeof q.addRule==Q){q.addRule(v,r);}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r;}else{V("#"+t,"visibility:"+r);}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s;}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;
for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2]);}var t=i.length;for(var u=0;u<t;u++){X(i[u]);}for(var r in h){h[r]=null;}h=null;for(var q in swfobject){swfobject[q]=null;}swfobject=null;});}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return ;
}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false);},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t;}else{if(typeof u.SetVariable!=b){q=u;
}}}}return q;},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return ;}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v];}}}AA.data=x;AA.width=AB;AA.height=AD;
var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u];}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t];}else{y.flashvars=t+"="+r[t];}}}}f(function(){U(AA,y,AE);
if(AA.id==AE){W(AE,true);}});}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF);});}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]};
},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q);}else{return undefined;}},removeSWF:function(q){if(h.w3cdom){X(q);}},createCSS:function(r,q){if(h.w3cdom){V(r,q);}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;
if(v==null){return g(u);}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)));}}}return"";},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);
if(l){W(l,true);if(h.ie&&h.win){M.style.display="block";}}M=null;l=null;A=false;}}}};}();String.prototype.contains=function(A){return this.indexOf(A)!=-1;};var neo=neo?neo:new Object();var BRAND_COLORS=["orange","blue","red","lime","cherry","purple","xperiablue"];
var THEME_COLORS=new Array();THEME_COLORS["orange"]={name:"orange",value:"EC7100"};THEME_COLORS["blue"]={name:"blue",value:"00A8B5"};THEME_COLORS["red"]={name:"red",value:"D4041D"};THEME_COLORS["lime"]={name:"lime",value:"65BB10"};THEME_COLORS["cherry"]={name:"cherry",value:"CE0057"};
THEME_COLORS["purple"]={name:"purple",value:"993399"};THEME_COLORS["xperiablue"]={name:"xperiablue",value:"294ea2"};function selectNavigation(A){if(A.options[A.selectedIndex].value!="#"&&A.options[A.selectedIndex].value!="-1"){location=A.options[A.selectedIndex].value;
}}function switchAltBrandStyles(A){if(hasBrandStyleClass()){$("body").removeClass(hasBrandStyleClass());}$("body").addClass(BRAND_COLORS[Math.floor(Math.random()*BRAND_COLORS.length)]);}function showCountriesDropDown(){var B=$("select[name='country']");for(var A=0;
A<B.length;A++){document.getElementById(B[A].getAttribute("cdd")).style.display="none";B[A].style.display="none";}var D=document.getElementById("region");var E=document.getElementById("country_cDD");var C=D.options[D.selectedIndex].value;if(C!="-1"&&C!="0"){E.style.display="none";
document.getElementById("country_"+C+"_cDD").style.display="block";}else{E.style.display="block";}}function enablePngImages(A){A=A||"auto";if($.browser.msie){if(parseInt($.browser.version,10)<7){$("img").each(function(){if(isPng(this.src)){$(this).css({"filter":"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.src+"', sizingMethod='"+A+"')"});
this.src="/cws/images/cws/see_the_phone_spacer.gif";}});}}}function isPng(A){if(A.toLowerCase().lastIndexOf(".png")!=-1||A.toLowerCase().lastIndexOf("format=png")!=-1){return true;}else{return false;}}function getParam(E){var C=document.location.href;var B=C.indexOf("#");
if(B!=-1){C=C.substr(0,B);}var A="";var F=new Array();if(C.contains("?")){A=C.split("?");A=A[1];}if(A.contains("&")){F=A.split("&");}else{if(A.contains("=")){F.push(A);}}for(var D=0;D<F.length;D++){param=F[D].split("=");if(param[0]==E){return param[1];}}return"";
}function setUpIntegratedCampaign(A){var B="<iframe width='100%' scrolling='no' height='455' frameborder='0' style='border: 0px none ;' marginheight='0' marginwidth='0' id='container' src='"+A+"'></iframe>";$("#pageContent .neoWrapper").css("display","none");
$("#pageContent").append("<div id='mediaSpaceContener'>"+B+"</div>");}function generateRestorLayerByUrlList(){var as=$(".carouselWrapper");as.each(function(){$(this).find(".carouselItem").each(function(){var cName=$(this).parent().parent().parent().attr("name");
var params=eval("("+$(this).attr("params")+")");if(cName=="campaignCarousel"&&params.type=="layered"){popup.createLayerByUrlList(params.id.toLowerCase(),params.url,"enhancedpresentation",params.width,params.height);}if(cName=="richMediaCarousel"){popup.createLayerByUrlList(params.idCont,params.contentUrl,params.popupType,params.width,params.height,params.extraParams);
}});});popup.restoreLayerByUrl();}function isRtl(){var A=getParam("lc");if(A=="ar"||A=="he"){return true;}else{return false;}}function getBrandStyleClass(){var A="purple";if(hasBrandStyleClass()){A=hasBrandStyleClass();}return A;}function hasBrandStyleClass(){var A=false;
for(x in BRAND_COLORS){if($("body").hasClass(BRAND_COLORS[x])){A=BRAND_COLORS[x];break;}}return A;}neo.Core=neo.Core?neo.Core:new Object();neo.Core={preparePage:function(){this.prepareTopNav();this.prepareCufon();this.prepareSearch();$("body").bind("neoDropDownLoaded",function(){neo.Core.displayLocationByRegionSelector();
neo.Core.prepareLocationByRegionSelector();});this.prepareJSTabs();this.prepareSpec();neo.LHP.prepareLhpCards();enablePngImages();neo.Carousel.initialize();neo.ToolTip.init();},prepareSearch:function(){$(".searchBox input").each(function(){$(this).data("value",$(this).attr("value"));
});$(".searchBox input").bind("click",function(){if($(this).attr("value")==$(this).data("value")){$(this).attr("value","");}});$(".searchBox input").bind("blur",function(){if($(this).attr("value")==""){$(this).attr("value",$(this).data("value"));}});},prepareLocationByRegionSelector:function(){$(".js-locationByRegion-selector select#region").bind("change",neo.Core.displayLocationByRegionSelector);
$(".js-locationByRegion-selector select[name='country']").bind("change",function(){var B=this.options[this.selectedIndex].value;if(B==-1){return ;}B=B.split("-");setLastCountryCookie(B[1]+","+B[0]);var A=$(this).attr("target");if(A.indexOf("?")==-1){window.location=A+"?cc="+B[1].toLowerCase()+"&lc="+B[0].toLowerCase();
}else{window.location=A+"&cc="+B[1].toLowerCase()+"&lc="+B[0].toLowerCase();}});},displayLocationByRegionSelector:function(){$(".js-locationByRegion-selector select[name='country']").each(function(){$("#"+$(this).attr("cdd")).hide();$(this).hide();});var A=$(".js-locationByRegion-selector select#region  option:selected").val();
if(A!="-1"&&A!="0"){$("#"+$("#country").attr("cdd")).hide();$("#"+$("#country_"+A).attr("cdd")).show();}else{$("#"+$("#country").attr("cdd")).show();}},prepareJSTabs:function(){this.preparePreloader();$(".js-tab").click(function(){$().scrollTo(300,600);$(".js-tab-content").empty();
$("#preloader-container").appendTo(".js-tab-content");$("#preloader-container").show();$.get($(this).attr("href"),function(B){var E=B.toString();var C=E.indexOf("<!--js-ajax-tabview-start-->");var D=E.indexOf("<!--js-ajax-tabview-end-->");var A=setTimeout(function(){$(".js-tab-content").html(E.substring(C,D));
neo.Core.preparePreloader();},1000);});$(".js-tab").each(function(){$(this).removeClass("selected");});$(this).addClass("selected");$(this).blur();return false;});},prepareSpec:function(){$(".js-spec h2 a").unbind("click").click(function(){$(this).parent().parent().toggleClass("open-spec");
$(this).blur();return false;});},evalJS:function(){this.prepareJSTabs();},preparePreloader:function(){var D=document.createElement("div");D.id="preloader-container";var C=document.createElement("span");C.id="preloader-ani";D.appendChild(C);document.body.appendChild(D);
var A={};A.themeColor=THEME_COLORS[getBrandStyleClass()].value;var E={};E.menu="false";E.scale="noscale";E.allowscriptaccess="sameDomain";E.wmode="transparent";var B={};swfobject.embedSWF("/cws/flash/preloader.swf","preloader-ani","50","50","9.0.0",false,A,E,B);
},prepareCufon:function(){if(this.isCufonAble()){$(".cufon-h1, .cufon-h2, #topNavigation li a, h1, h2.pageHeader2, .enticerContent h2").not($(".left_column h1, .right_column h1, .enticerQuart h2")).each(function(){Cufon.replace($(this),{hover:true});});Cufon.now();
}},isCufonAble:function(){var C=getParam("lc");var B=["he","zh","th","el","ar"];for(var A in B){if(C.toLowerCase()==B[A]){return false;}}return true;},prepareTopNav:function(){var B="#999";var D="#aaa";var A="#ccc";var C="#fff";if(isRtl()){var B="#aaa";var D="#999";
var A="#fff";var C="#ccc";}$("#topNavigation li a").hover(function(){$(this).stop().animate({borderLeftColor:B,borderRightColor:D},200,"linear");},function(){$(this).stop().animate({borderLeftColor:A,borderRightColor:C},300,"swing");});$("#topNavigation li a").bind("mousedown click",function(){this.blur();
});},isRtl:function(){var A=getParam("lc");if(A=="ar"||A=="he"){return true;}else{return false;}}};neo.Tools=neo.Tools?neo.Tools:new Object();neo.Tools={loadJSFile:function(A,B,D){if(B=="js"){var C=document.createElement("script");C.setAttribute("type","text/javascript");
C.setAttribute("src",A);document.getElementsByTagName("head")[0].appendChild(C);if(D){C.onload=function(){neo.Tools.onFunctionAvailable(D.callback,D.methodToCheck);};C.onreadystatechange=function(){if(this.readyState=="loaded"){neo.Tools.onFunctionAvailable(D.callback,D.methodToCheck);
}};}}},onFunctionAvailable:function(callback,method){if(typeof (eval(method))==="function"){eval(callback);}else{setTimeout(function(){neo.Tools.onFunctionAvailable(callback,method);}),50;}}};neo.LHP=neo.LHP?neo.LHP:new Object();neo.LHP={prepareLhpCards:function(){$(".lhpCards a").each(function(){if($(this).attr("target")=="_layer"){$(this).click(function(){var href=$(this).attr("href");
var params=eval("("+$(this).attr("params")+")");neo.LHP.openCardLayer(href,params.width,params.height);this.blur();return false;});}});},openCardLayer:function(B,C,A){if(typeof popup=="undefined"){neo.Tools.loadJSFile("/cws/js/popupLayerFunctions.js","js",{callback:"neo.LHP.openCardLayer('"+B+"',"+C+","+A+")",methodToCheck:"popup.openLayer"});
}else{popup.openLayer("lhpcard",B,"enhancedpresentation",C,A,"","","",false);}}};neo.Carousel=neo.Carousel?neo.Carousel:new Object();neo.Carousel={initialize:function(){var A=$(".carouselWrapper");A.each(function(){if($(this).hasClass("hCarousel")){$(this).data("vOrient",false);
}else{if($(this).hasClass("vCarousel")){$(this).data("vOrient",true);}}$(this).find(".carouselItem").each(function(){$(this).click(function(D){neo.Carousel.navigateToUrl(D);});});var B=$(this).parent().find(".carouselItem").length;var C=neo.Carousel.getSize($(this),$(this).find(".carouselItem")[0]);
if(!$(this).data("vOrient")){$(this).parent().find(".carouselContainer").css("width",Math.round(C*B));}$(this).data("itemSize",C);$(this).data("itemCount",B);$(this).data("curItem",0);$(this).data("clipperSize",neo.Carousel.getSize($(this),$(this).find(".carouselClipper")));
neo.Carousel.resetButtons(this);});neo.Carousel.bindEventsToButtons();},next:function(){var B=$(this).parent();var A=$(B).data("curItem");if(neo.Carousel.hasNext(B)){$(B).data("curItem",--A);neo.Carousel.animate($(B).find(".carouselContainer"),(A*$(B).data("itemSize")),$(this).parent().data("vOrient"));
}neo.Carousel.resetButtons(B);},previous:function(){var B=$(this).parent();var A=$(B).data("curItem");if(neo.Carousel.hasPrevious(B)){$(B).data("curItem",++A);neo.Carousel.animate($(B).find(".carouselContainer"),(A*$(B).data("itemSize")),$(this).parent().data("vOrient"));
}neo.Carousel.resetButtons(B);},animate:function(C,A,B){if(B){$(C).animate({top:A+"px"},500);}else{if(getParam("lc")=="he"||getParam("lc")=="ar"){$(C).animate({right:A+"px"},500);}else{$(C).animate({left:A+"px"},500);}}},getSize:function(C,B){var A=$(B).outerWidth(true);
if($(C).data("vOrient")){var A=$(B).outerHeight(true);}return A;},hasPrevious:function(B){var A=$(B).data("curItem");return(A<0);},hasNext:function(B){var A=$(B).data("curItem");return(A*$(B).data("itemSize")>(($(B).data("itemSize")*$(B).data("itemCount"))-$(B).data("clipperSize"))*-1);
},resetButtons:function(A){$(A).find(".carouselNext, .carouselPrevious").removeClass("active");if(!neo.Carousel.hasPrevious(A)&&neo.Carousel.hasNext(A)){$(A).find(".carouselPrevious").addClass("disable");$(A).find(".carouselNext").removeClass("disable");}if(neo.Carousel.hasPrevious(A)&&!neo.Carousel.hasNext(A)){$(A).find(".carouselPrevious").removeClass("disable");
$(A).find(".carouselNext").addClass("disable");}if(neo.Carousel.hasPrevious(A)&&neo.Carousel.hasNext(A)){$(A).find(".carouselNext, .carouselPrevious").removeClass("disable");}if(!neo.Carousel.hasPrevious(A)&&!neo.Carousel.hasNext(A)){$(A).find(".carouselNext, .carouselPrevious").addClass("disable");
}},bindEventsToButtons:function(){$(".carouselPrevious").bind("click",neo.Carousel.previous);$(".carouselNext").bind("click",neo.Carousel.next);$(".carouselPrevious, .carouselNext").bind("mouseover",function(A){if($(this).hasClass("disable")==false){$(this).addClass("hover");
}});$(".carouselPrevious, .carouselNext").bind("click",function(A){if($(this).hasClass("disable")==false){$(this).removeClass("active");$(this).addClass("hover");}});$(".carouselPrevious, .carouselNext").bind("mousedown",function(A){if($(this).hasClass("disable")==false){$(this).removeClass("hover");
$(this).addClass("active");}});$(".carouselPrevious, .carouselNext").bind("mouseout",function(A){if($(this).hasClass("disable")==false){$(this).removeClass("hover");}});},navigateToUrl:function(A){switch($(A.currentTarget).parent().parent().parent().attr("name")){case"campaignCarousel":neo.Carousel.navigateToCampaignUrl(A.currentTarget);
break;case"richMediaCarousel":neo.Carousel.navigateToRichMediaUrl(A.currentTarget);break;default:}},navigateToCampaignUrl:function(el){var params=eval("("+$(el).attr("params")+")");switch(params.type){case"standalone":window.open(params.url,"campaign");break;
case"layered":popup.openLayer(params.id,params.url,"enhancedpresentation",params.width,params.height,"","","",false);break;default:window.location=params.url;}},navigateToRichMediaUrl:function(el){var params=eval("("+$(el).attr("params")+")");popup.openLayer(params.idCont,params.contentUrl,params.popupType,params.width,params.height,params.statPr,params.statTl,params.extraParams,false);
}};neo.ToolTip=neo.ToolTip?neo.ToolTip:new Object();neo.ToolTip={init:function(){$(".js-tooltip").bind("mouseover",function(B){B.stopImmediatePropagation();if(!document.getElementById("toolTip")){var A='<div id="toolTip">';A+='<div id="toolTip_t"><span></span></div>';
A+='<div id="toolTip_r"><span></span></div>';A+='<div id="toolTip_b"><span></span></div>';A+='<div id="toolTip_l"><span></span></div>';A+='<div id="toolTip_tl"><span></span></div>';A+='<div id="toolTip_tr"><span></span></div>';A+='<div id="toolTip_bl"><span></span></div>';
A+='<div id="toolTip_br"><span></span></div>';A+='<div id="toolTip_arrow"><span></span></div>';A+='<div id="toolTip_txt"></div>';A+="</div>";$("body").append(A);}if($(this).data("tooltip")===undefined){$(this).data("tooltip",{text:$(this).attr("title")});$(this).attr("title","");
}neo.ToolTip.show(B);});$(".js-tooltip").bind("mousemove",function(A){A.stopImmediatePropagation();neo.ToolTip.move(A);});$(".js-tooltip").bind("mouseout",function(A){A.stopImmediatePropagation();$("#toolTip").css({"visibility":"hidden","left":-100,"top":-100});
$("#toolTip #toolTip_txt").text("");$("#toolTip #toolTip_txt").css({"white-space":"nowrap","width":"auto","height":"auto"});$("#toolTip_arrow").css("left",20);});},show:function(C){var B=$("#toolTip");var A=$("#toolTip #toolTip_txt");$(A).text($(C.currentTarget).data("tooltip").text);
if($(A).outerWidth()>300){$(A).css({"white-space":"normal","width":300});}$("#toolTip #toolTip_t, #toolTip #toolTip_b").width($(A).outerWidth());$("#toolTip #toolTip_r, #toolTip #toolTip_l").height($(A).outerHeight());$(B).css({"width":$(A).outerWidth()+15,"height":$(A).outerHeight()+16});
neo.ToolTip.move(C);$(B).css("visibility","visible");},move:function(F){var D=$("#toolTip");var A=$("#toolTip #toolTip_txt");var B=Math.max(document.body.scrollTop,document.documentElement.scrollTop);var C=F.clientX-22<0?0:F.clientX-22;if(C+$(D).outerWidth()>$(window).width()){var E=(C+$(D).outerWidth())-$(window).width();
C-=E;$("#toolTip_arrow").css("left",20+E);}$(D).css({"left":C,"top":(F.clientY-($(A).outerHeight()+25))+B});}};$(document).ready(function(){neo.Core.preparePage();});SE=new Object();SE.corporateZone={formGroup:function(){$("ul#productList > li").hide();var D=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];
var A=SE.corporateZone.checkAvialable();$("ul#productList").attr("rel",A.toString());for(var B=0;B<D.length;B++){if(B==0){$('<span style="float: left; color: #65BB10; font-weight: bold;">Jump To:</span> <ul id="alphabets"></ul><span style="float: left; margin-left: 0px; color: #65BB10; font-weight: bold;" class="nav-links"><a href="javascript: void(0)" id="back" style="background:transparent url(/cws/images/bronze/link_arrow_small_lime_rtl.gif) no-repeat scroll left center; padding-left: 10px;">back</a> | <a href="javascript: void(0)" id="next" class="more-arrow-small">next</a></span>').insertAfter("ul#productList");
}if(($("ul#productList").attr("rel")).indexOf(D[B])>-1){$("ul#alphabets").append('<li><a href="javascript: void(0)">'+D[B]+"</a></li>");}else{$("ul#alphabets").append("<li><span>"+D[B]+"</span></li>");}}$("#back").css({"visibility":"hidden"});var C=SE.corporateZone.checkFirstElem();
SE.corporateZone.showGroup(C);},showGroup:function(B){$("li > a",$(B).parents("ul")).each(function(){$(this).css({"text-decoration":"none","cursor":"pointer"});$(this).bind("click",function(){SE.corporateZone.showGroup(this);$().scrollTo(300,600);});});$(B).css({"text-decoration":"underline","cursor":"default"}).unbind("click");
var A=($(B).text()).substr(0,1).toLowerCase();window.location.hash=A;$("ul#productList > li").each(function(){var D=$(this).text();var C=D.substr(0,1).toLowerCase();if(C==A){$(this).show("fast");}else{$(this).hide();}});if(($("ul#productList").attr("rel")).charAt(($("ul#productList").attr("rel").indexOf(A))-2)==""){$("#back").css({"visibility":"hidden"});
}else{$("#back").css({"visibility":"visible"});}if(($("ul#productList").attr("rel")).charAt(($("ul#productList").attr("rel").indexOf(A))+2)==""){$("#next").css({"visibility":"hidden"});}else{$("#next").css({"visibility":"visible"});}$("#next, #back").unbind("click").bind("click",function(){SE.corporateZone.navEvents(A,this);
});},checkAvialable:function(){var F=[];var E=[];var D;$("ul#productList > li").each(function(){E.push($(this).text());});E=E.sort();for(var C=0;C<E.length;C++){var B=E[C];var A=B.substr(0,1).toLowerCase();if(A!=D){F.push(A);D=A;}}return F;},navEvents:function(A,C){$().scrollTo(300,600);
var B;if($(C).attr("id")=="back"){B=($("ul#productList").attr("rel")).charAt(($("ul#productList").attr("rel").indexOf(A))-2);if(($("ul#productList").attr("rel")).charAt(($("ul#productList").attr("rel").indexOf(B))-2)==""){$(C).css({"visibility":"hidden"});}else{$(C).css({"visibility":"visible"});
$("#next").css({"visibility":"visible"});}}else{B=($("ul#productList").attr("rel")).charAt(($("ul#productList").attr("rel").indexOf(A))+2);if(($("ul#productList").attr("rel")).charAt(($("ul#productList").attr("rel").indexOf(B))+2)==""){$(C).css({"visibility":"hidden"});
}else{$(C).css({"visibility":"visible"});$("#back").css({"visibility":"visible"});}}$("#alphabets li").each(function(){if($(this).text()==B){$("a",$(this)).trigger("click");}});},checkFirstElem:function(){var B=window.location.hash.substr(1,1);if(B!=""){for(var A=0;
A<$("#alphabets li").length;A++){if($($("#alphabets li").get(A).childNodes[0]).text()==B){return $("#alphabets li").get(A).childNodes[0];}}}else{for(var A=0;A<$("#alphabets li").length;A++){if($("#alphabets li").get(A).childNodes[0].nodeName.toLowerCase()==="a"){return $("#alphabets li").get(A).childNodes[0];
}}}}};