function clearFormlabel() {
  $('.lighttext').each(function() {
    var $this = $(this),
        id = $(this).attr('id'),
        $label = $('label[for='+ id +']');

    if($this.val() != '') {
      $label.hide();
    }
    $this.focus(function() {
      $label.addClass('focus');
    });
    $this.blur(function() {
      $label.removeClass('focus');
    });
    $this.bind('keydown', function(e) {
      if(e.keyCode >= 48 ) {
        $label.hide();
      }
    });
    $this.bind('keyup', function() {
      if($(this).val() == '') {
        $label.show();
      }
    });
  });
}

$(document).ready(function() {
  clearFormlabel();
});

