$(document).ready(function(){

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