//MAP GOOGLE
function montre_map() {
	new Ajax.Updater('google_map', '/blog_aexecutive/google_map.php', {method:'get'});
    if (navigator.appName=='Microsoft Internet Explorer') 
    { 
           document.all.Layer_map.style.visibility='visible'; 
                   
    } 
    else 
    { 
           document.getElementById('Layer_map').style.visibility='visible';
     
    }
   } 

function cache_map() { 
    if (navigator.appName=='Microsoft Internet Explorer') 
    { 
           document.all.Layer_map.style.visibility='hidden'; 
                   
    } 
    else 
    { 
           document.getElementById('Layer_map').style.visibility='hidden';
     
    } 
                 ;}
				 
				 
//COMMENTAIRE BLOG	 
function montre_comment(id) { 
    if (navigator.appName=='Microsoft Internet Explorer') 
    { 
           document.all.Layer_comment.style.visibility='visible'; 
                   
    } 
    else 
    { 
           document.getElementById('Layer_comment').style.visibility='visible';
     
    }
	document.getElementById('id_news_com').value=id;
   } 

// ----------------------------- 

function cache_comment() { 
    if (navigator.appName=='Microsoft Internet Explorer') 
    { 
           document.all.Layer_comment.style.visibility='hidden'; 
                   
    } 
    else 
    { 
           document.getElementById('Layer_comment').style.visibility='hidden';
     
    } 
                 ;}
				 
function Affich_commentaire(id){
		if (navigator.appName=='Microsoft Internet Explorer') 
		{ 
			var nom='commentaire_news'+id;
			document.all.nom.style.visibility='visible';
			document.all.nom.style.display='block';
		} 
		else 
		{ 
			document.getElementById('commentaire_news'+id).style.visibility='visible';
			document.getElementById('commentaire_news'+id).style.display='block';
		}	
	}
	
function Cache_commentaire(id){
		if (navigator.appName=='Microsoft Internet Explorer') 
		{ 
			var nom='commentaire_news'+id;
			document.all.nom.style.visibility='hidden';
			document.all.nom.style.display='none';
		} 
		else 
		{ 
			document.getElementById('commentaire_news'+id).style.visibility='hidden';
			document.getElementById('commentaire_news'+id).style.display='none';
		}	
	}
				 