=4){ this.ImageID = parseInt(strA[0]); this.ImagePath = strA[1]; this.
ImageName = strA[2]; this.Caption = strA[3]; if(strA.length==4){ this.
IsSelected = false; } else{ this.IsSelected =(strA[4]=="false")?false:true; } } else{ this.
ImageID = 0; this.ImagePath = ""; this.ImageName = ""; this.
ImageCaption = ""; this.IsSelected = false; } this.ToString = function(){ var strTemp = this.
ImageID + "|" + this.ImagePath + "|" + this.ImageName + "|" + this.
Caption + "|" + this.IsSelected; return strTemp } } function clsObjectCollection() { var objItems =new Array() this.Items = objItems this.
Add=function(objItem) { if (typeof(objItem)=="object") { objItems[objItems.length]=objItem } } this.ClearAll=function() { objItems =new Array() } this.
IDsToString=function() { var strTemp = ""; for(x=0; x 0){ strTemp = strTemp + "|"; } strTemp = strTemp + objItems[x].ImageID } return strTemp; } this.SelectedIDsToString=function() { var strTemp = ""; for(x=0; x intNumberDisplayCount){ for(x=intPage-intNumberDisplayCount; x intPageCount-intNumberDisplayCount){ for(x=intPageCount-(intNumberDisplayCount * 2); x =4){ this.
ImageID = parseInt(strA[0]); this.ImagePath = strA[1]; this.ImageName = strA[2]; this.
Caption = strA[3]; if(strA.length==4){ this.IsSelected = false; } else{ this.
IsSelected =(strA[4]=="false")?false:true; } } else{ this.ImageID = 0; this.
ImagePath = ""; this.ImageName = ""; this.ImageCaption = ""; this.
IsSelected = false; } this.ToString = function(){ var strTemp = this.ImageID + "|" + this.
ImagePath + "|" + this.ImageName + "|" + this.Caption + "|" + this.
IsSelected; return strTemp } } function clsObjectCollection() { var objItems =new Array() this.Items = objItems this.Add=function(objItem) { if (typeof(objItem)=="object") { objItems[objItems.
length]=objItem } } this.ClearAll=function() { objItems =new Array() } this.
