// script pour metre en surbrilance une ligne de tableaufunction getCookie(name) {  var dc = document.cookie;  var prefix = name + "=";  var begin = dc.indexOf("; " + prefix);  if (begin == -1) {    begin = dc.indexOf(prefix);    if (begin != 0) return null;  } else    begin += 2;  var end = document.cookie.indexOf(";", begin);  if (end == -1)    end = dc.length;  return unescape(dc.substring(begin + prefix.length, end));}// list all show/hide element IDs heremenus_array = new Array ('elytech','services','recrutement');menus_status_array = new Array ();// remember switchesimg_close = 'rollup';img_open = 'rolldown';function toggleSheet(theid) {  if (document.getElementById) {    var switch_id = document.getElementById(theid);    var imgid = theid+'Button';    var button_id = document.getElementById(imgid);    if (menus_status_array[theid] != 'show') {      button_id.className = 'rolldown';      switch_id.className = 'showSwitch';	  menus_status_array[theid] = 'show';	  document.cookie = theid+'=show';    } else {      button_id.className = 'rollup';      switch_id.className = 'hideSwitch';	  menus_status_array[theid] = 'hide';	  document.cookie = theid+'=hide';    }  }}function setMenu() { // read cookies and set menus to last visited state  if (document.getElementById) {    for (var i=0; i < menus_array.length; i++) {      var idname = menus_array[i];      if (document.getElementById(idname)) {		var switch_id = document.getElementById(idname);		var imgid = idname+'Button';		var button_id = document.getElementById(imgid);		// alert(imgid);		if (getCookie(idname) == 'show') {		  button_id.className = 'rolldown';		  switch_id.className = 'showSwitch';		  menus_status_array [idname] = 'show';		} else {		  button_id.className = 'rollup';		  switch_id.className = 'hideSwitch';		  menus_status_array [idname] = 'hide';		}	  } // else { alert("Switch '"+idname+"' is not present on this page."); }    }  }}/* ]]> */function fenCentre(url,largeur,hauteur){var Dessus=(screen.height/2)-(hauteur/2);var Gauche=(screen.width/2)-(largeur/2);var features= 'height='+hauteur+',width='+largeur+',top='+Dessus +',left='+Gauche+",scrollbars=no";thewin=window.open(url,'',features); }  function VersionNavigateur(Netscape, Explorer) {  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||            (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))    return true;else return false;}function Semaine(){           this[0] = "Dimanche";  this[1] = "Lundi";           this[2] = "Mardi";     this[3] = "Mercredi";           this[4] = "Jeudi";     this[5] = "Vendredi";           this[6] = "Samedi";           }function Mois(){           this[0] = "Janvier";    this[1] = "Février";           this[2] = "Mars";       this[3] = "Avril";           this[4] = "Mai";        this[5] = "Juin";           this[6] = "Juillet";    this[7] = "Août";           this[8] = "Septembre";  this[9] = "Octobre";           this[10] = "Novembre";  this[11] = "Décembre";           }today = new Date;function date(){        var semaine=new Semaine();        var mois=new Mois();        var myDate=new Date();        annee = today.getFullYear();          var result=semaine[myDate.getDay()]+" "+myDate.getDate()+" "+mois[myDate.getMonth()]+" "+annee;        document.writeln(result);    }        function openWin( windowURL, windowName, windowFeatures ) {                 return window.open( windowURL, windowName, windowFeatures ) ;         } 
