<ControllerBehavior>
	<ModuleLoaded>
		<!--<If condition="IfModuleHasBeenVisited">
		    <IfTrueActions>
			<!--If target page specified  
	    		<If condition="IfTargetPageSpecified">
		   		<IfTrueActions>
					<GoToTargetPage />
		    		</IfTrueActions> 
		    		<IfFalseActions>
					<GoToFirstPage/>
				</IfFalseActions> 
			</If> 
				<GoToLastPageVisited/>	
				<MarkModuleVisited />
				<StoreLinkParameters />
				<InitializeInterface/>
				<LoadBackground />
 		    </IfTrueActions>
		    <IfFalseActions>
				<GoToFirstPage/>
		    </IfFalseActions>
		</If>-->
			<GoToFirstPage/>
			<InitializeInterface/>
			<LoadBackground />
	</ModuleLoaded>
	<PageStartPlaying>
		<UpdatePagePlaying/>
		<CacheVisitedState />
        <LoadPageFunctions/>
		<SetPopupButtonsState buttonsEnabled="false" />
		<If condition="IfUseEmbeddedShowText">
		    <IfTrueActions>
				<RestartOldShowText />
 		    </IfTrueActions>
		    <IfFalseActions>
		    </IfFalseActions>
		</If>
		<MarkPageVisited />
		<StoreParameters /> 
    	<If condition="IfCurrentPageComplete">
		    <IfTrueActions>
				<SetButton button="Next" buttonEnabled="true" state="blink" />
		        <SetButton button="Previous" buttonEnabled="true" state="on" />
		    </IfTrueActions>
		    <IfFalseActions>
		        <SetButton button="Next" buttonEnabled="true" state="on" />
		        <SetButton button="Previous" buttonEnabled="true" state="on" />
		    </IfFalseActions>
		</If>
		<If condition="IfFirstPage">
			<IfTrueActions>
		        <SetButton button="Previous" buttonEnabled="true" state="off" />
			</IfTrueActions>
			<IfFalseActions>
		        <SetButton button="Previous" buttonEnabled="true" state="on" />
			</IfFalseActions>
		</If>
		<If condition="IfLastPage">
			<IfTrueActions>
		        <SetButton button="Next" buttonEnabled="true" state="off" />
			</IfTrueActions>
			<IfFalseActions>
		        <SetButton button="Next" buttonEnabled="true" state="on" />
			</IfFalseActions>
		</If>					
	</PageStartPlaying>
	<NextButtonClicked>
		<If condition="IfLastPage">
			<IfTrueActions>
				<PlayCredits />
			</IfTrueActions>
			<IfFalseActions>
				<MarkPageComplete />
				<StoreParameters />
	   			<GoToNextPage/>
			</IfFalseActions>
		</If>	
	</NextButtonClicked>
	<PreviousButtonClicked>	
	<If condition="IfFirstPage">
			<IfTrueActions>
				<PlayIntro />
			</IfTrueActions>
			<IfFalseActions> 
				 <GoToPreviousPage/>
			</IfFalseActions>
		</If>	
	</PreviousButtonClicked>	
	<CourseMapLinkClicked>
		<GoToCourseMapLink />
	</CourseMapLinkClicked>
	<TopicButtonClicked>
		<GoToTopic />
	</TopicButtonClicked>
	<PauseButtonClicked>
		<DisplayPause/>
		<SuspendInterface/>	
	</PauseButtonClicked>	
	<LinkClicked>
		<GoToLink />
	</LinkClicked>
<!-- Course Map -->	
	<PageLinkClicked>
		<GoToPageLink />
	</PageLinkClicked>
	<PopupClicked>	
	    <OpenPopupPage/>
		<MarkPopupVisited/>
	</PopupClicked>
	<PopupClosed>
		<ClosePopupPage />
	</PopupClosed>
	<PopupStartPlaying>
		<MarkPopupVisited />
	</PopupStartPlaying>
	<PopupFinishedPlaying>
		<MarkPopupComplete />
	</PopupFinishedPlaying>
	<GlossaryButtonClicked>
		<DisplayGlossary/>
		<SuspendInterface/>	
	</GlossaryButtonClicked>	
	<MainMenuButtonClicked>
		<GoToMainMenu />
	</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>
		<RestoreVisitedState />
		<If condition="IfUseEmbeddedShowText">
		    <IfTrueActions>
				<ScrollShowText />
 		    </IfTrueActions>
		    <IfFalseActions>
		    </IfFalseActions>
		</If>
		<SetPopupButtonsState buttonsEnabled="true" />
		<If condition="IfAllPopupsVisited">
		    <IfTrueActions>
				<MarkPageComplete />
				<StoreParameters />
						<If condition="IfLastPage">
							<IfTrueActions>
								<SetButton button="Next" buttonEnabled="true" state="off" />
							</IfTrueActions>
							<IfFalseActions>
								<SetButton button="Next" buttonEnabled="true" state="blink" />
							</IfFalseActions>
						</If>
 		    </IfTrueActions>
		    <IfFalseActions>
		    </IfFalseActions>
		</If>
	</PageFinishedPlaying>
	<AllPopupVisited>
			<MarkPageComplete />
			<StoreParameters />
			<SetButton button="Next" buttonEnabled="true" state="blink" />
	</AllPopupVisited>
	<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/>
	<ResumeButtonClicked_508>
		<ResumeTopLevel_508/>	
	</ResumeButtonClicked_508>
	<PauseButtonClicked_508>
		<PauseTopLevel_508/>	
	</PauseButtonClicked_508>
	<ExternalLinkClicked>
	    <OpenExternalResource/>
    <ExternalLinkClicked>		
</ControllerBehavior>