// http://www.editeurjavascript.com/forum/topic,7,39784,0.html
// http://www.editeurjavascript.com/scripts/scripts_navigation_1_111.php

zgcolor = new Array;
zgcolor = 'white' //Barre de sélection du menu
bgcolor='pink';

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; color: #FFFFFF; font-family: Verdana; font-size: 14px}')
document.write('A.ejsmenu {color:#FFFFFF; text-decoration:none; color: white; font-family: Verdana; font-size: 14px}')
document.write('</style>')
document.write('<div style="position:relative;height=50"><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[0][0] = '<A HREF="index.php?id=15" style=\'font-size:10px; color: black; text-decoration: none\'>ACCUEIL</A>';
zlien[0][1] = '<A HREF="index.php?id=1" style=\'font-size:10px; color: black; text-decoration: none\'>HISTORIQUE</A>';
zlien[0][2] = '<A HREF="index.php?id=6" style=\'font-size:10px; color: black; text-decoration: none\'>UNE EQUIPE A VOTRE SERVICE</A>';
zlien[0][3] = '<A HREF="index.php?id=21" style=\'font-size:10px; color: black; text-decoration: none\'>L\'AGENCE</A>';
zlien[0][4] = '<A HREF="index.php?id=2" style=\'font-size:10px; color: black; text-decoration: none\'>NOUS CONTACTER</A>';
	
zlien[1][0] = '<A HREF="index.php?id=7" style=\'font-size:10px; color: black; text-decoration: none\'>VEHICULES DE GRAND TOURISME</A>';
zlien[1][1] = '<A HREF="index.php?id=8" style=\'font-size:10px; color: black; text-decoration: none\'>VEHICULES SCOLAIRES ET MIXTES</A>';
zlien[1][2] = '<A HREF="index.php?id=9" style=\'font-size:10px; color: black; text-decoration: none\'>MINICARS ET MINIBUS</A>';
	
zlien[2][0] = '<A HREF="index.php?id=5" style=\'font-size:10px; color: black; text-decoration: none\'>CATALOGUE ETE</A>';
zlien[2][1] = '<A HREF="index.php?id=13" style=\'font-size:10px; color: black; text-decoration: none\'>CATALOGUE HIVER</A>';

zlien[3][0] = '<A HREF="index.php?id=22" style=\'font-size:10px; color: black; text-decoration: none\'>VOYAGE D\'UN JOUR</A>';
zlien[3][1] = '<A HREF="index.php?id=12" style=\'font-size:10px; color: black; text-decoration: none\'>VOYAGE DE PLUSIEURS JOURS</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 = 38;

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

function pop(msg,pos)
{
	skn.visibility = "hidden";
	a=true
	skn.left = pos;
	var content ="<TABLE style='border: 3px solid #D9186A' CELLPADDING='0px' CELLSPACING='0px' WIDTH=200><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>";
	pass = 0
	while (pass < msg.length)
		{
			content += "<TR><TD align=CENTER BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+zgcolor+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=20><FONT SIZE=1 FACE=\"Verdana\">  "+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";
}

document.onclick = kill;
document.write('<DIV ID=topgauche><TABLE BORDER="0px" CELLPADDING="0px" CELLSPACING="0px" BGCOLOR="#FFFFFF" WIDTH="998px"><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT="36px" style="border: 0px solid '+bgcolor+'; background-repeat: repeat-x; background-image: url(images/onglet.png)"><TR>')
document.write('<TD style="border-right: 0px solid '+bgcolor+';" WIDTH=198 ALIGN=center><A onClick="return(true)" onMouseOver="pop(zlien[0],0)" href="index.php?id=15" style=\'font-size:12px; color: white; font-weight: bold; text-decoration: none\'>L\'ENTREPRISE</a></TD>')
document.write('<TD style="border-right: 0px solid '+bgcolor+';" WIDTH=198 ALIGN=center><A onClick="return(false)" onMouseOver="pop(zlien[1],199)" href="index.php?id=12" style=\'font-size:12px; color: white; font-weight: bold; text-decoration: none\'>DEPLACEMENT EN AUTOCAR</a></TD>')
document.write('<TD style="border-right: 0px solid '+bgcolor+';" WIDTH=198 ALIGN=center><A onClick="return(false)" onMouseOver="pop(zlien[2],397)" href="#" style=\'font-size:12px; color: white; font-weight: bold; text-decoration: none\'>CATALOGUES VOYAGES</a></TD>')
document.write('<TD style="border-right: 0px solid '+bgcolor+';" WIDTH=198 ALIGN=center><A onClick="return(false)" onMouseOver="pop(zlien[3],597)" href="index.php?id=12" style=\'font-size:12px; color: white; font-weight: bold; text-decoration: none\'>VOYAGES GROUPES</a></TD>')
document.write('<TD WIDTH=198 ALIGN=center><A onClick="return(true)" href="mailto:infos@express-sundgoviens.fr" style=\'font-size:12px; color: white; font-weight: bold; text-decoration: none\'>NOUS ECRIRE</a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV></div>')
