function submitSupportSearch(A){document.cookie="seSupportSearch"+"="+encodeURI(A.searchtextbox.value)+"; PATH=/";setTimeout(function(){A.submit();},1000);}function submitSearchByEnter(B){var A=0;A=B.keyCode;if(A==13){updatesearchcookie();submitform(1);}}function updatesearchcookie(){var A=null;
if(typeof (searchform)=="undefined"){A=document.getElementById("keywords").value;}else{A=searchform.keywords.value;}document.cookie="seSupportSearch"+"="+escape(A)+"; PATH=/";}function checkKeywords(){var C=null;if(typeof (searchform)=="undefined"){C=document.getElementById("keywords").value;
}else{C=searchform.keywords.value;}if(C==""){document.getElementById("nokeywords").style.display="block";return"";}C=C.toLowerCase();var B=C.split(" ");for(var D=0;D<B.length;D++){for(var A=0;A<productlist.length;A++){var E=productlist[A];if(E.indexOf(B[D])!=-1){return E;
}}}return"";}function submitByEnter(B){var A=0;A=B.keyCode;if(A==13){submitform(1);}}function donotsubmitByEnter(B){var A=0;A=B.keyCode;if(A==13){return false;}}function openPhoneSelector(A){window.open(A,"PhoneSelectionPage","width=850,height=500,menubar=no,status=no,scrollbars=yes,resizable=no");
}function openPhoneSelectorWProduct(A,B){A=formatURL(A);A=A+"&producttype="+B;window.open(A,"PhoneSelectionPage","width=850,height=500,menubar=no,status=no,scrollbars=yes,resizable=no");}function formatURL(B){var A=B.indexOf("?");var D=getCookie("cc")==""?getCookie("cc"):"gb";
var C=getCookie("lc")==""?getCookie("lc"):"en";if(A==-1){B=B+"?cc="+D+"&lc="+C;}return B;}function openPhoneSelectorWCategory(A){window.open(A,"PhoneSelectionPage","width=850,height=500,menubar=no,status=no,scrollbars=yes,resizable=no");}function setSupportCookieAndClosePopup(A,B){setSeSupportCookie(A,B);
opener.appendPhone();self.close();}function setSupportCookie(A,B){A=A.replace(/ /g,"");setSeSupportCookie(A,B);appendPhone();}function deselectSupportPhone(B,A){if(B.indexOf("search")>-1){clearSeSupportCookie("",A);document.searchform.action=B;document.searchform.submit();
}else{clearSeSupportCookie("",A);appendPhoneToUrl(B,"");location=B;}}function openNoSupportAndClosePopup(A){clearSeSupportCookie("",getCookieName());opener.location=A;self.close();}function appendProductToUrl(D,C){var B=getCookie(C);if(B){if(isNaN(B)){appendPhoneToUrl(D,B.toLowerCase());
}else{B=urlsegmentbyid[B];appendPhoneToUrl(D,B.toLowerCase());}return ;}if(C=="SeSupportID"){var A=getCookie("SeSupportId");if(A!=null){B=urlsegmentbyid[A];appendPhoneToUrl(D,B.toLowerCase());}}}function checkToAppendPhone(B){var A=getCookie(B);if(location.href.toLowerCase().indexOf(A)<0){appendPhone();
}}function postSearchForm(G,E,C){var A=getCookie(getCookieName());A=A.toLowerCase();var D=E.indexOf("?");var I;var F;if(D!=-1){I=E.substring(0,D);F=E.substring(D);}else{I=E;F="";}var H=I.length;while(I.charAt(H-1)=="/"){I=I.substring(0,H-1);}var B;if(!A){B=location.protocol+"//"+location.host+I+F+location.hash;
}else{B=location.protocol+"//"+location.host+I+"/"+A+F+location.hash;}G.action=B;setTimeout(function(){G.submit();},1000);}function appendPhoneToUrl(A,E){if(A.indexOf(E)>=0){return ;}var B=A.indexOf("?");var G;var F;if(B!=-1){G=A.substring(0,B);F=A.substring(B);
}else{G=A;F="";}var C=G.length;while(G.charAt(C-1)=="/"){G=G.substring(0,C-1);}var D;if(!E){D=location.protocol+"//"+location.host+G+F+location.hash;}else{D=location.protocol+"//"+location.host+G+"/"+E+F+location.hash;}if(location!=D){location=D;}}function findPosX(A){var B=0;
if(A.offsetParent){while(A.offsetParent){B+=A.offsetLeft;A=A.offsetParent;}}else{if(A.x){B+=A.x;}}return B;}function findPosY(B){var A=0;if(B.offsetParent){while(B.offsetParent){A+=B.offsetTop;B=B.offsetParent;}}else{if(B.y){A+=B.y;}}return A;}function ShowNewsInfoLayer(A,C,D,H,G,K){var J=document.getElementById("newstooltip");
J.style.display="block";var B=document.getElementById(A);var F=findPosY(B)+13;J.style.top=F+"px";J.style.left=findPosX(B)+"px";var I=document.getElementById("hlNewsLayer");I.href="#";I.onclick=function(){suzopopup.openLayer(D,H,G,K);};var E=document.getElementById("litDesc");
E.innerHTML=C;setTimeout("var tooltip = document.getElementById('newstooltip'); tooltip.style.display = 'none'",3000);}function ShowInfoLayer(A,K,E,F,I){var J=document.getElementById("tooltip");J.style.display="block";var H=document.getElementById(K);J.style.top=findPosY(H)+"px";
J.style.left=findPosX(H)+"px";var B=document.getElementById("productlink");var G=document.getElementById("productzone");if(E==""){G.style.display="none";}else{G.style.display="block";B.href=E;}var C=document.getElementById("supportlink");var D=document.getElementById("supportzone");
if(C==""){D.style.display="none";}else{D.style.display="block";C.href="javascript:setSupportCookie('"+A+"','"+I+"'); location = '"+F+"'";}setTimeout("var tooltip = document.getElementById('tooltip'); tooltip.style.display = 'none'",4000);}function ToggleDiv(B){var A=document.getElementById(B);
if(A.style.display=="block"){A.style.display="none";}else{A.style.display="block";}}function mouseY(A){if(A.pageY){return A.pageY;}else{if(A.clientY){return A.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);
}else{return null;}}}function ShowProductLayer(B,E,I,C){document.getElementById("enlargeproduct").style.display="block";var H=document.getElementById(E);var L=document.getElementById("enlargeitem_container");L.style.top=getCurrentYPos()+"px";document.getElementById("productimage").src=I;
var G=document.getElementById("productheader");var F=document.getElementById("productlinks");G.innerHTML="";F.innerHTML="";for(var A=0;A<B.length;A++){G.innerHTML=G.innerHTML+E[A]+"<br/>";var K="<a href=\"javascript: setSupportCookieAndClosePopup('"+B[A]+'\', getCookieName());" title="List item" >'+C+" "+E[A]+"</a><br/>";
F.innerHTML=F.innerHTML+K;}var D=document.getElementById("otherphone");var J=findPosY(D)+200;document.getElementById("enlargeitem").style.height=J+"px";}function getCurrentYPos(){if(document.body&&document.body.scrollTop){return document.body.scrollTop;}if(document.documentElement&&document.documentElement.scrollTop){return document.documentElement.scrollTop;
}if(window.pageYOffset){return window.pageYOffset;}return 0;}function HideProductLayer(){document.getElementById("enlargeproduct").style.display="none";}function HideAllAccessoriesFAQs(){for(var A=1;A<divCount;A++){var C="divFAQBody"+A;var B=document.getElementById(C);
B.style.display="none";}}function ShowAllAccessoriesFAQs(){for(var A=1;A<divCount;A++){var C="divFAQBody"+A;var B=document.getElementById(C);B.style.display="block";}}OnLoadHandler.appendFunction("activateProductSearchDelay()",true);function activateProductSearchDelay(){setTimeout(activateProductSearch,500);
}var searchErrorText="";var ajaxTargetElement;var ajaxQuery="";function activateProductSearch(){if(document.getElementById){var C=0;var B=document.getElementsByTagName("input");for(var A=0;A<B.length;A++){if(hasClass(B[A],"productsearch")){if(searchErrorText==""){searchErrorText=document.getElementById("searchErrorText").innerHTML;
}targetDiv=document.getElementById("productSearchResult");if(typeof targetDiv==Object){targetDiv.style.visibility="hidden";}B[A].form.onsubmit=doNothing;B[A].onkeyup=doSearch;if(B[A].captureEvents){B[A].captureEvents(Event.ONKEYUP);}C++;}}}}function doNothing(){var A=document.getElementById("productSearchResult");
if(A.style.display!="block"){return false;}var B=document.getElementById("productSearchResult").childNodes[0].href;if(!B){return false;}B=B.substring(B.indexOf('"')+1,B.indexOf('"',B.indexOf('"')+1));setSeSupportCookieAndRedirect(B);return false;}function doSearch(F){var E;
var C;var D;var B;var A="productSearchResult";if(F){E=F.target;}if(!F){E=window.event.srcElement;}D=E.value;if(E.id.indexOf("_main")>0){A+="_main";}var G=findPos(E);document.getElementById("productSearchResult").style.visibility="hidden";if(document.getElementById("productSearchResult_main")){document.getElementById("productSearchResult_main").style.visibility="hidden";
}C=document.getElementById(A);C.style.visibility="visible";B=E.form.action;loadXMLDoc(B,D,C,"compatibility");}function selectProductSetup(){var E;var C;var D;var B=document.getElementById("phone");E=B[B.selectedIndex].id;confValue=document.forms[0].elements[0].value;
C=new Array;C=E.split(",");D=C.length;if(confValue!="-1"){for(i=0;i<D;i++){var A="conf"+i;if(C[i]==1){document.getElementById(A).style.display="block";}else{document.getElementById(A).style.display="none";}}}else{for(i=0;i<D;i++){var A="conf"+i;document.getElementById(A).style.display="none";
}}}function fetchConfigurator(C){var E=document.forms["configurators"].phone.value;var D=E.split("@");var B=D[0];var F=D[1];if(B=="-1"){alert("Choose a product.");}else{var A=C.split("?");C=A[0]+"/"+B.toLowerCase()+"?"+A[1];setSeSupportCookie(F,"SeSupportID");
document.location.href=C;}}var searchType="";function loadXMLDoc(A,C,B,D){searchType=D;ajaxTargetElement=B;ajaxQuery=C;if(this.suzoreq){processReqChange();}else{if(window.XMLHttpRequest){suzoreq=new XMLHttpRequest();}else{if(window.ActiveXObject){suzoreq=new ActiveXObject("Microsoft.XMLHTTP");
}}if(suzoreq){suzoreq.onreadystatechange=processReqChange;suzoreq.open("GET",A,true);suzoreq.send(null);}this.suzoreq=suzoreq;}}function processReqChange(){if(suzoreq.readyState==4){if(suzoreq.status==200){if(suzoreq.responseXML!=null){var A=suzoreq.responseXML.documentElement;
parseXML(A,ajaxTargetElement);}}}}function parseXML(C,D){var B=0;var E="";var A=C.getElementsByTagName("row");for(i=0;i<A.length;i++){curItem=A.item(i);if(curItem.getElementsByTagName("productID").item(0).firstChild&&curItem.getElementsByTagName("ProductName").item(0).firstChild){id=curItem.getElementsByTagName("productID").item(0).firstChild.data;
shortDescription=curItem.getElementsByTagName("ProductName").item(0).firstChild.data;if(ajaxQuery!=""&&shortDescription.toLowerCase().indexOf(ajaxQuery.toLowerCase())!="-1"){targetUrl=document.url;E+="<a href='javascript:selectSupportPhone(\""+id+"\");'>"+shortDescription+'</a><div class="spacer1">&nbsp;</div>\n';
B++;}}}if(B<=0){E=searchErrorText;}if(ajaxQuery==""){D.style.display="none";}else{D.style.display="block";D.innerHTML=E;}}function submitchunkingform(F,C){var E=document.getElementById("chunkingform");if(C!=""){var B=C.split(",");var D;for(var A=0;A<B.length;
A++){D=B[A].split("|");F+="&"+D[0]+"="+D[1];}}window.location.href=F;}function submitcategoryselectionform(E,B,D,C){var A=document.getElementById(B);if(D){A.maincategory.value="";}if(C){A.subcategory.value="";}E+="&maincategory="+A.maincategory.value+"&subcategory="+A.subcategory.value;
window.location.href=E;}