function checkBrowser()
{	
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie55=((this.ver.indexOf("MSIE 5.5")>-1))?1:0;
	this.ie5=((this.ver.indexOf("MSIE 5")>-1))?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.ie4plus=(this.ie5 || this.ie4);
	this.ie5plus=(this.ie6 || this.ie5)
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns5);
	return this;
}
			
bw = new checkBrowser();

function detectMouse(e,id){
var x;
var y;
	if (bw.ns4 || bw.ns5) {
		x = e.pageX;
		y = e.pageY;
		}
	if (bw.ie4plus) {
		x = e.clientX + document.body.scrollLeft;
		y = e.clientY + document.body.scrollTop;
		}
	if (bw.ie6) {
		x = e.clientX + document.documentElement.scrollLeft;
		y = e.clientY + document.documentElement.scrollTop;
		}
	document.getElementById(id).style.display='block';
	document.getElementById(id).style.left=x+20+'px';
	document.getElementById(id).style.top=y+10+'px';
	return x;
}

function kill(id) {
document.getElementById(id).style.display='none';
}
