String.prototype.trim=function(){return this.replace(/^\s+|\s+$/,"");};String.prototype.contains=function(A){return this.indexOf(A)!=-1;};String.prototype.endsWith=function(A){return this.indexOf(A)==this.length-A.length;};function isUserAgent(B){var A=navigator.userAgent.toLowerCase();
return A.contains(B);}function isIE(){return isUserAgent("msie");}function isIE6(){return isUserAgent("msie 6");}function isIE5or6(){return isUserAgent("msie 5")||isUserAgent("msie 6");}function isOpera(){return isUserAgent("opera");}function isFunction(A){if(typeof A=="function"||typeof A=="object"){return true;
}return false;}var funct="";function callDelayedFunction(A){if(isFunction(A)){setTimeout(A,10);}else{setTimeout(callDelayedFunction,100,A);}}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;}}function setIeImgStyleFilter(A,B){return"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='"+B+"')";}function isPng(A){if(A.toLowerCase().lastIndexOf(".png")!=-1||A.toLowerCase().lastIndexOf("format=png")!=-1){return true;
}else{return false;}}function fixPngTransparency(A,C){if(isIE5or6()||C!=undefined){var B=document.getElementById(A);if(B){B.style.filter=setIeImgStyleFilter(B.src,"image");B.src="/cws/images/spacer.gif";}}}function fixPngInIe6(){if(isIE5or6()){var A=document.getElementsByTagName("img");
for(var C=0;C<A.length;C++){if(A[C].src.indexOf(".png")!=-1){var B=A[C].src;A[C].src="/cws/images/spacer.gif";A[C].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+B+"', sizingMethod='crop')";}}}}function resizeElement(A){if(screen.width<1024){var B=document.getElementById(A);
if(B){if(A=="leftnav"){B.style.width="156px";}else{if(A=="extracolumn"){B.style.display="none";}else{B.style.width="754px";}}}}}function resizeElementLowres(A,B){}function writeTopNav(B){var A=createTopNav(B);document.write(A);}function createTopNav(C){if(C){var F=C;
}else{var F=(document.body.className?document.body.className:"default");}var A=null;var D="FFFFFF";if(F!="default"){offStateColor="FFFFFF";activeLineColor="FFFFFF";D="FFFFFF";}if(F.contains("green")){if(F.contains("low")){offStateColor="333333";rollOverColor="58aa29";
lineColor="333333";activeLineColor="58aa29";}else{rollOverColor="FFE878";lineColor="A6D561";if(F.contains("small")){A="7FC31C";}if(F.contains("solid")){A="7FC31C";}else{A="50C401";}}}else{if(F.contains("orange")){if(F.contains("low")){offStateColor="333333";
rollOverColor="eb7407";lineColor="333333";activeLineColor="eb7407";}else{if(F.contains("corporate")){offStateColor="333333";rollOverColor="eb7407";lineColor="eb7407";activeLineColor="ffd402";}else{rollOverColor="FFE878";lineColor="FFAB51";A="FF7F00";if(F.contains("small")){A="FF7C00";
}}}}else{if(F.contains("yellow")){if(F.contains(" low")){offStateColor="333333";rollOverColor="eb7407";lineColor="333333";activeLineColor="eb7407";}else{offStateColor="000000";rollOverColor="FFFFFF";lineColor="D69C14";if(F.contains("small")){A="FFC801";}else{if(F.contains("solid")){A="FFBF00";
}else{A="FFB700";}}}}else{if(F.contains("red")){if(F.contains("low")){offStateColor="333333";rollOverColor="a01c22";lineColor="333333";activeLineColor="a01c22";}else{rollOverColor="FF0000";lineColor="B8564E";if(F.contains("small")){A="C81502";}else{if(F.contains("solid")){A="CC0000";
}else{A="B40500";}}}}else{if(F.contains("purple")){if(F.contains("low")){offStateColor="333333";rollOverColor="6b2c7c";lineColor="333333";activeLineColor="6b2c7c";}else{if(F.contains("corporate")){offStateColor="333333";rollOverColor="6b2c7c";lineColor="6b2c7c";
activeLineColor="ce3182";}else{rollOverColor="CC66FF";lineColor="AE78C2";if(F.contains("small")){A="9B399C";}else{if(F.contains("solid")){A="69004B";}else{A="973CB1";}}}}}else{if(F.indexOf("blue")!=-1){if(F.contains("low")){rollOverColor="172A88";offStateColor="222222";
lineColor="222222";activeLineColor="172A88";A="9b9bd1";}else{rollOverColor="9b9bd1";offStateColor="FFFFFF";lineColor="A3A3A3";activeLineColor="9b9bd1";A="9b9bd1";}}else{if(F.contains("black")){offStateColor="999999";rollOverColor="FFFFFF";lineColor="666666";
D="000000";headerColor="#7F7F7F";activeLineColor="FFFFFF";}else{if(F.contains("localhomepage")){offStateColor="FFFFFF";rollOverColor="faeb93";lineColor="a3a3a3";D="FEFFFF";headerColor="#7F7F7F";activeLineColor="faeb93";}else{offStateColor="333333";rollOverColor="33832D";
lineColor="666666";D="000000";activeLineColor="BDDAB1";}}}}}}}}if(A){D=A;}var E=new Array();E.push("xmlLocation="+escape(xmlLocation));E.push("currTopLoc="+escape(currTopLoc));E.push("currSubLoc="+escape(currSubLoc));E.push("offStateColor="+escape(offStateColor));
E.push("rollOverColor="+escape(rollOverColor));E.push("lineColor="+escape(lineColor));E.push("bgColor="+escape(D));if(typeof (activeLineColor)!="undefined"){E.push("activeLineColor="+escape(activeLineColor));}E.push("cc="+escape(cc));E.push("lc="+escape(lc));
E.push("regionname="+escape(regionname));E.push("embedfonts="+embedFonts());E.push("clipAlign="+clipAlign);E.push("ismsie="+isIE());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 B="topnavflash";if(C&&C.indexOf(" ")==-1){B+=C;}return createFlashTags(topnavSwf,"52","100%",E.join("&"),"left",wmode,"none","#"+D,B);}function getParam(E){var C=document.location.href;var B=C.indexOf("#");if(B!=-1){C=C.substr(0,B);}var A="";var F=new Array();
if(C.contains("?")){A=C.split("?");A=A[1];}if(A.contains("&")){F=A.split("&");}else{if(A.contains("=")){F.push(A);}}for(var D=0;D<F.length;D++){param=F[D].split("=");if(param[0]==E){return param[1];}}return"";}var newWindow;function openBrWindow(C,A,B){window.open(C,A,B);
}function submitSearch(A){document.cookie="seSearch"+"="+escape(A.q_input.value);setTimeout(function(){A.submit();},1000);}function submitSearchAndSubmit(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(F,N,C,J,M,E,D,A,B){E=(E==undefined?"opaque":E);D=(D==undefined?"false":D);M=(M==undefined?"false":M);B=(B==undefined?"false":B);
J=(J==undefined?"":J);A=(A==undefined?"":A);var I=getFlashVersion(10);var G="";if(B!=false){var L='id="'+B+'"';}else{var L="";}var K="";if(isIE()){K='classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';}var H="";if(flashVersion==-1){H=' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"';
}G+='<object type="application/x-shockwave-flash" '+K+" "+H+' data="'+F+'" width="'+C+'" height="'+N+'" '+L+">";G+='	<param name="movie" value="'+F+'" />';G+='	<param name="menu" value="'+D+'" />';G+='	<param name="flashVars" value="'+J+'" />';G+='	<param name="wmode" value="'+E+'" />';
if(A!=""&&E!="transparent"){G+='	<param name="bgcolor" value="'+A+'" />';}G+="</"+"object>";return G;}function enablePngImages(D){D=D||"auto";if(isIE5or6()){var C=document.getElementsByTagName("IMG");for(i=0;i<C.length;i++){var A=C[i];if(isPng(A.src)){A.style.filter=setIeImgStyleFilter(C[i].src,D);
A.src="/cws/images/cws/see_the_phone_spacer.gif";}if(isPng(A.currentStyle.backgroundImage)){var B=A.currentStyle.backgroundImage.substring(5,C[i].currentStyle.backgroundImage.length-2);B.style.filter=setIeImgStyleFilter(A,"crop");B.style.backgroundImage="url(/cws/images/cws/see_the_phone_spacer.gif)";
}}}}OnLoadHandler.appendFunction("enablePngImages()",true);var flashVersion=0;function getFlashVersion(F){var E=-1;var B=0;var D=(F==null)?10:F;if(navigator.plugins!=null&&navigator.plugins.length>0){var A=navigator.plugins["Shockwave Flash"];if(typeof A=="object"){var C="";
if(C=A.description.split(".")){B=(C[0].substring((C[0].length-1),C[0].length))*1;}}}else{if(isIE()){B=getIEFlashVersion();}else{B=E;}}return B;}function getIEFlashVersion(){var swfString="ShockwaveFlash.ShockwaveFlash";var flash_versions=10;var version;var axo;
var e;for(x=2;x<=flash_versions;x++){try{axo=eval("new ActiveXObject('"+swfString+"."+x+"');");if(axo){version=x;}}catch(e){}}if(!version){try{axo=new ActiveXObject(swfString+".6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");
}catch(e){}}if(!version){try{axo=new ActiveXObject(swfString+".3");version=axo.GetVariable("$version");}catch(e){}}if(!version){try{axo=new ActiveXObject(swfString+".3");version="WIN 3,0,18,0";}catch(e){}}if(!version){try{axo=new ActiveXObject(swfString);version="WIN 2,0,0,11";
}catch(e){version=-1;}}return version;}var flashVersion_DONTKNOW=-1;function scalePage(){pageheight=document.documentElement.clientHeight;contentheight=document.getElementById("content").offsetHeight;if(contentheight<pageheight){document.getElementById("footerspacer").style.height=(pageheight-contentheight)+"px";
}}function goToProductCatalogPage(D){D=D.substr(1);var B=getCookie("PreferredBandwidth");var E="#";if(B=="low"){E="&";}var C="/cws/products/"+D+"?cc="+getParam("cc")+"&lc="+getParam("lc");if(D=="mobilephones"){D="phones";}if(B!="low"){if(typeof handleHistoryChange=="function"){handleHistoryChange("view="+D,"true");
return ;}}var A=C;document.location.href=A;}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];}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=790;A=492;}else{if(E==6){D=600;A=570;}else{if(E==7){D=636;A=630;}}}}}}}var C;C="screenX="+D+",screenY="+A+",width="+D+",height="+A+",left=0,top=0"+",resizable=true"+",scrollbars=yes"+",status=no"+",menubar=no"+",location=no";
newWindow=window.open(B,"popup",C);newWindow.focus();newWindow;}function dcsTraceLink(B,A,C,D){dcs.dcsTraceLink(B,A,C,D);}function calculateDownloadTime(B,C,D){var A="$(GEO{'throughput'})".toLowerCase();if(A.indexOf("throughput")!=-1){A=C;}if(B!=""){if(A=="vhigh"){D.innerHTML=(Math.ceil(B/(1000*60)));
}else{if(A=="high"){D.innerHTML=(Math.ceil(B/(300*60)));}else{if(A=="med"){D.innerHTML=(Math.ceil(B/(128*60)));}else{if(A=="low"){D.innerHTML=(Math.ceil(B/(56*60)));}else{D.innerHTML=("1");}}}}}else{D.innerHTML=("1");}}function submitRequest(url){var xhr;try{xhr=new ActiveXObject("Msxml2.XMLHTTP");
}catch(e){try{xhr=new ActiveXObject("Microsoft.XMLHTTP");}catch(e2){try{xhr=new XMLHttpRequest();}catch(e3){xhr=false;}}}xhr.onreadystatechange=function(){if(xhr.readyState==4){if(xhr.status==200){var div=document.getElementById("dynamic_content");div.innerHTML=xhr.responseText;
var allscript=div.getElementsByTagName("script");for(var i=0;i<allscript.length;i++){eval(allscript[i].text);}}else{if(document.ajax){document.ajax.dyn="Error code "+xhr.status;}}}};xhr.open("GET",url,true);xhr.send(null);}function openExplorePanel(A){document.getElementById("open_explorer_link").style.display="none";
document.getElementById("explorelist").style.height="auto";document.getElementById("dynamic_content").innerHTML='<br /><br /><center><img src="/cws/images/cws/gallery_loader_lite.gif" /></center>';submitRequest(A);}function closeExplorePanel(){document.getElementById("dynamic_content").innerHTML="";
document.getElementById("open_explorer_link").style.display="block";}function SearchFirstElementWithClass(C,A){allElems=document.getElementsByTagName(C);for(var B=0;B<allElems.length;B++){if(allElems[B].id!="frame_container"&&allElems[B].className.contains(A)){return allElems[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);}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 popupPageSizeWidth(B,A,C){popupPageSize(C,A,B);}function popupPageSize(D,A,B){if(!B){B="";}var C;C="screenX="+D+",screenY="+A+",width="+D+",height="+A+",left=0,top=0"+",resizable=true"+",scrollbars=yes"+",status=no"+",menubar=no"+",location=no";
newWindow=window.open(B,"popup",C);newWindow.focus();newWindow;}function calculateDownloadTime(B,D){var A="$(GEO{'throughput'})".toLowerCase();if(A.contains("throughput")){A=D;}var C=1;if(B!=""){B=B*8192;if(A=="vhigh"){C=Math.ceil(B/(1000*60));}else{if(A=="high"){C=Math.ceil(B/(300*60));
}else{if(A=="med"){C=Math.ceil(B/(128*60));}else{if(A=="low"){C=Math.ceil(B/(56*60));}}}}}document.write(C);}function calculateDownloadTimeForElem(B,C,D){var A="$(GEO{'throughput'})".toLowerCase();if(A.indexOf("throughput")!=-1){A=C;}if(B!=""){if(A=="vhigh"){D.innerHTML=(Math.ceil(B/(1000*60)));
}else{if(A=="high"){D.innerHTML=(Math.ceil(B/(300*60)));}else{if(A=="med"){D.innerHTML=(Math.ceil(B/(128*60)));}else{if(A=="low"){D.innerHTML=(Math.ceil(B/(56*60)));}else{D.innerHTML=("1");}}}}}else{D.innerHTML=("1");}}function hasClass(A,B){return A.className&&A.className.search(B)>=0;
}