diff --git a/htdocs/comm/prospect/prospects.php b/htdocs/comm/prospect/prospects.php
index 38d225e3484247f502c76cd492c27f5ec8696ff1..289278c8d786e07df521abfba6f88a5c273e2187 100644
--- a/htdocs/comm/prospect/prospects.php
+++ b/htdocs/comm/prospect/prospects.php
@@ -18,10 +18,10 @@
  */
 
 /**
- \file       htdocs/comm/prospect/prospects.php
- \ingroup    prospect
- \brief      Page de la liste des prospects
- \version    $Id$
+ *	\file       htdocs/comm/prospect/prospects.php
+ *	\ingroup    prospect
+ *	\brief      Page de la liste des prospects
+ *	\version    $Id$
  */
 
 require("./pre.inc.php");
@@ -354,9 +354,9 @@ if ($resql)
 
 	print '<tr class="liste_titre">';
 	print '<td class="liste_titre">';
-	print '<input type="text" class="flat" name="search_nom" value="'.$_GET["search_nom"].'">';
+	print '<input type="text" class="flat" name="search_nom" size="10" value="'.$_GET["search_nom"].'">';
 	print '</td><td class="liste_titre">';
-	print '<input type="text" class="flat" name="search_ville" size="12" value="'.$_GET["search_ville"].'">';
+	print '<input type="text" class="flat" name="search_ville" size="8" value="'.$_GET["search_ville"].'">';
 	print '</td>';
  	print '<td class="liste_titre">';
     print '&nbsp;';
@@ -399,8 +399,8 @@ if ($resql)
     print '</td>';
  	
  	// Print the search button
-    print '<td class="liste_titre" colspan="3" align="right">';
-	print '<input type="image" class="liste_titre" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/search.png" alt="'.$langs->trans("Search").'">';
+    print '<td colspan="3" class="liste_titre" align="right">';
+	print '<input class="liste_titre" type="image" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/search.png" alt="'.$langs->trans("Search").'">';
 	print '</td>';
 
 	print "</tr>\n";
@@ -432,7 +432,7 @@ if ($resql)
 		print $prospectstatic->LibLevel($obj->fk_prospectlevel);
 		print "</td>";
 		// Statut
-		print "<td align=\"center\">";
+		print '<td align="center" nowrap="nowrap">';
 		print $prospectstatic->LibStatut($obj->fk_stcomm,2);
 		print "</td>";
 
diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php
index aa9c14c375eaf1033a59c7f27d99fb6bc23f53f5..1a659185dba553aa2aac563ff46056fba123d7bf 100644
--- a/htdocs/fourn/index.php
+++ b/htdocs/fourn/index.php
@@ -158,7 +158,7 @@ if ($conf->fournisseur->enabled)
             {
                 $var=!$var;
                 $obj = $db->fetch_object($resql);
-                print '<tr $bc[$var]><td  nowrap="nowrap">';
+                print '<tr '.$bc[$var].'><td  nowrap="nowrap">';
 				$commandestatic->id=$obj->rowid;
 				$commandestatic->ref=$obj->ref;
 				print $commandestatic->getNomUrl(1,'',16);
diff --git a/htdocs/includes/menus/barre_top/auguria_backoffice.php b/htdocs/includes/menus/barre_top/auguria_backoffice.php
index 25b42517c23875ab56c57df2ea49d52937d73cae..3af0cd7a3fae87985b9b3884a7a00366144fadff 100644
--- a/htdocs/includes/menus/barre_top/auguria_backoffice.php
+++ b/htdocs/includes/menus/barre_top/auguria_backoffice.php
@@ -24,8 +24,7 @@
         \remarks    La construction d'un gestionnaire pour le menu du haut est simple:
         \remarks    Toutes les entrees de menu a faire apparaitre dans la barre du haut
         \remarks    doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a>
-        \remarks    On peut eventuellement ajouter l'attribut id="sel" dans la balise <a>
-        \remarks    quand il s'agit de l'entree du menu qui est selectionnee.
+		\remarks    ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> 
 */
 
 
@@ -81,16 +80,17 @@ class MenuTop {
         	{
         		if ($tabMenu[$i]['right'] == true)
 	        	{
-	        	// Define url
+		        	// Define url
 					$url=DOL_URL_ROOT.$tabMenu[$i]['url'];
 					if (! eregi('\?',DOL_URL_ROOT.$tabMenu[$i]['url'])) $url.='?';
 					else $url.='&';
 					$url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu=';
 					$url.="&idmenu=".$tabMenu[$i]['rowid'];
+					if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $class='class="tmenusel"';
+					else  $class='class="tmenu"';
 					// Define idsel
-					if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $idsel='id="sel" ';
-					else $idsel='';
-	        		print '<li><a '.$tabMenu[$i]['class'].' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'.$tabMenu[$i]['titre'].'</a></li>';
+					$idsel='';
+	        		print '<li><a '.$class.' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'.$tabMenu[$i]['titre'].'</a></li>';
 	        	}
 	        	else
 	        	{
diff --git a/htdocs/includes/menus/barre_top/auguria_frontoffice.php b/htdocs/includes/menus/barre_top/auguria_frontoffice.php
index 39a2ec21cd23709145359b7387a7834c6042429d..1da243dda44409e7af7dba4bd48c1419a509b136 100644
--- a/htdocs/includes/menus/barre_top/auguria_frontoffice.php
+++ b/htdocs/includes/menus/barre_top/auguria_frontoffice.php
@@ -24,8 +24,7 @@
         \remarks    La construction d'un gestionnaire pour le menu du haut est simple:
         \remarks    Toutes les entrees de menu a faire apparaitre dans la barre du haut
         \remarks    doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a>
-        \remarks    On peut eventuellement ajouter l'attribut id="sel" dans la balise <a>
-        \remarks    quand il s'agit de l'entree du menu qui est selectionnee.
+		\remarks    ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> 
 */
 
 
@@ -86,10 +85,11 @@ class MenuTop {
 					else $url.='&';
 					$url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu=';
 					$url.="&idmenu=".$tabMenu[$i]['rowid'];
+					if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $class='class="tmenusel"';
+					else  $class='class="tmenu"';
 					// Define idsel
-					if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $idsel='id="sel" ';
-					else $idsel='';
-	        		print '<li><a '.$tabMenu[$i]['class'].' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$tabMenu[$i]['atarget']":"").'>'.$tabMenu[$i]['titre'].'</a></li>';
+					$idsel='';
+	        		print '<li><a '.$class.' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$tabMenu[$i]['atarget']":"").'>'.$tabMenu[$i]['titre'].'</a></li>';
 	        	}
 	        	else
 	        	{
diff --git a/htdocs/includes/menus/barre_top/eldy_backoffice.php b/htdocs/includes/menus/barre_top/eldy_backoffice.php
index 137930cd14b6c91e9448ac9d4ad621669ec46cef..e5b27f037ef17f4c2154122d8c7cd1212d5101f7 100644
--- a/htdocs/includes/menus/barre_top/eldy_backoffice.php
+++ b/htdocs/includes/menus/barre_top/eldy_backoffice.php
@@ -25,16 +25,14 @@
         \remarks    La construction d'un gestionnaire pour le menu du haut est simple:
         \remarks    Toutes les entrees de menu a faire apparaitre dans la barre du haut
         \remarks    doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a>
-        \remarks    On peut eventuellement ajouter l'attribut id="sel" dans la balise <a>
-        \remarks    quand il s'agit de l'entree du menu qui est selectionnee.
+		\remarks    ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> 
 */
 
 
 /**
-        \class      MenuTop
-	    \brief      Classe permettant la gestion du menu du haut Eldy
-*/
-
+ *      \class      MenuTop
+ *	    \brief      Classe permettant la gestion du menu du haut Eldy
+ */
 class MenuTop {
 
     var $require_left=array("eldy_backoffice");     // Si doit etre en phase avec un gestionnaire de menu gauche particulier
@@ -74,7 +72,7 @@ class MenuTop {
         $class="";
         if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "home")
         {
-            $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+            $class='class="tmenusel"'; $_SESSION['idmenu']='';
         }
         else
         {
@@ -93,7 +91,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "companies")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -116,7 +114,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "products")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -142,7 +140,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "suppliers")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -171,7 +169,7 @@ class MenuTop {
 	        $class="";
 	        if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "commercial")
 	        {
-	            $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+	            $class='class="tmenusel"'; $_SESSION['idmenu']='';
 	        }
 	        else
 	        {
@@ -193,7 +191,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "accountancy")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -215,7 +213,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "project")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -237,7 +235,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "tools")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -258,7 +256,7 @@ class MenuTop {
             $class="";
             if (ereg("^".DOL_URL_ROOT."\/telephonie\/",$_SERVER["PHP_SELF"]))
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -275,7 +273,7 @@ class MenuTop {
             $class="";
             if (ereg("^".DOL_URL_ROOT."\/energie\/",$_SERVER["PHP_SELF"]))
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -293,7 +291,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "shop")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -311,7 +309,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "shop")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -329,7 +327,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "members")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -360,10 +358,11 @@ class MenuTop {
 					else $url.='&';
 					$url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu=';
 					$url.="&idmenu=".$tabMenu[$i]['rowid'];
+					if (! empty($_SESSION['idmenu']) && $tabMenu[$i]['rowid'] == $_SESSION['idmenu']) $class='class="tmenusel"';
+					else $class='class="tmenu"';
 					// Define idsel
-					if (! empty($_SESSION['idmenu']) && $tabMenu[$i]['rowid'] == $_SESSION['idmenu']) $idsel='id="sel" ';
-					else $idsel='';
-					print '<td class="tmenu"><a class="tmenu" '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>';
+					$idsel='';
+					print '<td class="tmenu"><a '.$class.' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>';
 					print $tabMenu[$i]['titre'];
 					print '</a></td>';
 	        	}
diff --git a/htdocs/includes/menus/barre_top/eldy_frontoffice.php b/htdocs/includes/menus/barre_top/eldy_frontoffice.php
index 5d2e53d65c7d92d97e4af5838131d11ca6eb512b..9458a7dc61ed809d83d3b6600fa887fd1264b33c 100644
--- a/htdocs/includes/menus/barre_top/eldy_frontoffice.php
+++ b/htdocs/includes/menus/barre_top/eldy_frontoffice.php
@@ -22,18 +22,16 @@
 		\version    $Id$
 
         \remarks    La construction d'un gestionnaire pour le menu du haut est simple:
-        \remarks    Toutes les ente�es de menu a faire apparaitre dans la barre du haut
-        \remarks    doivent etre affice�es par <a class="tmenu" href="...?mainmenu=...">...</a>
-        \remarks    On peut eventuellement ajouter l'attribut id="sel" dans la balise <a>
-        \remarks    quand il s'agit de l'entree du menu qui est selectionnee.
+        \remarks    Toutes les entetes de menu a faire apparaitre dans la barre du haut
+        \remarks    doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a>
+		\remarks    ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> 
 */
 
 
 /**
-        \class      MenuTop
-	    \brief      Classe permettant la gestion du menu du haut Eldy
-*/
-
+ *      \class      MenuTop
+ *	    \brief      Classe permettant la gestion du menu du haut Eldy
+ */
 class MenuTop {
 
     var $require_left=array("eldy_frontoffice");    // Si doit etre en phase avec un gestionnaire de menu gauche particulier
@@ -73,7 +71,7 @@ class MenuTop {
         $class="";
         if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "home")
         {
-            $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+            $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
         }
         else
         {
@@ -92,7 +90,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "companies")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -114,7 +112,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "products")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -142,7 +140,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "suppliers")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -170,7 +168,7 @@ class MenuTop {
 	        $class="";
 	        if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "commercial")
 	        {
-	            $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+	            $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
 	        }
 	        else
 	        {
@@ -192,7 +190,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "accountancy")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -214,7 +212,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "project")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class = 'class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -238,7 +236,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "tools")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class = 'class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -259,7 +257,7 @@ class MenuTop {
             $class="";
             if (ereg("^".DOL_URL_ROOT."\/telephonie\/",$_SERVER["PHP_SELF"]))
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -276,7 +274,7 @@ class MenuTop {
             $class="";
             if (ereg("^".DOL_URL_ROOT."\/energie\/",$_SERVER["PHP_SELF"]))
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -294,7 +292,7 @@ class MenuTop {
             $class="";
             if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "members")
             {
-                $class='class="tmenu" id="sel"'; $_SESSION['idmenu']='';
+                $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']='';
             }
             else
             {
@@ -324,9 +322,9 @@ class MenuTop {
 					else $url.='&';
 					$url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu=';
 					$url.="&idmenu=".$tabMenu[$i]['rowid'];
-					// Define idsel
 					if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $idsel='id="sel" ';
-					else $idsel='';
+					// Define idsel
+					$idsel='';
 	        		print '<td class="tmenu"><a class="tmenu" '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'.$tabMenu[$i]['titre'].'</a></td>';
 	        	}
 	        	else
diff --git a/htdocs/includes/menus/barre_top/empty.php b/htdocs/includes/menus/barre_top/empty.php
index 616db2a04265dccc2be55d935aa6afe31f54847a..6763be7a6f171b8164e1ec10a6d7eacc2743779a 100644
--- a/htdocs/includes/menus/barre_top/empty.php
+++ b/htdocs/includes/menus/barre_top/empty.php
@@ -1,5 +1,5 @@
 <?php
-/* Copyright (C) 2006 Laurent Destailleur  <eldy@users.sourceforge.net>
+/* Copyright (C) 2006-2008 Laurent Destailleur  <eldy@users.sourceforge.net>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,20 +14,18 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * $Id$
  */
 
 /**
-	    \file       htdocs/includes/menus/barre_top/empty.php
-		\brief      This is an example of an empty top menu handler
-		\version    $Revision$
-*/
+ *	    \file       htdocs/includes/menus/barre_top/empty.php
+ *		\brief      This is an example of an empty top menu handler
+ *		\version    $Id$
+ */
 
 /**
-        \class      MenuTop
-	    \brief      Class for top empty menu
-*/
+ *      \class      MenuTop
+ *	    \brief      Class for top empty menu
+ */
 class MenuTop {
 
     var $require_left=array("empty");   // If this top menu handler must be used with a particular left menu handler
diff --git a/htdocs/includes/menus/barre_top/rodolphe.php b/htdocs/includes/menus/barre_top/rodolphe.php
index ee4bf9908f3cd83961004f4e9e3b35bc64c89e46..7ecaadac02056fd0f1153a35505c70f846005c1a 100644
--- a/htdocs/includes/menus/barre_top/rodolphe.php
+++ b/htdocs/includes/menus/barre_top/rodolphe.php
@@ -19,14 +19,13 @@
 
 /**
         \file       htdocs/includes/menus/barre_top/rodolphe.php
-        \brief      Gestionnaire par d�faut du menu du haut
+        \brief      Gestionnaire menu haut Rodolphe
 		\version	$Id$
         
         \remarks    La construction d'un gestionnaire pour le menu du haut est simple:
         \remarks    Toutes les entrees de menu e faire apparaitre dans la barre du haut
+        \remarks    Toutes les entetes de menu a faire apparaitre dans la barre du haut
         \remarks    doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a>
-        \remarks    On peut eventuellement ajouter l'attribut id="sel" dans la balise <a>
-        \remarks    quand il s'agit de l'entree du menu qui est selectionnee.
 */
 
 
diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php
index 811aeca092c46cb5907b868ba124c79c9d518c3b..865c9a3c147e8e49ca4d3df8769ca097e5eee859 100644
--- a/htdocs/lib/functions.lib.php
+++ b/htdocs/lib/functions.lib.php
@@ -1806,7 +1806,7 @@ function print_liste_field_titre($name, $file, $field, $begin="", $options="", $
 	global $conf;
 	//print "$name, $file, $field, $begin, $options, $td, $sortfield, $sortorder<br>\n";
 
-	// Le champ de tri est mis en �vidence.
+	// Le champ de tri est mis en evidence.
 	// Exemple si (sortfield,field)=("nom","xxx.nom") ou (sortfield,field)=("nom","nom")
 	if ($sortfield == $field || $sortfield == ereg_replace("^[^\.]+\.","",$field))
 	{
diff --git a/htdocs/theme/auguria/auguria.css.php b/htdocs/theme/auguria/auguria.css.php
index 2d8d95f9dcf357f2044ec052b074fc882541d05c..5903255cf67bb8fa2bc91435c3c5d1de96c2f0d7 100644
--- a/htdocs/theme/auguria/auguria.css.php
+++ b/htdocs/theme/auguria/auguria.css.php
@@ -57,7 +57,6 @@ a:active  {font-weight: bold; color: #000000; text-decoration: none; }
 a:hover   {font-weight: bold; color: #000000; text-decoration: none; }
 input
 {
-
     background: #FDFDFD;
     border: 1px solid #ACBCBB;
     padding: 0px 0px 0px 0px;
@@ -65,14 +64,12 @@ input
 }
 input.flat
 {
-
     background: #FDFDFD;
     border: 1px solid #ACBCBB;
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
 textarea  {
-
     background: #FDFDFD;
     border: 1px solid #ACBCBB;
     padding: 0px 0px 0px 0px;
@@ -80,7 +77,6 @@ textarea  {
 }
 textarea.flat
 {
-
     background: #FDFDFD;
     border: 1px solid #ACBCBB;
     padding: 0px 0px 0px 0px;
@@ -88,6 +84,8 @@ textarea.flat
 }
 select.flat
 {
+    font-size: 12px;
+	font-family: helvetica, verdana, arial, sans-serif;
 	font-weight: normal;
     border: 1px solid #ACBCBB;
     padding: 0px 0px 0px 0px;
@@ -156,7 +154,7 @@ div.tmenu
 }
 div.tmenu  .tmenudisabled
 {
-	color: #757575;
+	color: #9FCED9;
 	font-size: 12px;
 	padding-left: 6px;
 	padding-right: 6px;
@@ -174,8 +172,8 @@ a.tmenu:link
 {
   	color:#FFFFFF;
 	text-decoration:none;
-	padding-left:10px;
-	padding-right:10px;
+	padding-left:5px;
+	padding-right:5px;
 	padding-top: 2px;
 	height: 21px;
 	font-weight: normal;
@@ -185,19 +183,19 @@ a.tmenu:visited
 {
   	color:#FFFFFF;
 	text-decoration:none;
-	padding-left:10px;
-	padding-right:10px;
+	padding-left:5px;
+	padding-right:5px;
 	padding-top: 2px;
 	height: 21px;
 	font-weight: normal;
 }
 
-a.tmenu#sel
+a.tmenusel
 {
 	color:#234046;
 	text-decoration:none;
-	padding-left:10px;
-	padding-right:10px;
+	padding-left:5px;
+	padding-right:5px;
 	padding-top: 2px;
 	height: 21px;
 	font-weight: normal;
@@ -207,8 +205,8 @@ a.tmenu:hover
 {
 	color:#234046;
 	text-decoration:none;
-	padding-left:10px;
-	padding-right:10px;
+	padding-left:5px;
+	padding-right:5px;
 	padding-top: 2px;
 	height: 21px;
 	font-weight: normal;
@@ -217,25 +215,30 @@ a.tmenu:hover
 
 a.tmenu:active
 {
+	color:#234046;
 	background:#4F9EC9;
 	text-decoration:none;
-	padding-left:10px;
-	padding-right:10px;
+	padding-left:5px;
+	padding-right:5px;
 	padding-top: 2px;
 	height: 21px;
-  font-weight: normal;
+    font-weight: normal;
 }
 
 font.tmenudisabled
 {
-  color: #93a5aa;
-  font-weight: normal;
-  font-size: 12px;
-  cursor: not-allowed;  
+    color: #9FCED9;
+    font-weight: normal;
+    font-size: 12px;
+    cursor: not-allowed;  
 }
 
 
 /* Pour menu TOP auguria uniquement */
+* html div.tmenu li a
+{
+	width:40px;
+}
 div.tmenu ul {
 	padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
@@ -250,7 +253,8 @@ div.tmenu li {
 	margin:0;
 	padding:0;
 }
-div.tmenu li a{
+div.tmenu li a
+{
   	font-size: 13px;
 	color:#FFFFFF;
 	text-decoration:none;
@@ -261,18 +265,8 @@ div.tmenu li a{
 	display: block;
 	font-weight: normal;
 }
-* html div.tmenu li a{
-	width:40px;
-}
-div.tmenu li a#sel
-{
-	background:#FFFFFF;
-	color:#4F9EC9;
-	font-weight: normal;
-}
 div.tmenu li a:visited
 {
-	color:#FFFFFF;
 	font-weight: normal;
 }
 div.tmenu li a:hover
@@ -290,6 +284,12 @@ div.tmenu li a:link
 {
 	font-weight: normal;
 }
+div.tmenu li a.tmenusel
+{
+	background:#FFFFFF;
+	color:#4F9EC9;
+	font-weight: normal;
+}
 
 
 
@@ -331,13 +331,13 @@ a.vmenu:link        { font-size:11px; text-align:left; font-weight: bold; color:
 a.vmenu:visited     { font-size:11px; text-align:left; font-weight: bold; color: #FFFFFF; margin: 1px 1px 1px 4px; }
 a.vmenu:active      { font-size:11px; text-align:left; font-weight: bold; color: #FFFFFF; margin: 1px 1px 1px 4px; }
 a.vmenu:hover       { font-size:11px; text-align:left; font-weight: bold; color: #FFFFFF; margin: 1px 1px 1px 4px; }
-font.vmenudisabled  { font-size:11px; text-align:left; font-weight: bold; color: #757575; margin: 1px 1px 1px 4px; }
+font.vmenudisabled  { font-size:11px; text-align:left; font-weight: bold; color: #9FCED9; margin: 1px 1px 1px 4px; }
 
 a.vsmenu:link       { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; }
 a.vsmenu:visited    { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; }
 a.vsmenu:active     { font-size:11px; text-align:left; font-weight: normal; color: RGB(94,148,181); margin: 1px 1px 1px 4px; }
 a.vsmenu:hover      { font-size:11px; text-align:left; font-weight: normal; color: RGB(94,148,181); margin: 1px 1px 1px 4px; }
-font.vsmenudisabled { font-size:11px; text-align:left; font-weight: normal; color: #757575; margin: 1px 1px 1px 4px; }
+font.vsmenudisabled { font-size:11px; text-align:left; font-weight: normal; color: #9FCED9; margin: 1px 1px 1px 4px; }
 
 a.help:link         { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #68ACCF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
 a.help:visited      { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #68ACCF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
@@ -754,7 +754,7 @@ white-space: nowrap;
 td.liste_titre_sel
 {
 background: #68ACCF;
-color: #FFFFFF;
+color: #556262;
 font-size: 12px;
 font-family: arial, helvetica, verdana, sans-serif;
 font-weight: normal;
@@ -764,8 +764,7 @@ white-space: normal;
   -moz-border-radius-topright:6px;
 }
 input.liste_titre {
-background: #7699A9;
-background-image : url(<?php echo $dolibarr_main_url_root.'/theme/auguria/img/liste_titre.png' ?>);
+background: #68ACCF;
 border: 0px;
 }
 
diff --git a/htdocs/theme/auguria/img/liste_titre.png b/htdocs/theme/auguria/img/liste_titre.png
deleted file mode 100644
index a575ee4b9b04f7d9a5941786d1b138de05b40d1c..0000000000000000000000000000000000000000
Binary files a/htdocs/theme/auguria/img/liste_titre.png and /dev/null differ
diff --git a/htdocs/theme/auguria/img/search.png b/htdocs/theme/auguria/img/search.png
index 0df0df04ca5aecc35c97251505f878042abb0c1f..31001609b82d74c1331386d301332e10669cb6bf 100644
Binary files a/htdocs/theme/auguria/img/search.png and b/htdocs/theme/auguria/img/search.png differ
diff --git a/htdocs/theme/bluelagoon/bluelagoon.css b/htdocs/theme/bluelagoon/bluelagoon.css
index 4efd5c5be1cdaf6f94a319e7ebee22ab958b1089..4aec4b65d94e8213d9ea02690ce0e5c26c1e6bcd 100644
--- a/htdocs/theme/bluelagoon/bluelagoon.css
+++ b/htdocs/theme/bluelagoon/bluelagoon.css
@@ -127,7 +127,7 @@ a.tmenu:visited
   font-weight:bold;
   font-size:12px;
 }
-a.tmenu#sel
+a.tmenusel
 { 
   padding: 0em 1em;
   margin: 0em 0em 1em 0em;
@@ -152,6 +152,10 @@ font.tmenudisabled
 
 
 /* Pour menu TOP auguria uniquement */
+* html div.tmenu li a
+{
+	width:40px;
+}
 div.tmenu ul {
 	padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
@@ -178,10 +182,7 @@ div.tmenu li a{
 	display: block;
 	font-weight: normal;
 }
-* html div.tmenu li a{
-	width:40px;
-}
-div.tmenu li a#sel
+div.tmenu li a.tmenusel
 {
 	background:#FFFFFF;
 	color:#000000;
diff --git a/htdocs/theme/dev/dev.css b/htdocs/theme/dev/dev.css
index 3ae473957f03b778dc465debc683ddff24c28d23..8868b6bf2c3ba49262aec083183093e856662b46 100644
--- a/htdocs/theme/dev/dev.css
+++ b/htdocs/theme/dev/dev.css
@@ -74,7 +74,7 @@ a.tmenu
   font-size:11px;
 }
 
-a.tmenu#sel
+a.tmenusel
 { 
   border-bottom:4px solid #9d9da1;	
   color: #000000;
@@ -89,6 +89,10 @@ a.tmenu:hover
 
 
 /* Pour menu TOP auguria uniquement */
+* html div.tmenu li a
+{
+	width:40px;
+}
 div.tmenu ul {
 	padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
@@ -115,10 +119,7 @@ div.tmenu li a{
 	display: block;
 	font-weight: normal;
 }
-* html div.tmenu li a{
-	width:40px;
-}
-div.tmenu li a#sel
+div.tmenu li a.tmenusel
 {
 	background:#FFFFFF;
 	color:#000000;
@@ -229,7 +230,7 @@ a.vsmenu:hover
 {
   border-color:gray;
   color: #000000;
-  }
+}
 
 font.vmenudisabled
 {
@@ -247,6 +248,7 @@ font.vsmenudisabled
   color: #A0A0A0;
   font-weight:bold;
   font-size:11px;
+  cursor: not-allowed;
 }
 
 
@@ -294,7 +296,8 @@ table.liste td
 /***** Styles par d�faut *****/
 input
 { 
-    font: 12px helvetica, verdana, arial, sans-serif;
+    font-size: 11px;
+    font-family: helvetica, verdana, arial, sans-serif;
     background: #FDFDFD;
     border: 1px solid #9CACAB;
     padding: 0px 0px 0px 0px;
@@ -302,22 +305,34 @@ input
 }
 input.flat
 { 
-    font: 12px helvetica, verdana, arial, sans-serif;
+    font-size: 11px;
+    font-family: helvetica, verdana, arial, sans-serif;
     background: #FDFDFD;
     border: 1px solid #9CACAB;
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
 textarea  {
-    font: 12px helvetica, verdana, arial, sans-serif;
+    font-size: 11px;
+    font-family: helvetica, verdana, arial, sans-serif;
     border: 1px solid #8C9C9B;
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
 textarea.flat
 { 
-    font: 12px helvetica, verdana, arial, sans-serif;
-    border: 1px solid #8C9C9B;
+    font-size: 11px;
+    font-family: helvetica, verdana, arial, sans-serif;
+	border: 1px solid #8C9C9B;
+    padding: 0px 0px 0px 0px;
+    margin: 0px 0px 0px 0px;
+}
+select.flat
+{
+	font-size: 11px;
+	font-family: helvetica, verdana, arial, sans-serif;
+	font-weight: normal;
+    border: 1px solid #ACBCBB;
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php
index 7a8183579d029bbba3d659e278740d8dc01257df..ebbd68e7cb951c10dffe335d7038ad0862bfcd1e 100644
--- a/htdocs/theme/eldy/eldy.css.php
+++ b/htdocs/theme/eldy/eldy.css.php
@@ -214,7 +214,7 @@ a.tmenu:visited
   font-family: helvetica, verdana, arial, sans-serif;
   font-weight: normal;
 }
-a.tmenu#sel
+a.tmenusel
 {
   color: #234046;
   padding: 0px 5px 0px 5px;
@@ -249,7 +249,7 @@ a.tmenu:active
   padding: 0px 5px 0px 5px;
   margin: 0px 0px 0px 0px;
   text-decoration: none;
-    font-size: 12px;
+  font-size: 12px;
   font-family: helvetica, verdana, arial, sans-serif;
   font-weight: normal;
   background:#F4F4F4;
@@ -271,6 +271,9 @@ font.tmenudisabled
 
 
 /* Pour menu TOP auguria uniquement */
+* html div.tmenu li a{
+	width:40px;
+}
 div.tmenu ul {
 	padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
@@ -280,51 +283,76 @@ div.tmenu ul {
 div.tmenu li {
 	float: left;
 	border-right: solid 1px #7699A9;
+	padding-left:5px;
+	padding-right:5px;
+	padding-top: 2px;
 	height: 18px;
 	position:relative;
 	display: block;
 	margin:0;
 	padding:0;
+	font-weight: normal;
 	}
-div.tmenu li a{
+div.tmenu li a
+{
   	font-size: 13px;
 	color:#000000;
 	text-decoration:none;
-	padding-left:10px;
-	padding-right:10px;
+	padding-left:5px;
+	padding-right:5px;
 	padding-top: 2px;
 	height: 18px;
 	display: block;
+	margin:0;
+	padding:0;
 	font-weight: normal;
 }
-* html div.tmenu li a{
-	width:40px;
-}
-div.tmenu li a#sel
+div.tmenu li a.tmenusel
 {
 	background:#F4F4F4;
 	color:#000000;
+	padding-left:5px;
+	padding-right:5px;
+	padding-top: 2px;
+	height: 18px;
 	font-weight: normal;
 }
 div.tmenu li a:visited
 {
 	color:#000000;
+	padding-left:5px;
+	padding-right:5px;
+	padding-top: 2px;
+	height: 18px;
 	font-weight: normal;
 }
 div.tmenu li a:hover
 {
 	background:#F4F4F4;
 	color:#000000;
+	padding-left:5px;
+	padding-right:5px;
+	padding-top: 2px;
+	height: 18px;
 	font-weight: normal;
+	border-bottom: 0px;
 }
 div.tmenu li a:active
 {
 	color:#4F9EC9;
+	padding-left:5px;
+	padding-right:5px;
+	padding-top: 2px;
+	height: 18px;
 	font-weight: normal;
 }
 div.tmenu li a:link
 {
-	
+	color:#000000;
+	padding-left:5px;
+	padding-right:5px;
+	padding-top: 2px;
+	height: 18px;
 	font-weight: normal;
 }
 
diff --git a/htdocs/theme/freelug/freelug.css.php b/htdocs/theme/freelug/freelug.css.php
index 144c58dd78f34096ffbab866db04ae64d396e25c..7f4d92261897d9d7951a4c2179bd0b2a5b2d6dc3 100644
--- a/htdocs/theme/freelug/freelug.css.php
+++ b/htdocs/theme/freelug/freelug.css.php
@@ -216,7 +216,7 @@ a.tmenu:visited
   font-weight: bold;
   font-size:12px;
 }
-a.tmenu#sel
+a.tmenusel
 { 
   color: #202020;
   background: #bbbbcc;
@@ -239,13 +239,18 @@ font.tmenudisabled
   color: #93a5aa;
   padding: 0px 8px;
   margin: 0px 0px 6px 0px;
-  border: 1px solid #b3c5cc;
+  border: 0px;
   font-weight:bold;
   font-size:12px;
+  cursor: not-allowed;
 }
 
 
 /* Pour menu TOP auguria uniquement */
+* html div.tmenu li a
+{
+	width:40px;
+}
 div.tmenu ul {
 	padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
@@ -272,10 +277,7 @@ div.tmenu li a{
 	display: block;
 	font-weight: normal;
 }
-* html div.tmenu li a{
-	width:40px;
-}
-div.tmenu li a#sel
+div.tmenu li a.tmenusel
 {
 	background:#FFFFFF;
 	color:#000000;
diff --git a/htdocs/theme/rodolphe/rodolphe.css b/htdocs/theme/rodolphe/rodolphe.css
index d2598f6c5ec83df865d50615df9b00d8a218df7c..dbf18de548278ae5ac51a203fa6d2d2cfcfdd863 100644
--- a/htdocs/theme/rodolphe/rodolphe.css
+++ b/htdocs/theme/rodolphe/rodolphe.css
@@ -14,11 +14,9 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * $Id$
- * $Source$
  */
 
+/* $Id$ */
 
 /***** Style du fond *****/
 body {
@@ -153,7 +151,7 @@ a.tmenu:visited
   font-weight:bold;
   font-size:12px;
 }
-a.tmenu#sel
+a.tmenusel
 { 
   color: #ffffff;
   background: #78746d;
@@ -211,7 +209,7 @@ div.tmenu li a{
 * html div.tmenu li a{
 	width:40px;
 }
-div.tmenu li a#sel
+div.tmenu li a.tmenusel
 {
 	background:#FFFFFF;
 	color:#000000;
diff --git a/htdocs/theme/yellow/yellow.css.php b/htdocs/theme/yellow/yellow.css.php
index 4bb78020f619d9d3d2224bdd9cb55aca4289dc88..0a16a6c7ff3d673c5808293827afd2f0ecaa2d78 100644
--- a/htdocs/theme/yellow/yellow.css.php
+++ b/htdocs/theme/yellow/yellow.css.php
@@ -186,7 +186,7 @@ a.tmenu:visited
   font-weight:bold;
   font-size:12px;
 }
-a.tmenu#sel
+a.tmenusel
 { 
   color: #234046;
   background: #eeeecc;
@@ -206,13 +206,18 @@ font.tmenudisabled
 {
   color: #93a5aa;
   padding: 0px 5px;
-  border: 1px solid #b3c5cc;
+  border: 0px;
   font-weight:bold;
   font-size:12px;
+  cursor: not-allowed;
 }
 
 
 /* Pour menu TOP auguria uniquement */
+* html div.tmenu li a
+{
+	width:40px;
+}
 div.tmenu ul {
 	padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
@@ -237,10 +242,7 @@ div.tmenu li a{
 	display: block;
 	font-weight: normal;
 }
-* html div.tmenu li a{
-	width:40px;
-}
-div.tmenu li a#sel
+div.tmenu li a.tmenusel
 {
 	background:#FFFFFF;
 	color:#000000;