(function() {
    $.fn.chanClickClear = function($txt) {
        return this.each(function() {
            if ($txt != '') {
                $(this)
                    .val($txt)
                    .focus(function() {
                        if ($(this).val() == $txt) $(this).val('');
                    })
                    .blur(function() {
                        if ($(this).val() == '') $(this).val($txt);
                    });
            }
        });
    }
})(jQuery);
