/* Contenu de 'include/Dom.js' */
var DHTML=0,DOM=0,MS=0,NS=0,OP=0;
var Vshow="visible",Vhide="hidden";
var nav="",navver="",IE=false,OS="",flNav="type='application/x-shockwave-flash'";
function DHTML_init(){
  if(window.opera){OP=1;}
 if(document.getElementById){DHTML=1;DOM=1;}
 if(document.all&&!OP){DHTML=1;MS=1 }
 if(document.layers&&!OP){DHTML=1;NS=1}
}

function getObj(name){
	if(document.getElementById){
		this.obj=document.getElementById(name);
		if(this.obj==null)
  			return this.obj=false;
		this.style=this.obj.style
	}else if(document.all){
		this.obj=document.all[name];
		this.style=document.all[name].style
	}else if(document.layers){
		Vshow="show";
		Vhide="hide";
		this.obj=getObjNN4(document,name);
		this.style=this.obj
	}
}


/****************DEBUT MENU**************** */ 

function invi(divID,flag,num){
	if (!DHTML)return;	
	var x=new getObj(divID);
	var y= new getObj ("tm"+num);
	
	if(x.obj){
		lapage = "tm"+num;
		x.style.visibility=(flag)?Vhide:Vshow;		
		return true;
	}
}


var retd;
function h(i,num){invi(i,1,num);}
function s(i,num){invi(i,0,num)}
function d(){retd=setTimeout("hm()",400)}
function rd(){clearTimeout(retd);}
function hm(){for(i=1;i<=6;i++) h("men"+i,i);}

function menu_haut(){
	var a=new getObj("men0").obj;
	a.onmouseover=new Function("rd()");
	a.onmouseout=new Function("d()");
	for(var i=1;i<7;i++) {
	new getObj("tm"+i).obj.onmouseover=new Function("hm();s('men"+i+"','"+i+"')");
	lapage = "tm"+i;	
	}
}
/****************FIN MENU**************** */ 


/****************DEBUT SOUS MENU**************** */ 

DHTML_init();


/****************FIN SOUS MENU**************** */ 

var uurl="";
function liens (uurl){
window.location.href= uurl;
}

function OW(theURL,winName,features) {
  window.open(theURL,winName,features);
}



// Masque le layer //
function hideIt(layerName){	
document.getElementById(layerName).style.visibility ="hidden";
}
function showIt(layerName){ 
document.getElementById(layerName).style.visibility ="visible";
}








