need to reset the function how do i do it
<p>I want to reset this flash in between so that i need not have to wait till the end to restart the flash, how do i reset this?</p>

<pre><code>function flash() {
var arrayId = 0,
    splitSet = $('#text_original').html().split(" "),
    splitSetLength = splitSet.length;


function flashWord() {
    $("#flash_word").html(splitSet[arrayId]);
    arrayId += 1;
    var t = setTimeout(remove, 1000);
}

function remove() {
    if (arrayId &lt; splitSetLength) {
        $("#flash_word").html(" ");
        flashWord();
    } //else reset_flash();
}
flashWord(); }
</code></pre>

<p>please see the <a href="http://jsfiddle.net/HcDfS/" rel="nofollow">http://jsfiddle.net/HcDfS/</a></p>
