function validateForm(thisform) 
{

// validate the email address field

        chkadd = new String(thisform.tmcemailadd.value);
	if(chkadd =="") {
		alert("Please complete the email address field - Thank you");
		thisform.tmcemailadd.focus();
		return false;
	}

        if(chkadd.indexOf('@')== -1) {
		alert("Not a valid email address - i.e. needs the @ symbol");
		thisform.tmcemailadd.focus();
		return false;
 	}

// validate the email details field

	if(thisform.tmcemaildtl.value == "") {
		alert("Please enter some detail - Thank you.");
		thisform.tmcemaildtl.focus();
		return false;
	}


	return true;
}
