text: /*
   * jQuery limitWords Plugin
   *
   * Licensed under The MIT License
   * Redistributions of files must retain the copyright notice.
   *
   * @copyright		Copyright 2010 Jacob Morrison <jomorrison gmail com>, http://projects.ofjacob.com
   * @license			http://www.opensource.org/licenses/mit-license.php The MIT License
   * @author			Jacob Morrison <jomorrison gmail com>
  */
  jQuery.fn.limitWords=function(options){var d={'leftSelector':false,'limit':250,'underColor':'green','atColor':'orange'};if(options){jQuery.extend(d,options);}
  $(this).keypress(function(){var words=$(this).val().split(/[\s]+/);var num_words=words.length;if($(this).val()==''){num_words=0;}
  var left=d.limit-num_words;var mreturn=true;if(d.limit){if(num_words>d.limit){if(d.leftSelector&&d.atColor){$(d.leftSelector).css('color',d.overColor);}
  $(this).val(words.splice(0,d.limit).join(' '));left=0;mreturn=false;}
  if(left==0){if(d.leftSelector&&d.atColor){$(d.leftSelector).css('color',d.atColor);}}else{if(d.leftSelector&&d.underColor){$(d.leftSelector).css('color',d.underColor);}}
  if(d.leftSelector){$(d.leftSelector).html(Math.abs(left)+" left");}
  return mreturn;}});$(this).click(function(){$(this).keypress();});$(this).change(function(){$(this).keypress();});}