(function($){

 	$.fn.extend({ 
 		
 		inputClearer: function(options) {

			var defaults = {
			}
				
			var options =  $.extend(defaults, options);

    		return this.each(function() {
			
				var inputVal = $(this).attr('value')
				
				$(this).focus(function () {
					if ( $(this).val() == inputVal ){
						$(this).val('');
						$(this).addClass('inputAlt');
					}
				});
				$(this).blur(function () {
					if ($(this).val() == '') {
						$(this).val(inputVal);
						$(this).removeClass('inputAlt');
					}
				});
			
    		});
    	}
	});
	
})(jQuery);

