(function($) {

  $.fn.placeholder = function(color) {
    if (!$.browser.webkit) {
      var color = color || '#a9a9a9';

        $(this).val($(this).attr('placeholder'))
        $(this).css('color', color);


      $(this).focus(function() {
        if ($(this).val() == $(this).attr('placeholder')) {
          $(this)
            .val('')
            .css('color', '');
        }
      });

      $(this).blur(function() {
        if ($(this).val() == '') {
          $(this)
            .val($(this).attr('placeholder'))
            .css('color', color);
        }
      });
    }
  };

})(jQuery);

jQuery(function() {
    jQuery("#form_code :text").placeholder('#777777');
})
