bgcolor		= '#000000';
bgcolor2	= '#000000';
document.write('<div style="position:relative;height:25"><DIV class=popper id=topdeck></DIV>');

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
//zlien[0][0] = '<A HREF="http://blabla" CLASS=ejsmenu>blabla</A>';
//zlien[1][0] = '<A HREF="http://blibli" CLASS=ejsmenu>blibli</A>';
if(document.getElementById)
{
	skn = document.getElementById("topdeck").style
	skn.left = 99;
}

function pop(msg,pos)
{
	skn.visibility = "hidden";
	a=true
	skn.top = pos;
	var content ="<table border='0' cellpadding=0 cellspacing=0 width=150><tr><td><table width=100% border=0 cellpadding=0 cellspacing=1>";
	pass = 0
	while (pass < msg.length)
	{
		content += "<tr><td bgcolor="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" height=20>&nbsp;&nbsp;"+msg[pass]+"</td></tr>";
		pass++;
	}
	content += "</table></td></tr></table>";
	document.getElementById("topdeck").innerHTML = content;
	skn.visibility = "visible";
}

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

document.onclick = kill;

//Ajouter  pop(zlien[0],0); dans le onMouseOver pour les sousmenu, le deuxieme parametre doit etre incrementé de 20 à chaque ligne

if(document.getElementById)
{
	document.write('<div id=topgauche><table border=0 cellpadding=0 cellspacing=0 width="135" height="40"><tr><td><table cellpadding="0" cellspacing="1" border="0" width="100%" height="40">')

	document.write('<tr><td class="menu" onClick="location.href=\'/guides/rub/snow\'"><a href="/guides/rub/snow" class="menu">Snow</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/rub/skate\'"><a href="/guides/rub/skate" class="menu">Skate</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/rub/surf\'"><a href="/guides/rub/surf" class="menu">Surf</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/rub/vtt\'"><a href="/guides/rub/vtt" class="menu">VTT</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/rub/4x4\'"><a href="/guides/rub/4x4" class="menu">4x4</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/rub/quad\'"><a href="/guides/rub/quad" class="menu">Quad</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/rub/toutterrain\'"><a href="/guides/rub/toutterrain" class="menu">Moto Tout Terrain</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/guides_online\'"><a href="/guides/guides_online" class="menu">Les Guides Online</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'/guides/liens\'"><a href="/guides/liens" class="menu">Liens</a></td></tr>')
	document.write('<tr><td class="menu" onClick="location.href=\'mailto:%63%70%70%72%65%73%73%65%40%63%70%70%72%65%73%73%65%2E%6E%65%74\'"><a href="mailto:%63%70%70%72%65%73%73%65%40%63%70%70%72%65%73%73%65%2E%6E%65%74" class="menu">Contact</a></td></tr>')
	document.write('<tr><td><br /><br /><span style="font-weight: bold; color: #fff;">Newsletter</span><br /><form style="display: inline; padding: 0 0 0 0; margin: 0 0 0 0" action="/guides/newsletter/" method="post">');
	document.write('<input style="width: 90px; color:#000000; background-color:#fffff; text-align:center;" name="email" type="text" value="E-mail" onFocus="if(this.value==\'E-mail\') { this.value=\'\'; }" onBlur="if(this.value==\'\') { this.value=\'E-mail\'; }">');
	document.write('<input style="width: 30px; color:#000000; background-color:#fffff;" value="OK" type="submit">');
	document.write('</form></td></tr>');
	document.write('</table></TD></TR></TABLE></DIV>')
}
document.write('</div>');