what does setTimeout(bg_yorktown, 4000); do in javascript code example
Example: timeout javascript
setTimeout(function(){
//code goes here
}, 2000); //Time before execution
setTimeout(function(){
//code goes here
}, 2000); //Time before execution