home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / 05_02.iso / software / nis / files / NIS / NIS.MSI / IntroWiz.exe / HTML / IW-ABOUTIAC.JS < prev    next >
Encoding:
JavaScript  |  2001-12-01  |  1.6 KB  |  71 lines

  1. ////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // PRODUCT: Norton Internet Security/Symantec Desktop Firewall
  4. //
  5. // NAME:    iw-AboutIAC.js (Javascript file for iw-AboutIAC.HTM)
  6. //
  7. // Copyright (c) 2001 by Symantec Corporation. All rights reserved.
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////////////
  10. function OnTabOver()
  11. {
  12.     // Tab or reverse tab 
  13.     var VK_TAB = 9;
  14.     
  15.     if (window.event.keyCode == VK_TAB && (window.event.shiftKey == false))
  16.         window.parent.frames("bottom",0).focus();
  17.     else if (window.event.keyCode == VK_TAB && (window.event.shiftKey == true))
  18.         window.parent.frames("contents",0).focus();
  19. }        
  20.  
  21.  
  22. function OnKeyDownHandler()
  23. {
  24.     // Last Control Tab over to the <back, next, close> button.
  25.     var VK_ESCAPE = 27;
  26.  
  27.     if (window.event.keyCode == VK_ESCAPE)
  28.     {
  29.         // Escape key.. We want to exit out of the wizard..
  30.         parent.window.navigate("res://closeme.xyz");
  31.  
  32.     }
  33.     
  34. }
  35.  
  36. function OnLoad()
  37. {
  38.     var sProductType = WrapNisum.ProductType;
  39.  
  40.     switch (sProductType)
  41.     {
  42.         case "PT_SDF":
  43.         window.NISTitleName1.innerText = WrapNisum.ProductName;
  44.         window.NISTitleName2.innerText = WrapNisum.ProductName;
  45.         break
  46.         
  47.         case "PT_NPF":
  48.         window.NISTitleName1.innerText = WrapNisum.ProductName;
  49.         window.NISTitleName2.innerText = WrapNisum.ProductName;
  50.         break
  51.         
  52.         case "PT_NOAD":
  53.         break
  54.         
  55.         case "PT_FE":
  56.         break
  57.         
  58.         case "PT_PE":
  59.         break;
  60.     }    
  61.         
  62.     LaunchAle.focus();
  63. }
  64.  
  65. function LaunchAleScan()
  66. {
  67.     event.cancelBubble = true;
  68.     event.returnValue = false;
  69.     ConfigInfo.LaunchAleScan();
  70. }
  71.