// JavaScript Document

/*

Document name : RegProcessValidations.js
Purpose : For Checking Client Side Validations of the Registration Form
Author: Manish Gupta
*/

function checkreg()
{
flag=true;
errmsg="";	

		if(document.alert.alertname)
		{
			 if (isWhitespace(document.alert.alertname.value ))
			{
				errmsg=errmsg+"Please Enter Alert Name. \n"
				flag=false;
			}
		}	
	
		if(flag == false)
			{
			alert(errmsg);
			}
		else{			 
			document.alert.submit() 			
			}
		return flag;
}	


