function redirect() { window.location="http://veryimportantmusic.com" } setTimeout("redirect()",5); // delai en millisecondes