      function launchWindow(url, wide, high)
         {
   	   var screenwidth;
   	   var screenheight;
   	   //gets top and left positions based on user's resolution so hint window is centered.
   	   screenwidth = (window.screen.width/2) - (wide/2 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
   	   screenheight = (window.screen.height/2) - (high/2 + 50); //half the screen height minus half the new window height (plus title and status bars).
         window.open(url,"openScript",'width=' + wide + ',height=' + high + ",status,location=yes,resizable=yes,left=" + screenwidth + ",top=" + screenheight + ",screenX=" + screenwidth + ",screenY=" + screenheight + ",scrollbars=yes");
         }