var subWindow;
var iW;
var iH;
//gets top and left positions based on user's resolution so hint window is centered.
iW = (window.screen.width/2) - (250 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
iH = (window.screen.height/2) - (200 + 50); //half the screen height minus half the new window height (plus title and status bars).

function newWin(url) {
if (!subWindow || subWindow.closed) {
subWindow = 
window.open(url,"Window3","status=yes,toolbar=no,resizable=yes,height=375,width=450,left=" + iW + ",top=" + iH + ",screenX=" + iW + ",screenY=" + iH + ",scrollbars=yes");
} else {
subWindow.close();
subWindow = 
window.open(url,"Window3","status=yes,toolbar=no,resizable=yes,height=375,width=450,left=" + iW + ",top=" + iH + ",screenX=" + iW + ",screenY=" + iH + ",scrollbars=yes");
}
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
