function focusInput(selector) {
    $(selector).each(function(){
        var defaultValue = this.value;

        $(this).focus(function () {
            if (this.value==defaultValue) this.value='';
            return ;
        });

        $(this).blur(function() {
            if (this.value=='') this.value=defaultValue;
            return ;
        });
    });
}
