-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInjector Harness_nav.htm
192 lines (155 loc) · 3.93 KB
/
Injector Harness_nav.htm
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<html>
<head>
<script src="Injector Harness_utils.js"></script>
<script>
<!--
if (isNav)
{
window.captureEvents(Event.RESIZE);
window.onresize=handleResize;
}
function Load()
{
if( IsFrame("frmNavBar" ) )
{
LoadDiv('NavBar', UpdateNavBar, InitNavBar);
parent.g_NavBarLoaded = true;
if ( ZoomAvailable() )
{
if ( null != (div = new CDiv('divZoom', document)) )
div.Show();
document.zoomForm.zoomFactor.onchange();
}
GoToPage(0);
}
return;
}
function LoadDiv(divId, initProc, loadProc)
{
if ( isIE )
{
document.ondragstart=CancelDrag;
document.onselectstart=CancelDrag;
}
if ( !isNav )
{
document.body.style.margin = 2
document.body.style.top = 0;
}
if ( initProc != null )
initProc();
if ( loadProc != null)
loadProc();
if ( null != (div = new CDiv(divId, document)) )
div.Show();
}
function InitNavBar()
{
if ( isIE )
{
div = new CImage('btnPrev');
div.put_Title(jsLoadString(IDS_TITLE_PREVPAGE));
div = new CImage('btnNext');
div.put_Title(jsLoadString(IDS_TITLE_NEXTPAGE));
}
}
function UpdateNavBar()
{
var entry;
ix = 0;
entry = g_theApp.FileList[g_theApp.CurrentPageIX];
if ( null != entry )
ix = g_theApp.CurrentPageIX;
if ( null != (theForm = GetPageForm()) )
theForm.pageSelect.selectedIndex = ix;
}
function SelectPage()
{
theForm = GetPageForm();
GoToPage(parseInt(theForm.pageSelect[theForm.pageSelect.selectedIndex].value));
}
function GetPageForm()
{
return FindForm('pageForm', document);
}
//-->
</script>
<style>
body { position:absolute;top:-5px }
#NavBar { position:absolute;visibility:hidden;top:3px;left:0px }
</style>
</head>
<body onload="Load()" bgcolor="#000000" link="#000000" vlink="#000000" alink="#000000">
<div id="NavBar" name="NavBar">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" valign="top" nowrap align="left">
 
</td>
<td valign="top" nowrap align="center">
<form id="pageForm" name="pageForm">
<script>
<!--
if ( document.images )
{
m_ltOut = new Image(); m_ltOut.src = "lt_off.gif";
m_ltOver = new Image(); m_ltOver.src = "lt_over.gif";
m_ltDown = new Image(); m_ltDown.src = "lt_click.gif";
m_rtOut = new Image(); m_rtOut.src = "rt_off.gif";
m_rtOver = new Image(); m_rtOver.src = "rt_over.gif";
m_rtDown = new Image(); m_rtDown.src = "rt_click.gif";
}
function imgOver(id) { if ( document.images ) document.images[id].src = eval("m_" + id + "Over.src"); }
function imgOut(id) { if ( document.images ) document.images[id].src = eval("m_" + id + "Out.src"); }
//-->
</script>
<a href="javascript:GoToPrevPage()" onMouseOver="javascript:imgOver('lt');" onMouseOut="javascript:imgOut('lt');">
<img src="lt_off.gif" name="lt" id="lt" border="0" WIDTH="26" HEIGHT="18">
</a>
<select id="pageSelect" name="pageSelect" onchange="javascript:SelectPage();">
<script>
<!--
for ( var i in g_theApp.FileList )
{
document.write('<option value=\"' + i + '\"');
if ( i == 0 )
document.write(' selected');
document.write('>' + html_escape(g_theApp.FileList[i].PageName));
}
//-->
</script>
</select>
<a href="javascript:GoToNextPage()" onMouseOver="javascript:imgOver('rt');" onMouseOut="javascript:imgOut('rt');">
<img src="rt_off.gif" id="rt" name="rt" border="0" WIDTH="26" HEIGHT="18">
</a>
</form>
</td>
<td nowrap align="right">
<span id="divZoom" name="divZoom" style="position:relative;top:0px;visibility:hidden">
<form id="zoomForm" name="zoomForm">
<select id="zoomFactor" name="zoomFactor"
onchange="javascript:zoom_onchange(zoomFactor[zoomFactor.selectedIndex].value)">
<option value="-1" selected>
<script>
<!--
document.write(jsLoadString(IDS_WINDOW));
//-->
</script>
<option value="1200">1200%
<option value="800">800%
<option value="600">600%
<option value="400">400%
<option value="200">200%
<option value="150">150%
<option value="100">100%
<option value="75">75%
<option value="50">50%
<option value="25">25%
</select>
</form>
</span>
</td>
</tr></table>
</div>
</body>
</html>