function favori(title,url) 
{ 
	//~ if (window.sidebar) 
	//~ { 
		//~ window.sidebar.addPanel(phrase, lien,""); 
	//~ } 
	//~ else if( document.all ) 
	//~ { 
		//~ window.external.AddFavorite(lien, phrase); 
	//~ } 
	//~ else 
	//~ { 
		//~ return true; 
	//~ } 
	
	 var ua=navigator.userAgent.toLowerCase();
	    var isKonq=(ua.indexOf('konqueror')!=-1);
	    var isSafari=(ua.indexOf('webkit')!=-1);
	    var isMac=(ua.indexOf('mac')!=-1);
	    var buttonStr=isMac?'Command/Cmd':'CTRL';

	    if(window.external && (!document.createTextNode || (typeof(window.external.AddFavorite)=='unknown'))) 
	    {
		// IE4/Win generates an error when you
		// execute "typeof(window.external.AddFavorite)"
		// In IE7 the page must be from a web server, not directly from a local 
		// file system, otherwise, you will get a permission denied error.
		window.external.AddFavorite(url, title); // IE/Win
	    } else if(isKonq) {
	      alert('You need to press CTRL + B to bookmark our site.');
	    } else if(window.opera) {
	      void(0); // do nothing here (Opera 7+)
	    } else if(window.home || isSafari) { // Firefox, Netscape, Safari, iCab
	      alert('You need to press '+buttonStr+' + D to bookmark our site.');
	    } else if(!window.print || isMac) { // IE5/Mac and Safari 1.0
	      alert('You need to press Command/Cmd + D to bookmark our site.');    
	    } else {
	      alert('In order to bookmark this site you need to do so manually '+
		'through your browser.');
	    }
} 

function send_to_friend(content)
{
	//send to friend
	options = "Width=600,Height=400,resizable=1,scrollbars=0" ;
	window.open("popup/send_to_friend.php?content="+content, "friend", options ) ;
}