zul.wgt.Progressmeter=zk.$extends(zul.Widget,{_value:0,$define:{value:function(){this.$n()&&this._fixImgWidth()}},_fixImgWidth:_zkf=function(){var b=this.$n(),a=this.$n("img");a&&zk(b).isRealVisible()&&(a=jq(a),a.animate({width:Math.round(jq(b).innerWidth()*this._value/100)+"px"},a.zk.getAnimationSpeed("slow")))},onSize:_zkf,bind_:function(){this.$supers(zul.wgt.Progressmeter,"bind_",arguments);this._fixImgWidth(this._value);zWatch.listen({onSize:this})},unbind_:function(){zWatch.unlisten({onSize:this});
this.$supers(zul.wgt.Progressmeter,"unbind_",arguments)},setWidth:function(b){this.$supers("setWidth",arguments);this._fixImgWidth()}});
