obips.ViewElementMask=function(){};obips.ViewElementMask.Manager=function(){var a=obips.getSingleton(obips.ViewElementMask.Manager.SINGLETON_NAME);if(a){if(window.obipsViewElementMaskDocumentEventsRegistered!=true){a._registerDocumentEvents(window);window.obipsViewElementMaskDocumentEventsRegistered=true}return a}if(window.obipsViewElementMaskDocumentEventsRegistered!=true){this._registerDocumentEvents(window);window.obipsViewElementMaskDocumentEventsRegistered=true}this._aElementMaskControllers=new Array();globalRegister.addObject(obips.ViewElementMask.Manager.SINGLETON_NAME,this);obips.ViewElementMask.Manager.baseConstructor.call(this)};extend(obips.ViewElementMask.Manager,obips.ElementMask.Manager);obips.ViewElementMask.Manager.SINGLETON_NAME="obipsViewElementMaskManager";obips.ViewElementMask.Manager.getManagerInstance=function(){var a=obips.getSingleton(obips.ViewElementMask.Manager.SINGLETON_NAME);if(a){return a}else{return(new obips.ViewElementMask.Manager())}};obips.ViewElementMask.Manager.prototype.createElementMask=function(i,a,d,h,b){var c=(d!=undefined);var g=new obips.ElementMask.Model(h,b);var f=new obips.ElementMask.Viewer(g,i,a,c);var e=new obips.ElementMask.Controller(f);this._aElementMaskControllers.push(e);if(c){f.addElement(d,true);f.display()}return e};obips.ViewElementMask.Manager.prototype.createViewMaskMessage=function(a,b){var c=document.createElement("DIV");c.className="ViewElementMaskMessage";c.appendChild(document.createTextNode(b));return this.createElementMask(a,"ViewElementMask",c,false,true)};obips.ViewElementMask.Manager.prototype.createNoDataDetailViewMessage=function(a,b,d){var c=obips.ResourceManager.getSingleton().getResource("uicomponents/common/common.xml","kmsgUIDetailViewNoDataMsg").getString(b,d);return this.createViewMaskMessage(a,c)};