var IE = document.all ? true : false;
// If NS -- that is, !IE -- then set up for mouse capture
if (!IE) document.captureEvents(Event.MOUSEMOVE);

function posWin(e,divtoshow) {
	if (IE) { // if browser is IE
		xLeft = event.x;
		yTop = event.y;
	} else {  // if browser is NS
		xLeft = e.pageX;
		yTop = e.pageY;
	}
	if (xLeft < 0){xLeft = 0};
	if (yTop < 0){yTop = 0};
	xLeft = xLeft-400;
	yTop = yTop-250;
	xLeft = ''+xLeft+'';
	yTop = ''+yTop+'';
	document.getElementById(divtoshow).style.top = yTop+"px";
	document.getElementById(divtoshow).style.left = xLeft+"px";
  return true
}

