// JavaScript Document
// Page load function
function loadImages() {
if (document.getElementById) { 
// DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) { 
// Netscape 4
document.hidepage.visibility = 'hidden';
}
else { // IE 4
document.all.hidepage.style.visibility = 'hidden';
}
}
}


function popup(xlink, xwidth, xheight)
{
	var xhLink=(typeof(xlink.href)=='undefined')?xlink:xlink.href;
	if (xhLink=='')
		return false;
	xwindef='status=no,resizable=yes,scrollbars=yes,toolbar=no,location=no,fullscreen=no,titlebar=no,height='.concat(xheight).concat(',').concat('width=').concat(xwidth).concat(',');
	xwindef=xwindef.concat('top=').concat((screen.height - xheight)/2).concat(',');
	xwindef=xwindef.concat('left=').concat((screen.width - xwidth)/2);
	popWindow=window.open(xlink,'_dhx',xwindef);
	popWindow.focus();
	if (typeof(xlink.href) != 'undefined')
		return false;
}




var popUpWin=0;

function popUpWindow(URLStr, left, top, width, height)

{

  if(popUpWin)

  {

    if(!popUpWin.closed) popUpWin.close();

  }

  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');

}

