Site.getLayout ()
return the currently enabled layout object

Sourcecode in Site/objectFunctions.js:
1:   function getLayout() {
2:      if (this.layout)
3:         return this.layout;
4:      return root.getLayout();
5:   }