Index: trunk/www/db_po/get_progs.php
===================================================================
--- trunk/www/db_po/get_progs.php	(revision 11990)
+++ trunk/www/db_po/get_progs.php	(revision 12444)
@@ -7,5 +7,5 @@
         $_GET["fProgram"]="";
     if (empty($_GET["fSelectSize"]))
-        $_GET["fSelectSize"]="10";
+        $_GET["fSelectSize"]="20";
     if (empty($_GET["fMode"]))
         $_GET["fMode"]="view";
@@ -37,9 +37,9 @@
 
     if (strcmp($_GET["fMode"], "view")==0)//reload tables in case of mode 'view'
-        printf("<select style='width: 120px' id='prog' size='%s' onchange='get_keys(this.value,\"\",\"%s\",\"%s\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' class='Width'>\n",
+        printf("<select style='width: 150px' id='prog' size='%s' onchange='get_keys(this.value,\"\",\"%s\",\"%s\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' class='Width'>\n",
                $_GET["fSelectSize"], $_GET["fSelectSize"], $_GET["fMode"]);
     else
-        printf("<select style='width: 120px' id='prog' size='%s' onchange=\"get_keys(this.value,'','%s','%s')\" class='Width'>\n",
-               $_GET["fSelectSize"], $_GET["fSelectSize"], $_GET["fMode"]);
+        printf("<select style='width: 150px' id='prog' size='%s' onchange=\"get_keys(this.value,'','%s','%s');get_values(1,this.value,'all');\" class='Width'>\n",
+               $_GET["fSelectSize"], 20, $_GET["fMode"]);//select size can be removed when fMode is used instead and only the two cases are needed
 
     if (!empty($_GET["fProgram"]) && strcmp("all", $_GET["fProgram"])==0)
