
menu_width = 900;
base_bg = '#FF9900';
highlight = '#32D75A';
bgcolor = new Array;
bgcolor[0] = new Array;
bgcolor[1] = new Array;
bgcolor[2] = new Array;
bgcolor[3] = new Array;
bgcolor[4] = new Array;
bgcolor[5] = new Array;
bgcolor[6] = new Array;
bgcolor[7] = new Array;
bgcolor[8] = new Array;
bgcolor[9] = new Array;
bgcolor[10] = new Array;
// accueil
bgcolor[0][0]=base_bg; //'#CC0066';
bgcolor[0][1]=highlight; //'#B5678E';
// le refuge mode d'emploi
bgcolor[1][0]=base_bg; //'#F8C00B';
bgcolor[1][1]=highlight; //'#FFDE00';
// activités autour du refuge
bgcolor[2][0]=base_bg; //'#FF4E00';
bgcolor[2][1]=highlight; //'#DE7445';
// Infos divers
bgcolor[3][0]=base_bg; //'#FF00E4';
bgcolor[3][1]=highlight; //'#F844E5';
// liens amis
bgcolor[4][0]=base_bg; //'#377D41';
bgcolor[4][1]=highlight; //'#6DB377';
// contacts
bgcolor[5][0]=base_bg; //'#12617F';
bgcolor[5][1]=highlight; //'#42839C';
// météo
bgcolor[6][0]=base_bg; //'#4F4F4F';
bgcolor[6][1]=highlight; //'#898989';

document.write('<style type="text/css">');
document.write('.popper { POSITION:absolute; VISIBILITY: hidden; z-index:3}')
document.write('#topgauche { position:absolute; z-index:10;}')
document.write('A:hover.ejsmenu {color:#FFFFFF; text-decoration:none; font-size:11px; font-weight:700; font:arial;}')
document.write('A.ejsmenu {color:#FFFFFF; text-decoration:none; font-size:11px; font-weight:700; font:arial;}')
document.write('</style>')
document.write('<div style="position:absolute;top:132px;left:center;height:20"><DIV class=popper id=topdeck></DIV>');
/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/

/*
LIENS
*/

zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[2] = new Array;
zlien[3] = new Array;
zlien[4] = new Array;
zlien[5] = new Array;
zlien[6] = new Array;
//zlien[7] = new Array;

// le refuge
zlien[1][0] = '<A HREF="prestaoc.html" CLASS=ejsmenu>Prestacions</A>';
zlien[1][1] = '<A HREF="tarifsoc.html" CLASS=ejsmenu>Pretzes</A>';
zlien[1][2] = '<A HREF="accesoc.html" CLASS=ejsmenu>Accés</A>';
zlien[1][3] = '<A HREF="reservationoc.html" CLASS=ejsmenu>Reservacion</A>';


// activités
zlien[2][0] = '<A HREF="randooc.html" CLASS=ejsmenu>Las passejadas</A>';
zlien[2][1] = '<A HREF="pecheoc.html" CLASS=ejsmenu>Pesca</A>';
zlien[2][2] = '<A HREF="escalpioc.html" CLASS=ejsmenu>Escarlimpa, alpinism</A>';
zlien[2][3] = '<A HREF="valorluoc.html" CLASS=ejsmenu>Valada d&rsquo;Orlu</A>';

// contacts
zlien[4][0] = '<A HREF="contactoc.html" CLASS=ejsmenu>Adresse et tel</A>';
zlien[4][1] = '<A HREF="livreoroc.html" target=_blank CLASS=ejsmenu>Livre d&rsquo;Or</A>';
// météo
zlien[5][0] = '<A HREF="http://www.meteofrance.com/FR/montagne/prevStation.jsp?LIEUID=SKI0709007" target=_blank CLASS=ejsmenu>Ariège sud-est</A>';
zlien[5][1] = '<A HREF="http://www.meteofrance.com/FR/montagne/prevStation.jsp?LIEUID=SKI0766004" target=_blank CLASS=ejsmenu>Pyrénées Orientales</A>';


var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava) { skn = document.topdeck }
else if (dom) { skn = document.getElementById("topdeck").style }
else if (iex) { skn = topdeck.style }
skn.top =28;

function pop(msg,bgcol,pos)
{
	skn.visibility = "hidden";
	a=true
	skn.left = pos;
	var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR='"+base_bg+"' WIDTH=150><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1 onmouseenter='show()' onmouseleave='kill();'>";
	pass = 0
	while (pass < msg.length)
		{
			content += "<TR><TD ALIGN=center BGCOLOR="+bgcolor[bgcol][0]+" onMouseOver=\"this.style.background='"+bgcolor[bgcol][1]+"'\" onMouseOut=\"this.style.background='"+bgcolor[bgcol][0]+"'\" HEIGHT=20><FONT SIZE=11px FACE=\"arial\">  "+msg[pass]+"</FONT></TD></TR>";
			pass++;
		}
	content += "</TABLE></TD></TR></TABLE>";
	if (nava)
		{
			skn.document.write(content);
			skn.document.close();
			skn.visibility = "visible";
		}
	else if (dom)
			{
				document.getElementById("topdeck").innerHTML = content;
				skn.visibility = "visible";
			}
		else if (iex)
			{
				document.all("topdeck").innerHTML = content;
				skn.visibility = "visible";
			}
}

