home *** CD-ROM | disk | FTP | other *** search
- ////////////////////////////////////////////////////////////////////////////////////////////
- //
- // PRODUCT: Norton Internet Security/Symantec Desktop Firewall
- //
- // NAME: iw-AboutHomeNet.js (Javascript file for iw-AboutHomeNet.HTM)
- //
- // Copyright (c) 2001 by Symantec Corporation. All rights reserved.
- //
- ////////////////////////////////////////////////////////////////////////////////////////////
-
- function OnTabOver()
- {
- // Tab or reverse tab
- var VK_TAB = 9;
-
- if (window.event.keyCode == VK_TAB && (window.event.shiftKey == false))
- window.parent.frames("bottom",0).focus();
- else if (window.event.keyCode == VK_TAB && (window.event.shiftKey == true))
- window.parent.frames("contents",0).focus();
- }
-
-
- function OnLoad()
- {
- var sProductType = WrapNisum.ProductType;
-
- switch (sProductType)
- {
- case "PT_SDF":
- window.NISTitleName.innerText = WrapNisum.ProductName;
- break
-
- case "PT_NPF":
- window.NISTitleName.innerText = WrapNisum.ProductName;
- break
-
- case "PT_NOAD":
- break
-
- case "PT_FE":
- break
-
- case "PT_PE":
- break;
- }
-
- LaunchHome.focus();
- }
-
-
- function LaunchHomeNet()
- {
- // Must correspond the "way" HomeNetwork was launched so we can make the parent dialog modal.
- // 0 - Launched From NisPlug
- // 1 - Launched From IntroWiz
-
- event.cancelBubble = true;
- event.returnValue = false;
- var lLaunchedFrom = 1;
- ConfigInfo.LaunchHomeNetwork(lLaunchedFrom); // Launched From IntroWiz
-
- }
-
- function OnKeyDownHandler()
- {
- // Last Control Tab over to the <back, next, close> button.
- var VK_ESCAPE = 27;
-
- if (window.event.keyCode == VK_ESCAPE)
- {
- // Escape key.. We want to exit out of the wizard..
- parent.window.navigate("res://closeme.xyz");
-
- }
-
- }