{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1}],"scripts":[],"id":"C813CF39-9E66-4E28-939F-29A4965527BC","shape":{"__isSmartRef__":true,"id":91},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Stack","partsBinMetaInfo":{"__isSmartRef__":true,"id":92},"eventHandler":{"__isSmartRef__":true,"id":101},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A","D74DD564-0B96-4849-8838-CB8A636E223A"],"isBeingDragged":false,"partTests":{"__isSmartRef__":true,"id":102},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"pageArray":[{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":108}],"showBackground":null,"baseBackground":{"__isSmartRef__":true,"id":191},"pageIndex":1,"layout":{"__isSmartRef__":true,"id":196},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":197},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withLayers":["Global.users.TedKaehler.DBJr.MorphInStackLayer"],"_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(229.3,-10.4)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":76}],"scripts":[],"id":"4AB773F1-F9CE-4A26-BE9B-E7784943429E","shape":{"__isSmartRef__":true,"id":87},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Page1","partsBinMetaInfo":{"__isSmartRef__":true,"id":88},"eventHandler":{"__isSmartRef__":true,"id":89},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A","38FC43BD-856C-4B5E-815D-66DA188277F2"],"isBeingDragged":false,"prevScroll":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"layout":{"__isSmartRef__":true,"id":90},"__serializedExpressions__":["_Position","distanceToDragEvent"],"stack":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,10.0)","distanceToDragEvent":"lively.pt(233.3,-10.4)"},"2":{"submorphs":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":45},{"__isSmartRef__":true,"id":59}],"scripts":[],"shape":{"__isSmartRef__":true,"id":73},"_ClipMode":"visible","derivationIds":[],"id":"A36B3906-27DF-4536-A83C-A6C9C725882A","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":1},"pageSpecific":false,"eventHandler":{"__isSmartRef__":true,"id":74},"layout":{"__isSmartRef__":true,"id":75},"name":"stackControlTray","__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(113.2,244.6)"},"3":{"submorphs":[{"__isSmartRef__":true,"id":4}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9},"_ClipMode":"visible","derivationIds":[],"id":"7D40400A-59DC-4887-A917-8F057709DA63","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":4},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":10},"attributeConnections":[{"__isSmartRef__":true,"id":11}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(47.0,2.0)"},"4":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6}],"_ClipMode":"hidden","derivationIds":[],"id":"1E6DB7EF-8439-4E04-93F8-5CDE4BF4B6D0","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"5":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"6":{"style":{"__isSmartRef__":true,"id":7},"chunkOwner":{"__isSmartRef__":true,"id":4},"_id":"_55787","storedString":"<>","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"8":{"morph":{"__isSmartRef__":true,"id":4},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"10":{"morph":{"__isSmartRef__":true,"id":3},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11":{"sourceObj":{"__isSmartRef__":true,"id":3},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":12},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12":{"source":{"__isSmartRef__":true,"id":3},"target":{"__isSmartRef__":true,"id":3}},"13":{"doAction":{"__isSmartRef__":true,"id":14}},"14":{"varMapping":{"__isSmartRef__":true,"id":15},"source":"function doAction(evt) { this.owner.owner.owner.showMenu(event); }","funcProperties":{"__isSmartRef__":true,"id":16},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15":{"this":{"__isSmartRef__":true,"id":3}},"16":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"17":{"submorphs":[{"__isSmartRef__":true,"id":18}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23},"_ClipMode":"visible","derivationIds":[],"id":"D03E00FA-BBC9-4141-8CBC-7DBE0B4F191D","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":18},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":24},"attributeConnections":[{"__isSmartRef__":true,"id":25}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":27},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(27.0,2.0)"},"18":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":20}],"_ClipMode":"hidden","derivationIds":[],"id":"A51C9ECF-363F-4BF8-928F-5B18230454C8","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":17},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":22},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"19":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"20":{"style":{"__isSmartRef__":true,"id":21},"chunkOwner":{"__isSmartRef__":true,"id":18},"_id":"_55790","storedString":"<","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"21":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"22":{"morph":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"23":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"24":{"morph":{"__isSmartRef__":true,"id":17},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25":{"sourceObj":{"__isSmartRef__":true,"id":17},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":17},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":26},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"26":{"source":{"__isSmartRef__":true,"id":17},"target":{"__isSmartRef__":true,"id":17}},"27":{"doAction":{"__isSmartRef__":true,"id":28}},"28":{"varMapping":{"__isSmartRef__":true,"id":29},"source":"function doAction(evt) { this.owner.owner.owner.showPageInc(-1); }","funcProperties":{"__isSmartRef__":true,"id":30},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"29":{"this":{"__isSmartRef__":true,"id":17}},"30":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"31":{"submorphs":[{"__isSmartRef__":true,"id":32}],"scripts":[],"shape":{"__isSmartRef__":true,"id":37},"_ClipMode":"visible","derivationIds":[],"id":"59FC6E9F-532D-44ED-9D0D-0EAC525B1B2D","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":32},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":38},"attributeConnections":[{"__isSmartRef__":true,"id":39}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":41},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1.0,2.0)"},"32":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":33},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":34}],"_ClipMode":"hidden","derivationIds":[],"id":"6BE7B14A-31FB-40A9-BB15-954C4F6100F1","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":31},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":36},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"33":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"34":{"style":{"__isSmartRef__":true,"id":35},"chunkOwner":{"__isSmartRef__":true,"id":32},"_id":"_55793","storedString":"<<","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"35":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"36":{"morph":{"__isSmartRef__":true,"id":32},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"37":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"38":{"morph":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"39":{"sourceObj":{"__isSmartRef__":true,"id":31},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":31},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":40},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"40":{"source":{"__isSmartRef__":true,"id":31},"target":{"__isSmartRef__":true,"id":31}},"41":{"doAction":{"__isSmartRef__":true,"id":42}},"42":{"varMapping":{"__isSmartRef__":true,"id":43},"source":"function doAction(evt) { this.owner.owner.owner.showPageNum(1); }","funcProperties":{"__isSmartRef__":true,"id":44},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"43":{"this":{"__isSmartRef__":true,"id":31}},"44":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"45":{"submorphs":[{"__isSmartRef__":true,"id":46}],"scripts":[],"shape":{"__isSmartRef__":true,"id":51},"_ClipMode":"visible","derivationIds":[],"id":"5BF404BD-B137-4516-B5ED-FFA6D47A56EE","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":46},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":52},"attributeConnections":[{"__isSmartRef__":true,"id":53}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":55},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(73.0,2.0)"},"46":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":47},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":48}],"_ClipMode":"hidden","derivationIds":[],"id":"7B33781E-1E14-4993-994B-C19305C51476","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":45},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":50},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"47":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"48":{"style":{"__isSmartRef__":true,"id":49},"chunkOwner":{"__isSmartRef__":true,"id":46},"_id":"_55796","storedString":">","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"49":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"50":{"morph":{"__isSmartRef__":true,"id":46},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"51":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"52":{"morph":{"__isSmartRef__":true,"id":45},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"53":{"sourceObj":{"__isSmartRef__":true,"id":45},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":45},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"54":{"source":{"__isSmartRef__":true,"id":45},"target":{"__isSmartRef__":true,"id":45}},"55":{"doAction":{"__isSmartRef__":true,"id":56}},"56":{"varMapping":{"__isSmartRef__":true,"id":57},"source":"function doAction(evt) { this.owner.owner.owner.showPageInc(1); }","funcProperties":{"__isSmartRef__":true,"id":58},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"57":{"this":{"__isSmartRef__":true,"id":45}},"58":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"59":{"submorphs":[{"__isSmartRef__":true,"id":60}],"scripts":[],"shape":{"__isSmartRef__":true,"id":65},"_ClipMode":"visible","derivationIds":[],"id":"4AD8C00D-F331-4DD8-A1C8-DEA82DA8B1F9","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":60},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":66},"attributeConnections":[{"__isSmartRef__":true,"id":67}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"isPressed":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":69},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(93.0,2.0)"},"60":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":61},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":62}],"_ClipMode":"hidden","derivationIds":[],"id":"DF98D06D-F4D6-447D-B5F6-6084FCBEADC0","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":59},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":64},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"61":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"62":{"style":{"__isSmartRef__":true,"id":63},"chunkOwner":{"__isSmartRef__":true,"id":60},"_id":"_55799","storedString":"+","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"63":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"64":{"morph":{"__isSmartRef__":true,"id":60},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"65":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"66":{"morph":{"__isSmartRef__":true,"id":59},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"67":{"sourceObj":{"__isSmartRef__":true,"id":59},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":59},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"68":{"source":{"__isSmartRef__":true,"id":59},"target":{"__isSmartRef__":true,"id":59}},"69":{"doAction":{"__isSmartRef__":true,"id":70}},"70":{"varMapping":{"__isSmartRef__":true,"id":71},"source":"function doAction(evt) { this.owner.owner.owner.newPageHere(); }","funcProperties":{"__isSmartRef__":true,"id":72},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"71":{"this":{"__isSmartRef__":true,"id":59}},"72":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"73":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,24.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"74":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"75":{"centeredHorizontal":true,"moveVertical":true},"76":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":77},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":80},{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":84}],"_ClipMode":"visible","derivationIds":[],"id":"53081469-3217-44FA-935D-CA133F6E23D4","_InputAllowed":true,"_HandStyle":null,"allowInput":true,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":false,"_FontFamily":"Helvetica","_FontSize":14,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":86},"name":"bkField","dbjrDataGetter":"bkFieldContents","pageSpecific":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(10.0,10.0)"},"77":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(320.0,216.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"78":{"style":{"__isSmartRef__":true,"id":79},"chunkOwner":{"__isSmartRef__":true,"id":76},"_id":"_55780","storedString":"Text on page one.\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"79":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"80":{"_id":"_55781","style":{"__isSmartRef__":true,"id":81},"chunkOwner":{"__isSmartRef__":true,"id":76},"storedString":"Note you can make morphs stick with the background using the morph menu.\n\nA background morph can implement the methods\n.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"81":{"fontSize":11,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"82":{"_id":"_55783","style":{"__isSmartRef__":true,"id":83},"chunkOwner":{"__isSmartRef__":true,"id":76},"storedString":"- onPageChangeInStack\n- onActivateInStack\n- onDeactivateInStack\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"83":{"fontFamily":"monospace","fontSize":10,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"84":{"_id":"_55784","style":{"__isSmartRef__":true,"id":85},"chunkOwner":{"__isSmartRef__":true,"id":76},"storedString":"to react to page changes.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"85":{"fontSize":11,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"86":{"morph":{"__isSmartRef__":true,"id":76},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"87":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(342.4,278.6)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(98,214,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"88":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"89":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"90":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"91":{"_BorderWidth":1,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(342.4,288.6)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,-1.4)"},"92":{"partsSpaceName":"PartsBin/Stacks/","comment":"An empty Stack with two backgrounds and three pages.","migrationLevel":8,"changes":[{"__isSmartRef__":true,"id":93},{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":95},{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":100}],"partName":"Stack","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sun Nov 09 2014 14:15:51 GMT-0800 (PST)\")"},"93":{"author":"robertkrahn","message":"no comment","id":"782975DE-D96E-4C02-B783-E9E187316C49","__serializedExpressions__":["date"],"date":"new Date(\"Sun Nov 09 2014 13:21:40 GMT-0800 (PST)\")"},"94":{"author":"TKaehler","message":"Initial commit by Ted Kaehler","id":"786AAE07-B7D6-4AD6-9671-955225C9C064","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 16 2013 16:48:38 GMT-0700 (PDT)\")"},"95":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"fixing background morph logic","id":"27696641-97C1-4689-A902-E5575F403ACB","date":"new Date(\"Sun Nov 09 2014 13:51:41 GMT-0800 (PST)\")"},"96":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"note about bkg morphs","id":"B57DF9A3-A9FB-4E99-B5BB-F4ED109B9B07","date":"new Date(\"Sun Nov 09 2014 13:58:57 GMT-0800 (PST)\")"},"97":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"note about bkg morphs","id":"4352FC3A-422F-460D-BE70-9BEFE8F8515D","date":"new Date(\"Sun Nov 09 2014 13:59:41 GMT-0800 (PST)\")"},"98":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"no comment","id":"715EE1F1-4E3A-4432-A13F-006EA8D36EA3","date":"new Date(\"Sun Nov 09 2014 14:02:36 GMT-0800 (PST)\")"},"99":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"fixing background layouting / resizing","id":"234684A1-8EE2-4BB5-A87D-0AA0F1E512A7","date":"new Date(\"Sun Nov 09 2014 14:15:49 GMT-0800 (PST)\")"},"100":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"background change method support","id":"D1D48ABC-4621-41E6-B280-6C1B51EFFA1B","date":"new Date(\"Sun Nov 09 2014 14:28:53 GMT-0800 (PST)\")"},"101":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"102":{},"103":{"background":{"__isSmartRef__":true,"id":1},"pageMorphs":[{"__isSmartRef__":true,"id":76}]},"104":{"background":{"__isSmartRef__":true,"id":1},"pageMorphs":[{"__isSmartRef__":true,"id":105}]},"105":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":106},"_ClipMode":"visible","derivationIds":[],"id":"81DBB50F-6B03-4937-B736-B8080D87FB17","droppingEnabled":true,"halosEnabled":true,"owner":null,"pageSpecific":true,"eventHandler":{"__isSmartRef__":true,"id":107},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(75.0,200.0)"},"106":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-37.5)","_Extent":"lively.pt(100.0,75.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(0,204,0)"},"107":{"morph":{"__isSmartRef__":true,"id":105},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"108":{"background":{"__isSmartRef__":true,"id":109},"pageMorphs":[{"__isSmartRef__":true,"id":188}]},"109":{"submorphs":[{"__isSmartRef__":true,"id":110}],"scripts":[],"id":"EE8327A0-DD1A-4AAC-93C8-D1E0358CF259","shape":{"__isSmartRef__":true,"id":184},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Page2","partsBinMetaInfo":{"__isSmartRef__":true,"id":185},"eventHandler":{"__isSmartRef__":true,"id":186},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A","38FC43BD-856C-4B5E-815D-66DA188277F2"],"isBeingDragged":false,"prevScroll":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"layout":{"__isSmartRef__":true,"id":187},"__serializedExpressions__":["_Position","distanceToDragEvent"],"stack":{"__isSmartRef__":true,"id":0},"owner":null,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,10.0)","distanceToDragEvent":"lively.pt(233.3,-10.4)"},"110":{"submorphs":[{"__isSmartRef__":true,"id":111},{"__isSmartRef__":true,"id":125},{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":167}],"scripts":[],"shape":{"__isSmartRef__":true,"id":181},"_ClipMode":"visible","derivationIds":[],"id":"88580A23-A383-4EB4-9FC7-FA5823DC9F90","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":109},"pageSpecific":false,"eventHandler":{"__isSmartRef__":true,"id":182},"layout":{"__isSmartRef__":true,"id":183},"name":"stackControlTray","__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(113.2,244.6)"},"111":{"submorphs":[{"__isSmartRef__":true,"id":112}],"scripts":[],"shape":{"__isSmartRef__":true,"id":117},"_ClipMode":"visible","derivationIds":[],"id":"07F5693D-5B42-443A-90C7-861450424D34","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":112},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":110},"eventHandler":{"__isSmartRef__":true,"id":118},"attributeConnections":[{"__isSmartRef__":true,"id":119}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":121},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(47.0,2.0)"},"112":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":113},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":114}],"_ClipMode":"hidden","derivationIds":[],"id":"EE9C5FE3-782C-4333-A8BC-129BA9BE2321","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":111},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":116},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"113":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"114":{"style":{"__isSmartRef__":true,"id":115},"chunkOwner":{"__isSmartRef__":true,"id":112},"_id":"_55802","storedString":"<>","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"115":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"116":{"morph":{"__isSmartRef__":true,"id":112},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"117":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"118":{"morph":{"__isSmartRef__":true,"id":111},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"119":{"sourceObj":{"__isSmartRef__":true,"id":111},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":111},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"120":{"source":{"__isSmartRef__":true,"id":111},"target":{"__isSmartRef__":true,"id":111}},"121":{"doAction":{"__isSmartRef__":true,"id":122}},"122":{"varMapping":{"__isSmartRef__":true,"id":123},"source":"function doAction(evt) { this.owner.owner.owner.showMenu(event); }","funcProperties":{"__isSmartRef__":true,"id":124},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"123":{"this":{"__isSmartRef__":true,"id":111}},"124":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"125":{"submorphs":[{"__isSmartRef__":true,"id":126}],"scripts":[],"shape":{"__isSmartRef__":true,"id":131},"_ClipMode":"visible","derivationIds":[],"id":"68437688-6CEF-491C-B2B2-44210D52C32E","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":126},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":110},"eventHandler":{"__isSmartRef__":true,"id":132},"attributeConnections":[{"__isSmartRef__":true,"id":133}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":135},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(27.0,2.0)"},"126":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":127},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":128}],"_ClipMode":"hidden","derivationIds":[],"id":"980576A0-0B3B-4395-8DB3-3C8681D36066","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":125},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":130},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"127":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"128":{"style":{"__isSmartRef__":true,"id":129},"chunkOwner":{"__isSmartRef__":true,"id":126},"_id":"_55805","storedString":"<","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"129":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"130":{"morph":{"__isSmartRef__":true,"id":126},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"131":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"132":{"morph":{"__isSmartRef__":true,"id":125},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"133":{"sourceObj":{"__isSmartRef__":true,"id":125},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":125},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":134},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"134":{"source":{"__isSmartRef__":true,"id":125},"target":{"__isSmartRef__":true,"id":125}},"135":{"doAction":{"__isSmartRef__":true,"id":136}},"136":{"varMapping":{"__isSmartRef__":true,"id":137},"source":"function doAction(evt) { this.owner.owner.owner.showPageInc(-1); }","funcProperties":{"__isSmartRef__":true,"id":138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"137":{"this":{"__isSmartRef__":true,"id":125}},"138":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"139":{"submorphs":[{"__isSmartRef__":true,"id":140}],"scripts":[],"shape":{"__isSmartRef__":true,"id":145},"_ClipMode":"visible","derivationIds":[],"id":"A37F5F30-40E4-416C-8763-B39C6F8DB8DC","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":140},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":110},"eventHandler":{"__isSmartRef__":true,"id":146},"attributeConnections":[{"__isSmartRef__":true,"id":147}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":149},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1.0,2.0)"},"140":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":141},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":142}],"_ClipMode":"hidden","derivationIds":[],"id":"7C9AB483-167E-416B-A8FB-897E5A92DD81","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":139},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":144},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"141":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"142":{"style":{"__isSmartRef__":true,"id":143},"chunkOwner":{"__isSmartRef__":true,"id":140},"_id":"_55808","storedString":"<<","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"143":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"144":{"morph":{"__isSmartRef__":true,"id":140},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"145":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(26.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"146":{"morph":{"__isSmartRef__":true,"id":139},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"147":{"sourceObj":{"__isSmartRef__":true,"id":139},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":139},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":148},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"148":{"source":{"__isSmartRef__":true,"id":139},"target":{"__isSmartRef__":true,"id":139}},"149":{"doAction":{"__isSmartRef__":true,"id":150}},"150":{"varMapping":{"__isSmartRef__":true,"id":151},"source":"function doAction(evt) { this.owner.owner.owner.showPageNum(1); }","funcProperties":{"__isSmartRef__":true,"id":152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"151":{"this":{"__isSmartRef__":true,"id":139}},"152":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"153":{"submorphs":[{"__isSmartRef__":true,"id":154}],"scripts":[],"shape":{"__isSmartRef__":true,"id":159},"_ClipMode":"visible","derivationIds":[],"id":"61957E10-318D-4E64-8976-26204807328A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":154},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":110},"eventHandler":{"__isSmartRef__":true,"id":160},"attributeConnections":[{"__isSmartRef__":true,"id":161}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":163},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(73.0,2.0)"},"154":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":155},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":156}],"_ClipMode":"hidden","derivationIds":[],"id":"E19B36B6-9C98-43BF-85C7-EA739E346E06","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":153},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":158},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"155":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"156":{"style":{"__isSmartRef__":true,"id":157},"chunkOwner":{"__isSmartRef__":true,"id":154},"_id":"_55811","storedString":">","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"157":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"158":{"morph":{"__isSmartRef__":true,"id":154},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"159":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"160":{"morph":{"__isSmartRef__":true,"id":153},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"161":{"sourceObj":{"__isSmartRef__":true,"id":153},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":153},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":162},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"162":{"source":{"__isSmartRef__":true,"id":153},"target":{"__isSmartRef__":true,"id":153}},"163":{"doAction":{"__isSmartRef__":true,"id":164}},"164":{"varMapping":{"__isSmartRef__":true,"id":165},"source":"function doAction(evt) { this.owner.owner.owner.showPageInc(1); }","funcProperties":{"__isSmartRef__":true,"id":166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"165":{"this":{"__isSmartRef__":true,"id":153}},"166":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"167":{"submorphs":[{"__isSmartRef__":true,"id":168}],"scripts":[],"shape":{"__isSmartRef__":true,"id":173},"_ClipMode":"visible","derivationIds":[],"id":"63D001CF-DF30-44B7-8E5A-E2924E65FB03","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":168},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":110},"eventHandler":{"__isSmartRef__":true,"id":174},"attributeConnections":[{"__isSmartRef__":true,"id":175}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":177},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(93.0,2.0)"},"168":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":169},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":170}],"_ClipMode":"hidden","derivationIds":[],"id":"541FFAB2-C906-4920-861E-60DFE5F16904","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":167},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"169":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"170":{"style":{"__isSmartRef__":true,"id":171},"chunkOwner":{"__isSmartRef__":true,"id":168},"_id":"_55814","storedString":"+","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"171":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"172":{"morph":{"__isSmartRef__":true,"id":168},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"173":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"174":{"morph":{"__isSmartRef__":true,"id":167},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"175":{"sourceObj":{"__isSmartRef__":true,"id":167},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":167},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":176},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"176":{"source":{"__isSmartRef__":true,"id":167},"target":{"__isSmartRef__":true,"id":167}},"177":{"doAction":{"__isSmartRef__":true,"id":178}},"178":{"varMapping":{"__isSmartRef__":true,"id":179},"source":"function doAction(evt) { this.owner.owner.owner.newPageHere(); }","funcProperties":{"__isSmartRef__":true,"id":180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"179":{"this":{"__isSmartRef__":true,"id":167}},"180":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","timestamp":"new Date(\"Sun Nov 09 2014 14:27:55 GMT-0800 (PST)\")"},"181":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,24.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"182":{"morph":{"__isSmartRef__":true,"id":110},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"183":{"centeredHorizontal":true,"moveVertical":true},"184":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(342.4,278.6)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"185":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"186":{"morph":{"__isSmartRef__":true,"id":109},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"187":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"188":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":189},"_ClipMode":"visible","derivationIds":[],"id":"90AC59A7-FD4A-4E6C-8483-E5261DC0FB1C","droppingEnabled":true,"halosEnabled":true,"owner":null,"pageSpecific":true,"eventHandler":{"__isSmartRef__":true,"id":190},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(100.0,150.0)"},"189":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-37.5,-50.0)","_Extent":"lively.pt(75.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(0,204,0)"},"190":{"morph":{"__isSmartRef__":true,"id":188},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"191":{"submorphs":[],"scripts":[],"id":"38FC43BD-856C-4B5E-815D-66DA188277F2","shape":{"__isSmartRef__":true,"id":192},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Page","partsBinMetaInfo":{"__isSmartRef__":true,"id":193},"eventHandler":{"__isSmartRef__":true,"id":194},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A"],"isBeingDragged":false,"owner":null,"prevScroll":[0,0],"_ClipMode":"visible","__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"layout":{"__isSmartRef__":true,"id":195},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1.0,8.0)","distanceToDragEvent":"lively.pt(233.3,-10.4)"},"192":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(342.4,289.6)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(98,214,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-1.0,-1.4)"},"193":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"194":{"morph":{"__isSmartRef__":true,"id":191},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"195":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"196":{"adjustForNewBounds":true},"197":{"newStack":{"__isSmartRef__":true,"id":198},"initialize":{"__isSmartRef__":true,"id":201},"newPage":{"__isSmartRef__":true,"id":208},"showPageNum":{"__isSmartRef__":true,"id":211},"removePageSpecific":{"__isSmartRef__":true,"id":214},"addPageSpecific":{"__isSmartRef__":true,"id":217},"loadPageText":{"__isSmartRef__":true,"id":220},"demo":{"__isSmartRef__":true,"id":223},"bePerPageText":{"__isSmartRef__":true,"id":226},"addPageControlsTo":{"__isSmartRef__":true,"id":229},"showPageInc":{"__isSmartRef__":true,"id":232},"newPageHere":{"__isSmartRef__":true,"id":235},"beInBackground":{"__isSmartRef__":true,"id":238},"showMenu":{"__isSmartRef__":true,"id":241},"deletePage":{"__isSmartRef__":true,"id":244},"addBackground":{"__isSmartRef__":true,"id":247},"stackMenuItems":{"__isSmartRef__":true,"id":250},"beInPage":{"__isSmartRef__":true,"id":253},"showPageWithProperty":{"__isSmartRef__":true,"id":256},"reset":{"__isSmartRef__":true,"id":259},"ensureDBJrLayer":{"__isSmartRef__":true,"id":262},"isPageSpecific":{"__isSmartRef__":true,"id":265},"onLoad":{"__isSmartRef__":true,"id":268}},"198":{"varMapping":{"__isSmartRef__":true,"id":199},"source":"function newStack() {\n    Global.stk = this.copy();\n    this.owner.addMorph(Global.stk);\n    Global.stk.initialize();\n    return Global.stk;\n}","funcProperties":{"__isSmartRef__":true,"id":200},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"199":{"this":{"__isSmartRef__":true,"id":0}},"200":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 12:37:07 GMT-0800 (PST)\")"},"201":{"varMapping":{"__isSmartRef__":true,"id":202},"source":"function initialize() {\n    this.removeAllMorphs();\n    this.pageIndex = 0; // 1-order\n    this.pageArray = [];\n    this.showBackground = null;\n    this.baseBackground = this.owner.pageProto;\n    this.baseBackground.applyStyle({resizeWidth: true, resizeHeight: true, adjustForNewBounds: true})\n    var newBKgnd = this.baseBackground.copy();\n    newBKgnd.stack = this;\n    this.newPage(newBKgnd);\n}","funcProperties":{"__isSmartRef__":true,"id":207},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"202":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":203}},"203":{"$super":{"__isSmartRef__":true,"id":204}},"204":{"varMapping":{"__isSmartRef__":true,"id":205},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"205":{"obj":{"__isSmartRef__":true,"id":0},"name":"initialize"},"206":{},"207":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 14:09:18 GMT-0800 (PST)\")"},"208":{"varMapping":{"__isSmartRef__":true,"id":209},"source":"function newPage(aBackground) {\n    var pgData = {background: aBackground, pageMorphs: []};\n    this.pageArray.splice(this.pageIndex, 0, pgData);\n        // splice is 1-order\n    if (this.pageArray.length == 1) {\n        this.addMorph(aBackground);\n        aBackground.setOrigin(pt(0,0));\n        aBackground.setPosition(pt(5,5));\n        this.pageIndex = 1}\n    else {\n        this.showPageNum(this.pageIndex + 1);  // 1-order\n        if (this.pageArray[this.pageIndex - 1].background !== this.pageArray[this.pageIndex - 2].background) {\n        //changed backgrounds\n         aBackground.setOrigin(pt(0,0));\n         aBackground.setPosition(pt(0,10))}};\n}","funcProperties":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"209":{"this":{"__isSmartRef__":true,"id":0}},"210":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 12:43:16 GMT-0800 (PST)\")"},"211":{"varMapping":{"__isSmartRef__":true,"id":212},"source":"function showPageNum(newIndexIn) {\n    // turn to a page and show it.  newIndex is 1 based.\n    if (this.pageIndex == newIndexIn) {return this;};\n    var newIndex = (newIndexIn + (this.pageArray.length) - 1) % (this.pageArray.length) + 1;\n    var newData = this.pageArray[newIndex - 1];\n    if (! newData) {this.alert('page number out of range')};\n    var oldData = this.pageArray[this.pageIndex - 1];\n    this.removePageSpecific(oldData); // includes storing text\n    this.pageIndex = newIndex;\n    if (oldData.background !== newData.background) { //change backgrounds\n        oldData.background.remove();\n        this.addMorph(newData.background);\n        newData.background.setPosition(pt(0,10));\n        newData.background.setExtent(this.getExtent().addXY(0,-10));\n    };\n    this.addPageSpecific(newData); // includes loading text\n\n    // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n    // activate callbacks\n    if (oldData.background !== newData.background) {\n        if (oldData.background.onDeactivateInStack)\n            oldData.background.onDeactivateInStack();\n        if (newData.background.onActivateInStack)\n            newData.background.onActivateInStack();\n    }\n    if (oldData.background.onPageChangeInStack)\n        oldData.background.onPageChangeInStack();\n    if (newData.background.onPageChangeInStack)\n        newData.background.onPageChangeInStack();\n }","funcProperties":{"__isSmartRef__":true,"id":213},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"212":{"this":{"__isSmartRef__":true,"id":0}},"213":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 14:22:31 GMT-0800 (PST)\")"},"214":{"varMapping":{"__isSmartRef__":true,"id":215},"source":"function removePageSpecific(pgData) {\n    // remove page specific morphs and put them in pageMorphs\n    var subs = pgData.background.submorphs;\n    var len = subs.length;\n    var mm = null;\n    pgData.pageMorphs = [];\n    for(var ii=0; ii<len; ii++) {  // skip background morphs\n        mm = subs[ii];\n        if (this.isPageSpecific(mm)) {\n            pgData.pageMorphs.push(mm) } \n        else {\n            if ('dbjrDataGetter' in mm) {\n                pgData[mm.dbjrDataGetter] = mm.getRichText2() }};\n    };\n    var pmLen = pgData.pageMorphs.length;\n    for(var jj=0; jj<pmLen; jj++) {  \n       pgData.pageMorphs[jj].remove() };\n}","funcProperties":{"__isSmartRef__":true,"id":216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"215":{"this":{"__isSmartRef__":true,"id":0}},"216":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:40:37 GMT-0800 (PST)\")"},"217":{"varMapping":{"__isSmartRef__":true,"id":218},"source":"function addPageSpecific(pgData) {\n    // take morphs in pageMorphs, and add them to the page.\n    pgData.pageMorphs.clone().reverse().forEach(function(ea) {\n        pgData.background.addMorph(ea);\n    });\n    this.loadPageText(pgData);\n}","funcProperties":{"__isSmartRef__":true,"id":219},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"218":{"this":{"__isSmartRef__":true,"id":0}},"219":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:16:18 GMT-0800 (PST)\")"},"220":{"varMapping":{"__isSmartRef__":true,"id":221},"source":"function loadPageText(pgData) {\n    // rk 2014-11-09:\n    // Deactivated this for now as it needlessly(?) removes text data. I think\n    // Ted wanted to implement some additional behavior that seperates text data\n    // per background from the actual morphs but I think this functionality can\n    // simply be covered using the normal background morph logic.\n    return;\n\n    // take text from property fldNameContents in pageData nd put it into its background.\n    var subs = pgData.background.submorphs;\n    var len = subs.length;\n    var mm = null;\n    for (var ii=0; ii<len; ii++) {  // skip background morphs\n        mm = subs[ii];\n        if (!this.isPageSpecific(mm)) {\n            if ('dbjrDataGetter' in mm) {\n                var theText = pgData[mm.dbjrDataGetter];\n                if (theText == undefined) {\n                    mm.textString = ''} // later with style\n                else {\n                    mm.setRichText2(theText) }\n                }\n            };\n        };\n}","funcProperties":{"__isSmartRef__":true,"id":222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"221":{"this":{"__isSmartRef__":true,"id":0}},"222":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:50:01 GMT-0800 (PST)\")"},"223":{"varMapping":{"__isSmartRef__":true,"id":224},"source":"function demo() {\n    // Construct a stack with pages and objects on them.\n    var master = this.owner.get('Stack');\n    var stk = master.newStack();\n    stk.setPosition(pt(5,5));\n    var ourBkgnd = stk.submorphs[0];\n    var txt = new lively.morphic.Text(new lively.Rectangle(0,0, 320, 75), \"\");\n    txt.setRichTextMarkup([\n        [\"Text on page one.\\n\", {}],\n        [\"Note you can make morphs stick with the background using the morph menu.\\n\\n\", {fontSize: 11}],\n        [\"A background morph can implement the methods\\n.\", {fontSize: 11}],\n        [\"- onPageChangeInStack\\n- onActivateInStack\\n- onDeactivateInStack\\n\", {fontFamily: \"monospace\", fontSize: 10}],\n        [\"to react to page changes.\", {fontSize: 11}],\n    ])\n    ourBkgnd.addMorph(txt.applyStyle({fontSize: 14, borderWidth: 1, fill: null, fixedHeight: false}));\n    txt.name = 'bkField';\n    this.bePerPageText(txt); // put it in background\n    stk.newPage(ourBkgnd);  // page 2\n    if (!(stk.pageIndex == 2)) {this.error('index problem')};\n    txt.setPosition(pt(10,10));\n\n    var ell = lively.morphic.Morph.makeEllipse(new lively.Rectangle(0, 0, 100, 75), 1, Global.Color.black, Global.Color.green);\n    ourBkgnd.addMorph(ell); // this page only\n    ell.setPosition(pt(75,200));\n    stk.addPageControlsTo(ourBkgnd);\n\n    var newBKgnd = stk.addBackground();  // page 3\n    newBKgnd.setFill(Global.Color.yellow);\n    var ell2 = lively.morphic.Morph.makeEllipse(new lively.Rectangle(0, 0, 75, 100), 1, Global.Color.black, Global.Color.red);\n    stk.submorphs[0].addMorph(ell2);  // this page only\n    ell2.setPosition(pt(100,150));\n\n    stk.showPageNum(1);  // 1-order\n}","funcProperties":{"__isSmartRef__":true,"id":225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"224":{"this":{"__isSmartRef__":true,"id":0}},"225":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 14:27:20 GMT-0800 (PST)\")"},"226":{"varMapping":{"__isSmartRef__":true,"id":227},"source":"function bePerPageText(textMorph) {\n    // make the text be in the background and set it up to save the text data in pageData\n    delete textMorph.pageSpecific;\n    textMorph.dbjrDataGetter = textMorph.name + 'Contents';\n    // later set a kind\n}","funcProperties":{"__isSmartRef__":true,"id":228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"227":{"this":{"__isSmartRef__":true,"id":0}},"228":{"user":"TedKaehler","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 06 2012 17:05:44 GMT-0700 (PDT)\")"},"229":{"varMapping":{"__isSmartRef__":true,"id":230},"source":"function addPageControlsTo(layer) {\n    // in button scripts, owner.owner.owner will be the stack (fragile)\n    var tray = layer.addMorph(lively.morphic.Morph.makeRectangle(0, 0, 116, 24));\n    tray.align(tray.bounds().bottomCenter(),\n    layer.innerBounds().bottomCenter().addXY(0, -10));\n    tray.setFill(null);\n    tray.applyStyle({borderWidth: 0, moveVertical: true, centeredHorizontal: true});\n    this.beInBackground(tray);\n    tray.name = \"stackControlTray\"\n\n    var menuButton = tray.addMorph(new lively.morphic.Button(new lively.Rectangle(0, 0, 26, 20), '<>'));\n    lively.bindings.connect(menuButton, \"fire\", menuButton, 'doAction');\n    menuButton.addScript(function doAction(evt) { this.owner.owner.owner.showMenu(event); });\n    menuButton.align(menuButton.bounds().bottomCenter(),\n                    tray.innerBounds().bottomCenter().addXY(2, -2));\n\n    var downButton = tray.addMorph(new lively.morphic.Button(new lively.Rectangle(0, 0, 20, 20), '<'));\n    lively.bindings.connect(downButton, \"fire\", downButton, 'doAction');\n    downButton.addScript(function doAction(evt) { this.owner.owner.owner.showPageInc(-1); });\n    downButton.align(downButton.bounds().topRight(), menuButton.bounds().topLeft());\n\n    var removeButton = tray.addMorph(new lively.morphic.Button(new lively.Rectangle(0, 0, 26, 20), '<<'));\n    lively.bindings.connect(removeButton, \"fire\", removeButton, 'doAction');\n    removeButton.addScript(function doAction(evt) { this.owner.owner.owner.showPageNum(1); });\n    removeButton.align(removeButton.bounds().topRight(), downButton.bounds().topLeft());\n\n    var upButton = tray.addMorph(new lively.morphic.Button(new lively.Rectangle(0, 0, 20, 20), '>'));\n    lively.bindings.connect(upButton, \"fire\", upButton, 'doAction');\n    upButton.addScript(function doAction(evt) { this.owner.owner.owner.showPageInc(1); });\n    upButton.align(upButton.bounds().topLeft(), menuButton.bounds().topRight());\n\n    var addButton = tray.addMorph(new lively.morphic.Button(new lively.Rectangle(0, 0, 20, 20), '+'));\n    lively.bindings.connect(addButton, \"fire\", addButton, 'doAction');\n    addButton.addScript(function doAction(evt) { this.owner.owner.owner.newPageHere(); });\n    addButton.align(addButton.bounds().topLeft(), upButton.bounds().topRight());\n}","funcProperties":{"__isSmartRef__":true,"id":231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"230":{"this":{"__isSmartRef__":true,"id":0}},"231":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 14:13:35 GMT-0800 (PST)\")"},"232":{"varMapping":{"__isSmartRef__":true,"id":233},"source":"function showPageInc(delta) {\n    // turn to a page and show it.  newIndex is 1 based.\n    this.showPageNum(this.pageIndex + delta)\n }","funcProperties":{"__isSmartRef__":true,"id":234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"233":{"this":{"__isSmartRef__":true,"id":0}},"234":{"user":"TedKaehler","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 13 2012 23:27:17 GMT-0700 (PDT)\")"},"235":{"varMapping":{"__isSmartRef__":true,"id":236},"source":"function newPageHere() {\n    this.newPage(this.pageArray[this.pageIndex - 1].background);\n}","funcProperties":{"__isSmartRef__":true,"id":237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"236":{"this":{"__isSmartRef__":true,"id":0}},"237":{"user":"TedKaehler","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 13 2012 23:46:43 GMT-0700 (PDT)\")"},"238":{"varMapping":{"__isSmartRef__":true,"id":239},"source":"function beInBackground(aMorph) {\n    // make the morph be in the background\n    aMorph.pageSpecific = false;\n}","funcProperties":{"__isSmartRef__":true,"id":240},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"239":{"this":{"__isSmartRef__":true,"id":0}},"240":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:40:37 GMT-0800 (PST)\")"},"241":{"varMapping":{"__isSmartRef__":true,"id":242},"source":"function showMenu(evt) {\n    // menu in page controls <>\n    var self = this, items = [];\n    items.push(['delete page', function(evt2) {\n            self.deletePage()}]);\n    items.push(['new background', function(evt2) {\n            self.addBackground()}]);\n\n    lively.morphic.Menu.openAt(evt.getPosition(), 'Stack Menu', items);\n }","funcProperties":{"__isSmartRef__":true,"id":243},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"242":{"this":{"__isSmartRef__":true,"id":0}},"243":{"user":"TedKaehler","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 17 2012 12:45:49 GMT-0700 (PDT)\")"},"244":{"varMapping":{"__isSmartRef__":true,"id":245},"source":"function deletePage() {\n    // remove the current page\n    this.showPageInc(1); // show page after deleted\n    if (this.pageIndex - 2 < 0) { // delete last page\n        this.pageArray.splice(-1, 1);\n    } else {\n        this.pageArray.splice(this.pageIndex - 2, 1);\n        this.pageIndex = this.pageIndex - 1;\n    };\n}","funcProperties":{"__isSmartRef__":true,"id":246},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"245":{"this":{"__isSmartRef__":true,"id":0}},"246":{"user":"TedKaehler","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 17 2012 14:26:53 GMT-0700 (PDT)\")"},"247":{"varMapping":{"__isSmartRef__":true,"id":248},"source":"function addBackground() {\n    // add an empty background after the current page\n    // It comes with page controls.  You can delete them.\n    var newBKgnd = this.baseBackground.copy();\n    newBKgnd.stack = this;\n    newBKgnd.setFill(Global.Color.white);\n    this.newPage(newBKgnd);\n    this.addPageControlsTo(newBKgnd);\n    return newBKgnd;\n}","funcProperties":{"__isSmartRef__":true,"id":249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"248":{"this":{"__isSmartRef__":true,"id":0}},"249":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 12:21:12 GMT-0800 (PST)\")"},"250":{"varMapping":{"__isSmartRef__":true,"id":251},"source":"function stackMenuItems(aMorph, items) {\n    // return a list of stack-related menu items for aMorph\n    var self = this;\n    if (this.isPageSpecific(aMorph)) {\n        items.push(['be in background', function(evt2) {\n            self.beInBackground(aMorph)}]) }\n    else {\n        items.push(['be in this page only', function(evt2) {\n            self.beInPage(aMorph)}])\n    };\n    // items.push(['be per page text', function(evt2) {\n    //     self.bePerPageText(aMorph)}]);\n\n    return items\n}","funcProperties":{"__isSmartRef__":true,"id":252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"251":{"this":{"__isSmartRef__":true,"id":0}},"252":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:40:37 GMT-0800 (PST)\")"},"253":{"varMapping":{"__isSmartRef__":true,"id":254},"source":"function beInPage(aMorph) {\n    // make the morph be on this page only\n    delete aMorph.pageSpecific;\n    // aMorph.pageSpecific = true;\n}","funcProperties":{"__isSmartRef__":true,"id":255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"254":{"this":{"__isSmartRef__":true,"id":0}},"255":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:40:37 GMT-0800 (PST)\")"},"256":{"varMapping":{"__isSmartRef__":true,"id":257},"source":"function showPageWithProperty(propertyN, value) {\n    // Search pages for pageData with the property and value. \n    // idNum, 3452 is a useful property to set and search for\n    // Note: property is on the pageData object\n    //    (stack.pageArray[stack.pageIndex - 1]), not the morph!\n    var paLen = this.pageArray.length;\n    var data = null;\n    for(var jj=0; jj<paLen; jj++) {  \n        data = this.pageArray[jj];\n        if (data[propertyN] == value) {\n            this.showPageNum(jj+1);\n            return true}\n        };\n }","funcProperties":{"__isSmartRef__":true,"id":258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"257":{"this":{"__isSmartRef__":true,"id":0}},"258":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:43:09 GMT-0800 (PST)\")"},"259":{"varMapping":{"__isSmartRef__":true,"id":260},"source":"function reset() {\n    // this.getPartsBinMetaInfo().getRequiredModules();\n    this.ensureDBJrLayer();\n    this.initialize();\n}","funcProperties":{"__isSmartRef__":true,"id":261},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"260":{"this":{"__isSmartRef__":true,"id":0}},"261":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:44:11 GMT-0800 (PST)\")"},"262":{"varMapping":{"__isSmartRef__":true,"id":263},"source":"function ensureDBJrLayer() {\n    var self = this;\n    lively.require('cop.Layers').toRun(function() {\n        var layer = Global.cop.createLayer(\"users.TedKaehler.DBJr.MorphInStackLayer\");\n        layer.refineClass(lively.morphic.Morph, {\n            morphMenuItems: function(evt) {\n                var items = Global.cop.proceed(evt);\n                self.stackMenuItems(this, items)\n                return items;\n            }\n        });\n        self.addWithLayer(layer);\n    });\n}","funcProperties":{"__isSmartRef__":true,"id":264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"263":{"this":{"__isSmartRef__":true,"id":0}},"264":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 14:01:29 GMT-0800 (PST)\")"},"265":{"varMapping":{"__isSmartRef__":true,"id":266},"source":"function isPageSpecific(morph) {\n    return !morph.hasOwnProperty(\"pageSpecific\") || !!morph.pageSpecific;\n}","funcProperties":{"__isSmartRef__":true,"id":267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"266":{"this":{"__isSmartRef__":true,"id":0}},"267":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 13:38:51 GMT-0800 (PST)\")"},"268":{"varMapping":{"__isSmartRef__":true,"id":269},"source":"function onLoad() {\n    this.ensureDBJrLayer();\n}","funcProperties":{"__isSmartRef__":true,"id":270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"269":{"this":{"__isSmartRef__":true,"id":0}},"270":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 09 2014 14:00:14 GMT-0800 (PST)\")"},"isSimplifiedRegistry":true}}