
function check_input(theForm)  
{  
var em1=theForm.em.value.indexOf("'");
var em2=theForm.em.value.indexOf("@");
var em3=theForm.em.value.indexOf(".");

  if (theForm.name.value=="")
	{   alert("ΗλΜξΠ΄ΠΥΓϋ£‘");
	    theForm.name.focus();
		return (false);
	}
	
 if (theForm.em.value=="")
	{   alert("ΗλΜξΠ΄E-mail£‘");
	    theForm.em.focus();
		return (false);
	}
	 if (em1!=-1)
	{   alert("΄νΞσΣΚΟδ£‘");
	    theForm.em.focus();
		return (false);
	}
	 if (em2==-1)
	{   alert("΄νΞσΣΚΟδ£‘");
	    theForm.em.focus();
		return (false);
	}
 if (em3==-1)
	{   alert("΄νΞσΣΚΟδ£‘");
	    theForm.em.focus();
		return (false);
	}
	 if (theForm.em.value.length<7)
	{   alert("΄νΞσΣΚΟδ");
	    theForm.em.focus();
		return (false);
	}
	
 if (theForm.bt.value=="")
	{   alert("ΗλΜξΠ΄±κΜβ£‘");
	    theForm.bt.focus();
		return (false);
	}
 if (theForm.nr.value=="")
	{   alert("ΗλΜξΠ΄ΔΪΘέ£‘");
	    theForm.nr.focus();
		return (false);
	}
	
}
