<!--

// Menu du site affiché sur toutes les pages
//var url_base="http://www.ac-nancy-metz.fr/Pres-etab/AlainFournierMetz";
// var url_base="";
// appelé par menu(0) sur la page d'accueil ou par menu(1) sur les autres
// au niveau inférieur

// modifié le 3/10/2010

function menu(page)
{
 if (page==0)
   {url_base="";}
   else
     {url_base="../";}



document.write("<table width=\"140\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("<tr><td colspan=\"2\"><img src=\""+url_base+"barre.gif\" width=\"140\" height=\"7\"></td></tr>");

// accueil
document.write("<tr><td bgcolor=\"#626D90\" align=\"center\"><font size=\"2\" color=\"#000000\" face=\"Verdana\"><a href=\""+url_base+"Default.htm\"><font color=\"#FFFFFF\">Accueil</font><br></a></td>");
document.write("<td width=\"15\" background=\""+url_base+"bord.gif\">&nbsp;</td></tr>");
document.write("<tr><td colspan=\"2\"><img src=\""+url_base+"barre.gif\" width=\"140\" height=\"7\"></td></tr>");

// administration : 3 dossiers pres, rens et résultats
document.write("<tr><td bgcolor=\"#626D90\" align=\"center\">");
document.write("<font size=\"3\" face=\"arial\" color=\"#FF0000\"><strong>Administration</strong><hr width=\"95%\" size=\"3\">");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"pres/presente.htm\"><font color=\"#FFFFFF\">Pr&eacute;sentation</font></a><br><br>");
document.write("<a href=\""+url_base+"rens/renseigne.htm\"><font color=\"#FFFFFF\">Renseignements</a><br><br>");
document.write("<a href=\""+url_base+"Resultats.htm\"><font color=\"#FFFFFF\">R&eacute;sultats</a><br><br>");
document.write("</font></td>");
document.write("<td width=\"15\" background=\""+url_base+"bord.gif\">&nbsp;</td></tr>");
document.write("<tr><td colspan=\"2\"><img src=\""+url_base+"barre.gif\" width=\"140\" height=\"7\"></td></tr>");

// pédagogie  : 3  dossiers : actualités, proj et act
document.write("<tr><td bgcolor=\"#626D90\" align=\"center\">");
document.write("<font size=\"3\" face=\"arial\" color=\"#FF0000\"><strong>Pédagogie</strong><hr width=\"95%\" size=\"3\">");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"actu/actu.htm\"><font color=\"#FFFFFF\">Actualit&eacute;s</font></a><br><br>");
document.write("<font color=\"#FFFFFF\" size=\"2\" face=\"Verdana\"><a href=\""+url_base+"proj/projets.htm\"><font color=\"#FFFFFF\">Projets</font></a><br><br>");
document.write("<a href=\""+url_base+"act/actions.htm\"><font color=\"#FFFFFF\">Actions</a><br><br>");
document.write("</font></td>");
document.write("<td width=\"15\" background=\""+url_base+"bord.gif\">&nbsp;</td></tr>");
document.write("<tr><td colspan=\"2\"><img src=\""+url_base+"barre.gif\" width=\"140\" height=\"7\"></td></tr>");

// Formations : 8 dossiers : 3 DVP, cap, bep, bacpro, mcad, mave DAIP et GRETA
document.write("<tr><td bgcolor=\"#626D90\" align=\"center\">");
document.write("<font size=\"3\" face=\"arial\" color=\"#FF0000\"><strong>Formations</strong><hr width=\"95%\" size=\"3\">");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"techno/mnu_3DVP.htm\"><font color=\"#FFFFFF\">3 &egrave;me DP6</font></a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"cap/mnu_cap.htm\"><font color=\"#FFFFFF\">CAP</font></a><br><br>");
document.write("<a href=\""+url_base+"bep/mnu_bep.htm\"><font color=\"#FFFFFF\">BEP</a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"bacpro/mnu_bacpro.htm\"><font color=\"#FFFFFF\">BAC PRO</font></a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"mc/mcad.htm\"><font color=\"#FFFFFF\">MCAD</font></a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"mc/IFAP - copie.htm\"><font color=\"#FFFFFF\">Aux. Pu&eacute;riculture</font></a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"Daip.htm\"><font color=\"#FFFFFF\">DAIP</font></a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"fc/mnu_fc.htm\"><font color=\"#FFFFFF\">GRETA</font></a><br><br></td>");
document.write("<td width=\"15\" background=\""+url_base+"bord.gif\">&nbsp;</td></tr>");
document.write("<tr><td colspan=\"2\"><img src=\""+url_base+"barre.gif\" width=\"140\" height=\"7\"></td></tr>");

