var clickd = '';
function checkform() {
	clickd = true;
	$('input.txt').each(function(i) {
		if(($(this).val() == $(this).prev().html()) && (i < 4)) {
			clickd = false;
		}
	});
	return clickd;
}

function inputon() {
	clickd = $(this).val();
	if($(this).prev().html() == clickd) {
		$(this).val('');
	}
}

function inputoff() {
	if($(this).val() == '') {
		$(this).val(clickd);
	}
}

$(function() {
	$('input.txt').each(function() {
		$(this).val($(this).prev().html()).focus(inputon).blur(inputoff);
	});
	$('label').hide();
	$('form').submit(checkform);
});
