/*
	Author:				Bettina Pattenson
	Date Created		5/21/2007
	Project:			B2B Redesign
	Name:				validate_physSearch.js
*/

/****************************************************************
 This checks the physician search required fields
*****************************************************************/

function ValidatePhysSearch(form) {

	if (form.last_name.value.replace(/[ ]/g, "").length == 0)
	   {alert("Please enter a Physician\'s Last Name.");
		form.last_name.focus();
		return false;} 
	if (form.state.value == "")
		{alert("Please select a State.");
		form.state.focus();
		return false;}	

return true;
}
function expandPhys(nameon, nameoff) {
	document.getElementById(nameon).className = "display";
	document.getElementById(nameoff).className = "nodisplay";
}