<!--
function SwitchStyle(new_style,item)
{
  item.className = new_style;
}

new_win = null

function showpopup(path, optWidth, optHeight)
{
  // Pop up a window in the middle of the screen.
  var width=typeof optWidth!="undefined" ? optWidth : "540"   //set 540px to default width
  var height=typeof optHeight!="undefined" ? optHeight : "508"   //set 508px to  default height
  var left = parseInt((screen.availWidth/2) - (width/2));
  var top = parseInt((screen.availHeight/2) - (height/2));
  left = left + 100;
  top = top - 50;
  var win_params = "width=" + width + ",height=" + height + ",resizeable=yes,left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top;
  new_win = window.open(path,"",win_params);
}

function setfocus_loginform()
{
  document.loginform.username.focus();
}
//-->
