Okay. The issue I am having is I am simply trying to do a refresh loop for my webbrowser (firefox) I would like this in JS. I understand It can be done in other languages pretty easily if you ask me. But, javascript is a must! :D This is not an html page, just a simple .js file ran with iMacros for Firefox.

Here's the code I am using. 

```
            setInterval(refreshPage(), 5000);
            function refreshPage() {
                window.location.reload(1);
            }

```

window.location.reload(1); refreshes the page without a problem :D sweet!!! 

But when I use the setInterval or setTimeout mumbojumbo I always get ReferenceError: setTimeout is not defined... 

Very strange. I Googled so hard and all searches return the same setInterval and same setTimeout options... no one is defining anything. o\_O what in the world! lol 

Can one of you JS WIZARDS crack this code. I need a WIZARD to save me :D