add: if (!this.site) { return null; }  
context: Layout.prototype.getSkinPath = function() {   var skinPath = [this.getFile().toString()];   this.parent && (skinPath.push(this.parent.getFile().toString()));   return skinPath;      var layout = this;   do {      res.push();      res.write(getProperty("staticPath"));      layout.site && res.write(layout.site.name + "/");      res.write("layouts/");      res.write(layout.name);      skinPath.push(res.pop());   } while (layout = layout.parent);   return skinPath;   // FIXME: to be removed   var sp = [this.skins];   var handler = this;   while ((handler = handler.parent) != null) {      sp.push(handler.skins);   }   return sp;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/3efbd63046d0de34a59bbe00c11a37b157f1b745/Layout.js/clean/code/Layout/Layout.js