
if(document.getElementsByTagName){var $link_element=document.createElement('link');$link_element.setAttribute("rel","stylesheet");$link_element.setAttribute("href","./js/supp1.css");$link_element.setAttribute("media","screen");var $head_element=document.getElementsByTagName('head')[0];$head_element.appendChild($link_element);}
function HideMe(){resetPresales();resetPostsales();document.getElementById("sales").style.display="none";document.getElementById("pre").style.display="none";document.getElementById("post").style.display="none";document.getElementById("library").style.display="none";document.getElementById("preoptions").style.display="none";document.getElementById("postnoforum").style.display="none";document.getElementById("postoptions").style.display="none";document.getElementById("again").style.display="none";}
function HoKiller(){if(!document.getElementsByTagName)return false;if(!document.getElementById)return false;var precon=document.forms['presales'].preconfidential;var preforum=document.forms['presales'].preforumselect;var postforum=document.forms['postsales'].postforumselect;precon.value=0;preforum.value=0;HideMe();var links=document.getElementsByTagName("a");for(var i=0;i<links.length;i++){if(links[i].className.match("options")){links[i].onclick=function(){HideMe();var divId=this.getAttribute("href");var divvy=/(#)(.*)/;var result=divId.match(divvy);var divshow=result[2];var e=document.getElementById(divshow);if(e.style.display=='none')
e.style.display='block';document.getElementById("choices").style.display="none";document.getElementById("again").style.display="block";document.getElementById("preconfid").style.display="block";document.getElementById("postforum").style.display="block";}}}
var presalesconfidence=document.getElementById("preconfidential");var presalesforum=document.getElementById("preforumselect");var postsalesforum=document.getElementById("postforumselect");presalesconfidence.onfocus=function(){document.getElementById("preforum").className="fadeone";document.getElementById("preconfid").className="fadetwo";}
presalesforum.onfocus=function(){document.getElementById("preconfid").className="fadeone";document.getElementById("preforum").className="fadetwo";}
postsalesforum.onfocus=function(){document.getElementById("postforum").className="fadetwo";}
var again=document.getElementById("again");again.onclick=function(){again.style.display="none";HideMe();document.getElementById("choices").style.display="block";}
var preconselect=document.getElementById("preconfidential");preconselect.onchange=function(){document.getElementById("preforum").style.display="none";document.getElementById("preoptions").style.display="none";if(precon.value=='no'){document.getElementById("preforum").className="fadeone";document.getElementById("preforum").style.display="block";document.forms['presales'].preforumselect.focus();document.getElementById("preoptions").style.display="none";preforum.value="0";}
if(precon.value=='yes'){document.getElementById("preconfid").className="fadeone";document.getElementById("preforum").style.display="none";document.getElementById("preoptions").style.display="block";preforum.value="0";}}
var preforumselect=document.getElementById("preforumselect");preforumselect.onchange=function(){if(preforum.value=='0'){document.getElementById("prenoforum").style.display="none";document.getElementById("preoptions").style.display="none";}
if(preforum.value=='no'){document.getElementById("preconfid").className="fadeone";document.getElementById("preforum").className="fadeone";document.getElementById("prenoforum").style.display="block";document.getElementById("preoptions").style.display="none";}
if(preforum.value=='yes'){document.getElementById("preconfid").className="fadeone";document.getElementById("preforum").className="fadeone";document.getElementById("prenoforum").style.display="none";document.getElementById("preoptions").style.display="block";}}
var postforumselect=document.getElementById("postforumselect");postforumselect.onchange=function(){if(postforum.value=='0'){document.getElementById("postoptions").style.display="none";document.getElementById("postnoforum").style.display="none";}
if(postforum.value=='no'){document.getElementById("postforum").className="fadeone";document.getElementById("postnoforum").className="fadetwo";document.getElementById("postnoforum").style.display="block";document.getElementById("postnoforum").focus();document.getElementById("postoptions").style.display="none";}
if(postforum.value=='yes'){document.getElementById("postforum").className="fadeone";document.getElementById("postnoforum").style.display="none";document.getElementById("postoptions").style.display="block";}}}
function resetPresales(){document.forms['presales'].reset();document.getElementById("preconfid").className="fadetwo";document.getElementById("preconfid").style.display="block";document.getElementById("preforum").style.display="none";document.getElementById("prenoforum").style.display="none";document.getElementById("preoptions").style.display="none";}
function resetPostsales(){document.forms['postsales'].reset();}
function Search(){var searchform=document.forms['search'];var submitform=searchform.ssubmit;submitform.onclick=function(){submitform.value="Wait...";if(searchform.q.value==""){alert('Please enter one or more words to search for');searchform.q.focus();searchform.q.style.border="1px solid red";submitform.value="Try again";return false;}
return true;}}
function ShareMe(){if(!document.getElementById('share')){return false;}
var share=document.getElementById('share');share.onclick=function(){var sharex=1;ShareFadeIn();function ShareFadeIn(){var content=document.getElementById('page');try{content.style.opacity=sharex;}catch(e){}
try{content.style.MozOpacity=sharex;}catch(e){}
var opacy=sharex*100;try{content.style.filter='alpha(opacity='+opacy+')';}catch(e){}
try{content.style.KhtmlOpacity=sharex;}catch(e){}
sharex-=0.05;sharex=sharex.toFixed(2);if(sharex>=0.20){setTimeout(ShareFadeIn,10);}else{share.style.display="block";}}
http.open('get','http://www.picotech.com/cgi-bin/share.pl');http.onreadystatechange=handleProducts;http.send(null);return false;}}
function createRequestObject(){var request;if(!request){try{request=new XMLHttpRequest();}
catch(e){try{request=new ActiveXObject('MSXML2.XMLHTTP');}
catch(e){try{request=new ActiveXObject('Microsoft.XMLHTTP');}
catch(e)
{return false;}}}}
return request;}
function handleProducts(){if(http.readyState==1){var response='<div class="c gap"><img src="http://www.picotech.com/images/loading.gif" width="32" height="32" alt="" /> &#160; Loading...</div>';document.getElementById('shareme').innerHTML=response;var lefty=(screen.availWidth-400)/2;var sharemez=document.getElementById('shareme');sharemez.style.display='block';sharemez.style.position='absolute';sharemez.style.left=lefty+'px';sharemez.style.top='120px';sharemez.style.width='300px';sharemez.style.background='#fff';}
if(http.readyState==4){var response=http.responseText;document.getElementById('shareme').innerHTML=response;var lefty=(screen.availWidth-400)/2;var sharemez=document.getElementById('shareme');sharemez.style.display='block';sharemez.style.position='absolute';sharemez.style.left=lefty+'px';sharemez.style.top='120px';sharemez.style.width='300px';sharemez.style.background='#fff';if(document.getElementById("sharecloseform")){var sharecloseform=document.getElementById("sharecloseform");sharecloseform.onclick=function(){var sharez=0.05;ShareFadeOut();function ShareFadeOut(){var content=document.getElementById('page');try{content.style.opacity=sharez;}catch(e){}
try{content.style.MozOpacity=sharez;}catch(e){}
var opacy=sharez*100;try{content.style.filter='alpha(opacity='+opacy+')';}catch(e){}
try{content.style.KhtmlOpacity=sharez;}catch(e){}
sharez+=0.05;if(sharez<1){setTimeout(ShareFadeOut,10);}}
document.getElementById('shareme').style.display='none';}}
if(document.forms['shareform']){var shareform=document.forms['shareform'];var submitshare=shareform.sharesubmit;submitshare.onclick=function(){submitshare.value="Wait...";}}}}
var activex=((navigator.userAgent.indexOf('Win')!=-1)&&(navigator.userAgent.indexOf('MSIE')!=-1)&&(parseInt(navigator.appVersion)>=4));var CantDetect=((navigator.userAgent.indexOf('Safari')!=-1)||(navigator.userAgent.indexOf('Opera')!=-1));function oopsPopup(){var URLtoOpen="http://www.picotech.com/support/whatnoskype.html";var windowName="oops";var popW=540,popH=305;var scrollB='no';w=screen.availWidth;h=screen.availHeight;var leftPos=(w-popW)/2,topPos=(h-popH)/2;oopswindow=window.open(URLtoOpen,windowName,'width='+popW+',height='+popH+',scrollbars='+scrollB+',screenx='+leftPos+',screeny='+topPos+',top='+topPos+',left='+leftPos);return false;}
if(typeof(detected)=="undefined"&&activex){document.write(['<script language="VBscript">','Function isSkypeInstalled()','on error resume next','Set oSkype = CreateObject("Skype.Detection")','isSkypeInstalled = IsObject(oSkype)','Set oSkype = nothing','End Function','</script>'].join("\n"));}
function skypeCheck(){if(CantDetect){return true;}else if(!activex){var skypeMime=navigator.mimeTypes["application/x-skype"];detected=true;if(typeof(skypeMime)=="object"){return true;}else{return oopsPopup();}}else{if(isSkypeInstalled()){detected=true;return true;}}
detected=true;return oopsPopup();}
function loadDetection(){if(document.getElementById&&document.getElementsByTagName){if(window.addEventListener)window.addEventListener('load',addDetection,false);else if(window.attachEvent)window.attachEvent('onload',addDetection);}}
function addDetection(){var pageLinks=document.getElementsByTagName("a");for(var i=0;i<pageLinks.length;i++){if(pageLinks[i].childNodes[0]&&pageLinks[i].childNodes[0].src){if((pageLinks[i].childNodes[0].src.indexOf('download.skype.com\/share\/skypebuttons')!=-1||pageLinks[i].childNodes[0].src.indexOf('mystatus.skype.com')!=-1)&&(typeof(pageLinks[i].onclick)=="undefined"||pageLinks[i].onclick==null)){pageLinks[i].onclick=function sChk(){return skypeCheck();}}}}}
function PlusOne(){if(!document.getElementById('plusone')){return;}
var plusone=document.getElementById('plusone');plusone.innerHTML='<g:plusone size="medium" count="false"></g:plusone>';}
defaultStatus='Pico Technology PC oscilloscopes and data acquisition products';var http=createRequestObject();window.onload=StartUp;function StartUp(){Search();HoKiller();ShareMe();loadDetection();PlusOne();}
