var btn;
var timerId;
function CountDownClock(img, btnId, infoId, infoText){
    if (timerId) { clearTimeout(timerId); timerId=null; }
    img.onload = "";
    img.src = "Images/20seconds.gif";
    btn = document.getElementById(btnId);
    timerId = setTimeout('btn.click()', 20000);
    info = document.getElementById(infoId);
    if (info != null)
        if (info.firstChild != null)
            info.firstChild.data = infoText;
}
function DisableButtons(btnId1, btnId2)
{
    document.getElementById(btnId1).onclick = "";
    document.getElementById(btnId2).onclick = "";
}

