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 = "Food Safety and Hygiene for Manufacturing"; //course name
var courseID = "408"; //courses in
var scoID = "0"; //sco id
var scoName = "Food Safety and Hygiene for Manufacturing 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("Learning Objectives and an introduction to Food Safety and Hygiene - welcome","0none", "content/60803.swf", 0, 0, "","9628","60803","0","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][2] = new PageLangDef("An Introduction to Food Safety and Hygiene - page 1","70241.mp3", "content/70242.swf", 0, 0, "The terms 'food safety' and'food hygiene' are commonly used. How do they relate to foods which are being prepared and served? Click on the toaster to find out.","11903","70242","70241","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][3] = new PageLangDef("An Introduction to Food Safety and Hygiene - page 2","70244.mp3", "content/70245.swf", 0, 0, "How many people in the UK are affected by food-borne illnesses each year, which include food poisoning and food-borne disease?  Have a guess, then click on the toaster to find out.","11904","70245","70244","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][4] = new PageLangDef("An Introduction to Food Safety and Hygiene - page 5","70253.mp3", "content/70254.swf", 0, 0, "So far we have looked at food which is unsafe. But another problem that may arise when food is not looked after properly is 'spoilage'.","11907","70254","70253","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][5] = new PageLangDef("Impact of Food-Borne Illness - page 3","57976.mp3", "content/57977.swf", 0, 0, "Food-borne illness can easily become a life-threatening experience for people in vulnerable groups, such as the elderly or the very young.","8950","57977","57976","none","");
pageDetails[1][6] = new PageLangDef("Impact of Food-Borne Illness - page 5","57982.mp3", "content/57983.swf", 0, 0, "Here we can see some examples of food-borne diseases. Click on each one to find out more about it.","8952","57983","57982","none","");
pageDetails[1][7] = new PageLangDef("Impact of Food-Borne Illness - page 8","57988.mp3", "content/57989.swf", 0, 0, "Here we can see examples of some of the most common food poisoning bacteria, and some places where you are likely to find them.","8954","57989","57988","none","");
pageDetails[1][8] = new PageLangDef("HACCP and Summary - page 1","57889.mp3", "content/57890.swf", 0, 0, "The organisation you work for is required by food hygiene regulations to have a food safety control system in place. This section looks at what this involves.","8921","57890","57889","none","");
pageDetails[1][9] = new PageLangDef("HACCP and Summary - page 3","57895.mp3", "content/57896.swf", 0, 0, "Several steps are involved in implementing HACCP. Click on each to see what is involved.","8923","57896","57895","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


