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 = "Wellbeing - Programme Demo"; //course name
var courseID = "485"; //courses in
var scoID = "3963"; //sco id
var scoName = "Managing Attendance 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");
pages[13] = 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("Managing Attendance Demo - page 1","74205.mp3", "content/73835.swf", 0, 0, "Welcome. This short demonstration contains screens from all six modules in the Managing Attendance programme, which aims to improve the  confidence of managers in managing attendance at work. Please click the green 'next' arrow to continue.","12671","73835","74205","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][1] = new PageLangDef("Managing Attendance Demo - page 2","0none", "content/73847.swf", 0, 0, "","12672","73847","0","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][2] = new PageLangDef("Managing Attendance Demo - page 3","73817.mp3", "content/73848.swf", 0, 0, "If you are to manage absence effectively you need to have a broad knowledge of a wide range of issues. This module focuses on technical  information relating to the topics shown here, which will help to introduce you to the areas that you will need to keep up to speed on.","12673","73848","73817","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][3] = new PageLangDef("Managing Attendance Demo - page 4","73818.mp3", "content/73849.swf", 0, 0, "Unfortunately there is no 'short cut' when it comes to knowing the legal aspects of managing attendance. There are many laws which are  relevant and none of them are optional or 'nice to know'. You must be aware of the three main types of legislation shown here. Click on the  central graphic to view some examples of laws relating to discrimination.","12674","73849","73818","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][4] = new PageLangDef("Managing Attendance Demo - page 5","73821.mp3", "content/73852.swf", 0, 0, "Prevention is always better than a cure, so if you understand how the body works you can begin to take active steps to promote positive  wellbeing and minimise the negative effects of stress and other work-related issues.","12677","73852","73821","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][5] = new PageLangDef("Managing Attendance Demo - page 6","73824.mp3", "content/73855.swf", 0, 0, "In the modern day workplace it is vital to perform at your optimum level. Managers need to be able to recognise where individuals are on the  pressure performance curve and understand the triggers that would result in strain or panic.","12680","73855","73824","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][6] = new PageLangDef("Managing Attendance Demo - page 7","73825.mp3", "content/73856.swf", 0, 0, "The risks of developing an Upper Limb Disorder have been researched extensively. Awareness of such risks can help employers to prevent  them happening. Managers should comply with health and safety legislation to manage the effect of work on health - and health on work. Click  on the highlighted employees to reveal some of the risks.","12681","73856","73825","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][7] = new PageLangDef("Managing Attendance Demo - page 8","73826.mp3", "content/73857.swf", 0, 0, "This module will help each manager to understand the support available in managing attendance and the roles of Human Resources  Occupational Health and employee assistance programmes.","12682","73857","73826","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][8] = new PageLangDef("Managing Attendance Demo - page 9","73827.mp3", "content/73858.swf", 0, 0, "The modern role of Occupational Health is changing and  includes general wellbeing as well as extending beyond the workplace to look at what  factors may affect health. Click on the door to reveal some of the main functions.","12683","73858","73827","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][9] = new PageLangDef("Managing Attendance Demo - page 10","73828.mp3", "content/73859.swf", 0, 0, "The key theme running throughout this module is the importance of communication during absence. Here you can see what you will have learnt  having completed the module.","12684","73859","73828","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][10] = new PageLangDef("Managing Attendance Demo - page 11","73829.mp3", "content/73860.swf", 0, 0, "From experience you will know that absence is not one dimensional; wherever people are involved many factors tend to come into play. Hover  over the boxes to see some of examples of each factor.","12685","73860","73829","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][11] = new PageLangDef("Managing Attendance Demo - page 12","73831.mp3", "content/73862.swf", 0, 0, "Now let's look at managing long term absence using GROW. Once more, click on the letters.","12687","73862","73831","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][12] = new PageLangDef("Managing Attendance Demo - page 13","73833.mp3", "content/73864.swf", 0, 0, "Having completed the module you will be confident in dealing with absence, and have achieved the outcomes shown above.","12689","73864","73833","none","What\ visually\ impaired\ users\ will\ hear");
pageDetails[1][13] = new PageLangDef("Managing Attendance Demo - page 14","73834.mp3", "content/73865.swf", 0, 0, "Focusing for a moment on part of that process, managers must have appropriate standards, policies and procedures for a range of issues. Click  on the flashing items to reveal what they include - there are five to find. Remember, the art lies in being able to identify and apply the  appropriate level of flexibility to a given situation.","12690","73865","73834","none","What\ visually\ impaired\ users\ will\ hear");



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

