function showLightBox(source)	{
	// overwrite le z-index de la navbar pour le lightbox	
	$("#navbarCanoe_container").css({ "z-index": "2999" });
	
	// onShow : show+make the window translucent
	var myOpen=function(hash){
		$('#conteneurLightbox').load(source);
		$('div.jqmOverlay').css({ "display": "none" });
		$('div.jqmOverlay').fadeIn('medium');
			hash.w.fadeIn('slow',function(){ hash.o.show(); }); 
	};
	$('div#lightbox').jqm({onShow:myOpen}); 

	// onHide : fade the window out, remove overlay after fade.
	var myClose=function(hash) { 
		$('div.jqmOverlay').fadeOut('slow'); 
		hash.w.fadeOut('slow',function(){ 
			hash.o.remove();			
		});
	};	
	$('div#lightbox').jqm({onHide:myClose});
	
	$('div#lightbox').jqm({modal: false});
	$('div#lightbox').jqmShow();
	
	return true;
}

$(document).ready(function() {
	$("a[href][rel='lightbox']").click(function(){
		showLightBox(this.href);
		return false;
	});	
});


	
