image1 = new Image();
image2 = new Image();
image3 = new Image();
image4 = new Image();
image5 = new Image();
image6 = new Image();
image7= new Image();
image8 = new Image();
image9= new Image();
image10 = new Image();
image11 = new Image();
image12 = new Image();
image13 = new Image();
image14= new Image();
image15 = new Image();
image16= new Image();
image17 = new Image();
image18 = new Image();
image184 = new Image();
image185 = new Image();
image186 = new Image();
image187 = new Image();
image19 = new Image();
image20 = new Image();
image21 = new Image();
//image22 = new Image();
image23 = new Image();
image24 = new Image();
image25 = new Image();
image26 = new Image();
image27 = new Image();
image28 = new Image();
image29 = new Image();

image1.src = "menu_rollover/menu_1.jpg";
image2.src = "menu_rollover/menu_2.jpg";
image3.src = "menu_rollover/menu_3.jpg";
image4.src = "menu_rollover/menu_4.jpg";
image5.src = "menu_rollover/menu_5.jpg";
image6.src = "menu_rollover/menu_6.jpg";
image7.src = "menu_rollover/menu_1_01.jpg";
image8.src = "menu_rollover/menu_1_02.jpg";
image9.src = "menu_rollover/menu_1_03.jpg";
image10.src = "menu_rollover/menu_1_04.jpg";
image11.src = "menu_rollover/menu_1_05.jpg";
image12.src = "menu_rollover/menu_1_06.jpg";
image13.src = "menu_rollover/menu_2_01.jpg";
image14.src = "menu_rollover/menu_2_02.jpg";
image15.src = "menu_rollover/menu_2_03.jpg";
image16.src = "menu_rollover/menu_3_01.jpg";
image17.src = "menu_rollover/menu_3_02.jpg";
image18.src = "menu_rollover/menu_3_03.jpg";
image184.src = "menu_rollover/menu_3_04.jpg";
image185.src = "menu_rollover/menu_3_02.jpg";
image186.src = "menu_rollover/menu_3_03.jpg";
image187.src = "menu_rollover/menu_3_07.jpg";
image19.src = "menu_rollover/menu_4_01.jpg";
image20.src = "menu_rollover/menu_4_02.jpg";
image21.src = "menu_rollover/menu_4_03.jpg";
//image22.src = "menu_rollover/menu_4_04.jpg";
image23.src = "menu_rollover/menu_5_01.jpg";
image24.src = "menu_rollover/menu_5_02.jpg";
image25.src = "menu_rollover/menu_5_03.jpg";
image26.src = "menu_rollover/menu_5_04.jpg";
image27.src = "menu_rollover/menu_6_01.jpg";
image28.src = "menu_rollover/menu_6_02.jpg";
image29.src = "menu_rollover/menu_6_03.jpg";

var submenu=new Array()

