bName = navigator.appName; bVer = parseInt(navigator.appVersion); if (bName == "Netscape" && bVer >= 4) br = "n4"; else if (bName == "Netscape" && bVer == 2) br = "n3"; else if (bName == "Netscape" && bVer == 3) br = "n2"; else if (bName == "Microsoft Internet Explorer" && bVer >= 4) br = "e4"; else if (bName == "Microsoft Internet Explorer" && bVer >= 4) br = "e3"; else br = "n2"; function openNewWindow(fileName,windowName,theWidth,theHeight) { //alert("Made it to function"); if (br == "e4") window.open(fileName,windowName,"toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,left=10,top=10,width="+theWidth+",height="+theHeight); else if (br == "n4") window.open(fileName,windowName,"toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,screenX=10,screenY=10,width="+theWidth+",height="+theHeight); else window.open(fileName,windowName,"toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width="+theWidth+",height="+theHeight); }