$(document).ready(function() {
	$("div.infoBulle h2").hover(function(){$(this).next('p').show();}, function(){$(this).next('p').hide();});
	$('.linktitle').click(function() {return src($("../../../",this).parent().attr("id"));});
});
/**************************************************************************************/
function src(id){
	id = id.substring(3)
	var url ="/goto.php?id="+id;
	var oWin = window.open(url, '_blank');
	if (oWin) {
		if (oWin.focus) oWin.focus();
		return false;
	}
	oWin = null;

	return false;
}
/**************************************************************************************/
function ajouter_favoris() {
    var title = window.document.title;
    var url = window.location.href;

	if (window.sidebar) {
		window.sidebar.addPanel(title, url,"");
	}
	else if( window.external ) {
		window.external.AddFavorite( url, title);
	}
	else if(window.opera && window.print) { 
	    var a = document.createElement("a");
        a.rel = "sidebar";
        a.target = "_search";
        a.title = title;
        a.href = url;
        a.click();
	}
}