// The following code is used to regenerate an image for verification.
var nReload = 5;

function NewVerifyImage()
{
    if (nReload <= 2)
        if (nReload <= 0)
        {
            alert("Sorry, too many reloads.");
            return;
        }
        else
            alert("Only " + nReload + " more reloads are allowed");
    nReload--;
    
        //
        // This code now works in both IE and FireFox
        //    
    document.getElementById('captcha').src = document.getElementById('captcha').src + '?' + (new Date()).getMilliseconds();
}
