var pixels = percent * parseInt(dojo.getComputedStyle(this.domNode)[this._dimension]); this.internalProgress.style[this._dimension] = pixels + 'px';  var display = this.annotate ? "block" : "none"; 
		update: function(/*Object?*/attributes){			// summary: update progress information			//			// attributes: may provide progress and/or maximum properties on this parameter,			//	see attribute specs for details.			dojo.mixin(this, attributes||{});			var percent;			if(String(this.progress).indexOf("%") != -1){				percent = Math.min(parseFloat(this.progress)/100, 1);				this.progress = percent * this.maximum;			}else{				this.progress = Math.min(this.progress, this.maximum);				percent = this.progress / this.maximum;			}			if(!this._animationStopped){return;}			this._setWaiValueNow(this.report(percent));			var pixels = percent * parseInt(dojo.getComputedStyle(this.domNode)[this._dimension]);			this.internalProgress.style[this._dimension] = pixels + 'px';			var display = this.annotate ? "block" : "none";			dojo.forEach(["full", "empty"], function(name){				var labelNode = this[name+"Label"];				var text = this.report(percent);				if(labelNode.firstChild){					labelNode.firstChild.nodeValue = text;				}else{					labelNode.appendChild(dojo.doc.createTextNode(text));				}				dojo.style(labelNode, "display", display);// move this out of update, or perhaps replace with css or template layout?				var dim = dojo.contentBox(labelNode);				var labelBottom = (parseInt(dojo.getComputedStyle(this.domNode).height) - dim.h)/2;				labelNode.style.bottom = labelBottom + 'px';			}, this);			this.onChange();		},
3035	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3035/1b8efff9e16421ae3a117852efe97b7134ede9f7/ProgressBar.js/buggy/ProgressBar.js