function mouse_pos(e) {
	if(!e) e = window.event;
	var body = (window.document.compatMode && window.document.compatMode == "CSS1Compat") ? 
	window.document.documentElement : window.document.body;
	return {
	y: e.pageY ? e.pageY : e.clientY + body.scrollTop - body.clientTop,
	x: e.pageX ? e.pageX : e.clientX + body.scrollLeft  - body.clientLeft
	};
}
var globalMousePositionObject=new Array();

function Global_HandleMousePos(e)
{
    globalMousePositionObject = mouse_pos(e);
}
window.document.onmousemove = Global_HandleMousePos;