// Divers :  amicale, forum, Restaurant
document.write("<tr><td bgcolor=\"#626D90\" align=\"center\">");
document.write("<font size=\"3\" face=\"arial\" color=\"#FF0000\"><strong>Divers</strong><hr width=\"95%\" size=\"3\">");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"amicale/amicale.htm\"><font color=\"#FFFFFF\">Amicale</font></a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"forum.htm\"><font color=\"#FFFFFF\">Forum</font></a><br><br>");
document.write("<font size=\"2\" face=\"Verdana\"><a href=\""+url_base+"restaurant/menus.htm\"><font color=\"#FFFFFF\">Restaurant</font></a><br><br>");
document.write("</font></td>");
document.write("<td width=\"15\" background=\""+url_base+"bord.gif\">&nbsp;</td></tr>");
document.write("<tr><td colspan=\"2\"><img src=\""+url_base+"barre.gif\" width=\"140\" height=\"7\"></td></tr>");

// Ecrire
document.write("<tr><td bgcolor=\"#626D90\" align=\"center\">");
document.write("<a href=\"mailto:ce.0570061@ac-nancy-metz.fr?subject=Site%20Alain-Fournier%20Metz\"><img src=\""+url_base+"lettre.gif\" alt=\"Ecrire\" width=\"32\" height=\"32\" align=\"middle\" border=\"0\" vspace=\"3\"></a><br>");
document.write("</td>");
document.write("<td width=\"15\" background=\""+url_base+"bord.gif\">&nbsp;</td></tr>");
document.write("<tr><td colspan=\"2\"><img src=\""+url_base+"barre.gif\" width=\"140\" height=\"7\"></td></tr>");
document.write("</table>");
}


function affiche_date()
  {
    function cree_tableau(taille)
   {
     this.length = taille;
     return this;
   }

   tab_mois = new cree_tableau(12);

   tab_mois[1] = "janvier";
   tab_mois[2] = "f&eacute;vrier";
   tab_mois[3] = "mars";
   tab_mois[4] = "avril";
   tab_mois[5] = "mai";
   tab_mois[6] = "juin";
   tab_mois[7] = "juillet";
   tab_mois[8] = "ao&ucirc;t";
   tab_mois[9] = "septembre";
   tab_mois[10] = "octobre";
   tab_mois[11] = "novembre";
   tab_mois[12] = "d&eacute;cembre";

   date_courante = new Date(document.lastModified);
   mois = tab_mois[date_courante.getMonth() + 1];
   jour = date_courante.getDate();
   annee = date_courante.getYear(); //+ 1900   pour NetScape 4.76 ?

   if(navigator.appName == "Netscape")
   {
     ch=String(annee);
     ch=ch.substr(-2,2);
     annee=ch;
   }

    document.write("<font size=\"1\" color=\"#4E4E4E\" face=\"arial\">Derni&egrave;re modification le : " + jour + " " + mois + " " + annee+"</font>");
  }

function eclaire(s)
{
 if ("A"==event.srcElement.tagName)
      event.srcElement.className=s;
}

function precharge(imgObj,imgSrc)
{
 if (document.images)
  {
   eval(imgObj+' = new Image()')
   eval(imgObj+'.src = "'+imgSrc+'"')
  }
}


function creer_histo(graphique,longueurgraphique)
{
afficher='<table border="1" cellspacing="0" cellpadding="10" align="center" bgcolor="#FFFFFF">';
for (i=0;i<graphique.length;i++){
  largeur=longueurgraphique*(parseInt(graphique[i][1])/100);
  afficher+='<tr><td>'+graphique[i][0];
  afficher+='&nbsp;</td><td><img src="';
  afficher+=image_histo+'" width="';
  afficher+=largeur+'" height="14"> ';
  afficher+=graphique[i][1]+'</td></tr>';
  }
afficher+='</table>';
document.write(afficher);
}

function afficheMaxi(chemin)
{
posi2 = chemin.indexOf(".");
posi1 = chemin.indexOf("/");
longueur =  posi2-posi1-1;
titre = chemin.substr(posi1+1,longueur);
titre = titre.replace(/_/gi," ");
titre = titre.toUpperCase();
html = '<html><head><title>'+titre+'</title></head><body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0"><center><img src="'+chemin+'" border="0" alt="cliquer sur [x] pour refermer" title="cliquer sur [x] pour refermer" name="ImageMax" onLoad="window.resizeTo(document.ImageMax.width+38,document.ImageMax.height+64);window.moveTo((screen.width-document.ImageMax.width)/2,(screen.height-document.ImageMax.height)/2)"></center></body></html><br>';
popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,top=100,left=100,width=820,height=620,menuBar=0,scrollbars=0,resizable=0');
popupImage.document.open();
popupImage.document.write(html);
popupImage.document.close();
}

// -->

