home *** CD-ROM | disk | FTP | other *** search
/ ftp.rsa.com / 2014.05.ftp.rsa.com.tar / ftp.rsa.com / pub / agents / RSASecurIDTokenAuto412x64.msi / Data1.cab / _79FE4374D92D1E71B9827AA8FBB7515E < prev    next >
Text File  |  2014-03-12  |  2KB  |  89 lines

  1. ∩╗┐//    WebHelp 5.10.001
  2. // const strings
  3. var gIEA = new Array();
  4. function aIE()
  5. {
  6.     var len = gIEA.length;
  7.     gIEA[len] = new indexEntry(aIE.arguments);
  8. }
  9.  
  10. function topic(sName, sURL)
  11. {
  12.     this.sName = sName;
  13.     this.sURL = sURL;
  14. }
  15.  
  16. function indexEntry(fn_arguments) 
  17. {
  18.     if (fn_arguments.length && fn_arguments.length >= 3) 
  19.     {
  20.         this.nType = fn_arguments[0];
  21.         this.nPKOff = 0;
  22.         this.nNKOff = fn_arguments[1];
  23.         this.sName = fn_arguments[2];
  24.         this.aTopics = null;
  25.         var nLen = fn_arguments.length;
  26.         if (Math.floor(nLen / 2) * 2 == nLen)
  27.         {
  28.             this.sTarget = fn_arguments[3];
  29.             if (nLen > 5)
  30.             {
  31.                 this.aTopics = new Array();
  32.                 for (var i = 0; i < (nLen - 5)/2; i++)
  33.                 {
  34.                     this.aTopics[i] = new topic(fn_arguments[i * 2 + 4], fn_arguments[i * 2 + 5]);
  35.                 }
  36.             }
  37.  
  38.         }
  39.         else 
  40.         {
  41.             if (nLen > 4) 
  42.             {
  43.                 this.aTopics = new Array();
  44.                 for (var i = 0; i < (nLen - 4)/2; i++)
  45.                 {
  46.                     this.aTopics[i] = new topic(fn_arguments[i * 2 + 3], fn_arguments[i * 2 + 4]);
  47.                 }
  48.             }
  49.         }
  50.     }
  51. }
  52.  
  53. function getIndexTopicMappingList(nItemIndex)
  54. {
  55.     var sTopics = "";
  56.     if (gIEA.length > nItemIndex)
  57.     {
  58.         if (gIEA[nItemIndex].aTopics) 
  59.         {
  60.             var i = 0;
  61.             var nLen = gIEA[nItemIndex].aTopics.length;
  62.             for (i = 0; i < nLen; i ++) 
  63.             {
  64.                 sTopics += "," + gIEA[nItemIndex].aTopics[i];
  65.             }
  66.         }
  67.     }
  68.     return sTopics;        
  69. }
  70.  
  71. function window_OnLoad()
  72. {
  73.     if (parent && parent != this) {
  74.         if (parent.putData) 
  75.         {
  76.             for (var i = 0; i < gIEA.length; i ++ )
  77.             {
  78.                 if (gIEA[i].nNKOff != 0 && i + gIEA[i].nNKOff + 1 < gIEA.length)
  79.                 {
  80.                 
  81.                     gIEA[i + gIEA[i].nNKOff + 1].nPKOff = gIEA[i].nNKOff;
  82.                 }
  83.             }
  84.             parent.putData(gIEA);
  85.         }
  86.     }
  87. }
  88.  
  89. window.onload = window_OnLoad;