function start (url, wname, W, H) {
   //window.open('main.asp','full','status=0,fullscreen=1,resizable=1')

   /*
   var windowX = Math.ceil( (window.screen.width  - W) / 2 );
   var windowY = Math.ceil( (window.screen.height - H) / 2 );
   */

   if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) {
        isie=true
   } else {
        isie=false
   }

   if (W == 0 || H == 0) {
      s = "fullscreen=1,left=0,top=0,width="+screen.availWidth+",height="+screen.availHeight;
   } else {
      var windowX = Math.ceil( (screen.availWidth  - W) / 2 );
      var windowY = Math.ceil( (screen.availHeight - H) / 2 );
      s = ",left=" + windowX + ",top=" + windowY + ",width="+W+",height="+H;
   }

   if (isie) {
       splashWin = window.open(url, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1"+s)

       //splashWin.moveTo  (0, 0)
       //splashWin.resizeTo(screen.availWidth, screen.availHeight)
   } else {
       var splashWin = window.open(url, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1"+s) ;
   }

   splashWin.focus();
}

