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 = "Equality and Diversity in the Workplace"; //course name
var courseID = "636"; //courses in
var scoID = "0"; //sco id
var scoName = "Equality and Diversity in the Workplace 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[11] = new PageMovie("na");
pages[12] = 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 1","0none", "content/99555.swf", 0, 0, "","18998","99555","0","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][2] = new PageLangDef("Introduction to Equality and Diversity - page 1","99683.mp3", "content/99684.swf", 0, 0, "Ask the question 'What is Equality and Diversity' and you will get a variety of answers. There is much confusion, it's often obscured by myths and most people are wary of dealing with Equality and Diversity issues for fear that they do or say the wrong thing. This module should help make things a little clearer.","19041","99684","99683","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][3] = new PageLangDef("Introduction to Equality and Diversity - page 3","100541.mp3", "content/99690.swf", 0, 0, "The composition of different groups in society can be termed as being %26quot;diverse%26quot;. Click on the image above to find out more.","19043","99690","100541","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][4] = new PageLangDef("Introduction to Equality and Diversity - page 7","99701.mp3", "content/99702.swf", 0, 0, "And just as you want to be treated fairly, with respect and dignity and to be given an equal opportunity, so does everyone else!","19047","99702","99701","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][5] = new PageLangDef("Introduction to Equality and Diversity - page 8","99704.mp3", "content/99705.swf", 0, 0, "Diversity is about recognising that we are all different in some way. Can you think of some of the ways in which we are different? Take a few minutes to jot down on a piece of paper your ideas. We've come up with 20 but there are many more. Click the reveal button when you are ready to compare lists.","19048","99705","99704","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][6] = new PageLangDef("Introduction to Equality and Diversity - page 20","100546.mp3", "content/99744.swf", 0, 0, "The heart of Equality and Diversity is to recognise that we have a diverse population, with diverse service needs. As an organisation we strive to achieve continuous improvement. Click to see what we need to do to ensure that we meet these needs.","19061","99744","100546","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][7] = new PageLangDef("Equality and Diversity Legislation - page 1","99575.mp3", "content/99576.swf", 0, 0, "Many laws impact on Equality and Diversity. Their very mention often results in an immediate switch off and lack of interest. The fact is that the underlying issues are quite easy to understand and focus on the way most of us would want to be treated.","19005","99576","99575","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][8] = new PageLangDef("Equality and Diversity Legislation - page 2","126607.mp3", "content/99579.swf", 0, 0, "The Equality Act 2010 came into force in October 2010, bringing together over 116 separate pieces of legislation into one single Act. Click on the gavel to reveal an overview of what has changed.","19006","99579","126607","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][9] = new PageLangDef("Equality and Diversity Legislation - page 14","126605.mp3", "content/99615.swf", 0, 0, "With all this change to legislation, it may seem like a maze out there. Don%26#39;t worry, there is plenty of help to guide you through the process and this training is just the first step in helping you to get a better understanding of Equality and Diversity.","19018","99615","126605","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][10] = new PageLangDef("Understanding Diversity - page 1","99620.mp3", "content/99621.swf", 0, 0, "In the past Equal Opportunities has often been described as 'everyone being the same'. This description of equality, however, is somewhat outdated. The truth is that everybody is different.","19020","99621","99620","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][11] = new PageLangDef("You and Promoting Equality and Diversity - page 3","99656.mp3", "content/99657.swf", 0, 0, "There are a number of things that people do that don't help to create a good Equality and Diversity environment. The main two are discrimination and harassment. Let's review these further.","19032","99657","99656","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][12] = 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
var def0 = new Definition("Diverse "," Dissimilar, having variation, not alike, of various sorts or types");

defs[0] = def0;
var def1 = new Definition("Diversity"," The state of being unlike");

defs[1] = def1;
var def2 = new Definition("Trait "," A distinguishing feature or quality of a person or thing, or an inherited characteristic");

defs[2] = def2;
var def3 = new Definition("Ethnic origin "," Ethnic origin refers to members of an ethnic group who share the same cultural identity. This does not simply mean country of birth or nationality");

defs[3] = def3;


