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 = "Runaways - South Yorkshire Protocol"; //course name
var courseID = "321"; //courses in
var scoID = "0"; //sco id
var scoName = "Runaways - South Yorkshire Protocol 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");
pages[11] = 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","0none", "content/61225.swf", 0, 0, "","9698","61225","0","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][2] = new PageLangDef("Welcome and Learning Objectives - page 2","61203.mp3", "content/61226.swf", 0, 0, "Welcome to your module about runaways. Here you can see what you will have learned having completed the learning content.","9699","61226","61203","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][3] = new PageLangDef("Overview - page 1","47947.mp3", "content/48043.swf", 0, 0, "How many children and young people do you think run away every year? Click on the counter to find out.","6035","48043","47947","none","");
pageDetails[1][4] = new PageLangDef("Overview - page 4","47979.mp3", "content/48059.swf", 0, 0, "In narrowing this broad definition, other terms will be used to categorise young people who have run away. There are two terms which will be determined by appropriate risk assessment. Click on each of them to review.","6051","48059","47979","none","");
pageDetails[1][5] = new PageLangDef("Overview - page 8","47957.mp3", "content/48048.swf", 0, 0, "Runaways are young people with a range of problems. Click on the picture to find out more.","6040","48048","47957","none","");
pageDetails[1][6] = new PageLangDef("Roles and responsibilities - page 2","47985.mp3", "content/48062.swf", 0, 0, "The agency or voluntary organisation must advise the parent or carer that both they and the organisation have a duty to ensure that the matter is referred to the police.","6054","48062","47985","none","");
pageDetails[1][7] = new PageLangDef("The Joint Protocol - page 1","48003.mp3", "content/48071.swf", 0, 0, "All agencies have a responsibility to work together to meet the needs of children in need of protection whether this be as a result of neglect, emotional harm, sexual exploitation or physical harm. The Joint Protocol has been developed to support this goal. ","6063","48071","48003","none","");
pageDetails[1][8] = new PageLangDef("The Joint Protocol - page 6","48013.mp3", "content/48076.swf", 0, 0, "The protocol is based on 6 key principles. Click on the numbers to review.","6068","48076","48013","none","");
pageDetails[1][9] = new PageLangDef("Risk assessment - page 5","48025.mp3", "content/48082.swf", 0, 0, "The initial risk assessment will be made by the reporting officer and will be reviewed in the case of high risk cases immediately, medium risk without undue delay and low risk during the tour of duty. Click on the boxes above to review.","6074","48082","48025","none","");
pageDetails[1][10] = new PageLangDef("Summary - page 49","48041.mp3", "content/48090.swf", 0, 0, "Finally, here is a reminder of what you should now know having completed the module. ","6082","48090","48041","none","");
pageDetails[1][11] = 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


