﻿var nReload = 5;

function newVerifyImage() {
    if (nReload <= 2)
        if (nReload <= 0) {
            alert("Sorry, too many reloads.");
            return;
        }
        else
            alert(nReload + " more reloads are allowed");
    nReload--;

    var e_img;

    e_img = document.getElementById("verify_image");
    if (e_img)
		e_img.setAttribute("src",e_img.src+'?count='+nReload);
}
