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 = "Fire Safety and Evacuation"; //course name
var courseID = "230"; //courses in
var scoID = "0"; //sco id
var scoName = "Fire Safety and Evacuation 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 2","12488.mp3", "content/12489.swf", 0, 0, "Welcome to your Fire Safety module. Here you can see what you should have learned when you have completed it.","2013","12489","12488","none","");
pageDetails[1][2] = new PageLangDef("Introduction and Legal Requirements - page 1","12492.mp3", "content/12499.swf", 0, 0, "Hopefully you don't think that it is boring or unnecessary to find out about what to do in the case of fire breaking out in your workplace. But, whether you do or not, it is vital that you do know how to, and this learning module could even help to save your life.","2014","12499","12492","none","");
pageDetails[1][3] = new PageLangDef("Introduction and Legal Requirements - page 4","12504.mp3", "content/12520.swf", 0, 0, "We are not giving you this training just because we are concerned about your safety - we are required by law to make you aware of what measures we have taken to address the issue of fire safety. Click when prompted to reveal more information.","2017","12520","12504","none","");
pageDetails[1][4] = new PageLangDef("Fire Detection and Means of Escape - page 1","12516.mp3", "content/12524.swf", 0, 0, "Click on the circles in the graphic to see some examples of the three elements needed for fire to start. ","2021","12524","12516","none","");
pageDetails[1][5] = new PageLangDef("Fire Detection and Means of Escape - page 3","12528.mp3", "content/12626.swf", 0, 0, "It is vital that there is a method in place for alerting everyone to a fire in your workplace in order to give adequate time for escape.","2023","12626","12528","none","");
pageDetails[1][6] = new PageLangDef("Fire Detection and Means of Escape - page 8","12543.mp3", "content/12565.swf", 0, 0, " If the worst should happen and fire breaks out in your workplace, it is vital that you keep calm and follow the emergency evacuation plan that is in place.","2028","12565","12543","none","");
pageDetails[1][7] = new PageLangDef("Fire Fighting, Precautions and Summary - page 1","12575.mp3", "content/12602.swf", 0, 0, "You may be tempted to try and tackle a fire, but do not attempt this unless you are properly trained and you have the right equipment. There is no point in being the hero if you end up badly burnt or even dead. ","2036","12602","12575","none","");
pageDetails[1][8] = new PageLangDef("Fire Fighting, Precautions and Summary - page 11","12614.mp3", "content/12615.swf", 0, 0, "All the information you have seen so far relates to how you should react if there is a fire. However, it is much better not to have a fire in the first place. That is why fire precautions are a key part of fire safety.","2046","12615","12614","none","");
pageDetails[1][9] = new PageLangDef("Fire Fighting, Precautions and Summary - page 12","12618.mp3", "content/12619.swf", 0, 0, "As we have nearly reached the end of the Fire Safety course, remind yourself of the main points you need to know.","2047","12619","12618","none","");
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


