//----------------------------------------------------------------------
//  COMMUN
//----------------------------------------------------------------------

		//----------------------------------------------------------------------
		// Affichage du bouton recherche
		//----------------------------------------------------------------------
		   						        
		        function afficherBoutonRecherche() {
			        var pos = new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(10,30));
			        pos.apply(document.getElementById("bouton_recherche"));
			        carte.getContainer().appendChild(document.getElementById("bouton_recherche"));
			        document.getElementById("bouton_recherche").style.visibility="visible";
		        }



//----------------------------------------------------------------------
//  CARTE DE FRANCE
//----------------------------------------------------------------------

		//----------------------------------------------------------------------
		//  Creation du menu des departements sur la carte
		//----------------------------------------------------------------------
		   						        
		      
      	       function creationMenuDepartements() {
		     
			      	var pos = new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(10,25));
			      	pos.apply(document.getElementById("cadre_liste_departements"));
			      	carte.getContainer().appendChild(document.getElementById("cadre_liste_departements"));
		       }
		
        
		        
		//----------------------------------------------------------------------
		// Affichage du bouton menu Departements
		//----------------------------------------------------------------------
		   						        
		        function afficherBoutonMenuDepartements() {
			        //var pos = new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(10,7));
			        //pos.apply(document.getElementById("bouton_carte_departements"));
			        //carte.getContainer().appendChild(document.getElementById("bouton_carte_departements"));
			        
			        document.getElementById("bouton_carte_departements").style.visibility="visible";
		        }
		  
		  
		  
		  
		//----------------------------------------------------------------------
		//  Toggle Liste Departements
		//----------------------------------------------------------------------
		
		function toggleListeDepartements() {
			if (visu_liste_departements=="on")
				masquerListeDepartements();
			else
				afficherListeDepartements();
		} 
		  
		  
		        
			
		//----------------------------------------------------------------------
		//  Affichage du menu des departements
		//----------------------------------------------------------------------
		   						        
		      
		       function afficherListeDepartements() {
		       		masquerListeVilles();
			      	document.getElementById("cadre_liste_departements").style.visibility="visible";
			      	document.getElementById("liste_departements").style.visibility="visible";
			      	visu_liste_departements="on";
		       }
		       
		//----------------------------------------------------------------------
		//  Masquage du menu des departements
		//----------------------------------------------------------------------       
		       
		                
				function masquerListeDepartements() {
		    		document.getElementById("cadre_liste_departements").style.visibility="hidden";	
		    		document.getElementById("liste_departements").style.visibility="hidden";	
		    		visu_liste_departements="off";
		    			
		    	} 
		        

//----------------------------------------------------------------------
//  CARTE DU DEPARTEMENT
//----------------------------------------------------------------------

		//----------------------------------------------------------------------
		//  Creation du menu des villes sur la carte
		//----------------------------------------------------------------------
		   						        
		      
		       function creationListeVilles() {
		       		
			      	var pos = new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(210,25));
			      	pos.apply(document.getElementById("menu_villes"));
			      	carte.getContainer().appendChild(document.getElementById("cadre_liste_villes"));
		       }

		        
		        
		//----------------------------------------------------------------------
		// Affichage du bouton menu Villes
		//----------------------------------------------------------------------
		   						        
		        function afficherBoutonMenuVilles() {
			        var pos = new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(210,7));
			        pos.apply(document.getElementById("bouton_carte_villes"));
			        carte.getContainer().appendChild(document.getElementById("bouton_carte_villes"));
			         document.getElementById("bouton_carte_villes").style.visibility="visible";
		        }
		
		//----------------------------------------------------------------------
		//  Toggle Liste Villes
		//----------------------------------------------------------------------
		
		function toggleListeVilles() {
			if (visu_liste_villes=="on")
				masquerListeVilles();
			else
				afficherListeVilles();
		}
		
		        
			        
		//----------------------------------------------------------------------
		//  Affichage du menu des villes
		//----------------------------------------------------------------------
		   						        
		      
		       function afficherListeVilles() {
		       		masquerListeDepartements();
			      	document.getElementById("cadre_liste_villes").style.visibility="visible";
			      	document.getElementById("liste_villes").style.visibility="visible";
			      	visu_liste_villes="on";
		       }
		       
		//----------------------------------------------------------------------
		//  Masquage du menu des villes 
		//----------------------------------------------------------------------       
		       
		                
				function masquerListeVilles() {
		    			document.getElementById("cadre_liste_villes").style.visibility="hidden";	
		    			document.getElementById("liste_villes").style.visibility="hidden";	
		    			visu_liste_villes="off";
		    			
		    		} 
		        
