// ActionScript Document
function checkform(theForm1)
{
	if (theForm1.name.value == "")
  {
    alert("Please enter your Name.");
    theForm1.name.focus(); 
	return (false);
  }
 if (theForm1.emailadd.value == "")
  {
	alert("Please enter your Email Address.");
    theForm1.emailadd.focus();
    return (false);  
  }
   if (theForm1.emailadd.value != "")
  {
 if (theForm1.emailadd.value.indexOf ('@',0) == -1 || theForm1.emailadd.value.indexOf ('.',0) == -1)
   {
    alert("Please enter your valid Email Address.");
    theForm1.emailadd.focus();
    return (false);
  }
  }
  var OpenWindow;
var windowprops = "toolbar=0,location=0,directories=0,status=0, " + "menubar=0,scrollbars=0,resizable=0,width=500,height=400";
OpenWindow = window.open("thankyou.html", "Thankyou", windowprops);
 return (true);
 }