function clearText() {
	
	var forename = document.getElementById('forename');
	var surname = document.getElementById('surname');
	var address1 = document.getElementById('address1');
	var address2 = document.getElementById('address2');
	var address3 = document.getElementById('address3');
	var address4 = document.getElementById('address4');
	var postcode = document.getElementById('postcode');
	
	forename.onfocus = function() {
		if (this.value == 'Enter your forename') this.value = '';
	}
	surname.onfocus = function() {
		if (this.value == 'Enter your surname') this.value = '';
	}
	address1.onfocus = function() {
		if (this.value == 'The 1st line of your address') this.value = '';
	}
	address2.onfocus = function() {
		if (this.value == 'The 2nd line of your address') this.value = '';
	}
	address3.onfocus = function() {
		if (this.value == 'Enter your town or city') this.value = '';
	}
	address4.onfocus = function() {
		if (this.value == 'Enter your county') this.value = '';
	}
	postcode.onfocus = function() {
		if (this.value == 'Enter your postcode') this.value = '';
	}
}

addLoadEvent(clearText);