var mZones = new Array;function StartRotatingZone(Parent,ZoneID, Delay,ItemCount) {mZones.push(new Zone(Parent,ZoneID, Delay, ItemCount, mZones.length));}
function Zone(_Parent,_ID, _Delay,_ItemCount,_Index) {this.Rotate = function() {
  var o = document.getElementById(this.Parent + '_' + this.ID + '_' + this.CurrentItemIndex);
  if (o) o.style.display = 'none'; this.CurrentItemIndex = (this.CurrentItemIndex < this.ItemCount ? this.CurrentItemIndex + 1 : 1);
  o = document.getElementById(this.Parent + '_' + this.ID + '_' + this.CurrentItemIndex); if (o) o.style.display = '';
  setTimeout("mZones[" + this.Index + "].Rotate();", this.Delay);
}; this.Parent = _Parent;this.ID = _ID;this.Delay = _Delay;this.ItemCount = _ItemCount;this.CurrentItemIndex = 0;this.Index=_Index;if (this.Delay > 0) {this.CurrentItemIndex = 1;setTimeout("mZones["+this.Index+"].Rotate();", this.Delay);}}