submenu[0]="<table width=629 height='20' cellpadding=0 cellspacing=0 border=0 bgcolor='#EAEAEA'><tr><td width=48 height=20></td><td width=97 height=20><a onMouseover=\"image7.src='menu_rollover/menu_1_01.jpg'\" onMouseout=\"image7.src='menu/menu_1_01.jpg'\" href='home.php?page=annuaire_pro&etape=1'><img src='menu/menu_1_01.jpg' alt='' width='97' height='20' border='0' name='image7'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=75 height=20><a onMouseover=\"image8.src='menu_rollover/menu_1_02.jpg'\" onMouseout=\"image8.src='menu/menu_1_02.jpg'\" href='home.php?page=restos&etape=1'><img src='menu/menu_1_02.jpg' alt='' width='75' height='20' border='0' name='image8'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=89 height=20><a onMouseover=\"image9.src='menu_rollover/menu_1_03.jpg'\" onMouseout=\"image9.src='menu/menu_1_03.jpg'\" href='home.php?page=annuaire&etape=1'><img src='menu/menu_1_03.jpg' alt='' width='89' height='20' border='0' name='image9'></a></td><td width=229 height=20></td><td width=89 height=20 bgcolor='#FFFFFF'><img src='menu/menu_2_end.gif' alt='' width='89' height='20' border='0'></td></tr></table>";
submenu[1]="<table width=629 height='20' cellpadding=0 cellspacing=0 border=0 bgcolor='#EAEAEA'><tr><td width=55 height=20></td><td width=75 height=20><a onMouseover=\"image13.src='menu_rollover/menu_2_01.jpg'\" onMouseout=\"image13.src='menu/menu_2_01.jpg'\" href='home.php?page=evenement_consult&etape=1'><img src='menu/menu_2_01.jpg' alt='' width='75' height='20' border='0' name='image13'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=65 height=20><a onMouseover=\"image14.src='menu_rollover/menu_2_02.jpg'\" onMouseout=\"image14.src='menu/menu_2_02.jpg'\" href='home.php?page=evenement_depot&etape=1'><img src='menu/menu_2_02.jpg' alt='' width='65' height='20' border='0' name='image14'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=72 height=20><a onMouseover=\"image15.src='menu_rollover/menu_2_03.jpg'\" onMouseout=\"image15.src='menu/menu_2_03.jpg'\" href='home.php?page=evenement_modif&etape=0'><img src='menu/menu_2_03.jpg' alt='' width='72' height='20' border='0' name='image15'></a></td><td width=278></td><td width=89 height=20 bgcolor='#FFFFFF'><img src='menu/menu_2_end.gif' alt='' width='89' height='20' border='0'></td></tr></table>";
submenu[2]="<table width=629 height='20' cellpadding=0 cellspacing=0 border=0 bgcolor='#EAEAEA'><tr><td width=48 height=20></td><td width=85 height=20><a onMouseover=\"image16.src='menu_rollover/menu_3_01.jpg'\" onMouseout=\"image16.src='menu/menu_3_01.jpg'\" href='home.php?page=offres_consult&etape=1'><img src='menu/menu_3_01.jpg' alt='' width='85' height='20' border='0' name='image16'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=52 height=20><a onMouseover=\"image17.src='menu_rollover/menu_3_02.jpg'\" onMouseout=\"image17.src='menu/menu_3_02.jpg'\" href='home.php?page=offres_depot&etape=1'><img src='menu/menu_3_02.jpg' alt='' width='52' height='20' border='0' name='image17'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=60 height=20><a onMouseover=\"image18.src='menu_rollover/menu_3_03.jpg'\" onMouseout=\"image18.src='menu/menu_3_03.jpg'\" href='home.php?page=offres_modif&etape=0'><img src='menu/menu_3_03.jpg' alt='' width='60' height='20' border='0' name='image18'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=125 height=20><a onMouseover=\"image184.src='menu_rollover/menu_3_04.jpg'\" onMouseout=\"image184.src='menu/menu_3_04.jpg'\" href='home.php?page=candidatures_consult&etape=1'><img src='menu/menu_3_04.jpg' alt='' width='125' height='20' border='0' name='image184'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=52 height=20><a onMouseover=\"image185.src='menu_rollover/menu_3_02.jpg'\" onMouseout=\"image185.src='menu/menu_3_02.jpg'\" href='home.php?page=candidatures_depot&etape=1'><img src='menu/menu_3_02.jpg' alt='' width='52' height='20' border='0' name='image185'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=60 height=20><a onMouseover=\"image186.src='menu_rollover/menu_3_03.jpg'\" onMouseout=\"image186.src='menu/menu_3_03.jpg'\" href='home.php?page=candidatures_modif&etape=0'><img src='menu/menu_3_03.jpg' alt='' width='60' height='20' border='0' name='image186'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=45 height=20><a onMouseover=\"image187.src='menu_rollover/menu_3_07.jpg'\" onMouseout=\"image187.src='menu/menu_3_07.jpg'\" href='home.php?page=alerte&etape=0'><img src='menu/menu_3_07.jpg' alt='' width='45' height='20' border='0' name='image187'></a></td><td width=0></td><td width=89 height=20 bgcolor='#FFFFFF'><img src='menu/menu_2_end.gif' alt='' width='89' height='20' border='0'></td></tr></table>";
submenu[3]="<table width=629 height='20' cellpadding=0 cellspacing=0 border=0 bgcolor='#EAEAEA'><tr><td width=48 height=20></td><td width=63 height=20><a onMouseover=\"image19.src='menu_rollover/menu_4_01.jpg'\" onMouseout=\"image19.src='menu/menu_4_01.jpg'\" href='forum'><img src='menu/menu_4_01.jpg' alt='' width='63' height='20' border='0' name='image19'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=81 height=20><a onMouseover=\"image20.src='menu_rollover/menu_4_02.jpg'\" onMouseout=\"image20.src='menu/menu_4_02.jpg'\" href='home.php?page=live&etape=1'><img src='menu/menu_4_02.jpg' alt='' width='81' height='20' border='0' name='image20'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=51 height=20><a onMouseover=\"image21.src='menu_rollover/menu_4_03.jpg'\" onMouseout=\"image21.src='menu/menu_4_03.jpg'\" href='home.php?page=live&etape=1'><img src='menu/menu_4_03.jpg' alt='' width='51' height='20' border='0' name='image21'></a></td><td width=1 height=20></td><td width=69 height=20></td><td width=225></td><td width=89 height=20 bgcolor='#FFFFFF'><img src='menu/menu_2_end.gif' alt='' width='89' height='20' border='0'></td></tr></table>";
submenu[4]="<table width=629 height='20' cellpadding=0 cellspacing=0 border=0 bgcolor='#EAEAEA'><tr><td width=48 height=20></td><td width=75 height=20><a onMouseover=\"image23.src='menu_rollover/menu_5_01.jpg'\" onMouseout=\"image23.src='menu/menu_5_01.jpg'\" href='home.php?page=annonce&etape=1'><img src='menu/menu_5_01.jpg' alt='' width='75' height='20' border='0' name='image23'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=65 height=20><a onMouseover=\"image24.src='menu_rollover/menu_5_02.jpg'\" onMouseout=\"image24.src='menu/menu_5_02.jpg'\" href='home.php?page=aj_annonce&etape=1'><img src='menu/menu_5_02.jpg' alt='' width='65' height='20' border='0' name='image24'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=72 height=20><a onMouseover=\"image25.src='menu_rollover/menu_5_03.jpg'\" onMouseout=\"image25.src='menu/menu_5_03.jpg'\" href='home.php?page=modif_annonce&etape=0'><img src='menu/menu_5_03.jpg' alt='' width='72' height='20' border='0' name='image25'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=60 height=20><a onMouseover=\"image26.src='menu_rollover/menu_5_04.jpg'\" onMouseout=\"image26.src='menu/menu_5_04.jpg'\" href='home.php?page=alerte&etape=1&section=annonce'><img src='menu/menu_5_04.jpg' alt='' width='60' height='20' border='0' name='image26'></a></td><td width=217></td><td width=89 height=20 bgcolor='#FFFFFF'><img src='menu/menu_2_end.gif' alt='' width='89' height='20' border='0'></td></tr></table>";
submenu[5]="<table width=629 height='20' cellpadding=0 cellspacing=0 border=0 bgcolor='#EAEAEA'><tr><td width=48 height=20></td><td width=51 height=20><a onMouseover=\"image27.src='menu_rollover/menu_6_01.jpg'\" onMouseout=\"image27.src='menu/menu_6_01.jpg'\" href='home.php?page=ressources&etape=1'><img src='menu/menu_6_01.jpg' alt='' width='51' height='20' border='0' name='image27'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=105 height=20><a onMouseover=\"image28.src='menu_rollover/menu_6_02.jpg'\" onMouseout=\"image28.src='menu/menu_6_02.jpg'\" href='home.php?page=ressources&etape=2'><img src='menu/menu_6_02.jpg' alt='' width='105' height='20' border='0' name='image28'></a></td><td width=1 height=20><img src='menu/menu_sub_spacer.jpg' alt='' width='1' height='20' border='0'></td><td width=132 height=20><a onMouseover=\"image29.src='menu_rollover/menu_6_03.jpg'\" onMouseout=\"image29.src='menu/menu_6_03.jpg'\" href='home.php?page=dossier_pratique&etape=1'><img src='menu/menu_6_03.jpg' alt='' width='132' height='20' border='0' name='image29'></a></td><td width=1 height=20></td><td width=202></td><td width=89 height=20 bgcolor='#FFFFFF'><img src='menu/menu_2_end.gif' alt='' width='89' height='20' border='0'></td></tr></table>";
submenu[6]="<table width=629 height='20' cellpadding=0 cellspacing=0 border=0 bgcolor='#EAEAEA'><tr><td width=48 height=20></td><td width=540 height=20></td><td width=89 height=20 bgcolor='#FFFFFF'><img src='menu/menu_2_end.gif' alt='' width='89' height='20' border='0'></td></tr></table>";
submenu[7]="<?echo addslashes($default_submenu) ?>";
	
var delay_hide=2500
var object_caller

function showit(which){
clear_delayhide()
if (which==-1)
	{
	thecontent=submenu[6]
	opensubmenu.innerHTML=thecontent
	}
else
	{
	thecontent=submenu[which]
	opensubmenu.innerHTML=thecontent
	}
object_caller = "menu_"+ which
}

function resetit(e){
if (document.all)
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
	clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}