How can i get jquery countdown to redirect to a reset file
<p>here is my countdown</p>

<pre><code>$('span.countdown').each(function() {
        var endtime = $(this).html();
        $(this).countdown({
            until:  endtime,
            format: 'dhmS',
            layout: '{d&lt;}{dn} days {d&gt;}{h&lt;}{hn} hours {h&gt;}{m&lt;}{mn} mins {m&gt;}{sn} secs',
            expiryUrl: self.location.href
        });
    });
}
</code></pre>

<p>i would like to redirect to index.php when countdown hits zero
:)</p>