function kill()
{
	skn.visibility = "hidden";
}

function show()
{
	skn.visibility = "visible";
}

document.onclick = kill;

document.write('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR='+base_bg+' WIDTH='+menu_width+'><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=25><TR>')

document.write('<TD WIDTH='+menu_width/9+' ALIGN=center BGCOLOR='+bgcolor[0][0]+'  onmouseenter="kill();" onMouseOver="this.style.background=\''+bgcolor[0][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[0][0]+'\'"><A href=indexoc.html CLASS=ejsmenu>ACCUELH</a></TD>')

document.write('<TD WIDTH='+menu_width/5+' ALIGN=center BGCOLOR='+bgcolor[1][0]+'  onmouseenter="kill();" onMouseOver="this.style.background=\''+bgcolor[1][1]+'\';pop(zlien[1],1,87)" onMouseOut="this.style.background=\''+bgcolor[1][0]+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],1,87)" href=# CLASS=ejsmenu>LO REFUGI MÒDE D&rsquo;EMPLEC</a></TD>')

document.write('<TD WIDTH='+menu_width/5+' ALIGN=center BGCOLOR='+bgcolor[3][0]+'  onmouseenter="kill();" onMouseOver="this.style.background=\''+bgcolor[3][1]+'\';pop(zlien[2],1,234)" onMouseOut="this.style.background=\''+bgcolor[3][0]+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],1,234)" href=# CLASS=ejsmenu>A L&rsquo;ENTORN DEL REFUGI</a></TD>')

document.write('<TD WIDTH='+menu_width/9+' ALIGN=center BGCOLOR='+bgcolor[0][0]+'  onmouseenter="kill();" onMouseOver="this.style.background=\''+bgcolor[0][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[0][0]+'\'"><A href=photooc.html target=_blank CLASS=ejsmenu>FÒTOS</a></TD>')

document.write('<TD WIDTH='+menu_width/5+' ALIGN=center BGCOLOR='+bgcolor[3][0]+'  onmouseenter="kill();" onMouseOver="this.style.background=\''+bgcolor[3][1]+'\';pop(zlien[4],1,470)" onMouseOut="this.style.background=\''+bgcolor[3][0]+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],1,470)" href=# CLASS=ejsmenu>CONTACTS</a></TD>')

document.write('<TD WIDTH='+menu_width/8+' ALIGN=center BGCOLOR='+bgcolor[4][0]+'  onmouseenter="kill();" onMouseOver="this.style.background=\''+bgcolor[4][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[4][0]+'\'"><A href=infosoc.html CLASS=ejsmenu>ANIMATIONS</a></TD>')

document.write('<TD WIDTH='+menu_width/9+' ALIGN=center BGCOLOR='+bgcolor[6][0]+'  onmouseenter="kill();" onMouseOver="this.style.background=\''+bgcolor[6][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[6][0]+'\'"><A href=liensamisoc.html CLASS=ejsmenu><b>LIGAMS</a></TD>')

document.write('<TD WIDTH='+menu_width/9+' ALIGN=center  onmouseenter="kill();"onMouseOver="pop(zlien[5],5,780)" <A onClick="return(false)" onMouseOver="pop(zlien[5],5,780)" href=# CLASS=ejsmenu><img align="absmiddle" src="../images/meteofrance.gif" border="0"></FONT></a></TD>')
//document.write('<TD WIDTH='+0+' ALIGN=center BGCOLOR='+bgcolor[7][0]+' onMouseOver="this.style.background=\''+bgcolor[7][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[7][0]+'\'"><A href=http://www.loading-zone.org/site.php?page=newsletter CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"></FONT></a></TD>')
//document.write('<TD WIDTH='+0+' ALIGN=center BGCOLOR='+bgcolor[8][0]+' onMouseOver="this.style.background=\''+bgcolor[8][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[8][0]+'\'"><A href=http://www.loading-zone.org/site.php?page=contact CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"></FONT></a></TD>')
//document.write('<TD WIDTH='+0+' ALIGN=center BGCOLOR='+bgcolor[9][0]+' onMouseOver="this.style.background=\''+bgcolor[9][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[9][0]+'\'"><A href=http://www.loading-zone.org/site.php?page=liens CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"></FONT></a></TD>')
//document.write('<TD WIDTH='+0+' ALIGN=center BGCOLOR='+bgcolor[10][0]+' onMouseOver="this.style.background=\''+bgcolor[10][1]+'\'" onMouseOut="this.style.background=\''+bgcolor[10][0]+'\'"><A href=http://www.loading-zone.org/site.php?page=panier CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"></FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV></div>')
