function redirect() { window.location="http://www.imagesnature.fr" } setTimeout("redirect()",5000); // delai en millisecondes