function	check_contact_form( f )	{
	e	=	"";
	if	( f.enquiry.value == "" )	{
		e	+=	"  Enquiry\r";
	}
	if	( f.firstname.value == "" )	{
		e	+=	"  First name\r";
	}
	if	( f.lastname.value == "" )	{
		e	+=	"  Last name\r";
	}
	if	( f.email.value == "" )	{
		e	+=	"  Email address\r";
	}
	
	if	( e != "" )	{
		e	=	"You must fill in the following fields before you can submit this form\r\r"
			+	e;
		alert(e);
		return	false;
	}
	return	true;
}

function	check_jps_form( f )	{
	e	=	"";
	if	( f.firstname.value == "" )	{
		e	+=	"  First name\r";
	}
	if	( f.lastname.value == "" )	{
		e	+=	"  Last name\r";
	}
	if	( f.email.value == "" )	{
		e	+=	"  Email address\r";
	}
	
	if	( e != "" )	{
		e	=	"You must fill in the following fields before you can submit this form\r\r"
			+	e;
		alert(e);
		return	false;
	}
	return	true;
}