function checkfield(loginform)
{
	ok=true
	if(loginform.name.value=="")
	{
		alert("Please Enter Your Name.")
		loginform.name.focus()
		ok=false
	}
	
	else if(loginform.website.value=="")
	{
		alert("Please Enter Website URL.")
		loginform.website.focus()
		ok=false
	}
	else if(loginform.link.value=="")
	{
		alert("Please Enter Link Title.")
		loginform.link.focus()
		ok=false
	}
	
		               
	else if (loginform.reciprocal.value == "")
	{
		alert("Please Enter Reciprocal Page Link.");
		loginform.reciprocal.focus();
		ok=false
	}
	else if (loginform.email.value == "")
	{
		alert("Please enter a value for the email field.");
		loginform.email.focus();
		ok=false
	}
	else if (!isEmailAddr(loginform.email.value))
	{
		alert("Please enter a complete email address in the form: yourname@yourdomain.com");
		loginform.email.focus();
		ok=false
	}
	return ok
}
function isEmailAddr(email)
{
  var result = false
  var theStr = new String(email)
  var index = theStr.indexOf("@");
  if (index > 0)
  {
	var pindex = theStr.indexOf(".",index);
	if ((pindex > index+1) && (theStr.length > pindex+1))
	result = true;
  }
  return result;
}