


function checkApplyForm()
{
	var emailValidation = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(document.getElementById("candidate_name").value == "")
	{
		alert ("Please Enter Your Name!!");	
		document.getElementById("candidate_name").focus(); 
		return false;	
	}

	if(document.getElementById("email").value == "")
	{
		alert("Please Enter Email Id.");
		document.getElementById("email").focus();
		//document.getElementById('div_email_id').style.color = 'red';
		return false;
	}
	else
	{
	  //<!-- EMAIL VALIDATION -->
	   if (!(document.getElementById("email").value.match(emailValidation))) {	
			alert("Please Enter Valid Email Id"); 
			document.getElementById("email").focus(); 
			//document.getElementById('div_email_id').style.color = 'red';
			return false;	
			}
	}

	if(document.getElementById("resume").value == "")
	{
		alert ("Please choose the Word, RTF or Text file  as  Your resume !!");	
		document.getElementById("resume").focus(); 
		return false;	
	}
}//END OF CHECK APPLY FORM




