<!--
	(function ($) {
		$.fn.inputHint = function () {
			return this.each(function () {
				function remove() {
					if (this.type != 'select')
						if ($(this).val() === $(this).attr('title'))
							$(this).val('').removeClass('hintBlur');
				}
	
				if (this.type != 'select-one') {
					if ($(this).attr('title')) {
						if (this.value === '' || this.value === $(this).attr('title'))
							$(this).val($(this).attr('title')).addClass('hintBlur');
	
						$(this).bind('focusout', function () {
							if (this.value === '' || this.value === $(this).attr('title'))
								$(this).val($(this).attr('title')).addClass('hintBlur');
	
						}).focus(remove).blur(); // now change all inputs to title
					
						$(this.form).submit(remove);
						$(window).unload(remove); // handles Firefox's autocomplete
					}
				} else {
					if ($(this).attr('title')) {
						$(this).addClass('hintBlurSelect');
						$(this.options[0]).siblings().addClass('hintBlurOption');
					}
				}
			});
		};
	})(jQuery);
//-->

