
<!--
function mySubmit(Btn) {
		
		if(Btn=="home"){
			if (document.form.login.value == '') {
				alert('Please enter your username');
				document.form.login.focus();
				return false;
			}
			else {
				return true;
			}
		}
		
		if(Btn=="patient"){
			if ( document.form.id.value == '' ||   document.form.id.value == 'Enter Patient Id' ){
				//alert('Please enter a Patient Id');
				document.form.id.focus();
				//return false;
				return true;
			}
			else {
				return true;
			}
		}
		if(Btn=="add"){
			if ( document.form.id.value == '' ||   document.form.id.value == 'Enter Patient Id' ){
				alert('Please enter a Patient Id');
				document.form.id.focus();
				return false;
			}
			else {
				return true;
			}
		}		
}


function clearText(Btn) {
	if(Btn=="patient"){
		document.form.id.value = ''
	}
}
//-->


