/* ------------------------------------------------------------------------
 * Variable definitions
 * ------------------------------------------------------------------------ */

var g_baseDocumentName = 'Session5-Erik_Duval';
var g_playerWarningMessage = 'The Windows Media PlugIn can not be detected! \nPossible cause: \n- The Windows Media PlugIn is not installed. \n- ActiveX controls are disabled in your browser.\n- WMP not reinstalled after installation of Netscape/Mozilla/Firefox.';

var g_slidesWidth = 533;
var g_slidesHeight = 400;

var g_hasVideo = true;
var g_videoWidth = 320;
var g_videoHeight = 240;
var g_hasStillImage = false;
var g_stillImageWidth = 0;
var g_stillImageHeight = 0;

var g_thumbCount = 9;

var g_hasClips = false;
var g_numOfClips = 0;

var g_isStandaloneMode = false; 

var g_scormEnabled = false;

var maxLayerIndex = 9;

// Declaration of g_mediaStartTimes and g_mediaDurations
var g_mediaStartTimes = new Array();
var g_mediaDurations = new Array();
g_mediaStartTimes[0] = 0;
g_mediaDurations[0] = 926333;


// Declaration of g_clipEntries
var g_clipEntries = new Array();


// Declaration of g_thumbEntries
var g_thumbEntries = new Array();
g_thumbEntries[0] = new ThumbEntry("X-learning prize?!", "X-learning prize?!", 0, "Session5-Erik_Duval_00000000_thumb.png");
g_thumbEntries[1] = new ThumbEntry("Clip", "Clip", 0, "Session5-Erik_Duval_00000000_clip_thumb.png");
g_thumbEntries[2] = new ThumbEntry("Technology does  matter", "Technology does  matter", 89948, "Session5-Erik_Duval_00089948_thumb.png");
g_thumbEntries[3] = new ThumbEntry("JFK", "JFK", 295068, "Session5-Erik_Duval_00295068_thumb.png");
g_thumbEntries[4] = new ThumbEntry("X prize", "X prize", 457875, "Session5-Erik_Duval_00457875_thumb.png");
g_thumbEntries[5] = new ThumbEntry("DARPA Grand Challenge", "DARPA Grand Challenge", 608999, "Session5-Erik_Duval_00608999_thumb.png");
g_thumbEntries[6] = new ThumbEntry("A teacher for every learner", "A teacher for every learner", 730858, "Session5-Erik_Duval_00730858_thumb.png");
g_thumbEntries[7] = new ThumbEntry("eLIG", "eLIG", 798748, "Session5-Erik_Duval_00798748_thumb.png");
g_thumbEntries[8] = new ThumbEntry("Page", "Page", 842953, "Session5-Erik_Duval_00842953_thumb.png");


// Declaration of g_slideEntries
var g_slideEntries = new Array();
g_slideEntries[0] = new SlideEntry(0, 0, "Session5-Erik_Duval_00000000.png", 0, 0, 0, 533, 400);
g_slideEntries[1] = new SlideEntry(0, 78904, "Session5-Erik_Duval_00078904.png", 1, 80, 314, 388, 39);
g_slideEntries[2] = new SlideEntry(0, 89210, "Session5-Erik_Duval_00089210.png", 2, 94, 342, 357, 39);
g_slideEntries[3] = new SlideEntry(1, 89948, "Session5-Erik_Duval_00089948.png", 0, 0, 0, 533, 400);
g_slideEntries[4] = new SlideEntry(1, 103295, "Session5-Erik_Duval_00103295.png", 3, 233, 69, 271, 213);
g_slideEntries[5] = new SlideEntry(1, 104352, "Session5-Erik_Duval_00104352.png", 4, 43, 72, 83, 49);
g_slideEntries[6] = new SlideEntry(1, 105576, "Session5-Erik_Duval_00105576.png", 5, 43, 106, 99, 49);
g_slideEntries[7] = new SlideEntry(1, 106135, "Session5-Erik_Duval_00106135.png", 6, 43, 142, 93, 49);
g_slideEntries[8] = new SlideEntry(1, 106728, "Session5-Erik_Duval_00106728.png", 7, 43, 177, 95, 49);
g_slideEntries[9] = new SlideEntry(1, 119294, "Session5-Erik_Duval_00119294.png", 8, 43, 212, 47, 49);
g_slideEntries[10] = new SlideEntry(1, 121234, "Session5-Erik_Duval_00121234.png", 9, 12, 283, 411, 102);
g_slideEntries[11] = new SlideEntry(2, 295068, "Session5-Erik_Duval_00295068.png", 0, 0, 0, 533, 400);
g_slideEntries[12] = new SlideEntry(3, 457875, "Session5-Erik_Duval_00457875.png", 0, 0, 0, 533, 400);
g_slideEntries[13] = new SlideEntry(4, 608999, "Session5-Erik_Duval_00608999.png", 0, 0, 0, 533, 400);
g_slideEntries[14] = new SlideEntry(5, 730858, "Session5-Erik_Duval_00730858.png", 0, 0, 0, 533, 400);
g_slideEntries[15] = new SlideEntry(6, 798748, "Session5-Erik_Duval_00798748.png", 0, 0, 0, 533, 400);
g_slideEntries[16] = new SlideEntry(7, 842953, "Session5-Erik_Duval_00842953.png", 0, 0, 0, 533, 400);


