// TAFT MENU JS IE ONLY //
/////////////////////////

// INITIALISATION / RAFRAICHISSEMENT
function init_menu()
{
	//alert("masque");
	for (var i = 0; i<=1; i++) 
	{
		//Si un menu est détecté, il est effacé
		if (document.getElementById('smenu'+i)) {
			document.getElementById('smenu'+i).style.display='none';
		}
	}//FIN FOR
}

// GESTION DU DROPDOWN FOIREUX SOUS IE
function montre(id) {
	//alert("montre : '"+id+"'");
	if(id!='')
	{
		//init_menu();
		//alert("Rien "+lien+" "+id);
		var d = document.getElementById(id);
		if (d){
			d.style.display='block';
			//lienmere=document.getElementById(lien);
			//lienmere.style.color='#13aae1';// ff5533	13aae1
		}
		
	}else{
		init_menu();
	}//FIN ELSE
	
	// FIN DE LA FONCTION
}


function position(e) 
{
	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;
	window.status = "Souris x:"+x+" | y:"+y;
	PosiX = x;
	PosiY = y;
	if(y>280){
		//init_menu();
	}
	//if(x<280){init_menu();}
	//if(x>1280){init_menu();}
	
}

init_menu();

/*
//alert(document.getElementById('menuDeroulant').style.top);
UL> alert(document.all.menuDeroulant.style.top);
DIV> alert(document.all["content"].style.top);
alert("coucou");
*/
if (navigator.appName.substring(0,3) == "Net") document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = position;
//timer = setInterval('position()',1000);


