$(document).ready(function() {

	/* Formulaire d'Authentification */
	if ( document.getElementById('Form-Authentification') ) {
		if( $('input#sLogin').val().length===0 ) { $('input#sLogin').val('Identifiant'); }
		if( $('input#sPass').val().length===0 ) { $('input#sPass').val('********'); }
		
		$('input#sLogin')
			.focus(function(){ $(this).val(''); })
			.blur(function(){ if ( $(this).val().length==0 ) { $(this).val('Identifiant'); } });
			
		$('input#sPass')
			.focus(function(){ $(this).val(''); })
			.blur(function(){ if ( $(this).val().length==0 ) { $(this).val('********'); } });
	}
	
		
	/* nyroModal */
	$('a.nyroModal').nyroModal();
	
	/* tablesorter */
	if( $("table.tablesorter").length>0 ) {
		$("table.tablesorter").tablesorter({widgets: ['zebra']}); 
	}
	
});