function ComponentArt_MultiPage(id){this.ClientControlId=this.Id=id;this.qqQz=id+'_table';this.DomElement=document.getElementById(this.qqQz);this.Pages=new Array();this.StateField=document.getElementById(id+'_SelectedIndex');this.SelectedPage=null;};ComponentArt_MultiPage.prototype.GetProperty=function(propName){return this[propName];};ComponentArt_MultiPage.prototype.SetProperty=function(propName,propValue){this[propName]=propValue;};ComponentArt_MultiPage.prototype.AddPage=function(page){page.ParentMultiPage=this;this.Pages[this.Pages.length]=page;};ComponentArt_MultiPage.prototype.ConvertPageToIndex=function(page){for(var index=0;index=0&&index=this.NumPages()-1){if(bWrap){this.GoFirst();};}else{this.SetPageIndex(currentIndex+1);};};ComponentArt_MultiPage.prototype.GoPrevious=function(bWrap){var currentIndex=this.GetPageIndex();if(currentIndex<=0){if(bWrap){this.GoLast();};}else{this.SetPageIndex(currentIndex-1);};};ComponentArt_MultiPage.prototype.NumPages=function(){return this.Pages.length;};ComponentArt_MultiPage.prototype.SetPageIndex=function(index,qzma){if(index>=0&&index0){this.DisableRecurse(arDomElements[qzba].childNodes);};};};ComponentArt_PageView.prototype.Disable=function(){this.DomElement.disabled=true;this.DisableRecurse(this.DomElement.childNodes);};ComponentArt_PageView.prototype.EnableRecurse=function(arDomElements){for(var qzba=0;qzba0){this.EnableRecurse(arDomElements[qzba].childNodes);};};};ComponentArt_PageView.prototype.Enable=function(){this.DomElement.disabled=false;this.EnableRecurse(this.DomElement.childNodes);};ComponentArt_PageView.prototype.Show=function(qzma){if(!qzma&&this.ParentMultiPage&&this.ParentMultiPage.AutoPostBack){__doPostBack(this.ParentMultiPage.ControlId,this.ParentMultiPage.ConvertPageToIndex(this));return;};if(this.ParentMultiPage){if(this.ParentMultiPage.SelectedPage){this.ParentMultiPage.SelectedPage.DomElement.style.display='none';};this.ParentMultiPage.SelectedPage=this;this.DomElement.style.display='';};if(this.ParentMultiPage.StateField){this.ParentMultiPage.StateField.value=this.ParentMultiPage.ConvertPageToIndex(this);};};var ComponentArt_MultiPage_Kernel_Loaded=true;