var contentSupportFlags = "volumeChangeFlag|soundStatus|volumePercent|soundChangeFlag|textChangeFlag|additionalInfoFlag|printFlag";
var navSupportFlags = "displayTitle|displayPage|returnTimeFlag|enableJumpPageFlag|disableJumpPageFlag|jumpPageOnStateFlag|jumpPageOffStateFlag|enableCommentsFlag|disableCommentsFlag|commentsOnStateFlag|commentsOffStateFlag|enablePrintFlag|disablePrintFlag|enableSaveFlag|disableSaveFlag|enableHelpFlag|disableHelpFlag|helpOnStateFlag|helpOffStateFlag|enableBackFlag|disableBackFlag|enableForwardFlag|disableForwardFlag|enableAudioToggleFlag|disableAudioToggleFlag|audioToggleOnStateFlag|enableReplayFlag|disableReplayFlag|enableEndSessionFlag|disableEndSessionFlag|enableEndFlag|disableEndFlag|enableGlossaryFlag|disableGlossaryFlag|glossaryOnStateFlag|glossaryOffStateFlag|swapToSlimFlag|swapToFatFlag|enableAllFlag|disableAllFlag";


//Overall course details
var name = "Hidden Harm"; //course name
var courseID = "459"; //courses in
var scoID = "0"; //sco id
var scoName = "Hidden Harm DEMO"; // SCO title
var completionMessage = "<h2>Well done you have completed this unit of the learning content.</h2><p>Your results have now been recorded and have been sent to your Virtual Learning Environment</p><p>You can now press 'quit' to be returned to your Virtual Learning Environment. Before you leave you may wish to press 'Print My Notes' to get a full transcript of the notes you took during the training.</p>";

var currentPage = 0; //the intialisation for the wrapper
var sco_debug_level = 0; //how much error/debug information the system will expell
var demoDefault = false; //if no LMS is found should the system only show the user the demo sco.pages
var closeWin = false;	// CloseWin if set to true the wrapper will attempt to close the window upon completion of LMSFinish - some LMS require this.
var redirect = false;	//Redirect - if set to a location the content will browse to this page upon completion


// *** sco.pages *** //

function PageMovie(A) {this.complete=A;} // defines the page object format
// The pages this list of available pages will be define at export by mother
var pages = new Array();
pages[0] = new PageMovie("na");
pages[1] = new PageMovie("na");
pages[2] = new PageMovie("na");
pages[3] = new PageMovie("na");
pages[4] = new PageMovie("na");
pages[5] = new PageMovie("na");
pages[6] = new PageMovie("na");
pages[7] = new PageMovie("na");
pages[8] = new PageMovie("na");
pages[9] = new PageMovie("na");
pages[10] = new PageMovie("na");

// *** Language Arrays *** //
var language = 1;
function PageLangDef (A,B,C,D,E,F,G,H,I,K) {this.name=A;this.soundFile=B,this.src=C,this.logicVersion=D,this.type=E,this.synopsis=F,this.motherPageID=G;this.motherMovieID=H;this.motherSoundID=I;this.transcript=K}
var pageDetails = new Array();
pageDetails[0] = new Array();
pageDetails[0][0] = "";


pageDetails[1] = new Array();
pageDetails[1][0] = new PageLangDef("Introduction","0None", "welcome.swf",0,0,"","11721","","0","0","Welcome to this short demonstration");
pageDetails[1][1] = new PageLangDef("Welcome and Learning Objectives - page 1","75037.mp3", "content/63236.swf", 0, 0, "Hi, welcome to this e-learning module on Hidden Harm. This is Shirley. She loves being a super sleuth and is going to help you investigate this module.","10297","63236","75037","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][2] = new PageLangDef("Welcome and Learning Objectives - page 6","75039.mp3", "content/63238.swf", 0, 0, "Let's look briefly at the contents of the module. Here are the section headings; click on each one to see what will be covered.","10298","63238","75039","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][3] = new PageLangDef("Overview - page 2","75044.mp3", "content/63240.swf", 0, 0, "Services may concentrate their efforts on the substances users and in doing so may miss vital clues that the wider family may be suffering. Hidden Harm 2006 looked at this and made recommendations for change. The key themes from this can be found in the picture. Click on the question mark clues to find them.","10299","63240","75044","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][4] = new PageLangDef("Overview - page 4","75046.mp3", "content/63244.swf", 0, 0, "There are a range of terms used to describe a person and their substance problems; here are some of them. Many practitioners are moving towards the term 'substance use' as 'misuse' implies judgemental attitudes. We will use the term 'problem substance using parent', but the other terms are interchangeable. Click on the blackboard to see the different types of user you may encounter.","10301","63244","75046","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][5] = new PageLangDef("Overview - page 5","75047.mp3", "content/63246.swf", 0, 0, "Here are the main pieces of legislation to consider. Click on each to read further information.","10302","63246","75047","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][6] = new PageLangDef("Overview - page 6","75048.mp3", "content/63248.swf", 0, 0, "Finally in this section, click on the footprints to reveal some of the recent policies and influential documents relating to Hidden Harm.","10303","63248","75048","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][7] = new PageLangDef("Impact on family and children - page 1","75049.mp3", "content/63257.swf", 0, 0, "Many people believe they do not use substances and some have very negative views about people who take drugs and drink alcohol. Often these views and opinions stop people asking for help. Click on these simple questions to assess your use of substances and see whether you are aware of what type of influence they have on your body.","10304","63257","75049","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][8] = new PageLangDef("Impact on family and children - page 2","75050.mp3", "content/63259.swf", 0, 0, "The use of drugs and alcohol does not just affect those using them. It has a negative impact on family and children. When considering this it is important to think about the 5 'Every Child Matters' outcomes, as we need to focus our interventions on preventing poor outcomes for children. Click on each of  the children to see some possible effects.","10305","63259","75050","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][9] = new PageLangDef("Impact on family and children - page 3","75051.mp3", "content/63262.swf", 0, 0, "However, with the children's workforce working to enable early identification and appropriate intervention, hopefully we can ensure children do meet the five outcomes.","10306","63262","75051","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][10] = new PageLangDef("Exit","0None", "exit.swf",0,0,"","11721","","0","0","Thank you for viewing this short demonstration");



// *** Glossary *** //
var defs = new Array(); // holds the definitions declared above.");
function Definition(A,B) {this.term=A;this.definition=B;} // defines the glossary definition object format


