jQuery(function(a){a.fn.InstallerProgress=function(d){var b=new Array();var c={cascade:new Array({perc:20,time:500},{perc:40,time:800},{perc:50,time:800},{perc:30,time:400},{perc:80,time:800})};pluginOptions=a.extend({},c,d);this.each(function(h,g){b.push(g)});b.reverse();var e=0;(function f(){var g=b.pop();if(g){setTimeout(function(){a(g).css("width",pluginOptions.cascade[e].perc+"%");setTimeout(function(){a(g).css("width","100%").addClass("bg-success");a("span.step_details",g).show().css("display","inline-block");e++;f()},pluginOptions.cascade[e].time)},300)}else{a("div.alert-success").show();return}})()};a("div.installcontainer div.progress-bar").InstallerProgress({})});