text: /*
   *  jQuery Progress - v0.1.0
   *  Progress bars for element scroll progress.
   *  https://github.com/ryannielson/jquery-progress
   *
   *  Made by Ryan Nielson
   *  Under MIT License
   */
  !function(a,b){function c(b,c){this.element=b,this.settings=a.extend({},e,c),this._defaults=e,this._name=d,this.init()}var d="progress",e={height:"2px",color:"#FF0000",completeColor:"#00FF00"};c.prototype={init:function(){this._prepareProgressBar(),this._setupScrollEvents()},_prepareProgressBar:function(){this._progressBar=a("<div>").css({height:this.settings.height,"background-color":this.settings.color,position:"fixed",left:"0",top:"0"}),a("body").append(this._progressBar)},_isAboveElement:function(a,b){return a>b},_isBelowElement:function(a,b){return b>a},_getBarWidth:function(a,b){return 100*(a/b)},_setupScrollEvents:function(){_this=this;var c=function(){var c=a(b).scrollTop()+a(b).height(),d=a(_this.element).offset().top,e=d+a(_this.element).height(),f=a(_this.element).height(),g=c-d;_this._isAboveElement(d,c)?_this._progressBar.css({width:"0"}):_this._isBelowElement(e,c)?_this._progressBar.css({width:"100%","background-color":_this.settings.completeColor}):_this._progressBar.css({width:_this._getBarWidth(g,f)+"%","background-color":_this.settings.color})};a(b).scroll(c),a(b).resize(c),a(b).scroll()}},a.fn[d]=function(b){return this.each(function(){a.data(this,"plugin_"+d)||a.data(this,"plugin_"+d,new c(this,b))})}}(jQuery,window,document);