/*
SCRIPT TROUVE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 30;

xmenu = new Array;
xlien = new Array;

xmenu[0] = 'Accueil';
xmenu[1] = 'SG-1';
xmenu[2] = 'Atlantis';
xmenu[3] = 'Universe';
xmenu[4] = 'Encyclopédie';
xmenu[5] = 'Franchise';
xmenu[6] = 'Multimédia';
xmenu[7] = 'Galerie';
xmenu[8] = 'Site';
xmenu[9] = 'Forum';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[5] = ''
xlien[6] = ''
xlien[7] = ''
xlien[8] = ''
xlien[9] = ''
xlien[0] += '<A HREF="http://www.stargate-lantien.com/index.php" CLASS=menudyn3>Accueil</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="http://www.stargate-lantien.com/archivenews.php" CLASS=menudyn3>Archive News</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="http://www.stargate-lantien.com/rss.php" CLASS=menudyn3>Flux RSS</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="http://www.stargate-lantien.com/programmetv.php" CLASS=menudyn3>Programme TV</A>';
xlien[1] += 'La Série';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 1" CLASS=menudyn3>Saison 1</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 2" CLASS=menudyn3>Saison 2</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 3" CLASS=menudyn3>Saison 3</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 4" CLASS=menudyn3>Saison 4</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 5" CLASS=menudyn3>Saison 5</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 6" CLASS=menudyn3>Saison 6</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 7" CLASS=menudyn3>Saison 7</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 8" CLASS=menudyn3>Saison 8</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 9" CLASS=menudyn3>Saison 9</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=saison 10" CLASS=menudyn3>Saison 10</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.stargate-lantien.com/sg1/saison.php?voir=telefilm" CLASS=menudyn3>Téléfilm</A>';
xlien[2] += 'La Série';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.stargate-lantien.com/atlantis/saison.php?voir=saison 1" CLASS=menudyn3>Saison 1</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.stargate-lantien.com/atlantis/saison.php?voir=saison 2" CLASS=menudyn3>Saison 2</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.stargate-lantien.com/atlantis/saison.php?voir=saison 3" CLASS=menudyn3>Saison 3</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.stargate-lantien.com/atlantis/saison.php?voir=saison 4" CLASS=menudyn3>Saison 4</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.stargate-lantien.com/atlantis/saison.php?voir=saison 5" CLASS=menudyn3>Saison 5</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.stargate-lantien.com/atlantis/saison.php?voir=telefilm" CLASS=menudyn3>Téléfilm</A>';
xlien[3] += '<A HREF="http://www.stargate-lantien.com/univers/serie.php" CLASS=menudyn3>La Série</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="http://www.stargate-lantien.com/univers/saison.php?voir=saison 1" CLASS=menudyn3>Saison 1</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="http://www.stargate-lantien.com/univers/saison.php?voir=saison 2" CLASS=menudyn3>Saison 2</A>';
xlien[4] += '<A HREF="http://www.stargate-lantien.com/encyclopedie/planete/index.php" CLASS=menudyn3>Planète</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.stargate-lantien.com/encyclopedie/peuple/index.php" CLASS=menudyn3>Peuple</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.stargate-lantien.com/encyclopedie/personnage/index.php" CLASS=menudyn3>Personnage</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.stargate-lantien.com/encyclopedie/technologie/index.php" CLASS=menudyn3>Technologie</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.stargate-lantien.com/encyclopedie/vaisseau/index.php" CLASS=menudyn3>Vaisseau</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.stargate-lantien.com/encyclopedie/acteur/index.php" CLASS=menudyn3>Acteur</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.stargate-lantien.com/encyclopedie/dossier/index.php" CLASS=menudyn3>Dossier</A>';
xlien[5] += 'Bientôt';
xlien[6] += '<A HREF="http://www.stargate-lantien.com/multimedia/video/index.php" CLASS=menudyn3>Video</A>';
xlien[7] += 'La Galerie est Hors-Service';
xlien[8] += 'Partenaire';
xlien[8] += ' | ';
xlien[8] += '<A HREF="http://www.stargate-lantien.com/site/staff.php" CLASS=menudyn3>Staff</A>';
xlien[8] += ' | ';
xlien[8] += '<A HREF="http://www.stargate-lantien.com/site/blog.php" CLASS=menudyn3>Blog</A>';
xlien[9] += '<A HREF="http://www.stargate-lantien.com/forum/index.php" CLASS=menudyn3>Index</A>';
document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#FF9900; text-decoration:none;}\nA:hover.menudyn3 {color:#FFFFFF;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*90)+' BGCOLOR=#000000>  <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=100%>  <TR>');

for(i=0;i<xlien.length;i++)

{
	document.write('<TD BGCOLOR=#006699 onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=1 FACE="Verdana"><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#6699CC HEIGHT='+hauteurcadre+' VALIGN=top><ilayer id="dynamenu31" width=50% height='+hauteurcadre+'><layer id="dynamenu32" width=60% height='+hauteurcadre+'><div id="dynamenu33">&nbsp;</div></layer></ilayer></TD>  </TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
	{
	if(document.all)
		{
			document.all.td0.style.background='#006699';
	document.all.td1.style.background='#006699';
	document.all.td2.style.background='#006699';
	document.all.td3.style.background='#006699';
	document.all.td4.style.background='#006699';
	document.all.td5.style.background='#006699';
	document.all.td6.style.background='#006699';
	document.all.td7.style.background='#006699';
	document.all.td8.style.background='#006699';
	document.all.td9.style.background='#006699';	
		tditem.style.background='#6699CC';
		}
else if(document.getElementById)
	{
			document.getElementById("td0").style.background='#006699';
	document.getElementById("td1").style.background='#006699';
	document.getElementById("td2").style.background='#006699';
	document.getElementById("td3").style.background='#006699';
	document.getElementById("td4").style.background='#006699';
	document.getElementById("td5").style.background='#006699';
	document.getElementById("td6").style.background='#006699';
	document.getElementById("td7").style.background='#006699';
	document.getElementById("td8").style.background='#006699';
	document.getElementById("td9").style.background='#006699';	
tditem.style.background='#6699CC';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=1 FACE="Verdana">'+which+'</FONT>')
	document.dynamenu31.document.dynamenu32.document.close()
	}
else if (document.getElementById)
			{
			document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=1 FACE="Verdana, Arial"><B>'+which+'</B></FONT></CENTER>';
			}
else 	if (document.all){
	dynamenu33.innerHTML='&nbsp;'
	dynamenu33.innerHTML='<FONT SIZE=1 FACE="Verdana">'+which+'</FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}
MajMenu(0);
