
function openPopup(nURL) {
  var popL=200;
	var popT=190;
	var popW=500;
	var popH=360;
	var windowprops = "location=no,scrollbars=yes,menubar=yes,toolbar=no,resizable=yes,status=yes" + ",left=" + popL + ",top=" + popT + ",width=" + popW + ",height=" + popH;
	popup = window.open(nURL,'popup',windowprops);
	if (popup.blur) {
	  popup.focus();
	}
	return false;
}

function initContentArea() {
  var topNavHeight=88;
  if (document.getElementById && !document.all) {
    var contentHeight=window.innerHeight-topNavHeight;
    document.getElementById('contentArea').style.height=contentHeight+'px';
    document.getElementById('contentArea').style.display='';
  } else if (document.all) {
    var contentHeight=document.body.clientHeight-topNavHeight;
    document.all.contentArea.style.height=contentHeight+'px';
    document.all.contentArea.style.display='';
  } else if (document.layers) {
    document.contentArea.display="";
  }
  
}

function getToolbar() {
  if (document.all)
    toolbar=document.all.menu_2;
  else if (document.getElementById)
    toolbar=document.getElementById('menu_2');
  else if (document.layers)
    toolbar=document.menu_2;
}
