$(document).ready(function(){

		var revert = '';
					
		$("input[type='text']").focus(function() {
			revert = $(this).attr('value');
			$(this).attr('value','');
		});
		
		$("input[type='text']").blur(function() {
			if($(this).attr('value') == '' || $(this).attr('value') == null) { $(this).attr('value', revert); }
		});
});
