add: site.layout = new Layout(site); 
context: Root.prototype.create_action = function() {   var site = new Site;   if (req.postParams.create) {      try {         site.update(req.postParams);         this.add(site);         site.members.add(new Membership(session.user, Membership.OWNER));         logAction(site, "added");         res.message = gettext("Successfully created your site.");            res.redirect(site.href());      } catch (ex) {         res.message = ex;         app.log(ex);      }   }   res.data.action = this.href(req.action);   res.data.title = gettext("Create a new site");   res.data.body = site.renderSkinAsString("Site#create");   root.renderSkin("page");   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/3efbd63046d0de34a59bbe00c11a37b157f1b745/Root.js/clean/code/Root/Root.js