obips.BusyDialog=function(){};obips.BusyDialog.resourceFile="uicomponents/common/common.xml";obips.BusyDialog.Model=function(d,c,a,b){obips.BusyDialog.Model.baseConstructor.call(this,d,c,a,null,obips.ResourceManager.getSingleton().getURL(obips.BusyDialog.resourceFile,"uicomponents/common/title_process.gif").url)};extend(obips.BusyDialog.Model,obips.TextDialog.Model);obips.BusyDialog.Viewer=function(d,a){obips.BusyDialog.Viewer.baseConstructor.call(this,d,a);this.okButton.style.display="none";this.bodyDiv.align="center";var c=document.createElement("div");var b=document.createElement("img");b.src=obips.ResourceManager.getSingleton().getURL(obips.BusyDialog.resourceFile,"uicomponents/common/process_animation.gif").url;b.alt="";b.id="busyImage";b.style.marginTop="10px";c.appendChild(b);this.bodyDiv.appendChild(c);this.floatingWindowManager.display(this);obips.asyncCall(new obips.Callback(null,function(e){e.focus()}),1,this.cancelButton)};extend(obips.BusyDialog.Viewer,obips.TextDialog.Viewer);obips.BusyDialog.Viewer.prototype.createController=function(){this.controller=new obips.BusyDialog.Controller(this)};obips.BusyDialog.Viewer.prototype.closeDialog=function(){this.controller.closeDialog()};obips.BusyDialog.Controller=function(a){obips.BusyDialog.Controller.baseConstructor.call(this,a)};extend(obips.BusyDialog.Controller,obips.TextDialog.Controller);obips.BusyDialog.Controller.prototype.cancelDialog=function(){this.viewer.disableButton("Cancel");if(this.viewer.model.callback){this.viewer.model.callback.functionPointer.call(this.viewer.model.callback.thisContext,this.viewer.model)}};