function cent(amount)
	{
	// returns the amount in the .99 format 
	amount -= 0;
	amount = (Math.round(amount*100))/100;
	return (amount == Math.floor(amount)) ? amount + '.00' : (  (amount*10 == Math.floor(amount*10)) ? amount + '0' : amount);
	}

function check_form(thisform)
	{
	if ((!thisform.first_name.value) || (thisform.first_name.value.match(/^\s+$/)))
		{
		alert('Please fill in your first name.');
		thisform.first_name.focus();
		return false;
		}
	if ((!thisform.house_name_number.value) || (thisform.house_name_number.value.match(/^\s+$/)))
		{
		alert('Please fill in your house name/number.');
		thisform.house_name_number.focus();
		return false;
		}
	if ((!thisform.street_name.value) || (thisform.street_name.value.match(/^\s+$/)))
		{
		alert('Please fill in your street name.');
		thisform.street_name.focus();
		return false;
		}
	if ((!thisform.area.value) || (thisform.area.value.match(/^\s+$/)))
		{
		alert('Please fill in your area.');
		thisform.area.focus();
		return false;
		}
	if ((!thisform.city.value) || (thisform.city.value.match(/^\s+$/)))
		{
		alert('Please fill in your city.');
		thisform.city.focus();
		return false;
		}
	if (thisform.county.selectedIndex == 0)
		{
		alert('Please specify your county.');
		thisform.county.focus();
		return false;
		}
	if ((!thisform.postcode.value) || (thisform.postcode.value.match(/^\s+$/)))
		{
		alert('Please fill in your postcode.');
		thisform.postcode.focus();
		return false;
		}
	if ((!thisform.telephone.value) || (thisform.telephone.value.match(/^\s+$/)))
		{
		alert('Please fill in your telephone.');
		thisform.telephone.focus();
		return false;
		}
	if (thisform.email.value.search(/^([A-Za-z0-9_\-\.])+@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/) <= -1)
		{
		alert('Please fill in your e-mail address.');
		thisform.email.focus();
		return false;
		}
	if (thisform.hear_about.selectedIndex == 0)
		{
		alert('Please let us know how you heard about us.');
		thisform.hear_about.focus();
		return false;
		}
	}
