$(document).ready(function()
{
	$('input, textarea').each(function(index, element)
	{
		$(element).focus(function(event){
			$(this).data('orig_value', $(this).val());
			$(this).val('');
		}).blur(function(event){
			if ($(this).val()=='') $(this).val($(this).data('orig_value'));
		});
	});
});
