$(document).ready(function(){
	$('input').each(function(){
		var default_value = $(this).attr('value');
		
		$(this).focus(function(){
			if($(this).attr('value') == default_value)
				$(this).attr('value', '');
		});
		
		$(this).blur(function(){
			if($(this).attr('value') == '')
				$(this).attr('value', default_value);
		});
	});
	
});

