// JavaScript Document
function checkFrm(frm) {
	
	if(frm.Ref.value == '') {
		alert('You must fill in the Ref field.');
		frm.Ref.focus();
		return false;
	} else if(frm.Title.value == '') {
		alert('You must fill in the Title field.');
		frm.Title.focus();
		return false;
	} else if(frm.Postcode.value == '') {
		alert('You must fill in the Postcode field.');
		frm.Postcode.focus();
		return false;
	} else if(frm.Location.value == '') {
		alert('You must fill in the Location field.');
		frm.Location.focus();
		return false;
	} else if(frm.Price.value == '') {
		alert('You must fill in the Price field.');
		frm.Price.focus();
		return false;
	} else if(frm.Description.value == '') {
		alert('You must fill in the Description field.');
		frm.Description.focus();
		return false;
	} else if(frm.Features.value == '') {
		alert('You must fill in the Features field.');
		frm.Features.focus();
		return false;
	} else if(frm.PropertyType.value == '') {
		alert('You must fill in the Property Type field.');
		frm.PropertyType.focus();
		return false;
} else {
		return true;
	}
}