(function(a) {
	a.fn.inputHint = function() {
		return this.each(function() {
			var b = a(this), c = a("form.validate label[@for=" + b.attr("id") + "]");
			c.show();
			c.click(function() {
				a(this).hide();
				a("#" + a(this).attr("for")).focus()
			});
			b.focus(function() {
				a("form.validate label[@for=" + a(this).attr("id") + "]").hide()
			});
			b.blur(function() {
				a(this).val() == "" && a("form.validate label[@for=" + a(this).attr("id") + "]").css("display", "inline")
			})
		})
	}
})(jQuery);
