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 / _05A4116C62F6F8B74112754B95088FA5 < prev    next >
Text File  |  2014-03-12  |  6KB  |  238 lines

  1. <html>
  2. <head>
  3. <title> Navigation Pane </title>
  4.  
  5. <meta name="generator" content="Adobe RoboHelp - www.adobe.com">
  6. <meta name="description" content="WebHelp 5.50">
  7. <script language="javascript" src="whver.js"></script>
  8. <script language="javascript1.2" src="whmsg.js"></script>
  9. <script language="javascript1.2" src="whproxy.js"></script>
  10. </head>
  11. <script language="javascript">
  12. <!--
  13. var strFrmToc="";
  14. var strFrmNdx="";
  15. var strFrmFts="";
  16. var strFrmGls="";
  17. var strFrmDft="";
  18. var gstrName="";
  19.  
  20. //set overwrite here
  21. function setListFrames(strToc,strNdx,strFts,strGls,strDefault)
  22. {
  23.     strFrmToc=strToc;
  24.     strFrmNdx=strNdx;
  25.     strFrmFts=strFts;
  26.     strFrmGls=strGls;
  27.     strFrmDft=strDefault;
  28.     if(strFrmDft==strFrmToc)
  29.         gstrName="toc";
  30.     else if(strFrmDft==strFrmNdx)
  31.         gstrName="idx";
  32.     else if(strFrmDft==strFrmFts)
  33.         gstrName="fts";
  34.     else if(strFrmDft==strFrmGls)
  35.         gstrName="glo";
  36. }
  37.  
  38. function setWebHelpPane()
  39. {
  40.     setListFrames("whgdata/whnvf30.htm","whgdata/whnvf31.htm","whgdata/whnvf32.htm","whgdata/whnvf33.htm","whgdata/whnvf30.htm");
  41. }
  42.  
  43. function window_unload()
  44. {
  45.     if(!gbNav4||gbNav6) // resize will call unload, but the register code will never be called on Netscape 4.
  46.     {
  47.         UnRegisterListener2(this,WH_MSG_SHOWTOC);
  48.         UnRegisterListener2(this,WH_MSG_SHOWIDX);
  49.         UnRegisterListener2(this,WH_MSG_SHOWFTS);
  50.         UnRegisterListener2(this,WH_MSG_SHOWGLO);
  51.         UnRegisterListener2(this,WH_MSG_GETPANEINFO);
  52.     }
  53. }
  54.  
  55. function window_onload()
  56. {
  57.     var bHidePane=false;
  58.     var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);
  59.     if(SendMessage(oMsg))
  60.     {
  61.         if(oMsg.oParam>0)
  62.         {
  63.             if(oMsg.oParam==1)
  64.                 gstrName="toc";
  65.             else if(oMsg.oParam==2)
  66.                 gstrName="idx";
  67.             else if(oMsg.oParam==3)
  68.                 gstrName="fts";
  69.             else if(oMsg.oParam==4)
  70.                 gstrName="glo";
  71.             switchNvp(gstrName);
  72.         }
  73.         else if(oMsg.oParam==0)
  74.         {
  75.             bHidePane=true;
  76.         }
  77.         else if(gstrName)
  78.             switchNvp(gstrName);
  79.     }
  80.     if(bHidePane)
  81.     {
  82.         oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)
  83.         SendMessage(oMsg);
  84.     }
  85.     else if(gstrName)
  86.     {
  87.         oMsg=new whMessage(WH_MSG_PANEINFO,this,1,gstrName);
  88.         SendMessage(oMsg);
  89.     }
  90.     oMsg=new whMessage(WH_MSG_NOSYNC,this,1,null);
  91.     SendMessage(oMsg);
  92.     oMsg=new whMessage(WH_MSG_NOSEARCHINPUT,this,1,null);
  93.     SendMessage(oMsg);
  94.  
  95. }
  96.  
  97. function switchNvp(strName)
  98. {
  99.     var strFile="";
  100.     if(strName=="toc")        strFile=strFrmToc;
  101.     else if(strName=="idx")    strFile=strFrmNdx;
  102.     else if(strName=="fts")    strFile=strFrmFts;
  103.     else if(strName=="glo")    strFile=strFrmGls;
  104.  
  105.     gstrName=strName;
  106.     frames[0].location=strFile;    
  107. }
  108.  
  109. function onSendMessage(oMsg)
  110. {
  111.     if(oMsg)
  112.     {
  113.         var onMsg=null;
  114.         var nMsgId=oMsg.nMessageId;
  115.         if(nMsgId==WH_MSG_SHOWTOC)
  116.         {
  117.             switchNvp("toc");
  118.             onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"toc");
  119.             SendMessage(onMsg);
  120.             onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);
  121.             SendMessage(onMsg);
  122.         }
  123.         else if(nMsgId==WH_MSG_SHOWIDX)
  124.         {
  125.             switchNvp("idx");
  126.             onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"idx");
  127.             SendMessage(onMsg);
  128.             onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);
  129.             SendMessage(onMsg);
  130.         }
  131.         else if(nMsgId==WH_MSG_SHOWFTS)
  132.         {
  133.             switchNvp("fts");
  134.             onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"fts");
  135.             SendMessage(onMsg);
  136.             onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);
  137.             SendMessage(onMsg);
  138.         }
  139.         else if(nMsgId==WH_MSG_SHOWGLO)
  140.         {
  141.             switchNvp("glo");
  142.             onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"glo");
  143.             SendMessage(onMsg);
  144.             onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);
  145.             SendMessage(onMsg);
  146.         }
  147.         else if(nMsgId==WH_MSG_GETPANEINFO)
  148.         {
  149.             oMsg.oParam=gstrName;
  150.             return false;
  151.         }
  152.     }
  153.     return true;
  154. }
  155.  
  156. function onResize()
  157. {
  158.     var oMsg=null;
  159.     if(gbIE4)
  160.     {
  161.         if(document.body)
  162.         {
  163.             if(document.body.clientWidth>1&&document.body.clientHeight>1)
  164.             {
  165.                 oMsg=new whMessage(WH_MSG_RESIZEPANE,this,1,null);
  166.                 SendMessage(oMsg);
  167.             }
  168.         }
  169.     }
  170.     else
  171.     {
  172.         if(window.innerWidth!=0&&window.innerHeight!=0)
  173.         {
  174.             oMsg=new whMessage(WH_MSG_RESIZEPANE,this,1,null);
  175.             SendMessage(oMsg);
  176.         }
  177.     }
  178. }
  179.  
  180. if(window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
  181. {
  182.     var oMsg=new whMessage(WH_MSG_GETPANES,this,1,null);
  183.     if(SendMessage(oMsg))
  184.     {
  185.         if(oMsg.oParam)
  186.         {
  187.             for(var i=0;i<oMsg.oParam.aPanes.length;i++)
  188.             {
  189.                 if(oMsg.oParam.aPanes[i].sPaneName=="toc")
  190.                     strFrmToc=oMsg.oParam.aPanes[i].sPaneURL;
  191.                 else if(oMsg.oParam.aPanes[i].sPaneName=="idx")
  192.                     strFrmNdx=oMsg.oParam.aPanes[i].sPaneURL;
  193.                 else if(oMsg.oParam.aPanes[i].sPaneName=="fts")
  194.                     strFrmFts=oMsg.oParam.aPanes[i].sPaneURL;
  195.                 else if(oMsg.oParam.aPanes[i].sPaneName=="glo")
  196.                     strFrmGls=oMsg.oParam.aPanes[i].sPaneURL;
  197.                 if(oMsg.oParam.sDefault==oMsg.oParam.aPanes[i].sPaneName)
  198.                 {
  199.                     strFrmDft=oMsg.oParam.aPanes[i].sPaneURL;
  200.                 }
  201.             }
  202.         }
  203.         else
  204.             setWebHelpPane();
  205.     }
  206.     else
  207.         setWebHelpPane();
  208.  
  209.     RegisterListener2(this,WH_MSG_SHOWTOC);
  210.     RegisterListener2(this,WH_MSG_SHOWIDX);
  211.     RegisterListener2(this,WH_MSG_SHOWFTS);
  212.     RegisterListener2(this,WH_MSG_SHOWGLO);
  213.     RegisterListener2(this,WH_MSG_GETPANEINFO);
  214.  
  215.     if(gbIE55)
  216.         window.onresize=onResize;
  217.  
  218.     window.onunload=window_unload;
  219.     window.onload=window_onload;
  220.  
  221.     var strHtml="";
  222.     strHtml+="<frameset rows=\'100%,*\'>";
  223.     strHtml+="<frame name=\'nvplist\' title=\'navpane frame\' src=\'" + strFrmDft +"\'></frame>";
  224.     strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";
  225.     strHtml+="</frameset>";
  226.     document.write(strHtml);
  227. }
  228. else
  229.     document.location.reload();
  230.  
  231. if(window.gbNav6)
  232. {
  233.     var oMsg=new whMessage(WH_MSG_RELOADNS6,this,1,null);
  234.     SendMessage(oMsg);
  235. }
  236. //-->
  237. </script>
  238. </html>