<!--

function focusBtn(btn, e)
{
	// if 'enter' key is pressed (ascii 13) change focus to search btn next to textBox
	// (e.which?e.which:e.keyCode) done for cross browser 
	// e = keyUp event
	if ((e.which?e.which:e.keyCode) == 13)
    {
		var a = document.getElementById(btn);
		if(null != a){a.focus();}
	}
}	

function DisableBtnAfterClick(btn){
    if(typeof(Page_ClientValidate)=='function')
    {
        if(!Page_ClientValidate())
        {
            return false;
        }
        else
        {
            btn.disabled = true;
            return true;
        }
    } 
}

//-->
