/**
 * jQuery fieldSelected plugin
 * This jQuery plugin was inspired and based on escorrega by Allison Henrique Alves Bezerra
 * @name fieldSelected-1.0.js
 * @author Willem Allan Rigo Ferreira
 * @version 0.1
 * @date October 15, 2009
 * @category jQuery plugin
 * @copyright (c) 2009 Willem Allan Rigo Ferreira
 * @website (http://www.ribsystem.com/willemallan/)
 */

(function($){
    $.fn.fieldSelected = function(parametros) {

      $(this).focus(function ()
        {
          $(this).removeClass('fieldDefault');
          $(this).addClass('fieldSelected');
        }
      );
      $(this).blur(function () {
          $(this).removeClass('fieldSelected');
          $(this).addClass('fieldDefault');
        }
      );

	}
})(jQuery);
