function addBookmark( title, url ) {

	var title = title || document.title;
	var url = url || document.location.href;

	switch ( true ) {
		
		// Firefox
		case ( typeof(window.sidebar.addPanel) == 'function' ):
			window.sidebar.addPanel(title, url,"");
			break;
			
		// Internet Explorer
		case typeof(window.external) != 'undefined' && typeof(window.external.AddFavorite) == 'unknown':
			window.external.AddFavorite( url, title)
			break;

		// Opera (ne fonctionne pas pour Opera 9.x)
		case ( typeof(window.opera) == 'object' && typeof(window.print) == 'function' ):
			// var elem = document.createElement('a');
			// elem.setAttribute('href',url);
			// elem.setAttribute('title',title);
			// elem.setAttribute('rel','sidebar');
			// elem.click();
			break;

			
	} // endswitch

} // end of 'addBookmark()'

function sendByEmail( title, url ) {

	var title = title || document.title;
	var url = url || document.location.href;
	
	document.location.href = 'mailto:?subject=' + escape(title) + '&body=Voici%20un%20lien%20int%E9ressant%20:%20' + url;

} // end of 'sendByEmail()'

