bisdk_toc_tbs.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html lang="en-us" xml:lang="en-us">
  4. <head>
  5. <!--
  6. Licensed Materials – Property of IBM
  7. IBM Cognos Products: DOCS
  8. © Copyright IBM Corp. 2005, 2014.
  9. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  10. -->
  11. <meta name="Copyright" content="© Copyright IBM Corp. 2005, 2014." />
  12. <meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
  13. <meta http-equiv="Content-Script-Type" content="text/javascript"/>
  14. <meta http-equiv="imagetoolbar" content="no"/>
  15. <title> </title>
  16. <script language="javascript" type="text/javascript">
  17. <!--
  18. var bookName = "bisdkhlvltoc";
  19. //-->
  20. </script>
  21. <script language="javascript" src="inst_langs.js" type="text/javascript"></script>
  22. <script language="javascript" src="common/fhlp.js" type="text/javascript"></script>
  23. <script language="javascript" type="text/javascript">
  24. <!--
  25. var tabDivs = new Array();
  26. function showTab()
  27. {
  28. var sTabs ='';
  29. sTabs = "en"; // default tab menu
  30. // un-hide the desired tab
  31. tV(sTabs);
  32. }
  33. function tV( tabShow ) {
  34. var tabSrcHrefs = new Array();
  35. var srchdb = new Array();
  36. tabSrcHrefs['en'] = "../en/bisdk_sm.html";
  37. srchdb['en'] = "common/blnk.html";
  38. // hide all tabs
  39. for (i=0; i<tabDivs.length; i++)
  40. showHideTabs(tabDivs[i], '', 'hide');
  41. // show right one
  42. showHideTabs(tabShow, '', 'show');
  43. // if the tabcontent frame have the correct content, update it
  44. // prevents the NS4 double loading when resizing the window
  45. if( parent.content.location.href.indexOf(tabSrcHrefs[tabShow]) < 1 )
  46. parent.content.location.href = tabSrcHrefs[tabShow];
  47. // if the tabcontent frame have the correct content, update it
  48. // prevents the NS4 double loading when resizing the window
  49. if( parent.tabcontent.location.href.indexOf(srchdb[tabShow]) < 1 )
  50. parent.tabcontent.location.href = srchdb[tabShow];
  51. }
  52. function reloadPage(init) { //reloads the window if Nav4 resized
  53. if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  54. document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
  55. else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
  56. }
  57. reloadPage(true);
  58. // -->
  59. </script>
  60. <style type="text/css">
  61. body, div, a { color:#0C396D; font-family: Tahoma, Arial, Geneva, Helvetica, "MS UI Gothic", Gulim, SimSun, sans-serif; font-size:1em; font-weight: normal }
  62. .unselected {width: 195px; height:1.5em; background-color: #DDDDFF;}
  63. .selected {width: 200px; height:1.5em; border:solid; border-width: thin; background-color: #FFFFFF;}
  64. </style>
  65. </head>
  66. <body bgcolor="#FFFFFF">
  67. <script language="javascript" type="text/javascript">
  68. var lang_name_en="English";
  69. var doc_langs;
  70. var docLangs = new Array();
  71. var docLangs2 = new Array();
  72. if(doc_langs != undefined){
  73. docLangs = doc_langs.split(',');
  74. }
  75. docLangs.splice(docLangs.length-1,1);
  76. docLangs.sort();
  77. docLangs.splice(0,0, 'en');
  78. if (!Array.prototype.indexOf)
  79. {
  80. Array.prototype.indexOf = function(elt /*, from*/)
  81. {
  82. var len = this.length >>> 0;
  83. var from = Number(arguments[1]) || 0;
  84. from = (from < 0)
  85. ? Math.ceil(from)
  86. : Math.floor(from);
  87. if (from < 0)
  88. from += len;
  89. for (; from < len; from++)
  90. {
  91. if (from in this &&
  92. this[from] === elt)
  93. return from;
  94. }
  95. return -1;
  96. };
  97. }
  98. for(var g=0; g<tabDivs.length; g++) {
  99. var langMatch = "no";
  100. for(var h=0; h<docLangs.length; h++) {
  101. if(docLangs[h] == tabDivs[g]) {
  102. langMatch = "yes";
  103. docLangs2.splice(tabDivs.indexOf(tabDivs[g]),0,tabDivs[g]);
  104. break;
  105. }
  106. }
  107. }
  108. for(var i=0; i<docLangs2.length; i++) {
  109. document.write("<div id=\"" + docLangs2[i] + "\" style=\"position:absolute; top: 6px; right: 98%; bottom: 6px; left: 15px; visibility: hidden\">");
  110. for(var k=0; k<docLangs2.length; k++) {
  111. var langName;
  112. if(docLangs2[k] == "zh-cn"){
  113. eval("langName=lang_name_zh_cn");
  114. }
  115. else if(docLangs2[k] == "zh-tw"){
  116. eval("langName=lang_name_zh_tw");
  117. }
  118. else{
  119. eval("langName=lang_name_"+docLangs2[k]);
  120. }
  121. if(docLangs2[k] == docLangs2[i]) {
  122. document.write(" <div class=\"selected\">&nbsp;<a href=\"javascript:tV( '" + docLangs2[k] + "' );\" onMouseOver=\"status='" + langName + "'; return true;\" onMouseOut=\"status='';\">" + langName + "</a></div>");
  123. }
  124. else {
  125. document.write(" <div class=\"unselected\">&nbsp;<a href=\"javascript:tV( '" + docLangs2[k] + "' );\" onMouseOver=\"status='" + langName + "'; return true;\" onMouseOut=\"status='';\">" + langName + "</a></div>");
  126. }
  127. }
  128. document.write("</div>");
  129. }
  130. showTab();
  131. </script>
  132. </body>
  133. </html>