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

  1. ////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // PRODUCT: Norton Internet Security/Symantec Desktop Firewall
  4. //
  5. // NAME:    iw-AboutParentalControl.js (Javascript file for iw-AboutParentalControl.HTM)
  6. //
  7. // Copyright (c) 2001 by Symantec Corporation. All rights reserved.
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. function OnLoad()
  12. {
  13.     
  14.     LaunchParentalControl.focus();
  15.  
  16. }
  17.  
  18. function OnTabOver()
  19. {
  20.     // Tab or reverse tab 
  21.     var VK_TAB = 9;
  22.     
  23.     if (window.event.keyCode == VK_TAB && (window.event.shiftKey == false))
  24.         window.parent.frames("bottom",0).focus();
  25.     else if (window.event.keyCode == VK_TAB && (window.event.shiftKey == true))
  26.         window.parent.frames("contents",0).focus();
  27. }        
  28.  
  29.  
  30. function LaunchPC()
  31. {
  32.     PCWizHelper.LaunchPCWizard();
  33. }
  34.  
  35. function OnKeyDownHandler()
  36. {
  37.     // Last Control Tab over to the <back, next, close> button.
  38.     var VK_ESCAPE = 27;
  39.  
  40.     if (window.event.keyCode == VK_ESCAPE)
  41.     {
  42.         // Escape key.. We want to exit out of the wizard..
  43.         parent.window.navigate("res://closeme.xyz");
  44.  
  45.     }
  46.     
  47. }