Stepping through array with time delay
<p>I have tabs on my page each containing unique content.  I want to automatically rotate the tabs and content without them being clicked upon. As soon as the page loads I want this function to begin using <code>window.onload = function()</code>.</p>

<p>I have the following JavaScript array:</p>

<pre><code>var HomeTabs = [1, 3, 5, 7, 9, 11]
</code></pre>

<p>I want to know how to show HomeTab 1 for 10 secs and then move to HomeTab 3 and then after 10 secs move to HomeTab 5 in that order, not random.  when it gets to HomeTab 11 it then goes back to HomeTab 1 again.</p>

<p>I have a script to change the tab which is <code>ChangeTab(1)</code>, where one is the number of the tab I want to show.</p>
