function validateListForm()
{
	lForm = document.forms.listForm
	
	if(lForm.name.value == '')
	{
		window.location = '#form_top'
		errorMsg('Please enter your name.', 'name')
		return false
	}
	
	if(lForm.telephone.value == '')
	{
		window.location = '#form_top'
		errorMsg('Please provide a telephone number', 'telephone')
		return false
	}
	
	if(lForm.email.value == '')
	{
		window.location = '#form_top'
		errorMsg('Please provide an email address', 'email')
		return false
	}
	
	if(lForm.address.value == '')
	{
		window.location = '#form_top'
		errorMsg('Please provide your address', 'address')
		return false
	}
	
	if(lForm.price.value == '0')
	{
		window.location = '#form_top'
		errorMsg('Please select a price band', 'price')
		return false
	}
	
	if(lForm.tandc.checked == false, 'tandc')
	{
		if(lForm.tandc.checked == false)
		{
				window.location = '#form_top'
				errorMsg('You must read and agree to out Terms & Conditions', 'tandc')
				return false
		}
		//else return true
	}
	
	errorMsg('', 'listFormSubmit')
	return true
}

function errorMsg(errTxt, eleID)
{
	document.getElementById('errMsg').innerHTML = '<font color="#FF0000">' + errTxt + '</font>'
	document.getElementById(eleID).focus()
}
