function redirect() { window.location="http://photoenligne.free.fr/AlpesMaritimes2/06.html" } setTimeout("redirect()",5); // delai en millisecondes