posYmenu = 10;
bgcolor='#000000';
bgcolor2='#050ACF';
needcenter =true;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(400/2);
	else
		posXmenu = (window.innerWidth/2)-(400/2); 
	}
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('#topgauche { position:absolute; top:'+posYmenu+'px; left:'+posXmenu+'px; z-index:10; }')
document.write('A:hover.ejsmenu {color:#00FF00; text-decoration:none;}')
document.write('A.ejsmenu {color:#FFFFFF; text-decoration:none;}')
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');

lnk = new Array;
lnk[0] = new Array;
lnk[1] = new Array;
lnk[2] = new Array;
lnk[0][0] = '<A HREF="http://www.univ-st-etienne.fr/geologie/recherch/grlabor.htm" CLASS=ejsmenu> LABORATOIRE</A>';
lnk[0][1] = '<A HREF="http://www.univ-st-etienne.fr/geologie/recherch/grthema.htm" CLASS=ejsmenu> THÉMATIQUES</A>';
lnk[0][2] = '<A HREF="http://www.univ-st-etienne.fr/iaaf/home.html" CLASS=ejsmenu>TERRES AUSTRALES</A>';
lnk[0][3] = '<A HREF="http://www.univ-st-etienne.fr/geologie/recherch/grantarc.htm" CLASS=ejsmenu> ANTARCTIQUE</A>';
lnk[0][4] = '<A HREF="http://www.univ-st-etienne.fr/geologie/recherch/grmascen.htm" CLASS=ejsmenu> MASSIF CENTRAL FRANÇAIS</A>';

lnk[1][0] = '<A HREF="http://www.univ-st-etienne.fr/geologie/licencePro/carriere/3D_carriere_quarry_cantera_pedreira_steinbruch_vrml.htm", CLASS=ejsmenu>PIERRE ET GRANULATS</A>';

lnk[2][0] = '<A HREF="http://www.univ-st-etienne.fr/geologie/personne/gpcoordo.htm" CLASS=ejsmenu>COORDONNÉES</A>';
lnk[2][1] = '<A HREF="http://www.univ-st-etienne.fr/geologie/personne/gppages.htm" CLASS=ejsmenu>PAGES PERSONNELLES</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 = posYmenu+24;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=200><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><FONT SIZE=2 FACE=\"Arial\">&nbsp;&nbsp;"+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 sup()
{
	skn.visibility = "hidden";
}
document.onclick = sup;
document.write('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=400><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=25><TR>')
document.write('<TD WIDTH=133 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(lnk[0],0)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" onMouseOver="pop(lnk[0],0)" href="http://www.univ-st-etienne.fr/geologie/recherch/umr6524.htm" CLASS=ejsmenu><FONT SIZE=4 FACE="Times New Roman"> RECHERCHE </FONT></a></TD>')
document.write('<TD WIDTH=133 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(lnk[1],132)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" onMouseOver="pop(lnk[1],132)" href="http://www.univ-st-etienne.fr/geologie/licencePro/mines/3D_mine_mining_minas_vrml.htm" CLASS=ejsmenu><FONT SIZE=4 FACE="Times New Roman"> ENSEIGNEMENT </FONT></a></TD>')
document.write('<TD WIDTH=134 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(lnk[2],267)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" onMouseOver="pop(lnk[2],267)" href="http://www.univ-st-etienne.fr/geologie/plan2.htm" CLASS=ejsmenu><FONT SIZE=4 FACE="Times New Roman"> PERSONNELS </FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')
