if(document.layers){thisbrowser="NN4";}
if(document.all){thisbrowser="ie";}
if(!document.all && document.getElementById){thisbrowser="NN6";}

function show(texte)
{
	mycontent = texte;

	
	if(thisbrowser=="NN4")
	{
		document.bulle.innerHTML = mycontent;
		document.bulle.style.visibility = "visible";
	}
	if(thisbrowser=="ie")
	{
		document.all.bulle.innerHTML = mycontent;
		document.all.bulle.style.visibility = "visible";
	}
	if(thisbrowser=="NN6")
	{
		document.getElementById("bulle").innerHTML = mycontent;
		document.getElementById("bulle").style.visibility = "visible";
	}
}

function hide()
{
	if(thisbrowser=="NN4")
	{
		document.bulle.innerHTML = "";
		document.bulle.style.visibility = "hidden";
	}
	if(thisbrowser=="ie")
	{
		document.all.bulle.innerHTML = "";
		document.all.bulle.style.visibility = "hidden";
	}
	if(thisbrowser=="NN6")
	{
		document.getElementById("bulle").innerHTML = "";
		document.getElementById("bulle").style.visibility = "hidden";
	}
}

function track(e)
{
	if(!e)
	{
		e = window.event;
	}
	if(!e||(typeof(e.pageX)!='number'&&typeof(e.clientX)!='number'))
	{
		return;
	}

	if( typeof(e.pageX)=='number')
	{
		var xcoord = e.pageX;
		var ycoord = e.pageY;
	}
	else
	{
		var xcoord = e.clientX;
		var ycoord = e.clientY;
		if(!((window.navigator.userAgent.indexOf('Opera')+1)||(window.ScriptEngine&&ScriptEngine().indexOf('InScript')+1)||window.navigator.vendor=='KDE'))
		{
			if(document.documentElement&&(document.documentElement.scrollTop||document.documentElement.scrollLeft))
			{
				xcoord += document.documentElement.scrollLeft; ycoord += document.documentElement.scrollTop;
			}
			else if(document.body&&(document.body.scrollTop||document.body.scrollLeft))
			{
				xcoord += document.body.scrollLeft; ycoord += document.body.scrollTop;
			}
		}
	}

	if(thisbrowser=="NN4")
	{
		document.bulle.left = xcoord+5;
		document.bulle.top = ycoord+15;
	}
	if(thisbrowser=="ie")
	{
		document.all.bulle.style.left = xcoord+5+"px";
		document.all.bulle.style.top = ycoord+15+"px";
	}
	if(thisbrowser=="NN6")
	{
		document.getElementById("bulle").style.left = xcoord+5+"px";
		document.getElementById("bulle").style.top = ycoord+15+"px";
	}

	//window.defaultStatus = "xpos: " + xcoord + " and ypos: " + ycoord;
}