// JavaScript Document



function valid1()
{

	var name =document.services.Name;
	var comments =document.services.Comments;
	var email =document.services.Email;


	if (name.value=="")	

		{
			alert("Please Enter your Name!");	
			name.focus();
			return(false);
		}


	if (email.value=="")
	{
		alert("Please Enter your Email ID");
		email.focus();
		return(false);
	}


	if ((email.value.length < 3)||(email.value.indexOf("@") == 1)||(email.value.indexOf(".") == -1)||(email.value.indexOf("'")!= -1)) 
				{
				alert("Please enter the valid E-mail Address ");
				email.focus();
				email.select();
				return (false);
				}

	if (comments.value=="")	
		{
			alert("Comments Field can't be empty. Please enter some text in Comments!");	
			comments.focus();
			return(false);
		}

return(true);	

}



