
$(document).ready( function () {
	var agent=navigator.userAgent.toLowerCase();
	
	if ((agent.indexOf('iphone')==-1) && (agent.indexOf('ipad')==-1)) {
		$('.Visuel').mouseenter(function() {
			$(this).css('cursor','pointer');	
			var id = $(this).attr("id");
			$('.VisuelProjet' + id).hide();
			$('#TextProjet' + id).show();
			
			
		} ) ;
		
		$('.Visuel').mouseleave(function() {
			$(this).css('cursor','auto');
			var id = $(this).attr("id");
			$('#TextProjet' + id).hide();
			$('.VisuelProjet' + id).show();
			
			
		} ) ;
		
	}
	
	$('.Visuel').click(function() {
		var id_detail = $(this).attr("id");
		var id = $("#id").attr("id");
		document.location = "detail-" + id + "-" + id_detail + ".html";
	} ) ;
	
	$('#bulle a').tooltip({ 
    track: true, 
    delay: 0, 
    showURL: false, 
    showBody: " - ", 
    fade: 250 
});

	
} ) ;

function LoadTexte()
{
	//$('.ListProjetDetail').show();
	$('.contenu').show();
	
}

function LoadImage()
{
	$('.contenu').show();
}




