/**********************************************************************************************
Project Name				:	GTEDS-E5
Module Name	   			:	BaseQuestionaire  
Program Name				:	BaseQuestionaire.js	
Program Version			:	1.0.0 	
Program Description	:		
Called From					:	baseQuestionaireWindow.jsp
Calling					:	None
Modification History 	      	:
----------------------------------------------------------------------------------------------------------------------------
Author      Date(MM/DD/CCYY)	Version   Modification Details              Change Request Reference
----------------------------------------------------------------------------------------------------------------------------
Mark.P		  04/12/2000				1.0.0	    NA
****************************************************************************************************************************/

//These are the variable declaration for the messages to be displayed on the status bar
var refocusFlag;
var provTypeMsg="Select provider type from drop down box.";	
var blankMsg=" ";
//Error Messgages
var provTypeErrMsg="You must select a provider type from the dropdown box.";	
// begin validation functions

function validateForm(formName) { 
	if (validateProvType(formName))
    	return true;	
   else 
	 		return false;
}

/****************************validateProvType************************
   This function is to validate the ProvType
   Author: 
   Date Created: 5/09/02
*******************************************************************/
function validateProvType(formName){
  if(formName.providerType.value==""){
  	alert(provTypeErrMsg);
    formName.providerType.focus();
    return false;
  }
  return true;
}
 





