function set_function(){
   var previous_style;
   TBODY = document.getElementsByTagName('tbody');
   for (i=0; i<TBODY.length; i++)
   {
      if (TBODY[i].className=='liste')
      {
         TR = TBODY[i].getElementsByTagName('tr');
         for (j=0; j<TR.length; j++)
         {
            TR[j].onmouseover = function(){
                  previous_style=this.style['backgroundColor'];
                  this.style['backgroundColor']='#FFD29D';} // Modifier ici la couleur
            TR[j].onmouseout = function(){this.style['backgroundColor']=previous_style;}
         }
      }
   }
   A_LIST = document.getElementsByTagName('a');
   for (i=0; i<A_LIST.length; i++)
   {
      if (A_LIST[i].className=='confirmer')
      {
         A_LIST[i].title='Opération ne pouvant être annulée';
         A_LIST[i].onclick = function(){
            return confirm('Attention cette opération ne peut être annulée');}
      }
      if (A_LIST[i].className=='confirmer_expedition')
      {
         A_LIST[i].title='Opération ne pouvant être annulée';
         A_LIST[i].onclick = function(){
            return confirm('Attention cette opération ne peut être annulée. Cette opération envoie un email au client l\'informant de l\'expédition de sa commande');}
      }
      if (A_LIST[i].className=='close')
      {
         A_LIST[i].title='Ferme la fenêtre';
         A_LIST[i].onclick = function(){
            window.close();
            return false;}
      }
      if (A_LIST[i].className=='lien_popup')
      {
         A_LIST[i].title='S\'ouvre dans une nouvelle fenêtre';
         A_LIST[i].onclick = function(){
            window.open(this.href, "", "resizable=yes, menubar=yes, location=no, scrollbars=yes, status=yes, width=600, height=500"); // Ajouter ici les paramètres supplémentaires (width, height, resizable...)
            return false;}
      }
      if (A_LIST[i].className=='lien_ext')
      {
         A_LIST[i].title='S\'ouvre dans une nouvelle fenêtre';
         A_LIST[i].onclick = function(){
            window.open(this.href); // Ajouter ici les paramètres supplémentaires (width, height, resizable...)
            return false;}
      }
      if (A_LIST[i].className=='popup_photo')
      {
         A_LIST[i].title='S\'ouvre dans une nouvelle fenêtre';
         A_LIST[i].onclick = function(){
            window.open(this.href, "", "menubar=no, location=no, scrollbars=yes, status=no, width=600, height=480"); // Ajouter ici les paramètres supplémentaires (width, height, resizable...)
            return false;}
      }
   }
}

onload=set_function
