function checkApplyForm()
{
	var emailValidation = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	

	if(document.getElementById("designation").value == "0")
	{
		alert ("Please Select Designation!!");	
		document.getElementById("designation").focus(); 
		return false;	
	}
	
	if(document.getElementById("domain").value == "0")
	{
		alert ("Please Select Domain!!");	
		document.getElementById("domain").focus(); 
		return false;	
	}


   if(document.getElementById("salary").value == "")
	{
		alert ("Please Enter Salry Expectation!!");	
		document.getElementById("salary").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 == "" && document.getElementById("resumecopy").value == "")
	{
		alert ("Please choose the Word, RTF or Text file  as  Your resume to upload or Copy & Paste your resume !!");	
		document.getElementById("resume").focus(); 
		return false;	
	}
	
}//END OF CHECK APPLY FORM



