
   var Typenames      = [
                        'Abeille'              ,
                        'Agneau'               ,
                        'Ange'                 ,
                        'Ane'                  ,
                        'Araignee'             ,
                        'Aubergine'            ,
                        'Autruche'             ,
                        'Baigneur'             ,
                        'Blaireau'             ,
                        'Bonhomme'             ,
                        'Bonhomme de neige'    ,
                        'Canard'               ,
                        'Castor'               ,
                        'Cerf'                 ,
                        'Chameau'              ,
                        'Chat'                 ,
                        'Chenille'             ,
                        'Cheval'               ,
                        'Chevre'               ,
                        'Chien'                ,
                        'Cigogne'              ,
                        'Clown'                ,
                        'Coccinelle'           ,
                        'Cochon'               ,
                        'Coq'                  ,
                        'Crabe'                ,
                        'Crevette'             ,
                        'Crocodile'            ,
                        'Cygne'                ,
                        'Dauphin'              ,
                        'Diablotin'            ,
                        'Dinosaure'            ,
                        'Dragon'               ,
                        'Dromadaire'           ,
                        'Ecrevisse'            ,
                        'Ecureuil'             ,
                        'Elephant'             ,
                        'Eponge'               ,
                        'Escargot'             ,
                        'Etoile'               ,
                        'Faon'                 ,
                        'Fee'                  ,
                        'Fleur'                ,
                        'Fourmi'               ,
                        'Fruit'                ,
                        'Girafe'               ,
                        'Grenouille'           ,
                        'Herisson'             ,
                        'Hibou'                ,
                        'Hippocampe'           ,
                        'Hippopotame'          ,
                        'Homard'               ,
                        'Kangourou'            ,
                        'Koala'                ,
                        'Lapin'                ,
                        'Legume'               ,
                        'Libellule'            ,
                        'Licorne'              ,
                        'Lion'                 ,
                        'Livre'                ,
                        'Loup'                 ,
                        'Lune'                 ,
                        'Lutin'                ,
                        'Marmotte'             ,
                        'Marsupilami'          ,
                        'Mille-Pattes'         ,
                        'Morse'                ,
                        'Mouton'               ,
                        'Oie'                  ,
                        'Oiseau'               ,
                        'Ours'                 ,
                        'Panda'                ,
                        'Panthere'             ,
                        'Papillon'             ,
                        'Perroquet'            ,
                        'Phoque'               ,
                        'Pieuvre'              ,
                        'Pingouin'             ,
                        'Poisson'              ,
                        'Poule'                ,
                        'Poupee'               ,
                        'Poupon'               ,
                        'Poussin'              ,
                        'Rat'                  ,
                        'Raton laveur'         ,
                        'Renard'               ,
                        'Rhinoceros'           ,
                        'Sanglier'             ,
                        'Serpent'              ,
                        'Singe'                ,
                        'Soleil'               ,
                        'Souris'               ,
                        'Taupe'                ,
                        'Taureau'              ,
                        'Tigre'                ,
                        'Tortue'               ,
                        'Vache'                ,
                        'Zebre'

                      ]; 

   
   function setTypes ()
     {
        s = 0;
        j = 1;
        if (document.layers) { myform = document.forms.search; }
        else                 { myForm = document.search;       }

        aSiteindex = myForm.where.options.selectedIndex;
        aType = myForm.type.options[myForm.type.options.selectedIndex].value;

        aTab = Typenames;

        if   (aSiteindex    == 0)  {l = aTab.length+2;}
        else if (aSiteindex == 1 ) {l = aTab.length+1;}
        else                       {l = 1            ;} 

        myForm.type.options.length = l;

        myForm.type.options[0].value = "Tous";
        myForm.type.options[0].text  = "Tous";

        if (aSiteindex == 0)
          {
             myForm.type.options[1].value = "Autres";
             myForm.type.options[1].text  = "Autres";
             j=2;
          }

        if (aSiteindex <= 1)
          {
            for (i=0; i<aTab.length; i++)
              {
                myForm.type.options[i+j].value = aTab[i];
                myForm.type.options[i+j].text  = aTab[i];
               if (aTab[i] == aType) { s= i+j;}
              }
          } 

        myForm.type.options.selectedIndex = s;

     }

