function validation()

{

 if (document.form1.name.value=="")

 	{

   		alert("Please fill in your Name");

 		document.form1.name.focus()

   		return false;

      	}




if (document.form1.email.value=="")

 	{

   		alert("Please fill in your e-mail address");

 		document.form1.email.focus()

   		return false;

      	}



if((document.form1.email.value.indexOf('@',1) ==-1)||(document.form1.email.value.indexOf('.',1) ==-1))

 	{

  		alert("Invalid e-mail address")

  		document.form1.email.value=""

		 document.form1.email.select()

		return (false)

	}



	



		  
if(document.form1.uword.value=="")
          {  
            alert("Please fill the text shown below")

			document.form1.uword.select()

            return false
          }	 
		  
if(document.form1.uword.value!="")
          {  
           return jcap();
          }
		  

	document.form1.submit();

}
