jQuery.fn.InputHelper=function(){helpertext=jQuery("label[for="+jQuery(this).attr("id")+"] span").text();jQuery(this).val(helpertext);jQuery(this).addClass("helper");jQuery("label[for="+jQuery(this).attr("id")+"] span").hide();jQuery(this).focus(function(){helpertext=jQuery("label[for="+jQuery(this).attr("id")+"] span").text();if(jQuery(this).val()==""||jQuery(this).val()==helpertext){jQuery(this).val("");jQuery(this).removeClass("helper");}});jQuery(this).blur(function(){helpertext=jQuery("label[for="+jQuery(this).attr("id")+"] span").text();if(jQuery(this).val()==""||jQuery(this).val()==helpertext){jQuery(this).val("");jQuery(this).addClass("helper");jQuery(this).val(helpertext);return true;}});return this;}
