home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D1.iso / powerkit / firewall / files / NPF2004.exe / Setup / ISCommon / APP / AlertAst.exe / HTML / PRIVATEINFO.JS < prev    next >
Encoding:
Text File  |  2003-09-06  |  625 b   |  41 lines

  1. function OnLoad()
  2. {
  3.     //Internal replacable strings
  4.     //oCATEGORYNAME
  5.     //oDESTINATION
  6.  
  7.  
  8.     var args = getArgs();
  9.     
  10.     if (args.requestedby)
  11.     {
  12.       switch (args.requestedby)
  13.       {
  14.          case "1":
  15.             idWebBrowser.style.display = "";
  16.             break;
  17.          case "2":
  18.             idInstantMessenger.style.display = "";
  19.             break;
  20.          case "3":
  21.             ideMail.style.display = "";
  22.             break;
  23.          default:
  24.             idUnknown.style.display = "";
  25.             break;
  26.       }
  27.     }    
  28.  
  29.     if (args.cat)
  30.     {
  31.       oCATEGORYNAME.innerText = args.cat;
  32.     }    
  33.  
  34.     if (args.dest)
  35.     {
  36.       oDESTINATION.innerText = args.dest;
  37.     }
  38.  
  39.     CollapseSections();
  40. }
  41.