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 = "Awareness of Child Abuse - FOUNDATION"; //course name
var courseID = "108"; //courses in
var scoID = "3506"; //sco id
var scoName = "Awareness of Child Abuse - FOUNDATION 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");

// *** 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("Welcome and Learning Objectives - page 6","4911.swf", "content/5237.swf", 0, 0, "This module is aimed at all who come into contact with children within their work environment.","1122","5237","4911","none","");
pageDetails[1][1] = new PageLangDef("Introduction - page 3","4929.swf", "content/5243.swf", 0, 0, "Child abuse has real consequences for children. All of us are required to work together to prevent harm to children.","1128","5243","4929","none","");
pageDetails[1][2] = new PageLangDef("Physical Abuse - page 4","4946.swf", "content/5249.swf", 0, 0, "If you are presented with a child who has some kind of injury (even if it is probably accidental), always ask how it has been caused and note the reply in your records. You should ask the child and then the carer. Try and write down what was said in the exact words.","1134","5249","4946","none","");
pageDetails[1][3] = new PageLangDef("Emotional Abuse - page 1","5007.swf", "content/5272.swf", 0, 0, "Emotional abuse is the persistent emotional ill-treatment of a child such as to cause severe and persistent adverse effects on the child's emotional development.","1155","5272","5007","none","");
pageDetails[1][4] = new PageLangDef("Neglect - page 3","5049.swf", "content/5283.swf", 0, 0, "Neglect can have a long-lasting effect and the consequences of it can stay with people throughout their lives. It can affect the way the child will act as a parent to his or her own children.","1164","5283","5049","none","");
pageDetails[1][5] = new PageLangDef("What to do if you suspect abuse or neglect - page 11","5108.swf", "content/5309.swf", 0, 0, "Your reactions are extremely important.","1184","5309","5108","none","");
pageDetails[1][6] = new PageLangDef("What to do if you suspect abuse or neglect - page 20","5135.swf", "content/5321.swf", 0, 0, "Even better, you can also question a child by asking what are known as 'TED' questions.","1193","5321","5135","none","");
pageDetails[1][7] = new PageLangDef("Knowledge Check","","content/quiz.swf", 0, 0, "now try this quick knowledge check","0","0","0","");



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

