function NewWindow(theURL, width, height, scrolls)
{
   var myWindow;
   //alert(theURL);
   myWindow = open(theURL,'OpenNewWindow','width=' + width + ',height=' + height + ',scrollbars=' + scrolls + ',resizable=yes,toolbar=yes ');
   //myWindow.moveTo(0,0);
   myWindow.focus();
}

function NewWindowIn(theURL, width, height, scrolls)
{
   var myWindow;
   //alert(theURL);
   myWindow = open(theURL,'OpenNewWindow','width=' + width + ',height=' + height + ',scrollbars=' + scrolls + ',resizable=yes,toolbar=yes ');
   myWindow.moveTo(0,0);
   myWindow.focus();
}



function NewWindow2(theURL, width, height)
{
   var myWindow2;
   //alert(theURL);
   myWindow2 = open(theURL,'OpenNewWindow2','width=' + width + ',height=' + height + ',scrollbars=yes,resizable=yes');
   myWindow2.focus();
}




function NewWindowSet(theURL, width, height, scrolls)
{
   var myWindow;
   //alert(theURL);
   myWindow = open(theURL,'OpenNewWindow','width=' + width + ',height=' + height + ',scrollbars=' + scrolls + ',resizable=no');
   myWindow.moveTo(0,0);
  /* if ((screen.availWidth <= 800) && (screen.availHeight <= 600))
   {
       myWindow.moveTo(20,241);
   }
   else
   {
       myWindow.moveTo(105,245);
   }
   */
   myWindow.focus();
}


function NewWindowNav(theURL, width, height, scrolls)
{
   var myWindowNav;
   //alert(theURL);
   myWindowNav = open(theURL,'OpenNavWindow','width=700,height=530,scrollbars=yes,resizable=yes,toolbar=yes');
   
   myWindowNav.focus();
}


function NewWindowFull(theURL, width, height, scrolls)
{
   var myWindow;
   //alert(theURL);
   myWindow = open(theURL,'OpenNewWindow','width=' + width + ',height=' + height + ',scrollbars=' + scrolls + ',resizable=yes,toolbar=yes,menubar=yes,status=yes,titlebar=yes,location=yes');
   //myWindow.moveTo(0,0);
   myWindow.focus();
}
