-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
168 lines (139 loc) · 3.84 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE HTML>
<html style="height: 100%;" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<!-- Created using Articulate Storyline 2.12 - http://www.articulate.com -->
<!-- version: 2.12.1705.520 -->
<title>OneFile Induction for Assessors</title>
<style>
body { margin: 0px; }
object {outline: none;}
</style>
<script>
var g_bHtml5Supported = true;
</script>
<!--[if lte IE 9]><script>g_bHtml5Supported = false;</script><![endif]-->
<script type="text/javascript">
// Detect min flash version
var g_bMinFlash = false;
if (navigator.plugins["Shockwave Flash"])
{
var arrDescription = navigator.plugins["Shockwave Flash"].description.split(" ");
var nVersion = Number(arrDescription[arrDescription.length - 2]);
g_bMinFlash = (nVersion >= 10) || isNaN(nVersion);
}
else
{
try
{
var oActiveX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.10");
if (oActiveX)
{
g_bMinFlash = true;
}
}
catch (e) {}
}
var g_bLMS = false;
var g_bTinCan = false;
var g_bAOSupport = false;
var g_bWarnOnCommitFail = false;
var g_bUseHtml5 = true && g_bHtml5Supported;
var g_bUseMobilePlayer = false;
var g_biOS = (navigator.userAgent.indexOf("AppleWebKit/") > -1 && navigator.userAgent.indexOf("Mobile/") > -1);
var g_biPad = (navigator.userAgent.indexOf("iPad") > -1);
var g_bAndroid = (navigator.userAgent.indexOf("Android") > -1);
var g_bRedirectAMP = ((g_biOS && g_biPad) || g_bAndroid) && g_bUseMobilePlayer;
var g_bRedirectHTML5 = (g_biOS || !g_bMinFlash) && g_bUseHtml5;
if (g_bRedirectAMP)
{
// Switch to TinCan for AO Reporting
if (g_bAOSupport)
{
g_bTinCan = true;
}
if (g_bTinCan)
{
var strQuery = "tincan=" + g_bTinCan + "&" + document.location.search.substr(1);
if (g_bAOSupport)
{
strQuery = "aosupport=true&" + strQuery;
g_bAOSupport = false;
}
location.replace("amplaunch.html#" + strQuery);
}
else
{
location.replace("amplaunch.html");
}
}
else if (g_bRedirectHTML5)
{
var strLocation = "story_html5.html";
if (g_bTinCan)
{
strLocation += "?tincan=" + g_bTinCan + "&" + document.location.search.substr(1);
}
else if (g_bLMS)
{
strLocation += "?lms=1";
if (g_bWarnOnCommitFail)
{
strLocation += "&warncommit=1";
}
}
location.replace(strLocation);
}
var g_strContentFolder = "story_content";
var g_bProjector = false;
var g_strSwfFile = "story.swf";
var g_nWidth = 1300;
var g_nHeight = 791;
var g_strScale = "show all"; // noscale | show all
var g_strBrowserSize = "default"; // default, fullscreen, optimal
var g_strBgColor = "#FFFFFF";
var g_strAlign = "middle";
var g_strQuality = "best";
var g_bCaptureRC = false;
var g_strFlashVars = "";
var g_bScrollbars = true;
var g_strWMode = "window"; // transparent | window (use "window" for optimal performance, transparent for webobject support)
if (g_strScale == "show all")
{
g_bScrollbars = false;
}
</script>
<script SRC="story_content/user.js" TYPE="text/javascript"></script>
<script src="story_content/story.js" type="text/javascript"></script>
</head>
<body style="height: 100%;" onunload="DoOnClose()" onbeforeunload="DoOnClose()">
<script type="text/javascript">
document.bgColor = g_strBgColor;
if (g_bScrollbars)
{
document.write("<table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%' align=center>");
document.write("<tr>");
document.write("<td align=center>");
}
WriteSwfObject(g_strSwfFile,
g_nWidth,
g_nHeight,
g_strScale,
g_strAlign,
g_strQuality,
g_strBgColor,
g_bCaptureRC,
g_strWMode,
g_strFlashVars);
if (g_bScrollbars)
{
document.write("</td>");
document.write("</tr>");
document.write("</table>");
}
ResizeBrowser(g_strBrowserSize);
</script>
<DIV id='divEmail' style="position: absolute; width: 10; height: 10; left: 10; top: 10; visibility:hidden" ></DIV>
<DIV id='divWebObjects'></DIV>
</body>
</html>