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 = "Childhood Obesity and HENRY"; //course name
var courseID = "405"; //courses in
var scoID = "0"; //sco id
var scoName = "Childhood Obesity and HENRY 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");
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("Introduction - page 1","57264.mp3", "content/57265.swf", 0, 0, "","8764","57265","57264","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][2] = new PageLangDef("The problem of obesity - page 5","57099.mp3", "content/57100.swf", 0, 0, "Why are we seeing more obesity now? The answer is clear - our environment has changed, and so have children's lives. There is an abundance of food, much of it tasty high fat and sugar. Children have fewer opportunities to play out of doors, and too much access to TV and computer games. We also eat differently. We don't have family meals as we used to and children often snack throughout the day.","8709","57100","57099","none","");
pageDetails[1][3] = new PageLangDef("Family Partnership Approach - page 19","57147.mp3", "content/57148.swf", 0, 0, "The basis for HENRY is the Family Partnership Approach - an evidence-based approach that helps practitioners to work effectively with parents. Its essence is building a relationship with parents and all the steps that follow link back to this. Click on each step for an explanation of what it involves.","8725","57148","57147","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][4] = new PageLangDef("Appetite and hunger - page 5","56994.mp3", "content/56995.swf", 0, 0, "Thinking about appetite and hunger raises a few questions such as 'What is the difference between them?' 'Are we born knowing how much we need to eat?' and 'Can we learn to adjust our appetites?' Click on the words to be clear about what we mean by hunger and appetite.","8674","56995","56994","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][5] = new PageLangDef("Parents' attitudes and beliefs - page 16","57039.mp3", "content/57040.swf", 0, 0, "To understand the influence parents have on the way their children eat, we need to know something about different ways of parenting. Psychologists describe four styles that reflect how responsive parents are to children's needs and how much they control them. They are called: Authoritative, Authoritarian, Indulgent and Neglectful. Click on each to get an explanation.","8689","57040","57039","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][6] = new PageLangDef("The seductive screen - page 10","57300.mp3", "content/57301.swf", 0, 0, "Television has a particularly negative influence on children's lifestyles. Click on the screen to see 3 influences it has.","8776","57301","57300","none","");
pageDetails[1][7] = new PageLangDef("Key messages - page 30","57228.mp3", "content/57229.swf", 0, 0, "Strengthening parenting skills is the most effective strategy we have in tackling the obesity epidemic. Click on the messages to remind yourself how you can help them develop the relevant skills.","8752","57229","57228","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][8] = new PageLangDef("Glugs toolkit - page 32","57246.mp3", "content/57247.swf", 0, 0, "Click on the items to find out more about how the Glugs toolkit can help.","8758","57247","57246","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][9] = new PageLangDef("Knowledge Check - page 33","58234.mp3", "content/57235.swf", 0, 0, "Now on to the knowledge check. Following this, the final section provides you with some recommended reading and resources that complement the course.","8754","57235","58234","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][10] = new PageLangDef("Exit","0None", "exit.swf",0,0,"","11721","","0","0","Thank you for viewing this short demonstration");
pageDetails[1][9] = 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


