//do nothing function doNothing() { //Nothing } //Layers function showLayer(theLayer) { if (is.ie4up) document.all[theLayer].style.visibility = 'visible'; if (is.nav4up && !(is.nav6up)) document.layers[theLayer].visibility = 'visible'; if (is.nav6up) document.getElementById(theLayer).style.visibility = 'visible'; //if (is.nav6up) document.all[theLayer].style.visibility = 'visible'; } function hideLayer(theLayer) { if (is.ie4up) document.all[theLayer].style.visibility = 'hidden'; if (is.nav4up && !(is.nav6up)) document.layers[theLayer].visibility = 'hidden'; if (is.nav6up) document.getElementById(theLayer).style.visibility = 'hidden'; //if (is.nav6up) document.all[theLayer].style.visibility = 'hidden'; } //Pop-up window //Example: popWin('somepage.html','somepage',400,500,'auto'); //theUrl, theName: as strings //theWidth, theHeight: in pixels //theScrolling: 'yes', 'no' or 'auto' function popWin(theUrl,theName,theWidth,theHeight,theScrolling) { var opts="" ; opts="'left=50,top=50,screenX=50,screenY=50,width="+theWidth+",height="+theHeight+",menubar=no,location=no,resizable=yes,scrollbars="+theScrolling+",status=1'" ; PopUP=window.open(theUrl,theName,opts); PopUP.focus(); } //ImageSwap //Usage: //Images should be preloaded! function switchThingy(imgDocID,imgObjName) { document.images[imgDocID].src = eval(imgObjName + ".src"); } // for use of i selection tools var gW function showGuide(theClass,isStatic) { gW=window.open('/selectionguides/'+(isStatic?'tables/':'guides/?')+theClass+(isStatic?'.html':''),'gW','left=100,top=50,screenX=100,screenY=50,width=780,height=500,menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=1') gW.focus() } // for use of pop-ups in MMS with selection tools in it function popWinMMS(theNumber, isTable) { showGuide(theNumber, isTable); } function popWinMMSpopup(theURL) { popWin(theURL, 'mmspopup',100,50,'no'); } var lW function showParamSearch(theFAM) { lW=window.open('','lW','left=0,top=0,screenX=0,screenY=0,width=780,height=520,resizable,scrollbars') lW.location.href="http://stepsearch.semiconductors.philips.com/philips-ps/ss.asp?FAM="+theFAM lW.focus() } // don't show i selection guide icon for NN6+ function printGuideIcon(line) { if (!is.nav6 && !is.nav7up) { document.write(line); document.close(); } }