/*
*
*
*
*
*
*
G
O
O
D
*
*
*
*
L
E
E
C
H
*
*
*
I
L
A
N
*
*
*
F
R
E
O
U
A
*
*
*
*/ 
//Anim    Ermitage 

//Nombre de clignotements : 
var nstrob = 24;
//Duree du clignotement en ms
var strob=100;
//Temps d'attente avant le lancement de l'anim en ms
var x=7000;


/*function launch(nstrob,strob)
{
	if(nstrob!=0)
	{
		setTimeout(function()
		{if((nstrob%2)==0){$('#home a#enter').hide();}
		else{$('#home a#enter').show();}
		launch(nstrob-1,strob-4);},strob);
	}
	else{$('#home').fadeOut(2000,function(){document.location.href="index.php?p=gallery"});}
}*/


//Demarrage de l'animation au bout de x secondes
$(document).ready(function(){

$('#enter').click(function(){
$('#home').fadeOut(2000,function(){document.location.href="index.php?p=hotel"});return false;
});

//setTimeout(function(){launch(nstrob,strob);},x);



});





    
