if(window.Event && document.captureEvents)
 	document.captureEvents(Event.MOUSEMOVE);
 	
document.onmousemove = getMousePos;

function helpWindow( helpID )
{
  url = helpID;
  newWindow=window.open( url , 'Help', "width=360,height=450,scrollbars=yes, dependent=yes");newWindow.focus();
}

function helpWindowEx( helpID, width, height, scrollbars )
{
  url = helpID;
  newWindow=window.open( url , 'Help', "width="+width+", height="+height+",scrollbars="+scrollbars+", dependent=yes, resizable=yes ");newWindow.focus();
}

function preLoad() {window.location.hash="topPecu";}

function changeVis(id, visible)
{
  VAM_GetById(id).style.display = visible;
  VAM_GetById(id).style.left = mouseX;
  VAM_GetById(id).style.top = mouseY; 
}

function getMousePos(e)
{
	if (!e)
		var e = window.event||window.Event;
	
	if('undefined'!=typeof e.pageX){
		mouseX = e.pageX;
		mouseY = e.pageY;
	} else {
		mouseX = e.clientX + document.body.scrollLeft;
		mouseY = e.clientY + document.body.scrollTop;
	}
}