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 = "Lone Working in the NHS"; //course name
var courseID = "258"; //courses in
var scoID = "0"; //sco id
var scoName = "Lone Working in the NHS 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");

// *** 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("Learning Objectives - page 1","38629.mp3", "content/38671.swf", 0, 0, "Welcome to your module on lone working in the NHS. Here you can see what you will learn by completing the course.  ","3124","38671","38629","none","");
pageDetails[1][1] = new PageLangDef("Introduction - page 1","38631.mp3", "content/38672.swf", 0, 0, "Many people working in the health care sector are regularly in situations where they are either alone, or left with patients or other members of the public.","3125","38672","38631","none","");
pageDetails[1][2] = new PageLangDef("E & E Responsibliities - page 1","38638.mp3", "content/38675.swf", 0, 0, "There is no law specifically related to lone working, but two general pieces of health and safety legislation do apply.","3129","38675","38638","none","");
pageDetails[1][3] = new PageLangDef("Assessing the Risk - page 1","38644.mp3", "content/38678.swf", 0, 0, "Your employer will have undertaken a risk assessment to evaluate all roles within the organisation, including those faced by different lone workers. Here you can see what is involved.","3132","38678","38644","none","");
pageDetails[1][4] = new PageLangDef("Precautionary Measures - page 1","38650.mp3", "content/38681.swf", 0, 0, "There are many ways to make lone working safer. In this section we look at the main measures that can be adopted.","3135","38681","38650","none","");
pageDetails[1][5] = new PageLangDef("Summary - page 1","38668.mp3", "content/38690.swf", 0, 0, "Well done - you have almost completed your lone working module. This is what you should now know.","3144","38690","38668","none","");



// *** 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


