var lapage;
function nav_mobile (){
	for(var i=1;i<6;i++) {
		if (document.getElementById("nav_mob"+i)) {
		document.getElementById("nav_mob"+i).onmouseover=new Function("active("+i+")");
		document.getElementById("nav_mob"+i).onmouseout=new Function("desactive("+i+")");
		}
	}
}

function active(lay){
document.getElementById("nav_mob"+lay).src='img_com/nav_'+lay+'_on.gif';
}

function desactive(lay){
if(lapage != lay) {
document.getElementById("nav_mob"+lay).src='img_com/nav_'+lay+'_off.gif';
}
}


function openwin(theURL,largeur,hauteur) { 
	
	features = 'scrollbars=1,width='+largeur+',height='+hauteur+',toolbar=no,location=no,status=yes,menubar=no,resizable=yes';
	winName = "openwin_name";
	window.open(theURL,winName,features);  
}