var nWidth;var nHeight;
if (navigator.appName.substring(0,1)+navigator.appVersion.substring(0,1)=="N3")
{nWidth = java.awt.Toolkit.getDefaultToolkit().getScreenSize().width; 
nHeight = java.awt.Toolkit.getDefaultToolkit().getScreenSize().height;}
else
{nWidth = screen.width; nHeight = screen.height;}
nWidth = (nWidth - 620)/2 + 620;nHeight = (nWidth/1.667);


function openWindowSize(theURL,winName,size)
{window.open(theURL,winName,"toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,"+size);}

function openWindowSizeScroll(theURL,winName,size)
{window.open(theURL,winName,"toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,"+size);}

function openWindowNScroll(URL, Title){
window.open(URL,Title,"width="+nWidth+",height="+nHeight+",resizable=yes,status=yes,toolbar=no,directories=no,menubar=no");}

function openWindowScroll(URL, Title){
window.open(URL,Title,"width="+nWidth+",height="+nHeight+",resizable=yes,status=yes,toolbar=no,directories=no,menubar=no, scrollbars=yes");}