$(document).ready(function() {
	var searchLabel = $('.full_name').remove().text();
		$('#name').addClass('placeholder').val(searchLabel)
		.focus(function() {
			if (this.value == searchLabel) {
			$(this).removeClass('placeholder').val('');
		};
		}).blur(function() {
		if (this.value == '') {
			$(this).addClass('placeholder').val(searchLabel);
		};
	});

	$("#webform").submit(function() {
	if ($("#name").val() == searchLabel) {
		$("#name").val("");
		}
	});

});



$(document).ready(function() {
	var searchLabel = $('.email').remove().text();
		$('#email').addClass('placeholder').val(searchLabel)
		.focus(function() {
			if (this.value == searchLabel) {
			$(this).removeClass('placeholder').val('');
		};
		}).blur(function() {
		if (this.value == '') {
			$(this).addClass('placeholder').val(searchLabel);
		};
	});

	$("#webform").submit(function() {
	if ($("#email").val() == searchLabel) {
		$("#email").val("");
		}
	});

});



$(document).ready(function() {
	var searchLabel = $('.contact_number').remove().text();
		$('#contact_number').addClass('placeholder').val(searchLabel)
		.focus(function() {
			if (this.value == searchLabel) {
			$(this).removeClass('placeholder').val('');
		};
		}).blur(function() {
		if (this.value == '') {
			$(this).addClass('placeholder').val(searchLabel);
		};
	});

	$("#webform").submit(function() {
	if ($("#contact_number").val() == searchLabel) {
		$("#contact_number").val("");
		}
	});

});



$(document).ready(function() {
	var searchLabel = $('.postcode').remove().text();
		$('#postcode').addClass('placeholder').val(searchLabel)
		.focus(function() {
			if (this.value == searchLabel) {
			$(this).removeClass('placeholder').val('');
		};
		}).blur(function() {
		if (this.value == '') {
			$(this).addClass('placeholder').val(searchLabel);
		};
	});

	$("#webform").submit(function() {
	if ($("#postcode").val() == searchLabel) {
		$("#postcode").val("");
		}
	});

});


