/*! jquery.charactercounter */
$.fn.updateCounter = function(counter) {
	var _this = $(this);
	var strLen = _this.attr('value').length;
	$(counter).text( 249 - ( strLen ) );
	if ( strLen > 248 ) { _this.attr('value', _this.attr('value').substr(0, 248) ); }
	return this;
}
