function postCodeFocus(objPC) {
	if(objPC.value=='Enter a postcode') {
		objPC.value='';
		objPC.maxLength='4';
	}
}
function postCodeBlur(objPC) {
	if(objPC.value=='') {
		objPC.maxLength='40';
		objPC.value='Enter a postcode';
	}
}

function validateLocations(objForm)
{
	var returnStatus, strMessage, selectedOption;
	returnStatus = true;
	strMessage = '';

	if (!Answered(objForm.ViewLocations)) {
		returnStatus = false;
		strMessage += 'Please select a venue below by selecting 1 or more checkboxes, or simply click on the venue name.';
	}

	if(returnStatus == false)
	{
		alert(strMessage);
	}

	return returnStatus;
}

function Answered(oRadioButton) {
	if(!oRadioButton.length)
		return oRadioButton.checked;
	for (i=0;i<oRadioButton.length;i++) {
		if (oRadioButton[i].checked) return true;
	}
	return false;
}