(function($){
	$.fn.clearInput=function(){
		var th=this,id=th.attr('id')
		th.find('input,textarea').each(function(){
			$(this).attr({defaultValue:this.value})
				.attr('onFocus','this.value=""')
				.attr('onBlur','if(!this.value)this.value=this.defaultValue')
		})
		th.find('a[rel=reset],a[rel=submit]').each(function(){
			this.href='javascript:document.getElementById("'+id+'").'+this.rel+'()'
		})
	}
})(jQuery)

/*Y29kZSBieSBwbHprbg==*/
