$(document).ready(function() {
   $('.ea').each(function() {
      var default_value = this.value;
      $(this).focus(function() {
         if(this.value == default_value) {
            this.value = '';
            $(this).css('color', '#333');
         }
      });
      $(this).blur(function() {
         if(this.value == '') {
            $(this).css('color', '#999');
            this.value = default_value;
         }
      });
   });   
});
