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;}}}};}();window.dhtmlHistory={addListener:function(A){this.listener=A;},getCurrentLocation:function(){return this.removeHash(window.location.hash);},currentLocation:null,listener:null,create:function(A){var B=this.removeHash(window.location.hash);
this.currentLocation=B;var E=escape(B);E=E.replace(/%3D/g,"=");E=E.replace(/%2C/g,",");if(this.isInternetExplorer()){if(A){document.write("<iframe style='border: 0px; width: 500px; "+"height: 100px; position: absolute; bottom: 0px; "+"right: 0px; visibility: visible;' "+"name='DhtmlHistoryFrame' id='DhtmlHistoryFrame' "+"src='/cws/js/blank.html?"+E+"'>"+"</iframe>");
}else{document.write("<iframe style='border: 0px; width: 1px; "+"height: 1px; position: absolute; bottom: 0px; "+"right: 0px; visibility: hidden;' "+"name='DhtmlHistoryFrame' id='DhtmlHistoryFrame' "+"src='/cws/js/blank.html?"+E+"'>"+"</iframe>");}}var D=this;
var C=function(){D.checkLocation();};setInterval(C,100);},fireHistoryEvent:function(A){var B=null;if(this.listener){this.listener.call(null,A,B);}},checkLocation:function(){var A=this.getCurrentLocation();if(A==this.currentLocation){return ;}this.currentLocation=A;
this.fireHistoryEvent(A);},removeHash:function(A){if(A==null||A==undefined){return null;}else{if(A==""){return"";}else{if(A.length==1&&A.charAt(0)=="#"){return"";}else{if(A.length>=2&&A.charAt(0)=="#"){return A.substring(1);}else{return A;}}}}},iframeLoaded:function(B){var E=B.indexOf("?");
var C="";if((E!=-1)&&(B.length>E+1)){C=B.substring(E+1);}if(C==this.currentLocation){return ;}this.currentLocation=C;var D=window.location.href;var A=D.split("#")[0];window.location.href=A+"#"+C;this.fireHistoryEvent(C);},isInternetExplorer:function(){var A=navigator.userAgent.toLowerCase();
if(document.all&&A.indexOf("msie")!=-1){return true;}else{return false;}}};window.dhtmlHistory.create(false);(function(D){D.ifixpng=function(A){D.ifixpng.pixel=A;};D.ifixpng.getPixel=function(){return D.ifixpng.pixel||"/cws/images/spacer.gif";};var C={ltie7:D.browser.msie&&D.browser.version<7,filter:function(A){return"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='"+A+"')";
}};D.fn.ifixpng=C.ltie7?function(){return this.each(function(){var H=D(this);var B=D("base").attr("href");if(B){B=B.replace(/\/[^\/]+$/,"/");}if(H.is("img")||H.is("input")){if(H.attr("src")){if(H.attr("src").match(/.*\.png([?].*)?$/i)){var G=(B&&H.attr("src").search(/^(\/|http:)/i))?B+H.attr("src"):H.attr("src");
H.css({filter:C.filter(G),width:H.width(),height:H.height()}).attr({src:D.ifixpng.getPixel()}).positionFix();}}}else{var A=H.css("backgroundImage");if(A.match(/^url\(["']?(.*\.png([?].*)?)["']?\)$/i)){A=RegExp.$1;A=(B&&A.substring(0,1)!="/")?B+A:A;H.css({backgroundImage:"none",filter:C.filter(A)}).children().children().positionFix();
}}});}:function(){return this;};D.fn.iunfixpng=C.ltie7?function(){return this.each(function(){var B=D(this);var A=B.css("filter");if(A.match(/src=["']?(.*\.png([?].*)?)["']?/i)){A=RegExp.$1;if(B.is("img")||B.is("input")){B.attr({src:A}).css({filter:""});}else{B.css({filter:"",background:"url("+A+")"});
}}});}:function(){return this;};D.fn.positionFix=function(){return this.each(function(){var A=D(this);var B=A.css("position");if(B!="absolute"&&B!="relative"){A.css({position:"relative"});}});};})(jQuery);if(!this.JSON){this.JSON={};}(function(){function f(n){return n<10?"0"+n:n;
}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null;
};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;
function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);})+'"':'"'+string+'"';}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];
if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key);}if(typeof rep==="function"){value=rep.call(holder,key,value);}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";
case"boolean":case"null":return String(value);case"object":if(!value){return"null";}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null";}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";
gap=mind;return v;}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v);}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);
if(v){partial.push(quote(k)+(gap?": ":":")+v);}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v;}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;
gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" ";}}else{if(typeof space==="string"){indent=space;}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify");
}return str("",{"":value});};}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);
if(v!==undefined){value[k]=v;}else{delete value[k];}}}}return reviver.call(holder,key,value);}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);});}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");
return typeof reviver==="function"?walk({"":j},""):j;}throw new SyntaxError("JSON.parse");};}}());var neo=neo?neo:new Object();var SE=SE?SE:new Object();neo.cc="gb";neo.lc="en";neo.isRtl=false;neo.emailp=/^([a-zA-Z0-9])+([\._-]?[a-zA-Z0-9])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+$/;
function selectNavigation(A){if(A.options[A.selectedIndex].value!="#"&&A.options[A.selectedIndex].value!="-1"){location=A.options[A.selectedIndex].value;}}function showCountriesDropDown(){var B=jQuery("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 setUpIntegratedCampaign(B,C,A){var D="<iframe width='"+C+"' scrolling='no' height='"+A+"' frameborder='0' style='border: 0px none ;' marginheight='0' marginwidth='0' id='container' src='"+B+"'></iframe>";jQuery("#pageContent .neoWrapper").css("display","none");
jQuery("#pageContent").append("<div id='mediaSpaceContener'>"+D+"</div>");}function generateRestorLayerByUrlList(){var as=jQuery(".carouselWrapper");as.each(function(){jQuery(this).find(".carouselItem").each(function(){var cName=jQuery(this).parent().parent().parent().attr("name");
var params=eval("("+jQuery(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();}String.prototype.contains=function(A){return this.indexOf(A)!=-1;};String.prototype.cut=function(E,D){var B="...";if(this.length>E){var A=E-3;var C=this.lastIndexOf(" ",A);if(C==-1){C=A;}if(D!=undefined){B=D;}return this.substring(0,C)+B;
}return this;};String.prototype.cutByWords=function(C){var A=this.split(" ",C);if(A.length>=C){var B="";for(i=0;i<A.length;i++){B+=A[i]+" ";}B=B+"...";return B;}return this.toString();};String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"");
};String.prototype.removeSpecialSymbols=function(){var A=this;A=A.replaceAll("&trade;","");A=A.replaceAll("&copy;","");A=A.replaceAll("&reg;","");A=A.replaceAll("&amp;","");A=A.replaceAll("â„¢","");A=A.replaceAll("trade;","");A=A.replaceAll("\u2122","");return A;
};String.prototype.replaceAll=function(B,D){var C=this;var A=this.indexOf(B);while(A>-1){C=C.replace(B,D);A=C.indexOf(B);}return C;};String.prototype.isEmpty=function(){var A=this;if(A.trim().length==0){return true;}return false;};if(!Array.indexOf){Array.prototype.indexOf=function(B){for(var A=0;
A<this.length;A++){if(this[A]==B){return A;}}return -1;};}Date.prototype.getWeek=function(){var A=new Date(this.getFullYear(),0,1);return Math.ceil((((this-A)/86400000)+A.getDay()+1)/7);};neo.URL=function(A){this.url=A;};neo.URL.prototype.append=function(E){var D,C=[];
for(D in E){C[C.length]=D+"="+E[D];}if(this.url.indexOf("?")!=-1){var F=this.url.split("?");var A=F[1].split("&");for(var B=0;B<A.length;B++){C[C.length]=A[B];}this.url=F[0];}C.sort();this.url+="?"+C.join("&");};neo.URL.prototype.getURL=function(){return this.url;
};neo.URL.prototype.toString=neo.URL.prototype.getURL;neo.DynamicScript=function(A){this.url=A.toString();this.obj;};neo.DynamicScript.prototype.add=function(B){this.obj=document.createElement("script");this.obj.setAttribute("type","text/javascript");this.obj.setAttribute("charset","utf-8");
this.obj.setAttribute("src",this.url);if(B==undefined){var A=document.getElementsByTagName("head").item(0);A.appendChild(this.obj);}else{B.innerHTML="";B.appendChild(this.obj);}};neo.openLayer=function(C,G,A,E,B,F){var H=(B!=undefined)?B:false;var D=(F!=undefined)?F:"enhancedpresentation";
neo.Core.openLayer(C,G,A,E,H,D);};SE={namespace:function(C,B,A){return SE.Namespace.append(typeof C=="string"?SE.Namespace.register(C):C,B,A);},textResource:{},isBlank:function(A){return(A==null||jQuery.trim(A).length==0);},isIE6:(jQuery.browser.msie&&parseInt(jQuery.browser.version)<7),isIE7:(jQuery.browser.msie&&parseInt(jQuery.browser.version)==7),isIE8:(jQuery.browser.msie&&parseInt(jQuery.browser.version)==8)};
SE.Namespace={};SE.Namespace={append:function(D,C,A){for(var B in C){if(A||typeof D[B]==="undefined"){D[B]=C[B];}}return D;},register:function(D){var A=window.SE;var C=D.split(".");for(var B=0;B<C.length;B++){var E=C[B];if(typeof A[E]==="undefined"){A[E]={};
}A=A[C[B]];}return A;}};neo.Core=neo.Core?neo.Core:new Object();neo.Core={prepareHeaderFooter:function(){this.prepareSearch();neo.TopNavHover.prepare();try{jQuery("#neoHeader img").ifixpng();}catch(A){}},preparePage:function(){this.prepareCufon();neo.SubNavHover.prepare();
jQuery("body").bind("neoDropDownLoaded",function(){neo.Core.displayLocationByRegionSelector();neo.Core.prepareLocationByRegionSelector();});this.prepareSpec();this.setLocationCookie();neo.JSTabs.initialize();neo.JSTabs.prepareJSTabLinks();neo.LHP.prepareLhpCards();
if(!jQuery(".carouselWrapper").hasClass("deferInitialize")){if(!jQuery(".carouselContainer").hasClass("cyclic")){neo.Carousel.initialize();}else{neo.cyclicCarousel.initialize();}}neo.ToolTip.init();this.prepareShareThisPage();this.prepareShareThisPageLinks();
this.fixPng();SE.AuxiliaryNav.shopTool.create();SE.LazyLoad.init();SE.FaceBook.parseFB();},evalJS:function(){neo.Core.prepareCufon();SE.AuxiliaryNav.shopTool.bindEvents();},prepareShareThisPage:function(){jQuery(".shareThisPage-layer").appendTo("body");jQuery(".shareThisPage img").each(function(){jQuery(this).hover(function(){var C=jQuery(this).offset();
var B=(Math.round(C.top))+jQuery(this).height();var A=neo.Utils.getScrollY();if((B-A)+jQuery(".shareThisPage-layer").height()>jQuery(window).height()){B=(B-jQuery(".shareThisPage-layer").height())-jQuery(this).height();if(jQuery(this).hasClass("share-footer")){B=B+10;
}}jQuery(".shareThisPage-layer").css({"display":"block","top":(B-10)+"px","left":(Math.round(C.left)-175)+"px"});},function(){jQuery(".shareThisPage-layer").css({"display":"none"});});});jQuery(".shareThisPage-layer").each(function(){jQuery(this).hover(function(){jQuery(this).css({"display":"block"});
},function(){jQuery(this).css({"display":"none"});});});},prepareShareThisPageLinks:function(){jQuery(".shareThisPage-layer span a").each(function(){var A=this.href;if(A.match(/TITLE/g)){A=(A.replace("TITLE",document.title));}if(A.match(/URL/g)){A=(A.replace("URL",location.href));
}if(A.match(/ABSTRACT/g)){A=(A.replace("ABSTRACT",document.title));}this.href=A;});},prepareSearch:function(){jQuery(".searchBox input").each(function(){jQuery(this).data("value",jQuery(this).attr("value"));});jQuery(".searchBox input").bind("click",function(){if(jQuery(this).attr("value")==jQuery(this).data("value")){jQuery(this).attr("value","");
}});jQuery(".searchBox input").bind("blur",function(){if(jQuery(this).attr("value")==""){jQuery(this).attr("value",jQuery(this).data("value"));}});},prepareLocationByRegionSelector:function(){jQuery(".js-locationByRegion-selector select#region").bind("change",neo.Core.displayLocationByRegionSelector);
jQuery(".js-locationByRegion-selector select[name='country']").bind("change",function(){var C=this.options[this.selectedIndex].value;if(C==-1){return ;}C=C.split("-");setLastCountryCookie(C[1]+","+C[0]);var A=jQuery(this).attr("target");var B=this.options[this.selectedIndex].id;
if(B!=null&&B=="externallink"){window.location=C;}else{if(A.indexOf("?")==-1){window.location=A+"?cc="+C[1].toLowerCase()+"&lc="+C[0].toLowerCase();}else{window.location=A+"&cc="+C[1].toLowerCase()+"&lc="+C[0].toLowerCase();}}});},displayLocationByRegionSelector:function(){jQuery(".js-locationByRegion-selector select[name='country']").each(function(){jQuery("#"+jQuery(this).attr("cdd")).hide();
jQuery(this).hide();});var A=jQuery(".js-locationByRegion-selector select#region  option:selected").val();if(A!="-1"&&A!="0"){jQuery("#"+jQuery("#country").attr("cdd")).hide();jQuery("#"+jQuery("#country_"+A).attr("cdd")).show();}else{jQuery("#"+jQuery("#country").attr("cdd")).show();
}},prepareSpec:function(){jQuery(".js-spec h2 a").unbind("click").click(function(){jQuery(this).parent().parent().toggleClass("open-spec");jQuery(this).blur();if(jQuery(this).parent().parent().hasClass("spec-wrapper-accordian")){jQuery(this).parent().parent().find(".spec-container").each(function(){jQuery(this).animate({opacity:"toggle",height:"toggle"},jQuery(this).height()*4,"easeInOutQuad");
});}return false;});jQuery(".spec-wrapper-accordian:eq(0) h2 a").trigger("click");},prepareCufon:function(){if(jQuery.browser.msie&&jQuery.browser.version.substr(0,1)==9){Cufon.set("engine","canvas");}try{if(this.isCufonAble()){jQuery(".cufon-h1, .cufon-h2, .cufon-h3, .cufon-p, h1, h2.pageHeader2, body.shopping .enticerContent h2, #global-container h2, #global-container h3, #global-container h4").not("#card4 h1, .left_column h1, .right_column h1, .enticerQuart h2, .card h1, #lhp-main-content h1","#topNavigation li div a").each(function(){Cufon.set("fontFamily","AmericanTypewriterSE").replace(jQuery(this),{hover:true});
});jQuery("#topNavigation").children("li").each(function(){if(!jQuery(this).hasClass("firstNode")){Cufon.set("fontFamily","AmericanTypewriterSE").replace(jQuery(this).children("a"),{hover:true});}});jQuery(".cufon-journal").each(function(){Cufon.set("fontFamily","journal").replace(jQuery(this),{hover:true});
});Cufon.now();}else{if(neo.Tools.getParam("lc")=="zh"){Cufon.set("fontFamily","AmericanTypewriterSE").replace("#php-container .cufon-h1",{hover:true});}}}catch(A){}},isCufonAble:function(){var C=neo.lc;var B=["he","zh","th","el","ar","vi","ko","fa"];for(var A in B){if(C.toLowerCase()==B[A]){return false;
}}return true;},useJournalFont:function(){var C=neo.lc;var B=["he","zh","th","el","ar","vi","ru","fa","bg","hr","cs","hu","lt","lv","pl","ro","tr","sk","sr","uk"];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(neo.isRtl){B="#aaa";D="#999";A="#fff";C="#ccc";}jQuery("#topNavigation li a").hover(function(){jQuery(this).stop().animate({borderLeftColor:B,borderRightColor:D},200,"linear");},function(){jQuery(this).stop().animate({borderLeftColor:A,borderRightColor:C},300,"swing");
});jQuery("#topNavigation li a").bind("mousedown click",function(){this.blur();});},highlightTopNav:function(C,D){var B="#999";var G="#aaa";var A="#ccc";var E="#fff";if(neo.isRtl){B="#aaa";G="#999";A="#fff";E="#ccc";}switch(C){case"mouseover":var H="#"+neo.Theme.get(neo.Theme.currentTheme()).value;
if(neo.Core.isCufonAble()&&(typeof Cufon=="function")){Cufon.replace(jQuery(D),{color:H,fontFamily:"AmericanTypewriterSE"});}jQuery(D).css({"padding":"3px 19px 1px 21px"});try{jQuery(D).stop().animate({borderLeftColor:B,borderRightColor:G},200,"linear");}catch(F){}break;
case"mouseout":if(neo.Core.isCufonAble()&&(typeof Cufon=="function")){if(!jQuery(D).parent().hasClass("activeNode")&&!jQuery(D).parent().hasClass("activeNode-subsite")){Cufon.replace(jQuery(D),{color:"#666666",fontFamily:"AmericanTypewriterSE"});}}jQuery(D).css({"padding":"2px 20px"});
try{jQuery(D).stop().animate({borderLeftColor:A,borderRightColor:E},300,"swing");}catch(F){}break;default:break;}},isRtlLanguage:function(){var A=neo.lc;return(A=="ar"||A=="he");},setLocationCookie:function(){var B=new Date();B.setTime(B.getTime()+1000*60*60*24*90);
var C=neo.cc;var A=neo.lc;var D=C.toLowerCase()+","+A.toLowerCase();if(neo.Cookie.get("cwslocation")!=D){neo.Cookie.set("cwslocation",D,B,"/","","");}},addToBookmark:function(){if(document.all){window.external.AddFavorite(location.href,document.title);}else{if(window.sidebar){window.sidebar.addPanel(document.title,location.href,"");
}}},openLayer:function(C,F,A,D,B,E){if(typeof popup=="undefined"){neo.Tools.loadJSFile("/cws/js/popupLayerFunctions.js","js",{callback:"neo.Core.openLayer('"+C+"',"+F+","+A+",'"+D+"',"+B+",'"+E+"')",methodToCheck:"popup.openLayer"});}else{if(B){popup.openLayerTransparent(D,C,E,F,A,"","","",false);
}else{popup.openLayer(D,C,E,F,A,"","","",false);}}},openPopup:function(B,A,D){var C=window.open(B,A,D);C.focus();C;},fixPng:function(){try{jQuery.ifixpng("/cws/images/spacer.gif");jQuery("img").each(function(){jQuery(this).ifixpng();});}catch(A){}}};neo.Theme=neo.Theme?neo.Theme:{};
neo.Theme={colorList:["orange","blue","red","lime","cherry","purple","xperiablue"],colors:{"orange":{name:"orange",value:"EC7100",accentValue:"773B00"},"blue":{name:"blue",value:"00A8B5",accentValue:"005960"},"red":{name:"red",value:"D4041D",accentValue:"500000"},"lime":{name:"lime",value:"65BB10",accentValue:"206000"},"cherry":{name:"cherry",value:"CE0057",accentValue:"7F0036"},"purple":{name:"purple",value:"993399",accentValue:"390049"},"xperiablue":{name:"xperiablue",value:"294ea2",accentValue:"1A3166"}},newTheme:"",currentTheme:function(){var A=this.hasTheme();
return A?A:"purple";},get:function(A){return neo.Theme.colors[A];},set:function(A){var B=this.hasTheme();if(B){jQuery("body").removeClass(B);}jQuery("body").addClass(A);},setRandom:function(){this.set(this.newTheme.name);},selectNewTheme:function(){var A=Math.floor(Math.random()*this.colorList.length);
var B=this.colors[this.colorList[A]];this.newTheme=B;},hasTheme:function(){var A=false;for(x in this.colorList){if(jQuery("body").hasClass(this.colorList[x])){A=this.colorList[x];break;}}return A;}};neo.Theme.selectNewTheme();document.write("<style>.js-tab-content{display:none;_height:300px;}</style>");
neo.JSTabs={newview:"",isDirect:false,defaultPageTitle:document.title,params:{track:true,holder:".js-tab-content",sMark:"js-ajax-tabview-start",eMark:"js-ajax-tabview-end"},initialize:function(){if(jQuery(".js-tabmenu div a, .js-tabmenu li a").length>0){dhtmlHistory.addListener(neo.JSTabs.JSTabHistoryChange);
}neo.JSTabs.prepare();if(jQuery("#js-"+neo.Tools.hash().view+" a").length!==0){if(jQuery(".js-tabmenu li:first-child").attr("id").split("-")[1]!=neo.Tools.hash().view){jQuery(".js-tab-content").empty();jQuery(".js-tab-content").show();this.isDirect=true;this.prepareToLoadJSTabs();
}else{jQuery(".js-tab-content").show();if(jQuery.browser.msie){setTimeout(function(){document.title=neo.JSTabs.defaultPageTitle;},10000);}}}else{jQuery(".js-tab-content").show();}},prepare:function(){jQuery(".js-tabmenu").not(".js-tabmenu.neocontrol-initialized").each(function(){if(jQuery(this).attr("params")!==undefined){neo.JSTabs.params=neo.Tools.evalString(jQuery(this).attr("params"));
}jQuery(this).find("a").each(function(){jQuery(this).attr({track:neo.JSTabs.params.track,holder:neo.JSTabs.params.holder,smark:"<!--"+neo.JSTabs.params.sMark+"-->",emark:"<!--"+neo.JSTabs.params.eMark+"-->"}).unbind("click").bind("click",function(){neo.JSTabs.prepareToLoadJSTabs(jQuery(this));
jQuery(this).blur();jQuery("body").trigger("onJSTabLoadStart");return false;});});jQuery(this).addClass("neocontrol-initialized");});},onLoadHandler:function(){neo.Core.prepareCufon();neo.CustomDropDown.init();SE.AuxiliaryNav.shopTool.bindEvents();neo.JSTabs.prepareJSTabLinks();
neo.JSTabs.prepare();},prepareToLoadJSTabs:function(el){if(!el){var el=jQuery("#js-"+neo.Tools.hash().view+" a");}var href;if(jQuery(el).length!==0){href=jQuery(el).attr("href");}else{el=jQuery(jQuery(".js-tabmenu div, .js-tabmenu li").get(0)).find("a");href=jQuery(jQuery(".js-tabmenu div, .js-tabmenu li").get(0)).find("a").attr("href");
}neo.JSTabs.changeJSTab(jQuery(el));jQuery("html, body").animate({scrollTop:jQuery(el).offset().top-50},600);this.loadJSTabContent(el,eval(jQuery(el).attr("track")));},changeJSTab:function(A){jQuery(A).parent().parent().children().each(function(){if(jQuery(this).hasClass("highlighted-selected-tab")){jQuery(this).removeClass("highlighted-selected-tab");
}jQuery(this).removeClass("selected-tab");});if(jQuery(A).parent().hasClass("highlighted-tab")){jQuery(A).parent().addClass("highlighted-selected-tab");}else{jQuery(A).parent().addClass("selected-tab");}},prepareJSTabLinks:function(){jQuery(".js-tablink").unbind("click").click(function(){jQuery(this).attr({track:false,holder:neo.JSTabs.params.holder,smark:"<!--"+neo.JSTabs.params.sMark+"-->",emark:"<!--"+neo.JSTabs.params.eMark+"-->"});
jQuery().scrollTo(300,600);neo.JSTabs.loadJSTabContent(jQuery(this),false,true);return false;});},loadJSTabContent:function(B,C,A){jQuery.ajax({type:"GET",url:jQuery(B).attr("href"),beforeSend:function(){if(neo.JSTabs.isDirect){neo.Preloader.create(jQuery(B).attr("holder"));
neo.JSTabs.isDirect=false;}else{neo.Preloader.createFloating(jQuery(B).attr("holder"));}},success:function(E){neo.Preloader.remove();var F=E.toString();neo.JSTabs.setTabContent(B,F);if(C){var D=setTimeout(function(){neo.JSTabs.setView(B);},400);}if(jQuery.browser.msie){setTimeout(function(){neo.JSTabs.setPageTitle(F);
},1800);}else{setTimeout(function(){neo.JSTabs.setPageTitle(F);},1000);}jQuery("body").trigger("onJSTabLoad",[E]);}});},setTabContent:function(A,B){jQuery(jQuery(A).attr("holder")).html(B.substring(B.indexOf(jQuery(A).attr("smark")),B.indexOf(jQuery(A).attr("emark"))));
if(jQuery.browser.msie&&jQuery.browser.version.substr(0,1)<7){jQuery(".js-tab-content img").load(function(){jQuery(this).ifixpng();});}},setPageTitle:function(C){var A=C.indexOf("<title>");var B=C.indexOf("</title>");document.title=C.substring(A+7,B);},setView:function(C){var B=window.location.href.split("#")[0];
var A=jQuery(C).parent().attr("id").split("-")[1];neo.JSTabs.newview=A;if(jQuery.browser.msie&&jQuery.browser.version.substr(0,1)<8){document.frames("DhtmlHistoryFrame").location.href="/cws/js/blank.html?view="+A;}else{window.location.href=B+"#view="+A;}jQuery("body").trigger("onTabViewChange",[A]);
},JSTabHistoryChange:function(){if(neo.Tools.hash().layerid||window.location.hash=="#a"){return ;}if(neo.Tools.hash().view!=neo.JSTabs.newview){neo.JSTabs.prepareToLoadJSTabs();}},setStatisticsPropValues:function(B,A){if(typeof s_gi==="function"){s=s_gi(s_account);
}s["products"]="";s["events"]="";s["eVar6"]="";s["prop6"]="";s["prop14"]="";s["prop33"]="";$(B).filter("script").each(function(){var G=$(this).html();if(G.indexOf("s.server")>0){var C=G.split(";");for(x=0;x<C.length;x++){var E=C[x].replace(/(\r\n|\n|\r)/gm,"").trim();
var D=E.split("=");var H=D[0].trim().substr(2);if(A.indexOf(H)!=-1){var F=D[1].trim().replace(/\'/gi,"");s[H]=F;}}return ;}});}};neo.Preloader={create:function(A){var C=document.createElement("div");C.id="preloader-container";var B=document.createElement("span");
B.id="preloader-ani";C.appendChild(B);jQuery(A).empty();jQuery(C).appendTo(jQuery(A));this.embedFlash("preloader-ani");return C;},createFloating:function(B){if(jQuery(B).css("position")!="absolute"||jQuery(B).css("position")!="relative"){jQuery(B).css("position","relative");
}jQuery(B).append("<div id='preloader-wrapper'></div>");var A=jQuery("#preloader-wrapper");jQuery(A).css({"display":"none"});var E=this.create(A);var D=document.createElement("div");jQuery(D).addClass("preloader-bg");jQuery(D).appendTo(jQuery(A));jQuery(E).appendTo(jQuery(A));
jQuery(E).addClass("floating");var C=setTimeout(function(){try{jQuery(A).css({"display":"block"});jQuery(E).css("left",((jQuery(E).parent().outerWidth()-jQuery(E).outerWidth()))/2);jQuery(D).css({"width":jQuery(B).outerWidth(),"height":jQuery(B).outerHeight(),"opacity":0});
jQuery(D).fadeTo("slow",0.6);}catch(F){}},200);},remove:function(A){if(A){jQuery(A).find("#preloader-container, #preloader-wrapper").remove();}else{jQuery("#preloader-container, #preloader-wrapper").remove();}},embedFlash:function(D){var A={};A.themeColor=neo.Theme.get(neo.Theme.currentTheme()).value;
var C={};C.menu="false";C.scale="noscale";C.allowscriptaccess="sameDomain";C.wmode="transparent";var B={};swfobject.embedSWF("/cws/flash/preloader.swf",D,"50","50","9.0.0",false,A,C,B);}};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;}},hash:function(){var C=window.location.hash.substring(1).split(";");
var B=new Array();for(var A=0;A<C.length;A++){B[C[A].split("=")[0]]=C[A].split("=")[1];}return B;},dateToString:function(B){var F=new Date();var A=new Date(B);var D=F.getMinutes()-A.getMinutes();var G=F.getHours()-A.getHours();var H=F.getDate()-A.getDate();
var I=H/7;var E=F.getMonth()-A.getMonth();var C=F.getFullYear()-A.getFullYear();if(C==0){if(E==0){if(H==0){if(G==0){if(D<60&&D>1){B=D+" Minutes ago";}else{B="1 Minute ago";}}else{if(G==1){B=G+" hour ago";}else{B=G+"hours ago";}}}else{if(H==1){B="Yesterday";
}else{if(H<7){B=H+" Days ago";}else{if(H>6&&H<13){B="Last Week";}else{B=Math.floor(H/7)+" Weeks ago";}}}}}else{if(E==1){B="Last Month";}else{B=E+" Months ago";}}}else{if(C==1){B="Last year";}else{B=C+" Years ago";}}return B;},alterImgSize:function(F,C,E){var B;
var G=document.getElementById(F).getElementsByTagName("img");for(var A=0;A<G.length;A++){var H=(C-(G[A].width))/2;var D=(E-(G[A].height))/2;if(H>0){G[A].style.marginLeft=H+"px";}if(D>0){G[A].style.marginTop=D+"px";}}},evalString:function(str){return eval("("+str+")");
},getParam:function(F,D){var C=D!=undefined?D:document.location.href;var B=C.indexOf("#");if(B!=-1){C=C.substr(0,B);}var A="";var G=new Array();if(C.contains("?")){A=C.split("?");A=A[1];}if(A.contains("&")){G=A.split("&");}else{if(A.contains("=")){G.push(A);
}}for(var E=0;E<G.length;E++){param=G[E].split("=");if(param[0]==F){return param[1];}}return"";},alignLi:function(F){var B;var G;var E=0;G=jQuery("."+F+" li").length;var C=jQuery("<div class='tmpDiv'></div>");var A=jQuery("<div class='section0'></div>");var H=jQuery("<div class='section1'></div>");
for(var D=0;D<G;D++){B=jQuery("."+F+" li:eq("+(D)+")").text();if(B.match(/\S/g)!=null){C.append("<li>"+jQuery("."+F+" li:eq("+(D)+")").html()+"</li>");E++;}}C.prependTo("."+F);for(var D=0;D<E;D++){if(D%2==0){A.append("<li>"+jQuery(".tmpDiv li:eq("+(D)+")").html()+"</li>");
}else{H.append("<li>"+jQuery(".tmpDiv li:eq("+(D)+")").html()+"</li>");}}jQuery("."+F).html("");A.prependTo("."+F);H.prependTo("."+F);},setSameHeight:function(B){var A=0;jQuery(B).each(function(){var C=jQuery(this).height();if(C>A){A=C;}});jQuery(B).each(function(){jQuery(this).height(A);
});}};neo.LHP=neo.LHP?neo.LHP:new Object();neo.LHP={prepareLhpCards:function(){jQuery(".lhpCards").find("a").each(function(){if(jQuery(this).attr("target")=="_layer"){jQuery(this).click(function(){var href=jQuery(this).attr("href");var params=eval("("+jQuery(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={carouselIntervals:{},continousCarousels:{},initialize:function(B){var A=(B!=undefined)?jQuery(B):jQuery(".carouselWrapper").not(".carouselWrapper.deferInitialize, .carouselWrapper.carousel-initialized");
A.each(function(){if(jQuery(this).hasClass("hCarousel")){jQuery(this).data("vOrient",false);}else{if(jQuery(this).hasClass("vCarousel")){jQuery(this).data("vOrient",true);}}jQuery(this).find(".carouselItem").each(function(){jQuery(this).click(function(H){neo.Carousel.navigateToUrl(H);
});jQuery(this).children("img").each(function(){jQuery(this).load(function(){neo.Carousel.middleImage(jQuery(this).parent(),jQuery(this));});});});var D=jQuery(this).parent().find(".carouselItem").not(jQuery(this).parent().find(".carouselItem.disabled")).length;
var E=neo.Carousel.getSize(jQuery(this),jQuery(this).find(".carouselItem")[0]);if(!jQuery(this).data("vOrient")){jQuery(this).parent().find(".carouselContainer").css("width",Math.round(E*D));}jQuery(this).data("isCyclic",jQuery(this).hasClass("cyclic"));jQuery(this).data("itemSize",E);
jQuery(this).data("itemCount",D);jQuery(this).data("curItem",0);jQuery(this).data("clipperSize",neo.Carousel.getSize(jQuery(this),jQuery(this).find(".carouselClipper")));jQuery(this).data("paging",jQuery(this).hasClass("js-paging"));neo.Carousel.resetButtons(this);
if(jQuery(this).data("paging")&&!jQuery(this).hasClass("carousel-initialized")){neo.Carousel.setPaging(this);neo.Carousel.doPaging(this);}var C=jQuery(this).find(".carouselContainer");if(jQuery(C).hasClass("continous")&&jQuery(C).hasClass("autoAdvance")){var F=Math.floor(Math.random()*1234567890);
jQuery(this).data("intervalId",F);neo.Carousel.continousCarousels[F]=jQuery(this);var G=neo.Tools.evalString(jQuery(C).attr("params"));neo.Carousel.carouselIntervals[F]=setInterval(function(){neo.Carousel.autoAdvance(neo.Carousel.continousCarousels[F]);},G.speed);
jQuery(this).hover(function(){clearInterval(neo.Carousel.carouselIntervals[F]);},function(){neo.Carousel.carouselIntervals[F]=setInterval(function(){neo.Carousel.autoAdvance(neo.Carousel.continousCarousels[F]);},G.speed);});}jQuery(this).addClass("carousel-initialized");
});neo.Carousel.bindEventsToButtons();},next:function(D){var C=jQuery(this).parent();var B=jQuery(C).data("curItem");var E=jQuery(C).find(".carouselContainer");if(neo.Carousel.hasNext(C)){jQuery(C).data("curItem",--B);neo.Carousel.animate(jQuery(E),(B*jQuery(C).data("itemSize")),jQuery(this).parent().data("vOrient"));
}else{if(jQuery(".carouselContainer").hasClass("continous")){var B=1;jQuery(C).data("curItem",--B);neo.Carousel.animate(jQuery(E),(B*jQuery(C).data("itemSize")),jQuery(this).parent().data("vOrient"));}else{if(jQuery(C).data("isCyclic")){if(jQuery(D.currentTarget).hasClass("disable")){return false;
}var A;jQuery(E).each(function(){if(neo.isRtl){jQuery.each(jQuery.makeArray(jQuery(this).find(".carouselItem")).reverse(),function(){jQuery(E).prepend(jQuery(this).clone());});jQuery(E).css({"width":jQuery(E).outerWidth()*2,"right":-(jQuery(C).data("itemSize")*(jQuery(C).data("itemCount")-1))});
A=parseInt(jQuery(E).css("right"))-jQuery(C).data("itemSize");}else{jQuery.each(jQuery(E).find(".carouselItem"),function(){jQuery(E).append(jQuery(this).clone());});jQuery(E).css({"width":jQuery(E).outerWidth()*2});A=parseInt(jQuery(E).css("left"))-jQuery(E).find(".carouselItem:eq(0)").outerWidth();
}});neo.__elm=jQuery(C);neo.Carousel.animate(jQuery(E),A,jQuery(this).parent().data("vOrient"),function(){neo.Carousel.clean(jQuery(neo.__elm));neo.Carousel.reset(jQuery(neo.__elm));});}}}if(jQuery(C).data("paging")){neo.Carousel.doPaging(C);}if(!jQuery(C).data("isCyclic")){neo.Carousel.resetButtons(C);
}},previous:function(D){var C=jQuery(this).parent();var B=jQuery(C).data("curItem");var E=jQuery(C).find(".carouselContainer");if(neo.Carousel.hasPrevious(C)){jQuery(C).data("curItem",++B);neo.Carousel.animate(jQuery(C).find(".carouselContainer"),(B*jQuery(C).data("itemSize")),jQuery(this).parent().data("vOrient"));
}else{if(jQuery(C).data("isCyclic")){if(jQuery(D.currentTarget).hasClass("disable")){return false;}var A;jQuery(E).each(function(){if(neo.isRtl){jQuery.each(jQuery(this).find(".carouselItem"),function(){jQuery(E).append(jQuery(this).clone());});jQuery(this).css({"width":jQuery(E).outerWidth()*2,"right":-(jQuery(C).data("itemSize")*jQuery(C).data("itemCount"))});
A=parseInt(jQuery(E).css("right"))+jQuery(C).data("itemSize");}else{jQuery.each(jQuery.makeArray(jQuery(this).find(".carouselItem")).reverse(),function(){jQuery(E).prepend(jQuery(this).clone());});jQuery(this).css({"width":jQuery(E).outerWidth()*2,"left":-(jQuery(C).data("itemSize")*jQuery(C).data("itemCount"))});
A=(parseInt(jQuery(E).css("left"))+jQuery(C).data("itemSize"));}});neo.__elm=jQuery(C);neo.Carousel.animate(jQuery(E),A,jQuery(this).parent().data("vOrient"),function(){neo.Carousel.clean(jQuery(neo.__elm),true);neo.Carousel.reset(jQuery(neo.__elm),true);});
}}if(jQuery(C).data("paging")){neo.Carousel.doPaging(C);}if(!jQuery(C).data("isCyclic")){neo.Carousel.resetButtons(C);}},animate:function(C,A,B,D){if(B){jQuery(C).animate({top:A+"px"},500);}else{if(neo.Tools.getParam("lc")=="he"||neo.Tools.getParam("lc")=="ar"){jQuery(C).animate({right:A+"px"},500,"swing",D);
}else{jQuery(C).animate({left:A+"px"},500,"swing",D);}}},getSize:function(C,B){var A=jQuery(B).outerWidth(true);if(jQuery(C).data("vOrient")){var A=jQuery(B).outerHeight(true);}return A;},hasPrevious:function(B){var A=jQuery(B).data("curItem");return(A<0);},hasNext:function(B){var A=jQuery(B).data("curItem");
return(A*jQuery(B).data("itemSize")>((jQuery(B).data("itemSize")*jQuery(B).data("itemCount"))-jQuery(B).data("clipperSize"))*-1);},middleImage:function(C,B){var D=jQuery(C).height();var F=jQuery(B).height();var E=jQuery(C).width();var A=jQuery(B).width();if(F<D){jQuery(B).css({"marginTop":((D-F)/2)+"px"});
}if(A<E){jQuery(B).css({"marginLeft":((E-A)/2)+"px"});}},resetButtons:function(A){jQuery(A).find(".carouselNext, .carouselPrevious").removeClass("active");if(jQuery(A).data("isCyclic")){if(jQuery(A).data("itemCount")>1){jQuery(A).find(".carouselNext, .carouselPrevious").removeClass("disable").addClass("enable");
}}else{if(!neo.Carousel.hasPrevious(A)&&neo.Carousel.hasNext(A)){jQuery(A).find(".carouselPrevious").addClass("disable");jQuery(A).find(".carouselPrevious").removeClass("enable");jQuery(A).find(".carouselNext").addClass("enable");jQuery(A).find(".carouselNext").removeClass("disable");
}if(neo.Carousel.hasPrevious(A)&&!neo.Carousel.hasNext(A)){jQuery(A).find(".carouselPrevious").removeClass("disable");jQuery(A).find(".carouselPrevious").addClass("enable");jQuery(A).find(".carouselNext").removeClass("enable");jQuery(A).find(".carouselNext").addClass("disable");
}if(neo.Carousel.hasPrevious(A)&&neo.Carousel.hasNext(A)){jQuery(A).find(".carouselNext, .carouselPrevious").removeClass("disable");jQuery(A).find(".carouselNext, .carouselPrevious").addClass("enable");}if(!neo.Carousel.hasPrevious(A)&&!neo.Carousel.hasNext(A)){jQuery(A).find(".carouselNext, .carouselPrevious").addClass("disable");
jQuery(A).find(".carouselNext, .carouselPrevious").removeClass("enable");}}},setPaging:function(A){jQuery(A).each(function(){var B=jQuery(A).find("#carouselPaging");var C=neo.isRtl?jQuery(this).find(".carouselItem").length-1:0;jQuery(this).find(".carouselItem").each(function(){jQuery(B).append("<span cnt="+C+"></span>");
neo.isRtl?C--:C++;});});jQuery("#carouselPaging span").each(function(){jQuery(this).bind("click",function(){var B=jQuery(this).parent().parent();jQuery(B).data("curItem",-jQuery(this).attr("cnt"));neo.Carousel.animate(jQuery(B).find(".carouselContainer"),(jQuery(B).data("curItem")*jQuery(B).data("itemSize")),jQuery(B).data("vOrient"));
neo.Carousel.doPaging(B);neo.Carousel.resetButtons(B);});});},doPaging:function(C){var A=jQuery(C).find("#carouselPaging span");var B=jQuery(C).data("curItem");jQuery.each(A,function(D,E){jQuery(E).removeClass("current");if(jQuery(E).attr("cnt")==B*-1){jQuery(E).addClass("current");
}});},bindEventsToButtons:function(){jQuery(".carouselPrevious").unbind("click",neo.Carousel.previous);jQuery(".carouselPrevious").bind("click",neo.Carousel.previous);jQuery(".carouselNext").unbind("click",neo.Carousel.next);jQuery(".carouselNext").bind("click",neo.Carousel.next);
jQuery(".carouselPrevious, .carouselNext").bind("mouseover",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).addClass("hover");}});jQuery(".carouselPrevious, .carouselNext").bind("click",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).removeClass("active");
jQuery(this).addClass("hover");}});jQuery(".carouselPrevious, .carouselNext").bind("mousedown",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).removeClass("hover");jQuery(this).addClass("active");}});jQuery(".carouselPrevious, .carouselNext").bind("mouseout",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).removeClass("hover");
jQuery(this).addClass("enable");}});},autoAdvance:function(A){jQuery(A).parent().find(".carouselNext").trigger("click");},reset:function(A,B){if(B){jQuery(A).data("curItem",-(jQuery(A).data("itemCount")-1));jQuery(A).find(".carouselContainer").each(function(){jQuery(this).width(jQuery(A).data("itemCount")*jQuery(A).data("itemSize"));
if(!neo.isRtl){jQuery(this).css("left",-((jQuery(A).data("itemCount")-1)*jQuery(A).data("itemSize")));}});}else{jQuery(A).data("curItem",0);jQuery(A).find(".carouselContainer").each(function(){jQuery(this).width(jQuery(A).data("itemCount")*jQuery(A).data("itemSize"));
neo.isRtl?jQuery(this).css("right",0):jQuery(this).css("left",0);});}if(jQuery(A).data("paging")){neo.Carousel.doPaging(A);}},clean:function(A,B){if(B){jQuery(A).find(".carouselItem:gt("+(jQuery(A).data("itemCount")-1)+")").each(function(){jQuery(this).remove();
});}else{jQuery(A).find(".carouselItem:lt("+jQuery(A).data("itemCount")+")").each(function(){jQuery(this).remove();});}},navigateToUrl:function(A){switch(jQuery(A.currentTarget).parent().parent().parent().attr("name")){case"campaignCarousel":neo.Carousel.navigateToCampaignUrl(A.currentTarget);
break;case"richMediaCarousel":neo.Carousel.navigateToRichMediaUrl(A.currentTarget);break;case"colorPickerCarousel":SE.products.colorPicker.setProductColor(A.currentTarget);break;default:}},navigateToCampaignUrl:function(el){var params=eval("("+jQuery(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("("+jQuery(el).attr("params")+")");
popup.openLayer(params.idCont,params.contentUrl,params.popupType,params.width,params.height,params.statPr,params.statTl,params.extraParams,false);}};neo.cyclicCarousel=neo.cyclicCarousel?neo.cyclicCarousel:new Object();neo.cyclicCarousel={intervalID:0,initialize:function(){jQuery(".carouselContainer").css({"left":"-410px"});
var A=jQuery(".carouselWrapper");A.each(function(){if(jQuery(this).hasClass("hCarousel")){jQuery(this).data("vOrient",false);}else{if(jQuery(this).hasClass("vCarousel")){jQuery(this).data("vOrient",true);}}jQuery(this).find(".carouselItem").each(function(){jQuery(this).click(function(F){neo.Carousel.navigateToUrl(F);
});});var B=jQuery(this).parent().find(".carouselItem").length;var E=neo.Carousel.getSize(jQuery(this),jQuery(this).find(".carouselItem")[0]);if(!jQuery(this).data("vOrient")){jQuery(this).parent().find(".carouselContainer").css("width",Math.round(E*B));}jQuery(this).data("itemSize",E);
jQuery(this).data("itemCount",B);jQuery(this).data("curItem",0);jQuery(this).data("clipperSize",neo.Carousel.getSize(jQuery(this),jQuery(this).find(".carouselClipper")));var D=new Array();for(var C=0;C<jQuery(".carouselContainer .carouselItem").length;C++){if(C!=0){D[C]=jQuery(".carouselContainer .carouselItem").get(C-1);
}else{D[C]=jQuery(".carouselContainer .carouselItem").get(jQuery(".carouselContainer .carouselItem").length-1);}}jQuery(".carouselContainer").html(D);jQuery(this).data("itemArray",D);});jQuery(A).find(".carouselNext, .carouselPrevious").removeClass("disable");
neo.cyclicCarousel.bindEventsToButtons();if(jQuery(".carouselContainer").hasClass("cyclic")&&jQuery(".carouselContainer").hasClass("autoAdvance")){intervalID=setInterval(neo.cyclicCarousel.autoAdvance,6000);}},bindEventsToButtons:function(){jQuery(".carouselPrevious").bind("click",neo.cyclicCarousel.previous);
jQuery(".carouselNext").bind("click",neo.cyclicCarousel.next);jQuery(".carouselPrevious, .carouselNext").bind("mouseover",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).addClass("hover");}});jQuery(".carouselPrevious, .carouselNext").bind("click",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).removeClass("active");
jQuery(this).addClass("hover");}});jQuery(".carouselPrevious, .carouselNext").bind("mousedown",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).removeClass("hover");jQuery(this).addClass("active");}});jQuery(".carouselPrevious, .carouselNext").bind("mouseout",function(A){if(jQuery(this).hasClass("disable")==false){jQuery(this).removeClass("hover");
}});if(jQuery(".carouselContainer").hasClass("cyclic")&&jQuery(".carouselContainer").hasClass("autoAdvance")){jQuery(".carouselWrapper").hover(function(){clearInterval(intervalID);},function(){intervalID=setInterval(neo.cyclicCarousel.autoAdvance,6000);});}},next:function(){var B=jQuery(this).parent();
var A=jQuery(B).data("itemArray");jQuery(".carouselContainer").animate({left:-820+"px"},500,null,function(){var C=A.shift();A.push(C);jQuery(".carouselContainer").html(A);jQuery(".carouselContainer").css({"left":"-410px"});});},previous:function(){var B=jQuery(this).parent();
var A=jQuery(B).data("itemArray");jQuery(".carouselContainer").animate({left:0+"px"},500,null,function(){var C=A.pop();A.unshift(C);jQuery(".carouselContainer").html(A);jQuery(".carouselContainer").css({"left":"-410px"});});},autoAdvance:function(){jQuery(".carouselNext").trigger("click");
}};neo.ToolTip=neo.ToolTip?neo.ToolTip:new Object();neo.ToolTip={init:function(){jQuery(".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>";jQuery("body").append(A);}if(jQuery(this).data("tooltip")===undefined){jQuery(this).data("tooltip",{text:jQuery(this).attr("title")});
jQuery(this).attr("title","");}neo.ToolTip.show(B,jQuery(this));});jQuery(".js-tooltip").bind("mousemove",function(A){A.stopImmediatePropagation();neo.ToolTip.move({event:A,elm:jQuery("#toolTip"),forElm:jQuery(this),pos:"mouse",arrowElm:jQuery("#toolTip_arrow")});
});jQuery(".js-tooltip").bind("mouseout",function(A){A.stopImmediatePropagation();jQuery("#toolTip").css({"visibility":"hidden","left":-100,"top":-100});jQuery("#toolTip #toolTip_txt").text("");jQuery("#toolTip #toolTip_txt").css({"white-space":"nowrap","width":"auto","height":"auto"});
jQuery("#toolTip_arrow").css("left",20);});},show:function(C,D){var B=jQuery("#toolTip");var A=jQuery("#toolTip #toolTip_txt");jQuery(A).text(jQuery(C.currentTarget).data("tooltip").text);if(jQuery(A).outerWidth()>300){jQuery(A).css({"white-space":"normal","width":300});
}jQuery("#toolTip #toolTip_t, #toolTip #toolTip_b").width(jQuery(A).outerWidth());jQuery("#toolTip #toolTip_r, #toolTip #toolTip_l").height(jQuery(A).outerHeight());jQuery(B).css({"width":jQuery(A).outerWidth()+15,"height":jQuery(A).outerHeight()+16});neo.ToolTip.move({event:C,elm:jQuery("#toolTip"),forElm:D,pos:"mouse",arrowElm:jQuery("#toolTip_arrow")});
jQuery(B).css("visibility","visible");},move:function(B){var F=0;var E=0;var L=Math.max(document.body.scrollTop,document.documentElement.scrollTop);var D=B.elm.outerWidth();var I=B.elm.outerHeight();var K=Math.floor(B.forElm.offset().top);var A=Math.floor(B.forElm.offset().left);
var J=B.forElm.outerWidth();var C=B.forElm.outerHeight();if(B.pos!==undefined&&B.pos=="mouse"){var G=(B.arrowElm.length>0)?B.arrowElm.position().left:0;F=B.event.clientX-G<0?0:B.event.clientX-G;if(F+D>jQuery(window).width()){var H=(F+D)-jQuery(window).width();
F-=H;B.arrowElm.css({"left":G+H});}E=(B.event.clientY-(I+10))+L;}else{if(typeof B.hPos=="string"){switch(B.hPos){case"left":break;case"center":F=(A+(J/2))-(D/2);break;case"right":break;default:}}else{F=(A+B.hPos)-(D/2);}if(typeof B.vPos=="string"){switch(B.vPos){case"top":E=K-I;
break;case"bottom":E=K+C;break;default:}}else{E=(K-I)+B.vPos;}}B.elm.css({"top":E,"left":F});}};neo.Cookie=neo.Cookie?neo.Cookie:new Object();neo.Cookie={set:function(B,D,A,F,C,E){document.cookie=escape(B)+"="+escape(D)+(A?"; EXPIRES="+A.toGMTString():"")+(F?"; PATH="+F:"; PATH=/")+(C?"; DOMAIN="+C:"")+(E?"; SECURE":"");
},clear:function(B,D,F,C,E){var A=new Date(2000,1,1);neo.Cookie.set(B,D,A,F,C,E);},get:function(B){if(document.cookie.length>0){var C=document.cookie.indexOf(B+"=");if(C!=-1){C=C+B.length+1;var A=document.cookie.indexOf(";",C);if(A==-1){A=document.cookie.length;
}return unescape(document.cookie.substring(C,A));}}return"";}};neo.TopNavHover=neo.TopNavHover?neo.TopNavHover:new Object();neo.TopNavHover={st:null,curActive:"",delayTimeout:null,delay:400,prepare:function(){jQuery("#topNavigation li, .search-auxiliary-nav ul li").not("#topNavigation li.firstNode").each(function(){var B=false;
jQuery(this).append("<span></span>");jQuery(this).children("span").css({"display":"block","position":"absolute","top":"0px","left":"0px","background":"url(/cws/images/spacer.gif)","width":jQuery(this).outerWidth(),"height":jQuery(this).outerHeight(),"margin":"0px","cursor":"pointer","z-index":1});
var A="";if(jQuery(this).attr("params")!=undefined){var C=neo.Tools.evalString(jQuery(this).attr("params"));A=neo.Tools.getParam("nav",C.navUrl)+"_hover";jQuery(this).attr("topnavh",A);if(C.navUrl.indexOf("/cws/auxrelatedcontent")!=-1){SE.AuxiliaryNav.relatedConentTool.name=neo.Tools.getParam("nav",C.navUrl);
}jQuery(this).addClass("js-topnav-hover-nav");if(C.navUrl.indexOf("/cws/auxshoptool")!=-1){jQuery(this).addClass("shop-cart-btn");jQuery(this).append("<div class='number'></div>");}neo.TopNavHover.loadContent(jQuery(this),"extended",A);}else{if(jQuery(this).hasClass("js-topnav-hover-menu")){A="topnav_"+Math.floor(Math.random()*1234567890);
neo.TopNavHover.addHoverDiv(A);neo.TopNavHover.loadContent(jQuery(this).attr("id"),"simple",A);jQuery(this).attr("topnavh",A);}}});jQuery("#topNavigation li").not("#topNavigation li.firstNode").children("span").each(function(){jQuery(this).bind("click",function(){var A=jQuery(this).siblings("a");
var B=jQuery(A).attr("href");var C=jQuery(A).attr("target");if(C=="_blank"){window.open(B);}else{if(C=="_layer"){neo.openLayer(B,Number(jQuery(A).attr("layerwidth")),Number(jQuery(A).attr("layerheight")),jQuery(A).attr("layername"),false);}else{window.location=B;
}}});jQuery(this).bind("mouseover",function(){var A=jQuery(this);if(jQuery(this).parent().hasClass("js-topnav-hover-menu")){clearTimeout(neo.TopNavHover.st);}neo.TopNavHover.delayTimeout=setTimeout(function(){neo.TopNavHover.onMouseHandler(A);neo.Core.highlightTopNav("mouseover",A.siblings("a"));
SE.Shopping.initiateCartIcon();},neo.TopNavHover.delay);});jQuery(this).bind("mouseleave",function(){clearTimeout(neo.TopNavHover.delayTimeout);neo.TopNavHover.close(neo.TopNavHover.getCloseDelay(jQuery(this)));});});jQuery("#rightLinks li.js-topnav-hover-nav").children("span").each(function(){var A=jQuery(this).parent().hasClass("shop-cart-btn");
if(A){jQuery(this).bind({mouseover:function(){var C=jQuery(this).parent(),D=C.attr("id"),B=jQuery("#"+D).offset();jQuery("#"+D+"_hover").addClass("shopContainer").css(B);neo.TopNavHover.onMouseHandler(jQuery(this));neo.Core.highlightTopNav("mouseover",jQuery(this).siblings("a"));
SE.Shopping.initiateCartIcon();},click:function(){var B=jQuery(".shop-cart-btn").children("div.number").html();if(B!=0){SE.Shopping.initiateCheckout();}},mouseleave:function(){neo.TopNavHover.close(neo.TopNavHover.getCloseDelay(jQuery(this)));}});}else{jQuery(this).bind({click:function(){neo.TopNavHover.onMouseHandler(jQuery(this));
neo.Core.highlightTopNav("mouseover",jQuery(this).siblings("a"));},mouseleave:function(){neo.TopNavHover.close(neo.TopNavHover.getCloseDelay(jQuery(this)));}});}});},onMouseHandler:function(D){var C=jQuery(D).parent();var B=jQuery(D).siblings("a");if(jQuery(C).attr("topnavh")!=undefined){clearTimeout(neo.TopNavHover.st);
var A=jQuery(C).attr("topnavh");var F=jQuery("#"+A);jQuery(F).find("#hoverMask").css({"left":jQuery(C).offset().left+1,"width":jQuery(C).outerWidth(true)-2});var E=jQuery(".shop-cart-btn").children("div.number").html();if(E!=0){jQuery(B).addClass("hover-white");
}neo.TopNavHover.curActive=A;neo.TopNavHover.show(jQuery(F));}else{jQuery(B).addClass("hover");jQuery(D).bind("mouseout",function(){jQuery(B).removeClass("hover");neo.Core.highlightTopNav("mouseout",jQuery(B));});}},loadContent:function(F,B,A){if(B=="simple"){var C=new neo.URL("/cws/includes/header");
C.append({"view":"hover","cc":neo.cc,"lc":neo.lc,"link":F});jQuery.ajax({type:"GET",url:C.toString(),beforeSend:function(){},success:function(G){var H=G.toString();neo.TopNavHover.setContent(H,B,A);}});}else{if(B=="extended"){var E=neo.Tools.evalString(jQuery(F).attr("params"));
var C=new neo.URL(E.navUrl);C.append({"theme":neo.Theme.currentTheme(),"c":"?"});var D=new neo.DynamicScript(C);D.add();}}},navCallback:function(A){var B=A.nav+"_hover";neo.TopNavHover.addHoverDiv(B);neo.TopNavHover.setContent(A,"extended",B);if(A.nav==SE.AuxiliaryNav.relatedConentTool.name){SE.AuxiliaryNav.relatedConentTool.init();
}},setContent:function(D,B,A){var C=jQuery("#"+A);jQuery(C).removeClass("simple").removeClass("extended").addClass(B);if(B=="simple"){jQuery(C).find(".neoWrapper").html(D);}else{if(B=="extended"){jQuery(C).find(".neoWrapper").append(D.html.toString());if(D.header!=undefined){if(jQuery(C).find(".neoWrapper").find(".first").length){jQuery(C).find(".neoWrapper").find(".first").prepend(D.header.toString());
}else{jQuery(C).find(".neoWrapper").prepend(D.header.toString());}}}}var E=jQuery(C).find("dl");if(jQuery(C).find("#nav-carousel").length>0){jQuery(C).removeClass("no-promotion-view");jQuery.each(E,function(F,G){if(F==3){jQuery(G).after("<span class='clear-float'></span>");
}});}else{jQuery(C).addClass("no-promotion-view");jQuery.each(E,function(F,G){if(F==4){jQuery(G).after("<span class='clear-float'></span>");}});}neo.TopNavHover.highlightLink();neo.Carousel.initialize();neo.CustomDropDown.init();jQuery(C).find(".customDropDownControl").bind("click, mouseover",function(G,F){neo.TopNavHover.customDDHandler(F);
});},show:function(A){jQuery(".topnav-hover-wrapper").css({"visibility":"hidden"});jQuery(A).css({"visibility":"visible"});jQuery("#topNavigation li.js-topnav-hover-menu a, #topNavigation li.js-topnav-hover-nav a, #rightLinks li ul li a").each(function(){if(jQuery(this).parent().attr("topnavh")!=neo.TopNavHover.curActive){jQuery(this).removeClass("hover-white");
neo.Core.highlightTopNav("mouseout",jQuery(this));}});jQuery("#customDDShim, #customDDOptions").live("mouseover",function(C,B){neo.TopNavHover.customDDHandler(B);});},close:function(A){neo.TopNavHover.st=setTimeout(function(){jQuery(".topnav-hover-wrapper").removeClass("topnav-hover-active").css("visibility","hidden");
jQuery("#topNavigation li.js-topnav-hover-menu a, #topNavigation li.js-topnav-hover-nav a, #rightLinks li ul li a").each(function(){jQuery(this).removeClass("hover-white");if(jQuery(this).parent().hasClass("shop-cart-btn")){SE.Shopping.initiateCartIcon();}neo.Core.highlightTopNav("mouseout",jQuery(this));
});neo.TopNavHover.curActive="";},A);},highlightLink:function(){var A=window.location;jQuery(".topnav-hover-wrapper").find("a").each(function(){if(A.toString().indexOf(jQuery(this).attr("href"))!=-1){jQuery(this).parent().addClass("current-node");jQuery(this).bind("click",function(){jQuery(this).blur();
return false;});}});},customDDHandler:function(A){clearTimeout(neo.TopNavHover.st);jQuery(A).css({"visibility":"visible"});},addHoverDiv:function(A){jQuery("body").not("body.popupLayout").append("<div class='topnav-hover-wrapper' id='"+A+"' class='cols_2'><div id='topnav-hover-inner'><div class='neoWrapper'><!-- --></div><span id='hoverMask'></span></div></div>");
jQuery("#"+A).unbind("mouseover").bind("mouseover",function(B){clearTimeout(neo.TopNavHover.st);jQuery(this).css("visibility","visible");});jQuery("#"+A).unbind("mouseleave").bind("mouseleave",function(B){neo.TopNavHover.close(neo.TopNavHover.getCloseDelay(jQuery(this)));
});},getCloseDelay:function(B){var A=jQuery(B).hasClass("shopContainer")||jQuery(B).parent().hasClass("shop-cart-btn");return A?5000:200;}};neo.SubNavHover=neo.SubNavHover?neo.SubNavHover:new Object();neo.SubNavHover={prepare:function(){jQuery("#subsite-nav > li").bind("mouseover",function(A){if(jQuery(this).find("ul").length>0){jQuery(this).find("ul").css("display","block");
}jQuery(this).addClass("hover");});jQuery("#subsite-nav > li").bind("mouseout",function(A){jQuery(this).find("ul").css("display","none");jQuery(this).removeClass("hover");jQuery(this).children("a").removeClass("down-arrow");});jQuery("#subsite-nav > li.js-hashover").each(function(){if(jQuery(this).find("ul").length>0){jQuery(this).children("a").append("<span class='down-arrow'><img src='/cws/images/spacer.gif' width='15' height='15' /></span>");
}});}};SE.AuxiliaryNav=SE.AuxiliaryNav?SE.AuxiliaryNav:new Object();SE.AuxiliaryNav={relatedConentTool:{name:"",init:function(){var B="#"+SE.AuxiliaryNav.relatedConentTool.name+"_hover";var D=jQuery(B).find("#topnav-hover-inner").find(".neoWrapper");var C;var A;
jQuery(D).append('<div id="topnav-hover-splitter" class="yui-ge columns-75-25 grid-row topnav-hover-splitter"><div class="yui-u first"></div><div class="yui-u last"></div></div>');C=jQuery(D).find(".yui-u.first");A=jQuery(D).find(".yui-u.last");if(jQuery(D).children("h2").length>0){jQuery(C).append(jQuery(D).children("h2"));
}if(jQuery(D).children("dl").length>0){jQuery(C).append(jQuery(D).children("dl"));}if(jQuery(D).children("#nav-carousel").length>0){jQuery(A).append(jQuery(D).children("#nav-carousel"));}}},shopTool:{cartTimeoutTime:0,cartTimeout:null,cartJson:{},create:function(){if(neo.Cookie.get("cwscartactivitytime")==null){neo.Cookie.set("cwscartactivitytime",0,"","/","","");
}if(neo.Cookie.get(neo.cc+neo.lc+"cwscart")==null){neo.Cookie.set(neo.cc+neo.lc+"cwscart"," ","","/","","");}else{if(neo.Cookie.get(neo.cc+neo.lc+"cwscart").length>1){this.cartJson=neo.Tools.evalString(neo.Cookie.get(neo.cc+neo.lc+"cwscart"));}}jQuery("body").trigger("onAddToCart");
},add:function(C,B,A,D){if(SE.Shopping.check()===true){this.update("add",C,B,A,D);eshopAddToCartOmnitureStatistics(C);}},minus:function(A){this.update("minus",A,"","");},remove:function(A){this.update("remove",A,"","");},update:function(E,C,B,A,D){if(neo.Cookie.get(neo.cc+neo.lc+"cwscart").length>1){this.cartJson=neo.Tools.evalString(neo.Cookie.get(neo.cc+neo.lc+"cwscart"));
}if(E=="remove"){if(this.cartJson[C]!=undefined){delete this.cartJson[C];}}else{if(E=="add"){if(this.cartJson[C]==undefined){this.cartJson[C]={};this.cartJson[C].q=0;this.cartJson[C].desc=B;this.cartJson[C].type=A;}this.cartJson[C].q+=D;}else{if(E=="minus"&&this.cartJson[C]!=undefined){if(this.cartJson[C].q>0){this.cartJson[C].q-=D;
}else{this.remove(C);}}}}this.setCartCookie();this.setCartActivity();jQuery("body").trigger("onAddToCart");},setCartCookie:function(){var A=JSON.stringify(this.cartJson);currentDate=new Date;currentDate.setDate(currentDate.getDate()+365);var D=document.domain.split(".");
var B=D.slice(1,D.length);var C=B.join(".");neo.Cookie.set(neo.cc+neo.lc+"cwscart",A,currentDate,"/",C,"");},updateDisplay:function(){var C="";var B="";var D=SE.AuxiliaryNav.shopTool.cartJson;var E=0;for(var A in D){if(D[A].q>0){E=E+D[A].q;}}jQuery("#rightLinks li ul li.shop-cart-btn").each(function(){jQuery(this).children("div.number").html(E);
SE.Shopping.initiateCartIcon();});},bindEvents:function(){jQuery(".js-addToCart").unbind().bind("click",function(){var A=neo.Tools.evalString(jQuery(this).attr("params"));SE.AuxiliaryNav.shopTool.add(A.name,A.img,A.price);return false;});jQuery(".js-minusQ").unbind().bind("click",function(){var A=neo.Tools.evalString(jQuery(this).attr("params"));
SE.AuxiliaryNav.shopTool.minus(A.name);return false;});jQuery(".js-removeFCart").unbind().bind("click",function(){var A=neo.Tools.evalString(jQuery(this).attr("params"));SE.AuxiliaryNav.shopTool.remove(A.guid);return false;});},setCartActivity:function(){var A=new Date();
neo.Cookie.set("cwscartactivitytime",A.getTime(),"","/","","");}}};SE.FaceBook=SE.FaceBook?SE.FaceBook:new Object();SE.FaceBook={values:{linkName:"",linkNameProduct:"",category:""},parseFB:function(){if(typeof FB==="object"){FB.XFBML.parse();}},statisticsTracking:function(A){var C=this.values.linkName;
var B=this.values.category;if(A.trim()=="http://www.facebook.com/sonyericsson"){if(typeof generateOmnitureStatForClick==="function"){generateOmnitureStatForClick(C,B,"linkView");}}else{if(window.catalogue!=undefined){C=this.values.linkNameProduct+" : "+catalogue.ui.getProductNameForStatistics(A);
}else{if(SE.products!=undefined){C=this.values.linkNameProduct;}}if(typeof generateOmnitureStatForClick2==="function"){generateOmnitureStatForClick2(C,this.values.linkNameProduct);}}},add:function(C,B){var A=B.type;switch(A){case"like":jQuery(C).html('<fb:like href="'+B.href+'" width="'+B.width+'" height="'+B.height+'" show_faces="'+B.faces+'" font="arial"></fb:like>');
break;default:}this.parseFB();}};SE.Paging=function(C,A,B){this.list=C;this.records=this.list.length;this.itemsPerPage=A;this.pagingContainer=B;this.pages=0;this.currentPage=1;this.pagingSet={};this.animate=false;this.init=function(E){$(this.list).hide();this.pages=Math.ceil(this.records/this.itemsPerPage);
var F=0;var G=0;for(var D=1;D<=this.pages;D++){G=(D==this.pages)?this.records-1:F+(this.itemsPerPage-1);this.pagingSet[D]=[F,G];F=G+1;}$(this.pagingContainer).data("pagingObj",this);$(this.pagingContainer).find("a.paging-next").click(function(){$(this).parent().data("pagingObj").next();
});$(this.pagingContainer).find("a.paging-previous").click(function(){$(this).parent().data("pagingObj").previous();});this.showPage(E);};this.showPage=function(E){if(this.animate){$(this.list).fadeIn("slow");}$(this.list).hide();for(var D=this.pagingSet[E][0];
D<=(this.records>this.pagingSet[E][1]?this.pagingSet[E][1]:this.records-1);D++){$($(this.list).get(D)).show();}this.currentPage=E;this.showRecords();this.updateNav();};this.next=function(){if(this.hasNext()){this.showPage(this.currentPage+1);}};this.previous=function(){if(this.hasPrevious()){this.showPage(this.currentPage-1);
}};this.hasNext=function(){return(this.currentPage<this.pages);};this.hasPrevious=function(){return(this.currentPage>1);};this.showRecords=function(){$(this.pagingContainer).find("span").html((this.pagingSet[this.currentPage][0]+1)+" - "+(this.records<this.itemsPerPage?this.records:(this.pagingSet[this.currentPage][1]+1))+"&nbsp;"+((SE.textResource.of!=undefined)?SE.textResource.of:"of")+"&nbsp;"+this.records+"&nbsp;");
};this.updateNav=function(){this.hasNext()?$(this.pagingContainer).find("a.paging-next").show():$(this.pagingContainer).find("a.paging-next").hide();this.hasPrevious()?$(this.pagingContainer).find("a.paging-previous").show():$(this.pagingContainer).find("a.paging-previous").hide();
};};SE.LazyLoad=SE.LazyLoad?SE.LazyLoad:new Object();SE.LazyLoad={timeout:null,init:function(){jQuery(window).scroll(function(){clearTimeout(SE.LazyLoad.timeout);SE.LazyLoad.timeout=setTimeout("SE.LazyLoad.check()",500);});SE.LazyLoad.check();},check:function(){jQuery("img.lazy-load").each(function(){if(SE.LazyLoad.isSeen(jQuery(this))){jQuery(this).load(function(A){jQuery(A.target).ifixpng();
});jQuery(this).attr("src",jQuery(this).attr("url")).removeAttr("url").removeClass("lazy-load");}});},isSeen:function(A){if(jQuery(window).scrollTop()+jQuery(window).height()>jQuery(A).offset().top&&jQuery(A).offset().top>jQuery(window).scrollTop()){return true;
}else{return false;}}};SE.NotifyMe={pattern:/(notifybl-)+(\d+)/g,currentDiv:null,currentLink:null,sendPostStats:true,init:function(A){jQuery("body").bind("onUtilsPopupChange",function(){if(SE.NotifyMe.currentDiv!=null&&SE.NotifyMe.currentLink!=null){SE.NotifyMe.position(SE.NotifyMe.currentDiv,SE.NotifyMe.currentLink);
}});if(A!=undefined&&!A){this.sendPostStats=false;}jQuery(".js-notifyme").live("click",function(C){var B;if(jQuery(this).hasClass("js-hover")){return false;}SE.NotifyMe.close();B=SE.NotifyMe.getNotifyBalloon(jQuery(this));if(!B.length){B=SE.NotifyMe.createNotifymeBalloon();
jQuery("body").append(B);}jQuery(this).addClass("js-hover").addClass(B.attr("id"));if(!B.hasClass("notifybl-done")){SE.NotifyMe.position(B,jQuery(this));B.find(".notifybl-content").load(jQuery(this).attr("href"),function(){var G=jQuery(".js-notifyme.js-hover");
var F=SE.NotifyMe.getNotifyBalloon(G);jQuery(F).addClass("notifybl-done");SE.NotifyMe.prepare(F);SE.NotifyMe.show(F,G);});}else{var E=jQuery(this);var D=SE.NotifyMe.getNotifyBalloon(jQuery(this));SE.NotifyMe.show(D,E);}return false;});},createNotifymeBalloon:function(){var B="notifybl-"+Math.floor(Math.random()*1234567890);
var A=jQuery("<div id='"+B+"' class='balloon-wrapper notifybl-wrapper'><div class='close_button'><span></span></div><div class='balloon-inner notifybl-inner'><div class='balloon-bg-inner notifybl-bg-inner'></div><div class='balloon-content notifybl-content'><div></div></div></div></div>").appendTo("body");
A.find(".close_button").click(function(){SE.NotifyMe.close();});return A;},prepare:function(D){var A=jQuery(D),C=A.find("a.ctaPrimary"),B=A.find("input[type=text]");A.find("#arrow-privacy").each(function(){if(neo.isRtl){jQuery(this).attr("src","/cws/images/bronze/link_arrow_small_"+neo.Theme.currentTheme()+"_rtl.gif");
}else{jQuery(this).attr("src","/cws/images/bronze/link_arrow_small_"+neo.Theme.currentTheme()+".gif");}});B.unbind("keypress, keyup, keydown").bind("keydown",function(E){if(E.keyCode==13){C.click();return false;}});C.data("href",C.attr("href")).attr("href","javascript:void(0)").bind("click",function(){return false;
});A.find("#read-privacy input[type=checkbox]").click(function(){if($(this).is(":checked")){B.removeAttr("disabled");C.removeClass("disabled").unbind("click").bind("click",function(){SE.NotifyMe.post($(this).data("href").toString());return false;});}else{A.find("input:text").attr("disabled","true");
C.addClass("disabled").unbind("click").bind("click",function(){return false;});}});A.addClass("notifybl-done");jQuery("body").trigger("onNotifymeLoad",[A]);},show:function(F,E){var A=F,D=A.find("a.ctaPrimary"),C=A.find("input[type=text]"),B=A.find("input[type=checkbox]");
jQuery(".notifybl-wrapper").removeClass("notifybl-open").css({"visibility":"hidden"});A.find("#signup, #signup-info").show();A.find("#missingemail, #invalidemail, #thankyou").hide();A.find("#emailfield").val(document.getElementById("emailfield").defaultValue);
D.addClass("disabled").unbind("click").bind("click",function(){return false;});C.addClass("disabled").attr("disabled",true);B.attr("checked",false);this.position(F,E);this.currentDiv=F;this.currentLink=E;this.currentProduct=A.find("#short-desc").text();jQuery("body").trigger("onNotifymeOpen");
},close:function(){jQuery(".notifybl-wrapper").removeClass("notifybl-open").css({"visibility":"hidden"});jQuery(".js-notifyme").removeClass("js-hover");if(this.currentLink!=null){this.currentLink.removeClass("js-hover");this.currentLink=null;this.currentDiv=null;
}},position:function(D,C){var A=D,B=C;A.find(".notifybl-inner, .notifybl-bg-inner").height(Math.max((A.find(".notifybl-content").outerHeight()+5),150));neo.ToolTip.move({elm:A,forElm:B,vPos:0,hPos:B.outerWidth()/2});A.addClass("notifybl-open").css("visibility","visible");
if(jQuery(window).scrollTop()>A.offset().top){$.scrollTo((A.offset().top-20)<0?0:(A.offset().top-20),{duration:600,easing:"easeOutQuad"});}},post:function(B){var B=new neo.URL(B),A=SE.NotifyMe.currentDiv,F=jQuery("body"),E=A.find("#emailfield").val().trim(),D=SE.NotifyMe.currentProduct;
if(E.length==0){A.find("#missingemail").show();A.find("#invalidemail").hide();F.trigger("onUtilsPopupChange");return false;}if(!neo.emailp.test(E)){A.find("#invalidemail").show();A.find("#missingemail").hide();F.trigger("onUtilsPopupChange");return false;}A.find("#signup-info, #missingemail, #invalidemail").hide();
A.find("#thankyou").show();F.trigger("onUtilsPopupChange");B.append({"MAIL":E});var C=new Image();C.height="1";C.width="1";C.style.width="1px";C.style.height="1px";C.src=B.toString();document.body.appendChild(C);if(SE.NotifyMe.sendPostStats){if(typeof generateOmnitureStatForBuyClick==="function"){generateOmnitureStatForBuyClick("notifyme",null,D);
}}F.trigger("onNotifymePost",[A]);},getNotifyBalloon:function(B){var A=jQuery(B);return jQuery("#"+A.attr("class").match(SE.NotifyMe.pattern));}};cws.Feeds={Aggregator:function(){var K=[],A=[],F=0,B=10,E={},J,C;function D(){this.error=null;this.feed={entries:[]};
}function I(Q){var P="",M="",N={},O=0,L=K.length;for(;O<L;O++){if(K[O].url===Q){return K[O];}}}function G(P){var R=P.feedUrl,Q=I(R),O,M,N=0,L=P.entries.length;for(;N<L;N++){O=P.entries[N];O.name=Q.name;O.icon=Q.icon;M=new Date(O.publishedDate).getTime();if(!(E.hasOwnProperty(M))){E[M]=[];
}E[M].push(O);A.push(M);}F++;}function H(){var L=K.length,N=0,M;if(L>0){for(;N<L;N++){M=new google.feeds.Feed(K[N].url);M.setNumEntries(B);M.load(function(O){G(O.feed);});}}C=setInterval(function(){if(F===L){clearInterval(C);var Q=new D(),U=function(W,V){return V-W;
},S,T=0,P=0,O,R;A.sort(U);for(O=A.length;T<O;T++){S=E[A[T]];if(S.length>1){for(R=S.length;P<R;P++){Q.feed.entries.push(S[P]);}}else{Q.feed.entries.push(S[0]);}if(Q.feed.entries.length===B){break;}}J(Q);}},300);}this.l=function(L){J=L;H();};this.a=function(L){K.push(L);
};this.s=function(L){B=L;};}};cws.Feeds.Aggregator.prototype.addFeed=function(B,A,C){this.a({url:B,name:A||"",icon:C||""});};cws.Feeds.Aggregator.prototype.load=function(A){this.l(A);};cws.Feeds.Aggregator.prototype.setNumEntries=function(A){this.s(A);};neo.cc=neo.Tools.getParam("cc");
neo.lc=neo.Tools.getParam("lc");neo.isRtl=neo.Core.isRtlLanguage();jQuery(document).ready(function(){jQuery("body").bind("onJSTabLoad",neo.JSTabs.onLoadHandler);jQuery("body").bind("onAddToCart",SE.AuxiliaryNav.shopTool.updateDisplay);neo.Core.prepareHeaderFooter();
neo.Core.preparePage();});SE.corporateZone={formGroup:function(){jQuery("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();jQuery("ul#productList").attr("rel",A.toString());
for(var B=0;B<D.length;B++){if(B==0){jQuery('<span style="float: left; color: #65BB10; font-weight: bold;">Jump To:</span> <ul id="alphabets"></ul><span style="float: left; margin-left: 0; 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((jQuery("ul#productList").attr("rel")).indexOf(D[B])>-1){jQuery("ul#alphabets").append('<li><a href="javascript: void(0)">'+D[B]+"</a></li>");}else{jQuery("ul#alphabets").append("<li><span>"+D[B]+"</span></li>");}}jQuery("#back").css({"visibility":"hidden"});
var C=SE.corporateZone.checkFirstElem();SE.corporateZone.showGroup(C);},showGroup:function(B){jQuery("li > a",jQuery(B).parents("ul")).each(function(){jQuery(this).css({"text-decoration":"none","cursor":"pointer"});jQuery(this).bind("click",function(){SE.corporateZone.showGroup(this);
jQuery().scrollTo(300,600);});});jQuery(B).css({"text-decoration":"underline","cursor":"default"}).unbind("click");var A=(jQuery(B).text()).substr(0,1).toLowerCase();window.location.hash=A;jQuery("ul#productList > li").each(function(){var D=jQuery(this).text();
var C=D.substr(0,1).toLowerCase();if(C==A){jQuery(this).show("fast");}else{jQuery(this).hide();}});if((jQuery("ul#productList").attr("rel")).charAt((jQuery("ul#productList").attr("rel").indexOf(A))-2)==""){jQuery("#back").css({"visibility":"hidden"});}else{jQuery("#back").css({"visibility":"visible"});
}if((jQuery("ul#productList").attr("rel")).charAt((jQuery("ul#productList").attr("rel").indexOf(A))+2)==""){jQuery("#next").css({"visibility":"hidden"});}else{jQuery("#next").css({"visibility":"visible"});}jQuery("#next, #back").unbind("click").bind("click",function(){SE.corporateZone.navEvents(A,this);
});},checkAvialable:function(){var F=[];var E=[];var D;jQuery("ul#productList").parents(".product-phone.media-library-second-level").css("height","auto");jQuery("ul#productList > li").each(function(){E.push(jQuery(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){jQuery().scrollTo(300,600);var B;if(jQuery(C).attr("id")=="back"){B=(jQuery("ul#productList").attr("rel")).charAt((jQuery("ul#productList").attr("rel").indexOf(A))-2);
if((jQuery("ul#productList").attr("rel")).charAt((jQuery("ul#productList").attr("rel").indexOf(B))-2)==""){jQuery(C).css({"visibility":"hidden"});}else{jQuery(C).css({"visibility":"visible"});jQuery("#next").css({"visibility":"visible"});}}else{B=(jQuery("ul#productList").attr("rel")).charAt((jQuery("ul#productList").attr("rel").indexOf(A))+2);
if((jQuery("ul#productList").attr("rel")).charAt((jQuery("ul#productList").attr("rel").indexOf(B))+2)==""){jQuery(C).css({"visibility":"hidden"});}else{jQuery(C).css({"visibility":"visible"});jQuery("#back").css({"visibility":"visible"});}}jQuery("#alphabets li").each(function(){if(jQuery(this).text()==B){jQuery("a",jQuery(this)).trigger("click");
}});},checkFirstElem:function(){var B=window.location.hash.substr(1,1);if(B!=""){for(var A=0;A<jQuery("#alphabets li").length;A++){if(jQuery(jQuery("#alphabets li").get(A).childNodes[0]).text()==B){return jQuery("#alphabets li").get(A).childNodes[0];}}}else{for(var A=0;
A<jQuery("#alphabets li").length;A++){if(jQuery("#alphabets li").get(A).childNodes[0].nodeName.toLowerCase()==="a"){return jQuery("#alphabets li").get(A).childNodes[0];}}}}};function enablePngImages(A){A=A||"auto";if(jQuery.browser.msie){if(parseInt(jQuery.browser.version,10)<7){jQuery("img").each(function(){if(isPng(this.src)){jQuery(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){return A.toLowerCase().lastIndexOf(".png")!=-1||A.toLowerCase().lastIndexOf("format=png")!=-1;}function switchAltBrandStyles(){neo.Theme.setRandom();}function hasBrandStyleClass(){return neo.Theme.hasTheme();
}function getBrandStyleClass(){return neo.Theme.currentTheme();}function openLayer(C,F,A,D,B,E){neo.openLayer(C,F,A,D,B,E);}function getParam(A){return neo.Tools.getParam(A);}function isRtl(){return neo.isRtl;}var recommendedValue="";SE.Shopping=SE.Shopping?SE.Shopping:new Object();
SE.Shopping={fallBackUrl:"",fromFallBack:false,getSalesItemsDone:false,getRecommendedItemsDone:false,setfallBackOptions:function(A){fallBackUrl=A;fromFallBack=true;},setEshopBackOptions:function(){fromFallBack=false;},buyNowDeliveryOption:function(B){var A="";
jQuery.each(B.storeInfo.deliveryMethods,function(D,G){var F=G.deliveryName.split(":");var C=F[0]+"<br />"+F[1];var E="<li>"+C+" "+G.deliveryCost+"</li>";A+=E;});jQuery("#deliveryOption").html(A);},buyNowSalesItemInfo:function(C){if(C.salesItems.length>0){if(fromFallBack==true){var A=fallBackUrl.split("?");
var B=new neo.URL(A[0]);B.append({"cc":neo.cc,"lc":neo.lc});jQuery("#js-buy_now a").attr("href",B).trigger("click");fromFallBack=false;}else{SE.Shopping.getSalesItems(C);}}else{jQuery("#fallBackDiv").css({"display":"block"});if(typeof statForPHPTabView==="function"){statForPHPTabView();
}}},getSalesItems:function(C){if(C.salesItems!=undefined&&C.salesItems.length>0){recommendedValue=C.recommendationSetId;var D="";var A="";jQuery.each(C.salesItems,function(G,H){if(G==0){D+="<div class='buy-now-product-beauty-shot'><img class='product-image' src="+H.imageFeatureUrl+"></div>";
D+="<div class='buy-now-product-information'>";D+="<h2><div class='title' style='display:inline'>"+H.title+"</div>";if(H.strikeThroughPrice){D+="<strong><span>"+onSale+"</span></strong>";}D+="</h2><p>"+H.description+"</p>";D+="<div class='bn-buy-now-product-box'><p class='bn-buy-now-product-box-title'><strong>"+whatInBox+"</strong></p><ul>"+SE.Shopping.getWhatInTheBox(H.inTheBox)+"</ul></div><div class='clear-both'></div>";
D+="</div>";D+="<div class='buy-now-promoted-price-holder'>";D+="<strong>"+buyIt+"</strong>";D+="<div class='bn-price'>"+SE.Shopping.splitPriceInfo(H.priceWithCurrency)+"<span class='additional-info'>";if(H.strikeThroughPrice){D+="<span class='original-price'>"+was+" <strike> "+H.strikeThroughPrice+" </strike></span>&nbsp;";
}D+=" ("+addInfo+") </span></div>";D+="<p class='bn-product-status'>"+dispatchDuration+"</p>";D+="<ul class='bn-cart-actions'><li class='quantity'>"+qty+"</li><li class='minus disabled'><a href='javascript:void(0)'></a></li><li class='quantity-field'><input type='text' value='1' readonly='readonly' /></li><li class='plus'><a href='javascript:void(0)'></a></li><li class='add-to-cart'><a href='javascript:void(0)' class='ctaPrimary' rel='add-to-cart' id='"+H.code+"' ><span>"+addToCart+"</span></a></li></ul></div><div class='buy-now-promoted-image-holder'></div>";
}else{jQuery(".bn-recommendations-header").show();A+="<div id=product"+G+" class='bn-other-package'>";A+="<div class='bn-other-package-bs'><img class='product-image' src="+H.imageUrl+"></div>";A+="<h2><div class='title' style='display:inline'>"+H.title+"</div>";
if(H.strikeThroughPrice){A+="<strong><span>"+onSale+"</span></strong>";}A+="</h2><p>"+H.description+"</p>";A+="<div class='bn-buy-now-product-box'>";A+="<p class='bn-buy-now-product-box-title'><strong>"+whatInBox+"</strong></p><ul>"+SE.Shopping.getWhatInTheBox(H.inTheBox)+"</ul></div>";
A+="<div class='buy-now-promoted-price-holder'>";A+="<strong>"+buyIt+"</strong>";A+="<div class='bn-price'>"+SE.Shopping.splitPriceInfo(H.priceWithCurrency)+"<span class='additional-info'>";if(H.strikeThroughPrice){A+="<span class='original-price'>"+was+" <strike> "+H.strikeThroughPrice+" </strike></span>&nbsp;";
}A+=" ("+addInfo+") </span></div>";A+="<p class='bn-product-status'>"+dispatchDuration+"</p>";A+="<ul class='bn-cart-actions'><li class='quantity'>"+qty+"</li><li class='minus disabled'><a href='javascript:void(0)'></a></li><li class='quantity-field'><input type='text' value='1' readonly='readonly' /></li><li class='plus'><a href=''></a></li><li class='add-to-cart'><a href='javascript:void(0)' class='ctaPrimary' id='"+H.code+"' ><span>"+addToCart+"</span></a></li></ul></div><div class='clear-both'></div>";
A+="</div>";}});jQuery("#buy-now-promoted").append(D);jQuery("#product-listing").html(A);if(recommendedValue!=""){var E=getSalesItemUrl+recommendedValue+"&callback=SE.Shopping.getRecommendedItems";var F=document.getElementById("recommendedUrlContainer");var B=new neo.DynamicScript(E);
B.add(F);}else{BuyNowExtrasPresenter.setup();cart.init();}}else{jQuery("#out-of-stock").show();}this.getSalesItemsDone=true;},getRecommendedItems:function(C){if(C.salesItems!=undefined&&C.salesItems.length>0){jQuery(".bn-recommendations-extras-header").show();
jQuery(".bn-extras-carousel").show();var A=1;var B=C.salesItems;for(x=0;x<B.length;x=x+3){var D=jQuery("<div class='page-content-"+A+"'>").appendTo(".bn-extras-carousel-content");D.append(SE.Shopping.buyNowGetSIs(C,x));A++;}if(jQuery(".page-content-2").length>=0){jQuery(".page-content-1").attr("rel","active");
}if(jQuery(".page-content-2").length==0){jQuery(".bn-extras-carousel").addClass("scrollLock");}BuyNowExtrasPresenter.setup();cart.init();}else{BuyNowExtrasPresenter.setup();cart.init();jQuery(".bn-recommendations-extras-header").css({"display":"none"});jQuery(".bn-extras-carousel").hide();
}this.getRecommendedItemsDone=true;},buyNowGetSIs:function(E,G){var B="<ul>";var F=G+2;for(var A=G;A<=F;A++){if(A>E.salesItems.length-1){break;}else{var D=E.salesItems[A];var C=SE.Shopping.fetchTargetUrl(D.cwsExternalId);B+="<li class='bn-extras-carousel-item'  id='bn-extras-carousel-item"+A+"'>";
B+="<span class='imgContainer'><img class='product-image' src="+D.imageUrl+" alt=''/></span>";B+="<h3><a href='"+C+"'>"+D.title+"</a></h3>";B+="<p class='description'>"+(D.description).cut(103,'...<a href="'+C+'">'+readMore+"</a>")+"</p>";B+="<p class='bn-price'>"+SE.Shopping.splitPriceInfo(D.priceWithCurrency)+"<span class='additional-info'> ("+addInfo+") </span></p>";
B+="<p class='add-to-cart recommendedExtras'><a id='"+D.code+"'class='ctaPrimary' href='javascript:void(0)'><span>"+addToCart+"</span></a></p>";B+="</li>";B+="<li class='dividers'></li>";}}return B+"</ul>";},price:function(G){var F={};var D=".";if(G.match(",")){D=",";
}var A=/(\d+)+(.)+(\d+)|(\d+)+(,)+(\d+)|(\d+)/g;var E=G.match(A);var B=E.toString();B=B.split(D);if(B[1]==undefined){B[1]="00";}var C=G.split(E);F.amount=B[0];F.decimal=B[1];F.sign1=C[0];F.sign2=C[1];F.splitter=D;return F;},splitPriceInfo:function(F,B,C){var E="";
var A=C?"*":"";var D=this.price(F.trim());if(!SE.isBlank(B)&&B=="one"){E="<sup>"+D.sign1+"</sup>"+D.amount+"<sup>"+D.splitter+D.decimal+A+D.sign2+"</sup>";}else{E="<span class='currency'>"+D.sign1+"</span><em>"+D.amount+"</em><span class='currency'>"+D.splitter+D.decimal+A+D.sign2+"</span>";
}return E;},productsFromPriceListing:function(A){jQuery.each(A.productsFromPriceListing,function(C,D){var F=D.cwsExternalId.toLowerCase().replace(/\./gi,"-");if((jQuery("."+F).length)>0){var E="";if((jQuery("#product-list").length)>0){url=jQuery("."+F).find(".action-button a").attr("href");
url=url.replace("=overview","=buy_now");var B="<a class='js-buy-now' href='"+url+"'>"+SE.textResource.buyNow+"</a>";}else{var B="";if((jQuery("#compatible-accessories").length)>0){E="<span>"+SE.textResource.from+" </span>";}}jQuery("."+F).find(".info-box-inner").html("<strong>"+E+SE.Shopping.splitPriceInfo(D.fromPriceWithCurrency,"one",true)+"</strong>"+B);
}});},check:function(){var A=(navigator.cookieEnabled)?true:false;if(typeof navigator.cookieEnabled=="undefined"&&!A){document.cookie="gotCookies";A=(document.cookie.indexOf("gotCookies")!=-1)?true:false;}return(A);},initiateCartIcon:function(){var C=jQuery(".shop-cart-btn").children("div.number").html(),A=jQuery(".shopContainer"),B=jQuery(".shop-cart-btn");
B.children("span").css("cursor","pointer");if(C==0){B.children("div.number").hide();A.find("#emptyCart").show();A.find("#qtyCart").hide();B.children("span").css("cursor","auto");}else{if(C==1){B.children("a").addClass("hover-white");B.children("div").addClass("number").show();
A.find("#emptyCart").hide();A.find("#qtyCart").show().children("span.qtyCount").html(C);A.find(".qtyItem").show();A.find(".qtyItems").hide();}else{if((C>=2)&&(C<=99)){B.children("a").addClass("hover-white");B.children("div").addClass("number").show();A.find("#emptyCart").hide();
A.find("#qtyCart").show().children("span.qtyCount").html(C);A.find(".qtyItem").hide();A.find(".qtyItems").show();}else{if(C>=100){B.children("a").addClass("hover-white");B.children("div.number").hide();A.find("#emptyCart").hide();A.find("#qtyCart").show().children("span.qtyCount").html("");
A.find(".qtyItem").hide();A.find(".qtyItems").show();}}}}},fetchTargetUrl:function(B){var C="";var A=new neo.URL("/cws/common/urlgenerator");A.append({"cc":neo.cc,"lc":neo.lc,"externalId":B});jQuery.ajax({type:"GET",async:false,url:A.toString(),beforeSend:function(){},success:function(D){C=D.toString();
}});return C;},ctaCheckout:function(){var D=document.getElementById("CTA_frm");var E=document.getElementById("CTA_div");var C="";if(neo.Cookie.get(neo.cc+neo.lc+"cwscart")!=null&&neo.Cookie.get(neo.cc+neo.lc+"cwscart")!=""){var B=neo.Tools.evalString(neo.Cookie.get(neo.cc+neo.lc+"cwscart"));
for(var A in B){if(B[A].q>0){C=C+"<input type='hidden' name='sku' value='"+A+":"+B[A].q+"'>";}}}E.innerHTML=C;D.submit();},initiateCheckout:function(){var D=document.getElementById("shopping_cart_frm");var E=document.getElementById("sku_div");var C="";if(neo.Cookie.get(neo.cc+neo.lc+"cwscart")!=null&&neo.Cookie.get(neo.cc+neo.lc+"cwscart")!=""){var B=neo.Tools.evalString(neo.Cookie.get(neo.cc+neo.lc+"cwscart"));
for(var A in B){if(B[A].q>0){C=C+"<input type='hidden' name='sku' value='"+A+":"+B[A].q+"'>";}}E.innerHTML=C;D.submit();}},scrollToSupportModule:function(){var A=jQuery("#bn-support-module").offset();window.scrollTo(0,A.top-50);},getWhatInTheBox:function(E){var B="<ul class='buy-now-package-contents'>";
var D="<ul class='buy-now-package-contents-right'>";var C=E.split("|");for(i=0;i<C.length;i++){if(i%2==0){B+="<li>"+C[i]+"</li>";}else{D+="<li>"+C[i]+"</li>";}}B=B+"</ul>";D=D+"</ul>";var A=B+D;return A;}};
