function prepareForm() {
	$('fieldset > label').each(function() {
		var fieldFor = $(this).attr('for');
		var text = $(this).html();
		if ($("#" + fieldFor).attr('type') == 'password') {
			$("#" + fieldFor).attr('style','color: #000; font-size: 14px;');
		} else {
			$(this).hide();
			$("#" + fieldFor).attr('style','color: #636363; font-size: 14px;').val(text).attr('title',text)
				.focus(function() {
					if ($(this).attr('title') == $(this).val()) {
						$(this).css('color','#000').val('');
					}
				})
				.blur(function() {
					if ($(this).val() == '') {
						$(this).css('color','#636363').val($(this).attr('title'));
					}
				});
		}
	});	
	$("input[type=submit]").hover(function(){$(this).toggleClass("ui-state-hover");},function(){$(this).toggleClass("ui-state-hover");});
}
