$(document).ready(function(){OEDynManager.Initialize()});var OEDynManager={$vP:null,$Containers:null,$DBValues:null,$relPath:"",$pathToRoot:"",$pathToPHP:"WEFiles/Server/",_sendAjax:function(n,t){if(!n)return!1;typeof t!="undefined"&&t||(t=this.$pathToPHP+"DB/OEDB.php");try{$form=$("<form/>").attr({action:"#",method:"post",enctype:"multipart/form-data"});$("<input/>").attr({type:"hidden",name:"json",value:n}).appendTo($form);t&&$form.attr("action",t);$form.ajaxSubmit()}catch(i){return!1}return!0},Initialize:function(){if(typeof OEConfDynamic=="undefined"||oeEmpty(OEConfDynamic))return!1;if(this.$vP=OEConfDynamic,this.$relPath=this.$vP.PageRelPath,this.$relPath){this.$relPath=this.$relPath.replace(/\\/g,"/");var t=this.$relPath.split("/"),n=t.length;for(t[0]||n--,n>1&&!t[n-1]&&n--;n>0;)this.$pathToRoot+="../";this.$pathToPHP=this.$pathToRoot+this.$pathToPHP}_InitContainersAndDBValues();_UpdateOnStartup();_LinkEvents()},_InitContainersAndDBValues:function(){this.$Containers=[];this.$DBValues=[];this.__InitDataContainer("ConstVals");this.__InitDataContainer("HTMLVals");oeAAKeyExists("DynValues",this.$pV)&&(this.$DBValues=this.$pV.DynValues)},_UpdateOnStartup:function(){},__InitDataContainer:function(n){if(n&&this.$pV&&oeAAKeyExists(n,this.$pV)){var t=new OEDataContainer(n);if(!t)return;t.SetFromAssociativeArray(this.$pV[n]);this.__AddContainer(t)}},__AddContainer:function(n){var i,t;if(n){if(i=n.GetName(),i)for(t=0;t<this.$Containers.length;t++)if(i==this.$Containers[t].GetName()){this.$Containers[t]=n;return}this.$Container.push(n)}},_LinkEvents:function(){},_GetEvent:function(n){if(!this.$vP||!n)return null;var t=this.$vP.DynEvents;return oeAAKeyExists(n,t)?t[n]:null},_RunEvent:function(n){var t=this._GetEvent(n),i;t&&(i=this._getModificationsUsedByEvent(t))},_getModificationsUsedByEvent:function(){return{}},_fn:function(){}}