-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisptype.js
58 lines (42 loc) · 1.22 KB
/
isptype.js
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
var g_isptypeImgDir="images/";
var g_isptypeConnect1="1";
var g_isptypeConnect2="1";
var g_isptypeConnect3="1";
function isptypeFirstPage_LoadMe()
{
InitFrameRef('External');
IsptypeToggleAllRadioButtons(true);
if (g_isptypeConnect1=='1') {
g.isptypeTelModemSpn1.style.display = "inline";
g.isptypeTelModemSpn2.style.display = "inline";
}
if (g_isptypeConnect2=='1') {
g.isptypeHighSpeedSpn1.style.display = "inline";
g.isptypeHighSpeedSpn2.style.display = "inline";
}
if (g_isptypeConnect3=='1') {
g.isptypeSharedConnectionSpn1.style.display = "inline";
g.isptypeSharedConnectionSpn2.style.display = "inline";
}
InitNewButtons();
g_FirstFocusElement = g.btnNext;
if (g_FirstFocusElement != null)
g_FirstFocusElement.focus();
else
g.document.body.focus();
}
function IsptypeToggleAllRadioButtons(bSwitch)
{
try
{
g.radioTelModem.disabled = !bSwitch;
g.text_TelModem.disabled = !bSwitch;
g.radioHighSpeed.disabled = !bSwitch;
g.text_HighSpeed.disabled = !bSwitch;
g.radioSharedConnection.disabled = !bSwitch;
g.text_SharedConnection.disabled = !bSwitch;
}
catch (e)
{
}
}