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

// *** 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","105676.mp3", "content/5600.swf", 0, 0, "Welcome. My name is Lynne, and myself and my colleague Paul will be taking you through this e-learning module. Click on each of us to find out a little bit more.","1214","5600","105676","none","");
pageDetails[1][2] = new PageLangDef("Physical Abuse - page 3","105603.mp3", "content/5308.swf", 0, 0, "All children, especially toddlers, are injured from time to time and a vast majority of these injuries are accidental, even those which are unexplained.","1003","5308","105603","none","");
pageDetails[1][3] = new PageLangDef("Physical Abuse - page 4","105604.mp3", "content/5310.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.","1004","5310","105604","none","");
pageDetails[1][4] = new PageLangDef("Physical Abuse - page 20","105620.mp3", "content/5355.swf", 0, 0, "Children quite frequently sustain fractures which are accidental and where the cause is clear. However, research has suggested that as many as half of all fractures occurring on children under the age of two are non-accidental.","1020","5355","105620","none","");
pageDetails[1][5] = new PageLangDef("Emotional Abuse - page 5","105638.mp3", "content/5390.swf", 0, 0, "The most important aspects of emotional abuse are the effects on children and the consequences for them. Those effects and consequences are diverse and vary significantly with age.","1037","5390","105638","none","");
pageDetails[1][6] = new PageLangDef("Neglect - page 15","105655.mp3", "content/5457.swf", 0, 0, "The suitability of substitute carers is sometimes a matter of concern.","1054","5457","105655","none","");
pageDetails[1][7] = new PageLangDef("Neglect - page 18","105658.mp3", "content/5469.swf", 0, 0, "Here you can see some of the points to consider about hygiene.","1057","5469","105658","none","");
pageDetails[1][8] = new PageLangDef("What to do if you suspect abuse or neglect - page 24","105711.mp3", "content/5541.swf", 0, 0, "You or your employer should have a Child Protection Policy that clearly states to all clients that a referral will be made if the agency has a child protection concern. This will help avoid any misunderstandings.","1095","5541","105711","none","");
pageDetails[1][9] = 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


