function show_pet(id,div) {

	var wtip;
	wtip = document.getElementById(div);

	if( window.opera) {
		x = window.event.clientX+15;
		y = window.event.clientY-10;
	} else if( navigator.appName == "Netscape") {
		document.onmousemove = function(e) { x = e.pageX+15; y = e.pageY-10; return true }
	} else {
		x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft + 15;
		y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop - 10;
	}

	wtip.innerHTML = '<table border="0" cellspacing="0" cellpadding="0"\><tr class=\'tip_header\'\><td\><img src="data/pets/'+id+'.bmp" border="0"\></td\></tr\><\/table\>';
					
	wtip.style.left = x + "px";
	wtip.style.top = y + "px";
}

function hide_pet(div)	{
	var wtip;
	wtip = document.getElementById(div);

	wtip.innerHTML = "";
	wtip.style.left = "-1px";
	wtip.style.top = "-1px";
}
