// JavaScript Document/*----------------------------------------------------------------------------*//* fill_themes_list                                                        *//*----------------------------------------------------------------------------*//* Initialise la liste des sous thèmes liées au service du clinet               *//*----------------------------------------------------------------------------*/			function fill_themes_list(){				set_function_list(document.forms.identite.fd_soustheme,document.forms.identite.fd_theme.value);			}/*----------------------------------------------------------------------------*//* SET_FONCTIONS_LIST                                                         *//*----------------------------------------------------------------------------*//* Supprime la liste des sous thèmes avant création                             *//*----------------------------------------------------------------------------*/		   function set_function_list(select_input,themeID){										// Variable pour le Numéro de ligne dans la liste de sélection					func_nb_line = 0;					// Si le theme n'est pas sélectionnez on désactive la liste de sélection					if( themeID == 'MESS999'){						select_input.disabled = true;					}else{						select_input.disabled = false;					}					// Suppression de toutes les entrées de la liste des sous thèmes					clean_fonctions(select_input);					// Ajout de l'entrée "Sélectionnez un sous thème"		   			select_input.options[func_nb_line] = new Option("Selectionnez un sous-theme",'0#MESS999');					func_nb_line++;		if( themeID == '1' ){		select_input.options[func_nb_line] = new Option("Perte d\'identifiants",'1#Perte d\'identifiants');	func_nb_line++;	}			if( themeID == '1' ){		select_input.options[func_nb_line] = new Option("Demande d\'identifiant",'2#Demande d\'identifiant');	func_nb_line++;	}			if( themeID == '1' ){		select_input.options[func_nb_line] = new Option("Retrouver son code client",'3#Retrouver son code client');	func_nb_line++;	}			if( themeID == '1' ){		select_input.options[func_nb_line] = new Option("Devenir Client UGAP",'4#Devenir Client UGAP');	func_nb_line++;	}			if( themeID == '1' ){		select_input.options[func_nb_line] = new Option("RÃ©initialiser son mot de passe",'5#RÃ©initialiser son mot de passe');	func_nb_line++;	}			if( themeID == '2' ){		select_input.options[func_nb_line] = new Option("GÃ©rer les utilisateurs",'6#GÃ©rer les utilisateurs');	func_nb_line++;	}			if( themeID == '2' ){		select_input.options[func_nb_line] = new Option("GÃ©rer les circuits de commandes",'7#GÃ©rer les circuits de commandes');	func_nb_line++;	}			if( themeID == '2' ){		select_input.options[func_nb_line] = new Option("GÃ©rer les budgets",'8#GÃ©rer les budgets');	func_nb_line++;	}			if( themeID == '2' ){		select_input.options[func_nb_line] = new Option("Questions sur les tableaux de bords",'9#Questions sur les tableaux de bords');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit papier",'11#Demande information produit papier');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit fourniture de bureau",'12#Demande information produit fourniture de bureau');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit consommables",'13#Demande information produit consommables');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit informatique",'14#Demande information produit informatique');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit vÃ©hicules",'15#Demande information produit vÃ©hicules');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit mobilier",'16#Demande information produit mobilier');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit Ã©quipement gÃ©nÃ©ral",'17#Demande information produit Ã©quipement gÃ©nÃ©ral');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit restauration professionnelle",'18#Demande information produit restauration professionnelle');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit hygiÃ¨ne et entretien",'19#Demande information produit hygiÃ¨ne et entretien');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Demande information produit mÃ©dical",'20#Demande information produit mÃ©dical');	func_nb_line++;	}			if( themeID == '4' ){		select_input.options[func_nb_line] = new Option("Je ne trouve pas un produit",'21#Je ne trouve pas un produit');	func_nb_line++;	}			if( themeID == '4' ){		select_input.options[func_nb_line] = new Option("Comment crÃ©er et valider une commande",'22#Comment crÃ©er et valider une commande');	func_nb_line++;	}			if( themeID == '4' ){		select_input.options[func_nb_line] = new Option("Qu\'est ce qu\'un panier type et comment le crÃ©er",'23#Qu\'est ce qu\'un panier type et comment le crÃ©er');	func_nb_line++;	}			if( themeID == '4' ){		select_input.options[func_nb_line] = new Option("Comment transformer un panier type en commande",'24#Comment transformer un panier type en commande');	func_nb_line++;	}			if( themeID == '4' ){		select_input.options[func_nb_line] = new Option("Demande d\'ajout ou de modification d\'adresse",'25#Demande d\'ajout ou de modification d\'adresse');	func_nb_line++;	}			if( themeID == '4' ){		select_input.options[func_nb_line] = new Option("Les diffÃ©rentes faÃ§ons de passer commande",'26#Les diffÃ©rentes faÃ§ons de passer commande');	func_nb_line++;	}			if( themeID == '5' ){		select_input.options[func_nb_line] = new Option("Demande de modification d\'une commande",'27#Demande de modification d\'une commande');	func_nb_line++;	}			if( themeID == '5' ){		select_input.options[func_nb_line] = new Option("Demande d\'annulation d\'une commande",'28#Demande d\'annulation d\'une commande');	func_nb_line++;	}			if( themeID == '6' ){		select_input.options[func_nb_line] = new Option("Question sur votre facturation",'29#Question sur votre facturation');	func_nb_line++;	}			if( themeID == '6' ){		select_input.options[func_nb_line] = new Option("Question sur les paiements par carte achat",'30#Question sur les paiements par carte achat');	func_nb_line++;	}			if( themeID == '8' ){		select_input.options[func_nb_line] = new Option("Mobilier et Ã©quipement gÃ©nÃ©ral",'31#Mobilier et Ã©quipement gÃ©nÃ©ral');	func_nb_line++;	}			if( themeID == '8' ){		select_input.options[func_nb_line] = new Option("VÃ©hicules",'32#VÃ©hicules');	func_nb_line++;	}			if( themeID == '8' ){		select_input.options[func_nb_line] = new Option("Informatique et communication",'33#Informatique et communication');	func_nb_line++;	}			if( themeID == '8' ){		select_input.options[func_nb_line] = new Option("MÃ©dical",'34#MÃ©dical');	func_nb_line++;	}			if( themeID == '8' ){		select_input.options[func_nb_line] = new Option("Services",'35#Services');	func_nb_line++;	}			if( themeID == '10' ){		select_input.options[func_nb_line] = new Option("Demande de dossier de presse",'36#Demande de dossier de presse');	func_nb_line++;	}			if( themeID == '10' ){		select_input.options[func_nb_line] = new Option("Demande de magazine \"Publik\"",'37#Demande de magazine \"Publik\"');	func_nb_line++;	}			if( themeID == '10' ){		select_input.options[func_nb_line] = new Option("Demande de plaquette",'38#Demande de plaquette');	func_nb_line++;	}			if( themeID == '10' ){		select_input.options[func_nb_line] = new Option("Demande de catalogue",'39#Demande de catalogue');	func_nb_line++;	}			if( themeID == '7' ){		select_input.options[func_nb_line] = new Option("Litiges Papier Ã©co-responsable",'40#Litiges Papier Ã©co-responsable');	func_nb_line++;	}			if( themeID == '7' ){		select_input.options[func_nb_line] = new Option("Litiges toute commande",'41#Litiges toute commande');	func_nb_line++;	}			if( themeID == '11' ){		select_input.options[func_nb_line] = new Option("Information sur les Forums - Salons",'42#Information sur les Forums - Salons');	func_nb_line++;	}			if( themeID == '15' ){		select_input.options[func_nb_line] = new Option("Grippe A",'49#Grippe A');	func_nb_line++;	}			if( themeID == '3' ){		select_input.options[func_nb_line] = new Option("Consulter un architecte d\'intÃ©rieur",'50#Consulter un architecte d\'intÃ©rieur');	func_nb_line++;	}			if( themeID == '9' ){		select_input.options[func_nb_line] = new Option("Divers",'51#Divers');	func_nb_line++;	}			if( themeID == '16' ){		select_input.options[func_nb_line] = new Option("Demande de devis",'52#Demande de devis');	func_nb_line++;	}	}/*----------------------------------------------------------------------------*//* CLEAN_FONCTIONS                                                            *//*----------------------------------------------------------------------------*//* Supprime la liste des fonctions avant création                             *//*----------------------------------------------------------------------------*/            function clean_fonctions(select_input){               var lgth = select_input.options.length;               //alert('option length = '+lgth);               while(lgth > 0){                        select_input.options[lgth]=null;                        lgth--;               }            }