// Default screen window 
function openWinF(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=yes, toolbar=yes, scrollbars=yes, status=yes, resizable=yes, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

function openWinS1(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=no, toolbar=yes, scrollbars=yes, status=yes, resizable=yes, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

function openWinS(url, windowName)
{
  height = (screen.height)
  width = (screen.width)
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=yes, status=yes, resizable=yes, width="+width+", height="+height+", left=0, top=0,channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 1024x768 fixed 
function openWin1(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=no, status=yes, resizable=no, width=1024, height=618, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 1024x768 free  
function openWin1F(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=yes, toolbar=yes, scrollbars=yes, status=yes, resizable=yes, width=1024, height=768, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}


// Screen 800x600 fixed
function openWin8(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=no, status=yes, resizable=no, width=790, height=525, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 800x600 fixed
function openWin8S(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=yes, status=yes, resizable=no, width=790, height=525, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 800x600 free
function openWin8F(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=yes, toolbar=yes, scrollbars=yes, status=yes, resizable=yes, width=790, height=525, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

//Screen 640x480 fixed
function openWin6(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=no, status=yes, resizable=no, width=640, height=430, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 640x480 fixed
function openWin6S(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=yes, status=yes, resizable=no, width=640, height=430, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 640x480 free
function openWin6F(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=yes, toolbar=yes, scrollbars=yes, status=yes, resizable=yes, width=640, height=480, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 400x300 free (PDA 320/240)
function openWin3F(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=yes, toolbar=yes, scrollbars=yes, status=yes, resizable=yes, width=300, height=400, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 400x300 free (PDA 320/240)
function openWin3S(url, windowName)
{
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=yes, status=yes, resizable=no, width=300, height=400, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}

// Screen 350x275 fixed (video)
function openWin35(url, windowName)
{
  height = (screen.height/2)-275
  width = (screen.width/2)-350
  window.open(url, windowName, "menubar=no, toolbar=no, scrollbars=no, status=yes, resizable=no, width=350, height=275, screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0");
}
