var mouseX, 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;
	}
}
// You need to tell Mozilla to start listening:
if(window.Event && document.captureEvents)
document.captureEvents(Event.MOUSEMOVE);
// Then assign the mouse handler
document.onmousemove = getMousePos;

// JavaScript Document
function ZoomInIcon(url, img) {
//    img.style.margin='0px';
//    img.style.width='49px';
//    img.style.height='40px';
    img.src = url + '_49x40.png';
}

function ZoomOutIcon(url, img) {
//	img.style.width='39px';
//	img.style.height='30px';
//	img.style.margin='5px';
	img.src = url + '_39x30.png';
}

function MouseOver(text) {
	document.getElementById('alt_div').style.visibility='visible';
	document.getElementById('alt_div').innerHTML = text;
}

function MouseOut()	{
	document.getElementById('alt_div').style.visibility='hidden';
}

function MouseMove() {
	document.getElementById('alt_div').style.top=parseInt(mouseY + 15)+'px';
	document.getElementById('alt_div').style.left=parseInt(mouseX - 2)+'px';
}