Auto-start a Function

You can automatically start a function by using the setTimeout method

window.setTimeout( "YourFunction()", 5000)



You can use onload or a mouse event