rem: var div = '<div style="width:650px;"><input style="float:left;padding:10px;" type="button" id="cancel-button" name="Cancel" value="Cancel job" /><div id="progbar" style="width:200px;border:1px solid;"><div id="progress-bar-box-content" style="float:right;height:10px;"></div></div></div>'; Ext.DomHelper.overwrite("progress-area", div); 
add: var div = '<div style="width:350px;margin:10px;">	<input style="float:left;margin:0px;" type="button" id="cancel-button" name="Cancel" value="Cancel job" />	<div id="progbar" style="margin:5px;width:' + detbarwidth + 'x;float:right;border:1px solid;">		<div id="progress-bar-box-content" style="float:left;height:10px;width:40px;">		</div>	</div></div>' Ext.DomHelper.overwrite("progress-area", div); 
context: 	createDeterminateProgressBar : function (){		this.determinate = 1;		var div = '<div style="width:650px;"><input style="float:left;padding:10px;" type="button" id="cancel-button" name="Cancel" value="Cancel job" /><div id="progbar" style="width:200px;border:1px solid;"><div id="progress-bar-box-content" style="float:right;height:10px;"></div></div></div>';	 	Ext.DomHelper.overwrite("progress-area", div);	 	f = this.cancelJob.createDelegate(this, [], true);		Ext.get("cancel-button").on('click', f);	},
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/8e309487c0f553dd73a92d543f930cbbd154ed3e/progressbar.js/buggy/gemma-web/src/main/webapp/scripts/progressbar.js