Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

217 lines
9.5 KiB

<html>
<head>
<link rel="stylesheet" type="text/css" href="mmsobshe.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body TABINDEX="-1" onload="locLoadTapi();" scroll=no>
<img id="imgUpperLeftCorner" style="position:absolute;top:0px;left:0px;visibility:hidden" SRC="../images/MSNlogo.gif" width="80" height="43">
<script LANGUAGE="javascript">
<!--
var TapiObj = null;
var g_intCountry = null;
if (null == TapiObj)
{
TapiObj = new Object;
TapiObj = window.external.Tapi;
}
g_intCountry = TapiObj.get_CountryIndex();
//alert(g_intCountry);
function locLoadTapi()
{
switch (g_intCountry){
case 81:
selCountry1.selectedIndex = 0;
break;
case 113:
selCountry1.selectedIndex = 1;
break;
case 226:
selCountry1.selectedIndex = 2;
break;
case 227:
selCountry1.selectedIndex = 3;
break;
default:
selCountry1.selectedIndex = 3;
break;
}
window.parent.TapiLoadMe();
window.parent.g_FirstFocusElement = selCountry1;
selCountry1.focus();
locTapi_CountryChange();
btnLanText.style.textAlign="center";
btnLanText.style.posLeft = btnLan.offsetLeft + (btnLan.width / 2 - btnLanText.offsetWidth / 2);
btnLanText.onkeydown = window.parent.KeyDownBtnText;
btnLanText.onfocus = window.parent.FocusBtnText;
}
function locTapi_CountryChange(){
var RegionValue = selCountry1.value;
var i = 0;
while (selCountry(i).innerText != RegionValue){
++i;
}
selCountry.selectedIndex = i;
window.parent.Tapi_CountryChange();
if (div_MSNNotAvailable.style.visibility == "visible")
btnNext.disabled = true;
else
btnNext.disabled = false;
window.parent.InitPairedButton(spanNext, btnNext, btnNextText, window.parent.g_ImgRightDefault, window.parent.g_ImgRightDisabled,
window.parent.g_ImgRightDefaultSingle, window.parent.g_ImgRightDisabledSingle,
spanBack, "backButton", "backButtonText");
}
function CloseWindow(){
var L_strCloseWindow_Text = "Click OK to exit MSN Internet Access Setup.";
if (confirm(L_strCloseWindow_Text)){
window.external.Finish();
}
}
function HoverLan(){
parent.window.HoverOnPairedButton( btnLan, btnLanText, parent.g_ImgLeftHoverWide, parent.g_ImgHover, parent.btnRestore);
}
function ResetLan(){
parent.window.HoverOffPairedButton(btnLan, btnLanText, parent.g_ImgLeftDefaultWide, parent.g_ImgDefault, parent.btnRestore);
}
function GoDial()
{
window.parent.dnCKPT[window.parent.CKPT_CONNECT].strURL = "msnsetup\\mconnect.htm";
window.parent.GoNext();
}
function GoLan()
{
if (window.external.Directions.get_AppMode == 2)
{
window.parent.external.RunManualICW();
}
//alert(window.parent.CKPT_CONNECT);
window.parent.dnCKPT[window.parent.CKPT_CONNECT].strURL = "msnsetup\\mlan.htm";
window.parent.GoNext();
}
function setImagePosition(oImg, szHorizontal, szVertical) {
// Position oImg image to absolute coordinates based on szVertical(upper, lower) and szHorizontal(left, right)
var x;
var y;
//alert('body:\nW: ' + document.body.offsetWidth + '\nH: ' + document.body.offsetHeight);
x = szHorizontal.toLowerCase() == 'left' ? 0 : document.body.clientWidth - oImg.width - 15;
y = szVertical.toLowerCase() == 'upper' ? 0 : document.body.clientHeight - oImg.height - 16;
oImg.style.left = x;
oImg.style.top = y;
//alert('X: ' + x + '\nY: ' + y);
oImg.style.visibility = 'visible';
}
setImagePosition( imgUpperLeftCorner, 'left', 'upper' );
//-->
</script>
<img id="WaterMark" class="gradient" src="../images/msnwtrmk.gif">
<img id="StageImage" class="flag">
<span TABINDEX="-1" CLASS="pageTitle">
<id id="Tapi_TITLE">Using Your Modem to Connect</id>
</span>
<span TABINDEX="-1" CLASS="contents">
<div TABINDEX="-1" id="Tapi_INFO">MSN Internet Access can make it easier to access the Internet<br>and all it has to offer. <br>Please type in the information below so we can help you connect to the <br>Internet and register you online. You will not be charged for this call.</div>
<br>
<label TABINDEX="-1" ACCESSKEY="R" for="selCountry1" id="Tapi_COUNTRY">Select the count<u>r</u>y/region where you are now. Click the down arrow, <br>or press the ALT + DOWN ARROW keys to view the list of regions.</label>
<br>
<select TABINDEX="1" id="selCountry1" onchange="locTapi_CountryChange();">
<option value='Germany' ID="Tapi_Germany">Germany</option>
<option value='Japan' ID="Tapi_Japan">Japan</option>
<option value='United Kingdom' ID="Tapi_UK">United Kingdom</option>
<option value='United States of America' ID="Tapi_USA" selected>United States of America</option>
</select>
<select TABINDEX="-1" id="selCountry" style="position:relative;top:-1000;" onchange="window.parent.Tapi_CountryChange();">
<script language="javascript">
document.write(window.parent.external.Tapi.get_AllCountryName);
</script>
</select>
<br>
<div id="div_MSNNotAvailable" style="visibility:hidden">We are unable to dial to a Microsoft server in your country. <BR>To quit MSN Setup, click Cancel.</div>
<span id="spn_AdditionalSettings" style="visibility:hidden">
<label TABINDEX="-1" ACCESSKEY="C" id="Tapi_AREACODE" for="edtAreaCode">Enter your telephone area <u>c</u>ode (e.g., 425 in 425-555-1212)</label>
<input TABINDEX="2" type="text" id="edtAreaCode" maxlength=10 size="4" style="ime-mode:disabled;" onkeypress="window.parent.KeyPressIsNumeric();window.parent.Tapi_AreaCodeChange();" onkeyup="window.parent.Tapi_AreaCodeChange();">
<br>
<label TABINDEX="-1" ACCESSKEY="O" id="Tapi_OUTSIDELINE1" for="radioOutSideLineYes">Do you dial a number to access an <u>o</u>utside line?</label>
<input TABINDEX="3" type="radio" name="OutSideLine" id="radioOutSideLineYes" onclick="window.parent.tapi_OutsideLineClicked();">
<label TABINDEX="-1" id="Tapi_OUTSIDELINE_YES" for="radioOutSideLineYes">Yes</label>
<input TABINDEX="3" type="radio" name="OutSideLine" id="radioOutSideLineNo" onclick="window.parent.tapi_OutsideLineClicked();">
<label TABINDEX="-1" id="Tapi_OUTSIDELINE_NO" for="radioOutSideLineNo" checked>No</label>
<br>
<span TABINDEX="-1" id="spanOutsideLine" style="visibility:hidden; position:relative;">
<i>
<label TABINDEX="-1" ACCESSKEY="W" ID="Tapi_OUTSIDELINE2" for="edtOutsideLine"><u>W</u>hat is that number?</label>
</i>
<input TABINDEX="4" style="ime-mode:disabled; visibility:hidden" type="text" id="edtOutsideLine" maxlength=10 size="4" onkeypress="window.parent.KeyPressIsNumeric();">
</span>
<br>
<br>
<label TABINDEX="-1" ACCESSKEY="T" id="Tapi_TOUCHTONE" for="radioTouchToneYes">Do you have <u>t</u>ouch tone service?</label>
<input TABINDEX="5" type="radio" name="TouchTone" checked id="radioTouchToneYes">
<label TABINDEX="-1" id="Tapi_TOUCHTONE_YES" for="radioTouchToneYes">Yes</label>
<input TABINDEX="5" type="radio" name="TouchTone" id="radioTouchToneNo">
<label TABINDEX="-1" id="Tapi_TOUCHTONE_NO" for="radioTouchToneNo">No</label>
</span>
</span>
<script language=javascript>
if (screen.width != 640){
var L_strConnectLan_Text = "To set up MSN using your Local Area Network, click <b>LAN</b>.";
var L_strConnectNext_Text = "To continue, click <b>Next</b>.";
document.write('<table tabindex="-1" class="navInfoTapi" cellspacing="0" cellpadding="0"> <tr> <td valign="top" id="Tapi_NAVINFO2A">' + L_strConnectLan_Text + '</td> </tr> <tr> <td valign="top" id="Tapi_NAVINFO2A">' + L_strConnectNext_Text + '</td> </tr> </table>');
}
</script>
<span TABINDEX="-1" id="navbar" CLASS="navbar">
<hr NOSHADE CLASS="blackBar" style="z-index:-1;">
<span TABINDEX="-1" Id="spanCancel" onclick="CloseWindow()">
<img Id="btnCancel" class="cancelButton" style="z-index:1;">
<label TABINDEX="6" ACCESSKEY="A" for="btnCancelText" Id="btnCancelText" class="cancelButtonText" style="z-index:2;">
<id id="Tapi_CANCEL">C<u>a</u>ncel</id>
</label>
</span>
<span TABINDEX="-1" Id="spanLan" onmouseover="HoverLan()" onmouseout="ResetLan()" onclick="GoLan()">
<img Id="btnLan" class="LanButton" style="z-index:1;" src="../images/default.gif">
<label TABINDEX="7" ACCESSKEY="L" for="btnLanText" Id="btnLanText" class="LanButtonText" style="z-index:2;">
<id id="Tapi_LAN"><u>L</u>an</id>
</label>
</span>
<span TABINDEX="-1" Id="spanBack" onclick="window.parent.GoBack();">
<img Id="btnBack" class="backButton" style="z-index:1;">
<label TABINDEX="8" ACCESSKEY="B" for="btnBackText" Id="btnBackText" class="backButtonText" style="z-index:2;">
<id id="Tapi_BACK"><u>B</u>ack</id>
</label>
</span>
<span TABINDEX="-1" Id="spanNext" onclick="if(btnNext.disabled == false) GoDial();">
<img Id="btnNext" class="nextButton" style="z-index:1;">
<label TABINDEX="9" ACCESSKEY="N" for="btnNextText" Id="btnNextText" class="nextButtonText" style="z-index:2;">
<id id="Tapi_NEXT"><u>N</u>ext</id>
</label>
</span>
</div>
<script language=Javascript>
if (window.external.Directions.get_AppMode == 2){
btnLanText.innerHTML = "<u>L</u>an/Manual";
}
</script>
</body>
</html>