need to repeat function
<p>I need your help. I am a noobie and need some help with getting the animation to cycle back to the first function once it finishes.</p>

<p>Here is the code:</p>

<pre><code>function phase1()
{
$('#main .home_intro.phase1 h2').eq(0).delay(1000).fadeTo(500,1);
$('#main .home_intro.phase1 h2').eq(1).delay(2000).fadeTo(500,1);
$('#main .home_intro.phase1 h2').eq(2).delay(3000).fadeTo(500,1);
$('#main .home_intro.phase1 h2').eq(3).delay(4000).fadeTo(500,1);
$('#main .home_intro.phase1 h2').eq(4).delay(5000).fadeTo(500,1);
$('#main .home_intro.phase1').delay(6000).fadeTo(500,0, phase2);
};

function phase2()
{
$('#main .home_intro.phase2 h2').delay(1000).fadeTo(500,1);
$('#main .home_intro.phase2').delay(4000).fadeTo(500,0,phase3);
};

function phase3()
{
$('#main .home_intro.phase3 h2').delay(1000).fadeTo(500,1);
$('#main .home_intro.phase3').delay(4000).fadeTo(500,0,phase1);
};

phase1();
</code></pre>

<p>});</p>
