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 = "Conflict Resolution"; //course name
var courseID = "137"; //courses in
var scoID = "0"; //sco id
var scoName = "Conflict Resolution 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("Learning Objectives - page 1","0none", "content/60988.swf", 0, 0, "","9678","60988","0","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][2] = new PageLangDef("Introduction to Conflict Resolution - page 1","51195.mp3", "content/51399.swf", 0, 0, "In the NHS every single day 316 people are verbally or physically attacked. That equates to 116,000 every year. We also know that two fifths, that's 40 percent, of these attacks go unreported.","6858","51399","51195","none","");
pageDetails[1][3] = new PageLangDef("Introduction to Conflict Resolution - page 5","51203.mp3", "content/51403.swf", 0, 0, "Let's have a brief look at some of the common causes of conflict, which are sometimes referred to as 'anger triggers'. Click on the 'anger trigger' to see some examples. We are sure you can come up with many more!","6862","51403","51203","none","");
pageDetails[1][4] = new PageLangDef("Introduction to Conflict Resolution - page 10","51213.mp3", "content/51408.swf", 0, 0, "So what does this mean? You need to be very careful about how you say things. You may intend to be passive and calming in your communication but it is very easy for you to be giving an aggressive message by your body language or by your tonality.","6867","51408","51213","none","");
pageDetails[1][5] = new PageLangDef("Introduction to Conflict Resolution - page 13","51219.mp3", "content/51411.swf", 0, 0, "Research has shown that by matching your tonality with that of the other person on the phone, you create an environment in which the other person feels comfortable. This is often used in Telesales as we are more willing to spend money with someone that we are comfortable with.","6870","51411","51219","none","");
pageDetails[1][6] = new PageLangDef("Introduction to Conflict Resolution - page 15","51223.mp3", "content/51413.swf", 0, 0, "Drag the correct number to the appropriate statement.","6872","51413","51223","none","");
pageDetails[1][7] = new PageLangDef("Communication Model 1 - page 5","51233.mp3", "content/51418.swf", 0, 0, "Let's have a look at your internal representation or your inner voice - essentially what you are saying to yourself. We will do this by reviewing two simple scenarios. Here you can see scenario number 1.","6877","51418","51233","none","");
pageDetails[1][8] = new PageLangDef("Stress Behaviours and Summary - page 2","51375.mp3", "content/51489.swf", 0, 0, "If you are not used to that rapid rise in adrenalin then the adrenalin dump is likely to make you freeze. This is perfectly natural, as fear is an in-built protection mechanism that happens to anybody, especially when we are taken by surprise.","6948","51489","51375","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

