function NWTLayoutManager(){}NWTLayoutManager.prototype.trapEvent=function(a){var b=a.get("href"),c=a.ancestor(".nwt_layout"),d=b.split("/"),e=[d.pop(),d.pop()].reverse().join("_");c.one(".nwt_layout_inner").set("className","nwt_layout_inner").addClass("layout_"+e),nwt.socket.send(b,{success:function(a){c.one(".nwt_main .inner").setContent(a.content)}})},nwt.layoutManager=new NWTLayoutManager
