function CSVUpload()
{
	
	var name = document.getElementById('name').value;	

	if(name == "")
	{
		document.getElementById('form-validation-error-div').style.display="block";
		document.getElementById('form-validation-error-div').innerHTML="Please enter name";
		document.getElementById('name').focus();
		return false;
	} 
	
	var email = document.getElementById('email').value;	

	if(email == "")
	{
		document.getElementById('form-validation-error-div').style.display="block";
		document.getElementById('form-validation-error-div').innerHTML="Please enter email address";
		document.getElementById('email').focus();
		return false;
	}else
	{
		 var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
		 
		 if(reg.test(email) == false) 
		 {
			 
			 	document.getElementById('form-validation-error-div').style.display="block";
				document.getElementById('form-validation-error-div').innerHTML="Please enter  valid email address";
				document.getElementById('email').focus();
				return false;
		 }
			  
   }

		
	
	
	
	var Address = document.getElementById('Address').value;	

	if(Address == "")
	{
		document.getElementById('form-validation-error-div').style.display="block";
		document.getElementById('form-validation-error-div').innerHTML="Please enter phone number";
		document.getElementById('Address').focus();
		return false;
	} 
	
	var AboutYourSelf = document.getElementById('AboutYourSelf').value;	

	if(AboutYourSelf == "")
	{
		document.getElementById('form-validation-error-div').style.display="block";
		document.getElementById('form-validation-error-div').innerHTML="Please enter about yourself";
		document.getElementById('AboutYourSelf').focus();
		return false;
	} 
	
	
	
	var fileName = document.getElementById('FILE1').value;	
	var ext = fileName.substring(fileName.lastIndexOf('.') + 1);
	if(ext == "pdf" || ext == "PDF" || ext == "doc" || ext == "DOC" || ext == "docx" || ext == "DOCX" )
	{
		document.getElementById('form-validation-error-div').style.display="none";
		return true;
	} 
	else
	{
		document.getElementById('form-validation-error-div').style.display="block";
		document.getElementById('form-validation-error-div').innerHTML="Upload pdf,doc and docx file only";
		document.getElementById('FILE1').focus();
		return false;
	}

}
