// jQuery text box clear plugin
// By: Bryan Dunk
// Ver 1.0 -- 5.11.2009

(function($){  
 $.fn.textboxClear = function() {  
  
    return this.each(function() {  
  		var input_value = $(this).attr("value");
		$(this).focus(function(){
									if($(this).attr("value") == input_value){
										$(this).attr("value", "");   
								   }
		});
		$(this).blur(function(){
								   if($(this).attr("value") == ""){
										$(this).attr("value", input_value);   
								   }
		});
    });  
 };  
})(jQuery); 


