	<PG title="Summary" name="summary">
		<SCR name="getPageID"><![CDATA[pageIcon = icon.parentNode.clip();

if (rootIcon.projMode == "dev"){ 
  // Page Wizard
  pageIcon.templateData = pageIcon.extXML.toObject();
  pageIcon.templateData = pageIcon.templateData.pageWizard[0];
} else {
  // Toolkits
  myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);
  pageIcon.templateData = myXML.toObject();

}
  rootIcon.setTitleText(templateData.learningObject[0].name);
  
// handle multiple page data definitions in a project 
if (rootIcon.projectPageIndex == undefined){  
   rootIcon.projectPageIndex = 0;
}
// check if this page has a definition for the current project index and default to 0 if not
if (pageIcon.templateData.summary[rootIcon.projectPageIndex].name == undefined){
  projPI = 0;
} else {
  projPI = rootIcon.projectPageIndex; 
}  


// set up text strings
if (pageIcon.templateData.summary[projPI].summaryHeader != undefined){
 summaryHeader = pageIcon.templateData.summary[projPI].summaryHeader;
} else {
  summaryHeader = "Summary";
}

if (pageIcon.templateData.summary[projPI].nextstepsHeader != undefined){
 nextstepsHeader = pageIcon.templateData.summary[projPI].nextstepsHeader;
} else {
  nextstepsHeader = "Next Steps";
}

if (pageIcon.templateData.summary[projPI].narration != undefined){
  narration = pageIcon.templateData.summary[projPI].narration;
  rootIcon.broadcast('showAudio');
}
]]></SCR>
		<DIS scrolling="auto" name="text" x="20" y="20" w="550" h="474" type="text"><![CDATA[{'<b>' + summaryHeader + '</b><br>' + pageIcon.templateData.summary[projPI].summary + '<br><br><b>' + nextstepsHeader + '</b><br>' + pageIcon.templateData.summary[projPI].nextsteps}]]></DIS>
	</PG>
