String.prototype.contains=function(A){return this.indexOf(A)!=-1;};function isUserAgent(B){var A=navigator.userAgent.toLowerCase();return A.contains(B);}function isIE(){return isUserAgent("msie");}function isIE6(){return isUserAgent("msie 6");}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/,"");
};String.prototype.endsWith=function(A){return this.indexOf(A)==this.length-A.length;};function isIE5or6(){return isUserAgent("msie 5")||isUserAgent("msie 6");}function isOpera(){return isUserAgent("opera");}function fixPngTransparency(A){if(isIE5or6()){var B=document.getElementById(A);
if(B){B.style.filter=setIeImgStyleFilter(B.src,"image");B.src="/cws/images/spacer.gif";}}}function setIeImgStyleFilter(A,B){return"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='"+B+"')";}var isHBWgallery=false;function getBandwidth(){var A=document.getElementsByTagName("meta");
var B=null;for(i=0;i<A.length;i++){if(A[i].name=="bandwidth"){B=A[i].content;break;}}if(B==null){return false;}else{return B;}}OnLoadHandler.appendFunction("activatePopupsSoon()",true);function activatePopupsSoon(){setTimeout(activatePopups,500);}function activatePopups(){if(document.getElementById){var B=document.getElementsByTagName("a");
for(var A=0;A<B.length;A++){if(B[A].rel=="popup"){B[A].onclick=popup;if(B[A].captureEvents){B[A].captureEvents(Event.CLICK);}}}}}function popup(C){var B="";if(C){B=C.target.href;}if(!C){B=window.event.srcElement.href;}var A="win"+Math.round(Math.random()*1000).toString();
window.open(B,A,"width=400,height=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes");return(false);}OnLoadHandler.appendFunction("activateProductSelect()",true);function activateProductSelect(){if(document.getElementById){var A=document.getElementsByTagName("select");
for(var B=0;B<A.length;B++){if(hasClass(A[B],"productselect")){A[B].onchange=onChangeSubmit;}}}}function onChangeSubmit(B){var A;if(B&&B.value){A=B;}else{A=this;}A.form.submit();return true;}OnLoadHandler.appendFunction("activateDropDowns()",true);function activateDropDowns(){var A=getElementsByClassName("div","dropdown");
if(A.length>0){document.onclick=handleDropDowns;if(document.captureEvents){document.captureEvents(Event.CLICK);}for(i=0;i<A.length;i++){addClass(A[i],"active");}}}function handleDropDowns(A){if(!A){A=window.event;trg=A.srcElement;}else{trg=A.target;}if(trg.nodeName!="BODY"&&trg.nodeName!="HTML"&&trg.nodeName!="A"){if(hasClass(trg.parentNode,"dropdown")&&hasClass(trg.parentNode,"closed")){replaceClass(trg.parentNode,"closed","opened");
A.cancelBubble=true;}else{closeDropDowns();A.cancelBubble=true;}}else{closeDropDowns();}}function closeDropDowns(){var A=getElementsByClassName("div","opened");for(var B=0;B<A.length;B++){replaceClass(A[B],"opened","closed");}}function hasClass(A,B){return A.className&&A.className.search(B)>=0;
}function addClass(B,A){if(!hasClass(B,A)){B.className=(B.className+" "+A);}}function replaceClass(B,C,A){B.className=B.className.replace(C,A);}function replaceClasses(C,D,A){for(var B=0;B<D.length;B++){removeClass(C,D[B]);}addClass(C,A);}function removeClass(A,B){A.className=A.className.replace(B,"");
}function getElementsByClassName(D,A){if(D=="*"){allElems=document.all||document.getElementsByTagName("*");}else{allElems=document.getElementsByTagName(D);}var B=new Array();for(var C=0;C<allElems.length;C++){if(hasClass(allElems[C],A)){B[B.length]=allElems[C];
}}return B;}function findPos(A){var B=curtop=0;if(A.offsetParent){B=A.offsetLeft;curtop=A.offsetTop;while(A=A.offsetParent){B+=A.offsetLeft;curtop+=A.offsetTop;}}return[B,curtop];}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/,"");};function selectNavigation(A){if(A.options[A.selectedIndex].value!="#"&&A.options[A.selectedIndex].value!="-1"){location=A.options[A.selectedIndex].value;
}}function goToProductCatalogPage(E){E=E.substr(1);var C=getCookie("PreferredBandwidth");var B="#";if(C=="low"){B="&";}var D="/cws/products/"+E+"?cc="+getParam("cc")+"&lc="+getParam("lc");if(E=="mobilephones"){E="phones";}if(C!="low"){if(typeof handleHistoryChange=="function"){handleHistoryChange("view="+E,"true");
return ;}}var A=D;document.location.href=A;}function resizeElement(A){if(screen.width<1024){if(document.getElementById(A)){currObj=document.getElementById(A);if(A=="leftnav"){currObj.style.width="156px";}else{if(A=="extracolumn"){currObj.style.display="none";
}else{if(A=="portalFlash"){currObj.style.width="696px";document.body.className+=" lowresolution";}else{currObj.style.width="754px";}}}}}}function resizeElementLowres(A,B){gettempname=getParam("template");tempname=gettempname.substring(0,2);bwCookie=getCookie("PreferredBandwidth");
if(screen.width<1024||(tempname=="pp"&&bwCookie=="low")){if(document.getElementById(A)){currObj=document.getElementById(A);currObj.style.width=B+"px";}}}function writeTopNav(B){var A=createTopNav(B);document.write(A);}function writeTopNavTwo(B){var A=createTopNav(B);
var C=document.getElementById("topnav_flashcontainer");C.innerHTML=A;}function createTopNav(D){var F=new Array();if(D){var G=D;}else{var G=(document.body.className?document.body.className:"default");}var A=null;var E="FFFFFF";if(G!="default"){offStateColor="FFFFFF";
activeLineColor="FFFFFF";E="FFFFFF";}if(G.indexOf("green")!=-1){rollOverColor="FFE878";lineColor="A6D561";A="50C401";if(G.indexOf("small")!=-1){A="7FC31C";}if(G.indexOf("solid")!=-1){A="7FC31C";}}else{if(G.indexOf("orange")!=-1){rollOverColor="FFE878";lineColor="FFAB51";
A="FF7F00";if(G.indexOf("small")!=-1){A="FF7C00";}}else{if(G.indexOf("yellow")!=-1){offStateColor="000000";rollOverColor="FFFFFF";lineColor="D69C14";A="FFB700";if(G.indexOf("small")!=-1){A="FFC801";}if(G.indexOf("solid")!=-1){A="FFBF00";}}else{if(G.indexOf("red")!=-1){rollOverColor="FF0000";
lineColor="B8564E";A="B40500";if(G.indexOf("small")!=-1){A="C81502";}if(G.indexOf("solid")!=-1){A="CC0000";}}else{if(G.indexOf("purple")!=-1){rollOverColor="CC66FF";lineColor="AE78C2";A="973CB1";if(G.indexOf("small")!=-1){A="9B399C";}if(G.indexOf("solid")!=-1){A="69004B";
}}else{if(G.indexOf("blue")!=-1){rollOverColor="9b9bd1";offStateColor="FFFFFF";lineColor="A3A3A3";activeLineColor="FFFFFF";A="9b9bd1";}else{if(G.indexOf("black")!=-1){offStateColor="999999";rollOverColor="FFFFFF";lineColor="666666";E="000000";headerColor="#7F7F7F";
activeLineColor="FFFFFF";}else{if(G.indexOf("white")!=-1){offStateColor="FFFFFF";rollOverColor="007581";lineColor="90D2D0";E="000000";headerColor="#7F7F7F";activeLineColor="FFFFFF";}else{offStateColor="000000";rollOverColor="33832D";lineColor="666666";E="FFFFFF";
activeLineColor="BDDAB1";}}}}}}}}if(A){E=A;}F[F.length]="xmlLocation="+escape(xmlLocation);F[F.length]="currTopLoc="+escape(currTopLoc);F[F.length]="currSubLoc="+escape(currSubLoc);F[F.length]="offStateColor="+escape(offStateColor);F[F.length]="rollOverColor="+escape(rollOverColor);
F[F.length]="lineColor="+escape(lineColor);F[F.length]="bgColor="+escape(E);if(typeof (activeLineColor)!="undefined"){F[F.length]="activeLineColor="+escape(activeLineColor);}F[F.length]="cc="+escape(cc);F[F.length]="lc="+escape(lc);F[F.length]="regionname="+escape(regionname);
F[F.length]="embedfonts="+embedFonts();F[F.length]="clipAlign="+clipAlign;var B=navigator.appName.indexOf("Microsoft")!=-1;F[F.length]="ismsie="+B;if(typeof (flashVersion)!="undefined"){if(flashVersion<7){codebase=' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"';
}}var C="topnavflash";if(D){C+=D;}return createFlashTags(topnavSwf,"52","100%",F.join("&"),"left",wmode,"none","#"+E,C);}function getParam(E){var C=document.location.href;var B=C.indexOf("#");if(B!=-1){C=C.substr(0,B);}var A="";var F=new Array();if(C.indexOf("?")!=-1){A=C.split("?");
A=A[1];}if(A.indexOf("&")!=-1){F=A.split("&");}else{if(A.indexOf("=")!=-1){F[F.length]=A;}}for(var D=0;D<F.length;D++){param=F[D].split("=");if(param[0]==E){return param[1];}}return"";}function getBasket(){var B=new RegExp("basket"+"=([^;]+)");var A=B.exec(document.cookie);
return(A!=null)?unescape(A[1]):null;}function setBasket(C){var B=new Date();var A=new Date(B.getTime()+0.5*3600000);document.cookie="basket"+"="+escape(C)+"; expires="+A.toGMTString();}var newWindow;function popupPage(E,B){var A;var D;if(!B){B="";}if(!E){E=1;
}if(E==1){D=420;A=500;}else{if(E==2){D=420;A=700;}else{if(E==3){D=600;A=500;}else{if(E==4){D=660;A=420;}else{if(E==5){D=810;A=492;}else{if(E==6){D=600;A=570;}else{if(E==7){D=636;A=630;}else{if(E==8){D=750;A=750;}}}}}}}}var C;C="screenX="+D+",screenY="+A+",width="+D+",height="+A+",resizable=0"+",scrollbars=yes"+",status=no"+",menubar=no"+",location=no";
newWindow=window.open(B,"popup",C);newWindow.focus();newWindow;}function popUpWithArguments(I,G,E,K,C,H,L,N,J,F,M){E=(E==undefined?"100":E);K=(K==undefined?"100":K);C=(C==undefined?"yes":C);H=(H==undefined?"no":H);L=(L==undefined?"no":L);N=(N==undefined?"no":N);
J=(J==undefined?"no":J);F=(F==undefined?"no":F);M=(M==undefined?"no":M);var B=I;var A=G;var D="left="+E+",top="+K+",resizable="+C+",scrollbars="+H+",toolbar="+L+",location="+N+",menubar="+J+",status="+F+",directories="+M;window.open(B,A,D);}function submitSearch(A){document.cookie="seSearch"+"="+escape(A.q_input.value);
setTimeout(function(){A.submit();},1000);}function embedFonts(){var C=getParam("lc");var B=["el","bg","hk","ar","zh","zs","tw","id","th","vi","sk","ru","gr","he","uk","tr","sr","si","ro","pl","hu","he","hr","cs","sl","lt"];for(var A in B){if(C==B[A]){return false;
}}return true;}function textAlign(){var B=getParam("lc");var C=["ar","he"];for(var A in C){if(B==C[A]){return"right";}}return"left";}function writeFlashTags(F,I,C,G,H,E,D,A,B){document.write(createFlashTags(F,I,C,G,H,E,D,A,B));}function createFlashTags(G,P,C,K,O,E,D,A,B){E=(E==undefined?"opaque":E);
D=(D==undefined?"false":D);O=(O==undefined?"false":O);B=(B==undefined?"false":B);K=(K==undefined?"":K);A=(A==undefined?"":A);var J=getFlashVersion(10);var H="";var F=navigator.appVersion.toLowerCase().indexOf("msie");var N=navigator.appVersion.toLowerCase().indexOf("safari");
if(B!=false){var M='id="'+B+'"';}else{var M="";}var L="";if(F!=-1){L='classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';}var I="";if(flashVersion==-1){I=' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"';
}H+='<object type="application/x-shockwave-flash" '+L+" "+I+' data="'+G+'" width="'+C+'" height="'+P+'" '+M+">";H+='	<param name="movie" value="'+G+'" />';H+='	<param name="menu" value="'+D+'" />';H+='	<param name="flashVars" value="'+K+'" />';H+='	<param name="wmode" value="'+E+'" />';
if(A!=""&&E!="transparent"){H+='	<param name="bgcolor" value="'+A+'" />';}H+="</"+"object>";return H;}function enablePngImages(){if(navigator.appVersion.toString().indexOf("MSIE 6")>=0){var B=document.getElementsByTagName("IMG");for(i=0;i<B.length;i++){if(B[i].src.toLowerCase().lastIndexOf(".png")!=-1&&B[i].src.toLowerCase().lastIndexOf("format=jpg")==-1){B[i].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+B[i].src+"', sizingMethod='auto')";
B[i].src="/cws/images/cws/see_the_phone_spacer.gif";}if(B[i].currentStyle.backgroundImage.lastIndexOf(".png")!=-1){var A=B[i].currentStyle.backgroundImage.substring(5,B[i].currentStyle.backgroundImage.length-2);B[i].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='crop')";
B[i].style.backgroundImage="url(/cws/images/cws/see_the_phone_spacer.gif)";}}}}function enableBgPngImages(B){for(i=0;i<B.length;i++){if(B[i].currentStyle.backgroundImage.lastIndexOf(".png")!=-1){var A=B[i].currentStyle.backgroundImage.substring(5,B[i].currentStyle.backgroundImage.length-2);
B[i].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='crop')";B[i].style.backgroundImage="url(/cws/images/cws/see_the_phone_spacer.gif)";}}}function filterSimilarProducts(F,B,E,J,H,I){if(!I){I="";}var G=E+F;var A=B.getElementsByTagName("DIV");
var D=-1;if(A.length<=1){B.innerHTML=I;}else{for(i=0;i<A.length;i++){A[i].style.display="none";}for(i=0;i<A.length;i++){if(A[i].id==G){D=i;break;}}if(D==-1){B.parentNode.style.display="none";return false;}if(A.length<H){H=A.length;}var C=0;if(D<H){C=0;}else{if(D+H>A.length){C=A.length-H-1;
}else{C=D-(Math.ceil(H/2));}}for(i=C;i<(C+H+1);i++){if(A[i].id!=G){A[i].style.display="block";}}}}function replacePhoneName(D,B,A){for(var C=0;C<B.length;C++){newHTML=D.innerHTML.replace(B[C],A[C]);D.innerHTML=newHTML;}}function set3MonthCookie(A,H){var C=new Date();
var F=C.getUTCFullYear();var E=C.getUTCMonth()+1;var I=E+3;var G=C.getUTCDay();if(I>12){var B=I%12;I=E+B;F+=1;}I-=1;var D=new Date(F,I,G);setCookie(A,H,D);}function openBrWindow(C,A,B){window.open(C,A,B);}function isDefined(A){return(typeof A!="undefined");
}var flashVersion=0;function getFlashVersion(C){var F=-1;var B=0;var E=(C==null)?10:C;var D=navigator.userAgent.toLowerCase();if(navigator.plugins!=null&&navigator.plugins.length>0){var A=navigator.plugins["Shockwave Flash"];if(typeof A=="object"){var I="";
if(I=A.description.split(".")){var J=I[0];var H=J.lastIndexOf(" ")+1;var G=J.length;B=J.substring(H,G)*1;}}}else{if(D.indexOf("msie")!=-1){B=getIEFlashVersion();}else{B=F;}}return B;}function getIEFlashVersion(){var flash_versions=10;var version;var axo;var e;
for(x=2;x<=flash_versions;x++){try{axo=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+x+"');");if(axo){version=x;}}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";
version=axo.GetVariable("$version");}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version");}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0";
}catch(e){}}if(!version){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11";}catch(e){version=-1;}}return version;}var flashVersion_DONTKNOW=-1;function redirTo(A){A=A.replace(/&amp;/g,"&");document.location.href=A;}function dcsTraceLink(B,A,C,D){dcs.dcsTraceLink(B,A,C,D);
}function calculateDownloadTime(B,C){var A="$(GEO{'throughput'})".toLowerCase();if(A.indexOf("throughput")!=-1){A=C;}if(B!=""){B=B*8192;if(A=="vhigh"){document.write(Math.ceil(B/(1000*60)));}else{if(A=="high"){document.write(Math.ceil(B/(300*60)));}else{if(A=="med"){document.write(Math.ceil(B/(128*60)));
}else{if(A=="low"){document.write(Math.ceil(B/(56*60)));}else{document.write("1");}}}}}else{document.write("1");}}function isFunction(A){if(typeof A=="function"||typeof A=="object"){return true;}return false;}function loadResource(E,C,D,G,A,F){var B=document.createElement(E);
B.setAttribute("src",D);B.setAttribute("type",C);B.setAttribute("id",G);if(typeof F!="undefined"){if(F.indexOf("(")==-1){F+="()";}B.onload=setTimeout(F,100);}A.appendChild(B);return true;}function shareItem(B,A,D,C){this.name=B;this.url=A;this.encoding=D;this.icon=C;
}function showSocialSharingItems(C,I){el=document.getElementById(C);textArr=I[I.length-1];var H=document.createTextNode(textArr[0]);var D=document.createTextNode(textArr[1]);var K=document.createElement("B");K.appendChild(document.createTextNode(textArr[2]));
var A=document.createElement("I");A.appendChild(document.createTextNode(textArr[3]));var N=textArr[4];var B=N.url;B=B.replace("&amp;","&");var M=document.createElement("a");M.setAttribute("href",B);M.setAttribute("title",N.label);M.innerHTML=N.label;M.className="link";
M.setAttribute("target","_blank");el.appendChild(document.createElement("BR"));el.appendChild(document.createElement("BR"));var O=document.createElement("Div");O.className="social_sharing_outer";O.id="social_sharing_outer";var G=document.createElement("h2");
G.appendChild(H);G.className="colored";O.appendChild(G);O.appendChild(document.createElement("BR"));O.appendChild(D);O.appendChild(document.createElement("BR"));O.appendChild(document.createElement("BR"));O.appendChild(document.createElement("BR"));for(i=0;
i<I.length;i++){if(I[i].name){div=document.createElement("Div");div.className="floatleft social_sharing_item";innerDiv1=document.createElement("Div");innerDiv1.className="floatleft";innerDiv1.style.width="52px";innerDiv2=document.createElement("Div");innerDiv2.className="floatleft";
innerDiv2.style.marginTop="9px";innerDiv2.style.width="125px";var F=document.createElement("IMG");var L=document.createElement("A");var J=document.createElement("A");var E=document.createTextNode(I[i].name);F.setAttribute("src",I[i].icon);F.setAttribute("alt",I[i].name);
F.style.height="36px";F.style.width="36px";F.style.marginRight="13px";var P=I[i].url;if(I[i].encoding=="URLENCODING"){P=P.replace("<pageName>",escape(document.location.href));P=P.replace("&lt;pageName&gt;",escape(document.location.href));}else{P=P.replace("<pageName>",document.location.href);
P=P.replace("&lt;pageName&gt;",document.location.href);}L.setAttribute("href",P);L.setAttribute("title",I[i].name);L.setAttribute("target","_blank");L.appendChild(F);L.style.textDecoration="none";if(isIE()){L.onclick=(function(Q){return function(){void (0);
};})(I[i].name);}else{L.setAttribute("onclick",statCall);}J.setAttribute("href",P);J.setAttribute("title",I[i].name);J.setAttribute("target","_blank");J.appendChild(document.createTextNode(" "));J.appendChild(E);J.className="link";J.appendChild(document.createElement("BR"));
if(isIE()){J.onclick=(function(Q){return function(){void (0);};})(I[i].name);}else{J.setAttribute("onclick",statCall);}innerDiv1.appendChild(L);innerDiv2.appendChild(J);div.appendChild(innerDiv1);div.appendChild(innerDiv2);O.appendChild(div);}}div=document.createElement("Div");
div.style.clear="both";O.appendChild(div);O.appendChild(document.createElement("BR"));O.appendChild(document.createElement("BR"));O.appendChild(K);O.appendChild(document.createElement("BR"));O.appendChild(A);O.appendChild(M);O.appendChild(document.createElement("BR"));
el.appendChild(O);}function setPageTitle(A){document.title=A;}