		function showForm(id) {
			 $('sellHorseForm').hide(); 
			 $('sellVehicleForm').hide(); 
			 $('sellEqptForm').hide(); 
			 $('tradeForm').hide();
			 new Effect.Appear($(id));
		}

		function validateHorse() {			
			if(isNaN($('horseSize').value)||$('horseSize').value.length<=0) { 
				alert("Please ensure that you enter the horses size correctly.\nNote that you can only enter a number here (eg 15.2), do not enter letters or punctuation.");
				return false;
			}
			if(isNaN($('horsePrice').value)||$('horsePrice').value.length<=0) { 
				alert("Please ensure that you enter the sale price correctly.\nNote that you can only enter a number here (eg 2500), do not enter letters or punctuation.");
				return false;
			}
			if($('horseDescription').value.length<=5) { 
				alert("Please enter a full description of the horse.");
				return false;
			}
			if($('horseSeller').value.length<=5) { 
				alert("Please enter your full name.");
				return false;
			}
			if($('horseEmail').value.length<=5) { 
				alert("Please enter your email address.");
				return false;
			}
			if($('horseTelephone').value.length<=7) { 
				alert("Please enter your FULL telephone number.");
				return false;
			}
			if($('horseLocation').value.length<=3) { 
				alert("Please enter your approximate location.");
				return false;
			}
		}
	
		function validateVehicle() {			
			if(isNaN($('vehiclePrice').value)||$('vehiclePrice').value.length<=0) { 
				alert("Please ensure that you enter the sale price correctly.\nNote that you can only enter a number here (eg 2500), do not enter letters or punctuation.");
				return false;
			}
			if($('vehicleDescription').value.length<=5) { 
				alert("Please enter a full description of the vehicle.");
				return false;
			}
			if($('vehicleSeller').value.length<=5) { 
				alert("Please enter your full name.");
				return false;
			}
			if($('vehicleEmail').value.length<=5) { 
				alert("Please enter your email address.");
				return false;
			}
			if($('vehicleTelephone').value.length<=7) { 
				alert("Please enter your FULL telephone number.");
				return false;
			}
			if($('vehicleLocation').value.length<=3) { 
				alert("Please enter your approximate location.");
				return false;
			}
		}
			
		function validateAd() {			
			if(isNaN($('eqptPrice').value)||$('eqptPrice').value.length<=0) { 
				alert("Please ensure that you enter the sale price correctly.\nNote that you can only enter a number here (eg 2500), do not enter letters or punctuation.");
				return false;
			}
			if($('eqptDescription').value.length<=5) { 
				alert("Please enter a full description of the item or service you are selling.");
				return false;
			}
			if($('eqptSeller').value.length<=5) { 
				alert("Please enter your full name.");
				return false;
			}
			if($('eqptEmail').value.length<=5) { 
				alert("Please enter your email address.");
				return false;
			}
			if($('eqptTelephone').value.length<=7) { 
				alert("Please enter your FULL telephone number.");
				return false;
			}
			if($('eqptLocation').value.length<=3) { 
				alert("Please enter your approximate location.");
				return false;
			}
		}
		
		
		function validateTrade() {			
			if($('tradeDescription').value.length<=5) { 
				alert("Please enter a full description of the item or service you are selling.");
				return false;
			}
			if($('tradeSeller').value.length<=5) { 
				alert("Please enter your full name or your business' full name.");
				return false;
			}
			if($('tradeEmail').value.length<=5) { 
				alert("Please enter your email address.");
				return false;
			}
			if($('tradeTelephone').value.length<=7) { 
				alert("Please enter your FULL telephone number.");
				return false;
			}
			if($('tradeLocation').value.length<=3) { 
				alert("Please enter your approximate location.");
				return false;
			}
		}
		
