<Template>
	<div>This is the template</div>
	<import-xml src = "/projects/engine/demonstrations/demonstration_18/DemoImport.xml" id = "DemoImport" />
	<div><input type = "button" value = "Prev" onclick = "${this}.Prev()" /></div>
	
	<embedded-script><![CDATA[
		Prev : function(){
			this.loadTemplate("/projects/engine/demonstrations/demonstration_18/DemoTemplate.xml");
		},
		template_init : function(){
			this.AddNode("template_init invoked");
		},
		
		template_destroy : function(){
			this.AddNode("template_destroy invoked");		
		},
		embedded_init : function(){
			this.AddNode("embedded_init invoked");
		},
		
		embedded_destroy : function(){
			this.AddNode("embedded_destroy invoked");		
		}
	]]></embedded-script>
</Template>
