// Gaia Ajax Widgets Copyright (C) 2007  Frost Innovation AS. details at http://ajaxwidgets.com/
Gaia.Container=function(){}
Gaia.Container.prototype={forceAnUpdate:function(){this.destroyChildrenControls();this.destroyContainer(this.element.id);},reInit:function(){this.element=$(this.element.id);},destroyChildrenControls:function(){try{$A(this.element.childNodes).each(function(el){this._destroyAllChildren(el);}.bind(this));}catch(err){alert(err);}},destroyContainer:function(elId){var arrayToBeRemoved=new Array();Gaia.Control._itsRegisteredInvisibleControls.each(function(idx){if(idx.element.id.indexOf(elId)==0){arrayToBeRemoved.push(idx);}}.bind(this));arrayToBeRemoved.each(function(idx){var idxNo=0;Gaia.Control._itsRegisteredInvisibleControls.each(function(idxInner){if(idxInner.element.id==idx.element.id)
throw $break;idxNo+=1;});Gaia.Control._itsRegisteredInvisibleControls.splice(idxNo,1)[0];idx.destroy();});}};Gaia.Container.browserFinishedLoading=true;