/**
 * @author Michael Huang
 * adapted for jquery
 */ 
jQuery(function($){
	$(function() {
		$('input.focusblur').focus(function() {
			e = $(this);
			e.removeClass('focusblur'); 
			if (e.val() == e.attr('defaultValue')) {
				e.val('');
			}
		});
		$('input.focusblur').blur(function() {
			e = $(this);
			if (e.val() == '') {
				e.val(e.attr('defaultValue'));
				e.addClass('focusblur'); 
			}
		});
	}); 
});