// Declaration of g_tpEntries
var g_tpEntries = new Array();
g_tpEntries[0] = new TpEntry(0, -1, -1, false);


// Error messages
var g_realPnrDocMissing = 'The RealMedia Plugin could not find the file referred to.\nThe following URL could not be found:\n\n';
var PNR_DOC_MISSING = -2147221496;
var g_realPnrNetConnect = 'The RealMedia Plugin could not connect to the server. This may occur due\nto various reasons:\n - A firewall blocks traffic on port 554, which is needed for streaming\n - The RealMedia or HTTP server referred to is not valid\n - The IP address of the RealMedia or HTTP server is not valid\n\nThe URL being referred to is the following:\n';
var PNR_NET_CONNECT = -2147221436;
var g_realPnrInvalidHost = 'The RealMedia Plugin could not resolve the following URL:\n\n';
var PNR_INVALID_HOST = -2147221433;
var g_realPnrServerAlert = 'The RealMedia Server reports an error. Maybe the server is\noverloaded. Please reload the page and try again.';
var PNR_SERVER_ALERT = -2147221308;
var g_realPnrDnr = 'The RealMedia Plugin reports a DNS error for the following URL:\n\n';
var PNR_DNR = -2147217468;
var g_realPluginCheckError = 'A check for the RealMedia Plugin failed. \nThe replay of the document is likely not possible.';
var g_realUnknownError = 'The RealMedia Plugin reports an unknown error. Please check at\nhttp://www.lecturnity.de/csc\nif there is further information available on the following error code:\n\n';

var g_wmNetscapeLess71 = 'Netscape versions smaller than version 7.1 are not supported! \nPlease update your browser.';
var g_wmNetscape8 = 'Netscape 8 is so far not supported! \nPlease use Netscape version 7.1 or 7.2.';
var g_wmFirefoxLess10 = 'Firefox versions smaller than version 1.0 are not supported! \nPlease update your browser.';
var g_wmMozillaLess16 = 'Mozilla versions smaller than version 1.6 are not supported! \nPlease update your browser.';
var g_wmBrowserNotSupported = 'is not supported! \nPlease update your browser.';
var g_wmActivexControlRequired = 'requires the an ActiveX plugin for the replay of LECTURNITY Windows \nMedia Documents. \n';
var g_wmActivexControlWarning = '\n\nIt can not be guaranteed that the ActiveX plugin will work with this browser version. \nPlease update your browser if necessary.';
var g_wmActivexControlDownload = '\n\nThis ActiveX plugin is either not installed or not activated. Please continue as follows: \n\nStep 1: Activation \nActivate the ActiveX plugin which might already be installed by entering \'about:plugins\' \ninto the adress bar. Close the browser and load the document a second time. \nIf this error message appears again, please continue with step 2. Otherwise the \nActiveX plugin is now installed and activated. \n\nStep 2: Installation \nInstall the ActiveX plugin by. Please continue with step 1 after installation. \n\nDo you want to open the Web page with the ActiveX plugins and download the \nfollowing xpi file? \n\n';
var g_wmActivexControlUnknown = 'This browser version requires an ActiveX PlugIn for the replay of LECTURNITY Windows \nMedia Documents. \n';
var g_wmProgressiveDownloadAlert = 'Download is running - no seeking or scrolling possible. \n\nAs long as /Downloading.../ is visible in the status bar \nfurther data is downloaded. \nSeeking and scrolling in the document is not possible \nuntil download is finished.';
var g_wmProgressiveDownloadWmp64 = 'Windows Media Player 6.4 PlugIn detected\n- no seeking or scrolling possible. \n\nDuring the replay from a HTTP server with this PlugIn \nit is not possible to seek or scroll in the document. \nInstall the Windows Media Player version 9 or higher\nand try it again.';

