
   
//// For the Login Box 
if (self.screen) {     // for NN4 and IE4
        width = screen.width
        height = screen.height
// Testing this first prevents firing the slow Java of NN4
}
else if (self.java) {   // for NN3 with enabled Java
       var jkit = java.awt.Toolkit.getDefaultToolkit();
       var scrsize = jkit.getScreenSize();       
       width = scrsize.width; 
       height = scrsize.height; 
}
else{
 width = height = '?' // N2, E3, N3 w/Java off, probably Opera and WebTV

}

if ( width <= 1024  ) width = width - 280;
if ( (width > 1024) && (width <= 1280)  ) width = width - 400;
if ( width > 1280  ) width = width - 490;

///// End of Manipulation of Login box

function funcOpenLoginBox ( div_name, action )
{
	if ( action == 'close')
		//window.parent.document.getElementById(div_name).style.display = "none";
		document.getElementById(div_name).style.display = "none";
	else if ( action == 'show')
		document.getElementById(div_name).style.display = "block";

}

