function largeur_fenetre()
{
 if (window.innerWidth) return window.innerWidth;
 else if (document.body && document.body.offsetWidth) return document.body.offsetWidth;
 else return 0;
}

//appel de l'ecriture stats dvl
function file(fichier)
     {

     if(window.XMLHttpRequest) // FIREFOX
	  xhr_object = new XMLHttpRequest();
     else if(window.ActiveXObject) // IE
	  xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
     else
	  return(false);
     xhr_object.open("GET", fichier, false);
     xhr_object.send(null);
     if(xhr_object.readyState == 4) return(xhr_object.responseText);
     else return(false);

     }
function GetId(id)	{	return document.getElementById(id);	}	var i=false;	function move(e)		{
		var curs = GetId("curseur");		x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;		if(i)
			{
			x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
			y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
			
			curs.style.left= x + -150 + "px";
			curs.style.top= y + -280 + "px";
			}//if		}//function	function montre(text)		{		//affichage		if(i==false)			{			GetId("curseur").style.visibility="visible";			GetId("curseur").innerHTML = text; 			i=true;			}		}	function cache()		{		if(i==true)			{
			var curs = GetId("curseur");
			curs.style.visibility="hidden";
			curs.style.left= -500 + "px";
			curs.style.top= -500 + "px";			i=false;			}		}
if(navigator.appName.substring(0,3) == "Net")
	document.captureEvents(Event.MOUSEMOVE);document.onmousemove=move;




