dojo.forEach(this.getChildren(), function(child, i){ dojo.cookie(this._getCookieName(i), child.sizeShare); }, this);