// JavaScript Document
<!--
function PopUp(poplink, popwidth, popheight) {
var screenheight=0;
var screenwidth=0;
var popleft=0;
var popright=0;
if (self.screen) {     // for NN4 and IE4
        screenwidth = screen.width
        screenheight = screen.height
}
else if (self.java) {   // for NN3 with enabled Java
       var jkit = java.awt.Toolkit.getDefaultToolkit();
       var scrsize = jkit.getScreenSize();
       screenwidth = scrsize.width;
       screenheight = scrsize.height;
}
if (screenwidth > 0 && screenheight > 0) {
          popleft=(screenwidth-popwidth)/2;
          poptop=(screenheight-popheight)/2-20;
}
var mm= 'width=' + popwidth + ',height=' + popheight+',left='+popleft+',top='+poptop+',scrollbars=1,toolbar=no,menubar=no,resizable=yes';
var Wnd=window.open(poplink,'popup',mm);
}

function getClientWidth()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidtheight:document.body.clientWidth;
}

function getLoginForm()
{
  var left = (getClientWidth()-300)/2;
  document.getElementById('logindiv').style.left=left+'px';
  document.getElementById('underlogindiv').style.left=(left+5)+'px';
  document.getElementById('underlogindiv').style.visibility='visible';
  document.getElementById('logindiv').style.visibility='visible';

}
function hideLoginForm()
{
  document.getElementById('underlogindiv').style.visibility='hidden';
  document.getElementById('logindiv').style.visibility='hidden';
}
//-->

