
   var FRBrands      = [
          'Absorba'                  ,
          'Aderma'                   ,
          'Air france'               ,
          'Ajena'                    ,
          'Amtoys'                   ,
          'Anna club plush'          ,
          'Aubert'                   ,
          'Auchan'                   ,
          'Aux nations'              ,
          'Babibou'                  ,
          'Baby club'                ,
          'Babynat'                  ,
          'Babysun'                  ,
          'Bebe confort'             ,
          'Bebe Reve'                ,
          'Bebisol'                  ,
          'Bengy'                    ,
          'Berchet'                  ,
          'Bledilait'                ,
          'Bledina'                  ,
          'Bnp'                      ,
          'Boutchou'                 ,
          'Calidoux'                 ,
          'Camaieu-Okaidi'           ,
          'Carrefour'                ,
          'Casino'                   ,
          'Catimini'                 ,
          'Cedeji'                   ,
          'Charlie et Cie'           ,
          'Chicco'                   ,
          'Cmp'                      ,
          'Comptine'                 ,
          'Corolle'                  ,
          'CP international'         ,
          'Credit agricole'          ,
          'Disney'                   ,
          'Dmc'                      ,
          'Doudi'                    ,
          'Doudou de compagnie'      ,
          'Doudou et Compagnie'      ,
          'Du pareil au meme'        ,
          'Echauffour'               ,
          'Eden'                     ,
          'Egmont toys'              ,
          'Envog'                    ,
          'Famili'                   ,
          'Fisher price'             ,
          'Fizzy'                    ,
          'Francoise saget'          ,
          'Friends et More'          ,
          'Gerca'                    ,
          'Gd'                       ,
          'Gipsy'                    ,
          'Graine d Eveil'           ,
          'Happy horse'              ,
          'Histoire d Ours'          ,
          'Ikea'                     ,
          'Influx'                   ,
          'Jacadi'                   ,
          'Jemini'                   ,
          'Jollybaby'                ,
          'Joseph Buathier'          ,
          'Kaloo'                    ,
          'Kathe Kruse'              ,
          'Keptin junior'            ,
          'Kiabi'                    ,
          'Kimbaloo'                 ,
          'Klorane'                  ,
          'La halle'                 ,
          'Lardy'                    ,
          'Lascar'                   ,
          'Luckson'                  ,
          'Luminou'                  ,
          'Marese'                   ,
          'Maxita'                   ,
          'Minouche'                 ,
          'Mots Enfants'             ,
          'Moulin Roty'              ,
          'Musti'                    ,
          'Nattou'                   ,
          'Nature decouvertes'       ,
          'Nestle'                   ,
          'Nicotoy'                  ,
          'Nocibe'                   ,
          'Noukies'                  ,
          'Nounours'                 ,
          'Obaibi'                   ,
          'Okaidi'                   ,
          'Orchestra'                ,
          'Pampers'                  ,
          'Petit bateau'             ,
          'Pizza Pai'                ,
          'Planet pluch'             ,
          'Play by play'             ,
          'Playschool'               ,
          'Pommette'                 ,
          'Pop art'                  ,
          'Priscilla Larsen'         ,
          'Promo DM'                 ,
          'Reves de peluches'        ,
          'Russ'                     ,
          'Sergent major'            ,
          'Sigikid'                  ,
          'Simpson Trading'          ,
          'Siplec'                   ,
          'SNC SCA Textile'          ,
          'Sterntaler'               ,
          'Sucre d Orge'             ,
          'Takinou'                  ,
          'Tartine et chocolat'      ,
          'Teddy bear'               ,
          'Tex'                      ,
          'Tiamo'                    ,
          'Tigex'                    ,
          'Tinylove'                 ,
          'Tout compte fait'         ,
          'Trousselier'              ,
          'Ty'                       ,
          'Vert Baudet'              ,
          'Vulli'                    ,
          'Yves rocher'
                      ]; 

      var DEBrands  = [ 
                         'Clemens'            , 
                         'Diddl'              ,
                         'Disney'             ,
                         'Doodoo'             ,
                         'Kaloo'              ,
                         'Kathe Kruse'        ,
                         'Nici'               ,
                         'Nicotoy'            ,
                         'Russ'               ,
                         'Sigikid'            ,
                         'Steiff'             ,
                         'Sterntaler'         ,
                         'Teddy Hermann'
                      ];

      var UKBrands  = [ 
                          'Bisounours'         ,
                          'Disney'             ,
                          'Doudou et compagnie',
                          'Fisher Price'       ,  
                          'Kaloo'              ,
                          'Nici'               ,
                          'Ty'                
                      ];

      var ITBrands  = [ 
                        'Chicco' 
                      ];


      var ESBrands  = [ 
                         'Chicco'
                      ];

      var NLBrands  = [ 
                         'Chicco'
                      ];

      var SEBrands  = [ 
                         'Chicco'
                      ];


   function getBrandnamesArray (aCountry)
    {

      if (aCountry  == ''   ) {aCountry = 'FR'   ;}  

      if (aCountry  == 'FR' ) {result  = FRBrands;}
      if (aCountry  == 'BE' ) {result  = FRBrands;}
      if (aCountry  == 'CA' ) {result  = FRBrands;}
      if (aCountry  == 'CH' ) {result  = FRBrands;}

      if (aCountry  == 'DE' ) {result  = DEBrands;}
      if (aCountry  == 'AT' ) {result  = DEBrands;}
      if (aCountry  == 'BEA') {result  = DEBrands;}

      if (aCountry  == 'UK' ) {result  = UKBrands;}
      if (aCountry  == 'AU' ) {result  = UKBrands;}
      if (aCountry  == 'US' ) {result  = UKBrands;}
      if (aCountry  == 'HK' ) {result  = UKBrands;}
      if (aCountry  == 'IN' ) {result  = UKBrands;}
      if (aCountry  == 'IR' ) {result  = UKBrands;}
      if (aCountry  == 'MY' ) {result  = UKBrands;}
      if (aCountry  == 'PH' ) {result  = UKBrands;}
      if (aCountry  == 'PL' ) {result  = UKBrands;}
      if (aCountry  == 'SG' ) {result  = UKBrands;}

      if (aCountry  == 'ES' ) {result  = ESBrands;}

      if (aCountry  == 'IT' ) {result  = ITBrands;}

      if (aCountry  == 'NL' ) {result  = NLBrands;}

      if (aCountry  == 'SE' ) {result  = SEBrands;}

      return result; 

    } 

   function setBrands ()
     {
        s = 0;
        j = 1;
        if (document.layers) { myform = document.forms.search; }
        else                 { myForm = document.search;       }

        aSiteindex = myForm.where.options.selectedIndex;

        if ((aSiteindex == 0) || (aSiteindex == 2)) {aCountry = 'FR';}
        if (aSiteindex == 1) 
          { aCountry = myForm.country.options[myForm.country.options.selectedIndex].value; }

        aBrand = myForm.brand.options[myForm.brand.options.selectedIndex].value;
        aTab = getBrandnamesArray (aCountry);

        if (aSiteindex  == 0) {l = aTab.length+3;}
        else                  {l = aTab.length+1;}
        myForm.brand.options.length = l;

        myForm.brand.options[0].value = "Toutes";
        myForm.brand.options[0].text  = "Toutes";

        if (aSiteindex == 0)
          {
             myForm.brand.options[1].value = "Diverses";
             myForm.brand.options[1].text  = "Diverses";
             myForm.brand.options[2].value = "Inconnue";
             myForm.brand.options[2].text  = "Inconnue";
             j=3;
          }

        for (i=0; i<aTab.length; i++)
          {
             myForm.brand.options[i+j].value = aTab[i];
             myForm.brand.options[i+j].text  = aTab[i];
             if (aTab[i] == aBrand) { s= i+j;}
          }
        myForm.brand.options.selectedIndex = s;

     }

