// toggle input fields on focus/blur
(function($) {

        $.fn.extend({
        	toggleValue : function (defaultText) {
        		return this.each(function() {
        		    if ($(this).hasClass('no-toggle-value')) {
        		            return false;
        		    }

        			$(this).focus(function() {
        				if ($(this).val() == defaultText) {
        					$(this).val('');
        				}
        				$(this).blur(function () {
        					if ($.trim($(this).val()) == '') {
        						$(this).val(defaultText);
        					}
        				});
        			});
        		});
        	}
        });

})(jQuery);
