
<ControllerBehavior>
	<ModuleLoaded>
		<GoToFirstPage/>
		<InitializeInterface/>
	</ModuleLoaded>
	<PageStartPlaying>
		<UpdatePagePlaying />
        <LoadPageFunctions/> 
		<MarkPageVisited />
		<If condition="IfFirstPage">
			<IfTrueActions>
				<SetButton button="Previous" buttonEnabled="false" state="off" />			
			</IfTrueActions>
			<IfFalseActions>
				<SetButton button="Previous" buttonEnabled="true" state="on" />
			</IfFalseActions>
		</If>
		<If condition="IfLastPage">
			<IfTrueActions>
				<SetButton button="Next" buttonEnabled="false" state="off" />			
			</IfTrueActions>
			<IfFalseActions>
				<If condition="IfCurrentPageComplete">
					<IfTrueActions>
						<SetButton button="Next" buttonEnabled="true" state="blink" />
					</IfTrueActions>
					<IfFalseActions>
						<SetButton button="Next" buttonEnabled="true" state="on" />
					</IfFalseActions>
				</If>
			</IfFalseActions>
		</If>
		<UpdatePageView />
	</PageStartPlaying>
	<NextButtonClicked>
		<MarkPageComplete />
		<StoreParameters />
	   	<GoToNextPage/>
	</NextButtonClicked>
	<PreviousButtonClicked>	
		<GoToPreviousPage/>
	</PreviousButtonClicked>	
	<TopicLinkClicked>
		<GoToTargetPage/>
	</TopicLinkClicked>
	<CourseMapLinkClicked>
		<GoToCourseMapLink />
	</CourseMapLinkClicked>
	<TopicButtonClicked>
		<GoToTopic />
	</TopicButtonClicked>
	<LinkClicked>
		<GoToLink />
	</LinkClicked>
<!-- Course Map -->	
	<PageLinkClicked>
		<GoToPage />
	</PageLinkClicked>
	<PopupClicked>	
	    <OpenPopupPage/>
	</PopupClicked>
	<PopupClosed>
		<ClosePopupPage />
	</PopupClosed>
	<PopupStartPlaying>
		<MarkPopupVisited />
	</PopupStartPlaying>
	<PopupFinishedPlaying>
		<MarkPopupComplete />
	</PopupFinishedPlaying>
	<GlossaryButtonClicked>
		<DisplayGlossary/>
		<SuspendInterface/>	
	</GlossaryButtonClicked>	
	<MainMenuButtonClicked>
<!--		<GoToMainMenu />-->
		<PlayIntro />
	</MainMenuButtonClicked>
	<ReplayButtonClicked>
		<ReplayPage/>
	</ReplayButtonClicked>	
	<ResourcesButtonClicked>
		<DisplayResources/>
		<SuspendInterface/>	
	</ResourcesButtonClicked>	
	<TopicsButtonClicked>
		<DisplayTopics/>
		<SuspendInterface/>	
	</TopicsButtonClicked>	
	<CourseMapButtonClicked>
	</CourseMapButtonClicked>	
	<ExitButtonClicked>
		<ConfirmExit />
		<SuspendInterface />	
	</ExitButtonClicked>
	<ExitConfirmationClicked>
		<StoreParameters />
		<SendExitAU />
		<UnloadSpecial/>
		<PlayCredits />
	</ExitConfirmationClicked>
	<IdleLimitExceeded>
		<DisplayIdleLimit/>
		<SuspendInterface/>
	</IdleLimitExceeded>
	<SpecialFeatureUnloaded>
    	<UnloadSpecial/>
		<ResumeInterface/>
	</SpecialFeatureUnloaded>
	<PageFinishedPlaying>
		<UpdatePageFinished />
		<MarkPageComplete />
		<StoreParameters />
		<SetButton button="Next" buttonEnabled="true" state="blink" />
		<If condition="IfFirstPage">
			<IfTrueActions>
				<GoToNextPage />
			</IfTrueActions>
			<IfFalseActions>
			</IfFalseActions>
		</If>
<!--		<UpdatePageView /> -->
	</PageFinishedPlaying>
	<PageCompleted/>
	<EnteredSection/>
	<DepartedSection/>
	<SectionCompleted/>
	<ModuleStarted/>
	<EnteredModule/>
	<DepartedModule>
		<StoreProgress/>
	</DepartedModule>
	<ModuleComplete>
		<MarkModuleComplete />
		<StoreLinkParameters />
	</ModuleComplete>
	<IntroStarted>
		<LoadPageFunctions/> 
	</IntroStarted>
	<IntroFinished>
		<GoToFirstPage/>	
		<MarkModuleVisited />
		<StoreLinkParameters />
		<InitializeInterface/>
		<LoadBackground />
	</IntroFinished>
	<IdleLimitExceeded/>
	<ConnectionFault/>
	      <ExternalLinkClicked>
	      <OpenExternalResource/>
      <ExternalLinkClicked>
	
</ControllerBehavior>