var doccharge =false;
var timeoutref = null;
var divref=(document.all)?"":"document.";
var stlref=(document.all)?"style.":"";
var montre=(document.all)?"'visible'":"'show'";

if(document.layers)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=track;

function track(e){
var x=(document.all)?event.x:e.pageX;
var y=(document.all)?event.y:e.pageY;
if(x<0||x>400||y<0||y>450)cacheTout();    
}

function cacheTout(){
if (doccharge!=false){
	if (eval(divref+"mennav."+stlref+"visibility=="+montre)){
		eval(divref+"mennav."+stlref+"visibility='hidden'");}
		
	
	if (timeoutref != null){
		clearTimeout(timeoutref);
		timeoutref = null;
	}
}
}


function reveal(){
 if (doccharge!=false)
	{
	eval(divref+"mennav."+stlref+"visibility='visible'");
	timeoutref=setTimeout("cacheTout()",4000);
	}
}

function charge () {
doccharge=true;
}