function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
  {alert(alerttxt);return false}
else {return true}
}
}

function checkForm(thisform)
{
	alert("imgValue"+thisform.imgValue.value);
	alert("imgValue"+thisform.imgValidate.value);
	
	with (thisform)
	{

		/*if (validate_required(email,"Email must be filled out!")==false)
		  {email.focus();return false}
		}*/


		if (validate_image(imgValidate,imgValue,"Entered text must match the image text") == false)
			{imgValidate.focus();return false}
	}
}
function validate_image(field,field2,alerttxt){
alert(field.value);
	if (!(field.value == field2.value))
		{alert (alerttxt); return false}
	else {return true}

}