﻿
function disableIt(button,text)
{
    button.disabled = true;
    button.value = text;
}