//Fonction d'ajout au favoris
function addbookmark()
{
	bookmarkurl="http://destination-mauritanie.com";
	bookmarktitle="Destination Mauritanie";

	if ( navigator.appName != 'Microsoft Internet Explorer' )
	{
		window.sidebar.addPanel(bookmarktitle,bookmarkurl,""); 
	}else{
		if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle);
	}
}


function loadAjax(url,cible,src)
{
	//alert(url);alert(cible);
	if(document.getElementById(cible).innerHTML != '' && src=='nav'){
		document.getElementById(cible).innerHTML="";
	}
	else{
		//Changement du contenu
		var xhr_object = null; 
		document.getElementById(cible).innerHTML = "Chargement ...";
	 
		if(window.XMLHttpRequest) // Firefox 
		   xhr_object = new XMLHttpRequest(); 
		else if(window.ActiveXObject) // Internet Explorer 
		   xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
		else { // XMLHttpRequest non supporté par le navigateur 
		   alert("Votre navigateur ne supporte pas l'ajax ..."); 
		   return; 
		} 
		//xhr_object.open("GET", url+'&cible='+cible, true); 
		xhr_object.open("GET", url, true); 
		xhr_object.onreadystatechange = function() 
		{ 
		   if(xhr_object.readyState == 4)
		   {
				document.getElementById(cible).innerHTML = xhr_object.responseText;
				//document.forms['f'+cible].submit();
			}
		} 
		xhr_object.send(null); 
	}
}