var iMyWidth; var iMyHeight; var iMyHeight2; //gets top and left positions based on user's resolution so hint window is centered. iMyWidth = (window.screen.width/2) - (198 + 10); //half the screen width minus half the new window width (plus 5 pixel borders). iMyHeight = (window.screen.height/2) - (40 + 20); //half the screen height minus half the new window height (plus title and status bars). iMyHeight2 = iMyHeight-200 //The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="