Just replace "test" to what ever the window name is(check your page source after it is loaded) and set the timeout to what ever seconds you want
Over 2000+ free Javascript at JavaScriptBank.com Website