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