Why is my script only running every few page loads?
<p>I find that my script can sometimes run only after 2 or 3 page loads, sometimes it runs without issue, but after 2 or 3 successful loads it will go back to only running the script sometimes.</p>

<p>For compression, here's my script on pastebin: <a href="http://pastebin.com/hyQ1uN9Y" rel="nofollow">http://pastebin.com/hyQ1uN9Y</a></p>

<p>My script live, so that you might be able to see this in action: <a href="http://bit.ly/qaDZLX" rel="nofollow">http://bit.ly/qaDZLX</a></p>

<p>Any idea why this could be? It's meant to redirect after page load by means of a meta-refresh, yet sometimes the page just loads blank. I know the script isn't being run in the background just leaving out the redirect, as no data in the table is updated.</p>

<p>Any help/thoughts would be very appreciated ;).</p>

<p><strong>EDIT:</strong> Won't work properly (for live viewing) on chrome. Personally, I'm your cross-browser kind of guy, especially if it's a big browser like chrome, but the client was insistent that he didn't care (he needs a meta-refresh for this to work properly).</p>
