/*
MENU PLAN LOCAL
*/
gauche5=0
haut5=0
target5 = '_self';

color51 = "#9C659C";
color52 = "#eee";
color53 = "#FFFFFF";

menu5titre = new Array;
menu5lien = new Array;

	menu5titre[0]= 'Accueil'
	menu5lien[0]= 'javascript:affiche_Ac()'

	menu5titre[1]= 'Salle de Théorie - A'
	menu5lien[1]= 'javascript:affiche_A()'

	menu5titre[2]= 'Salle de Théorie - B'
	menu5lien[2]= 'javascript:affiche_B()'

	menu5titre[3]= 'Salle de Pratique - C'
	menu5lien[3]= 'javascript:affiche_C()'

	menu5titre[4]= 'Salle de Pratique - D'
	menu5lien[4]= 'javascript:affiche_D()'

	menu5titre[5]= 'Direction'
	menu5lien[5]= 'javascript:affiche_Di()'


document.write('<STYLE TYPE="text/css">#menu5 { position:absolute;top:'+haut5+';left:'+gauche5+'; }</STYLE>');

document.write('<STYLE TYPE="text/css">dt { font: 8pt verdana, arial, sans-serif;}.Style1 {font: 8pt verdana, arial, sans-serif}</STYLE>');

ie4=document.all
ns6=document.getElementById&&!document.all
ns4=document.layers

function placeMenu5() {
if (ie4) {menu5.style.pixelTop=document.body.scrollTop+haut5}
else if (ns6) {document.getElementById("menu5").style.top=window.pageYOffset+haut5}
else if (ns4) {eval(document.menu5.top=eval(window.pageYOffset+haut5));}
if(ie4 || ns6 || ns4)
	setTimeout("placeMenu5()",1);
}

function init_rollover() 
{ 
    if (document.getElementById) 
    { 
        var j = 0; 
        var k = 0; 
        var l = 0; 
        for (var i = 0; i < document.images.length; i++) 
        { 
            var image=document.images[i]; 
            if (!image.getAttribute("overSrc","false") && !image.getAttribute("clickSrc","false")) 
                continue; 
            eval("outImage"+j+"=new Image();"); 
            eval("outImage"+j+".src=image.src;"); 
            if (image.getAttribute("overSrc","false")) 
            { 
                eval("overImage"+k+"=new Image();"); 
                eval("overImage"+k+".src=image.getAttribute('overSrc',false);"); 
                image.onmouseover=new Function("this.src=overImage"+k+".src"); 
                k++; 
            } 
            if (image.getAttribute("clickSrc","false")) 
            { 
                eval("clickImage"+l+"=new Image();"); 
                eval("clickImage"+l+".src=image.getAttribute('clickSrc',false);"); 
                image.onmousedown = new Function("this.src=clickImage"+l+".src;"); 
                image.onmouseup = new Function("this.src=outImage"+j+".src;"); 
                l++; 
            } 
            image.onmouseout = new Function("this.src=outImage"+j+".src"); 
            j++; 
        } 
    } 
} 

function loadImages() {
if (document.getElementById) {  // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) {  // Netscape 4
document.hidepage.visibility = 'hidden';
}
else {  // IE 4
document.all.hidepage.style.visibility = 'hidden';
      }
   }
}


function chargement()
	{
	loadImages();
	init_rollover();
	placeMenu5();
	}

function autoclose(){
opener=top;
opener.close();
}

window.onload = chargement;
document.write('<SPAN ID=menu5><table bgcolor=#9C659C border=1 cellspacing=0 cellpadding=3 bordercolorlight=#000000 bordercolordark=#C0C0C0 WIDTH=144><TR>	<TD ALIGN=center><dt class="Style1"><FONT FACE="Verdana" COLOR=#630063><B>Salles</B></FONT></dt></TD></TR>')
for(a=0;a<menu5lien.length;a++)
	{
	document.write('<TR><TD onMouseOut="this.style.background=\''+color51+'\'" onMouseOver="this.style.background=\''+color52+'\'" STYLE="cursor:pointer" onClick="window.open(\''+menu5lien[a]+'\',\''+target5+'\')"><dt class="Style1"><FONT FACE="Verdana"><B><A HREF="'+menu5lien[a]+'" TARGET="'+target5+'" STYLE="text-decoration:none;color:'+color53+'">'+menu5titre[a]+'</A></B></FONT></dt></TD></TR>');
	}
document.write('<TR><TD ALIGN=center onMouseOut="this.style.background=\''+color51+'\'" onMouseOver="this.style.background=\''+color52+'\'" STYLE="cursor:pointer" onClick="javascript:autoclose();"><dt class="Style1"><FONT FACE="Verdana"><B><A STYLE="text-decoration:none;color:#FFFFFF">Fermer</A></B></FONT></dt></TD></TR>');
document.write('</TR></TABLE></SPAN>')
