function disable(btn)
{
if( btn )
{
if (typeof btn.disabled != 'undefined')
{ // NS6 and IE return boolean for typeof btn.disabled, so we're here if it's NS6 or IE
btn.disabled = true;
} else {
// at least NS4 returns 'undefined' for typeof btn.disabled other browsers may as well
btn.onfocus = function () { this.blur(); };
btn.onclick = function () { return false; };
}
}
return true;
}
