Produced by Araxis Merge on 1/2/2018 11:59:03 AM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Tue Jan 2 16:59:03 2018 UTC | ||
| 2 | HTRE_P2.zip\src.zip\output\IHTA OLH Files.zip\main.zip | whd_tabs.htm | Thu Aug 4 14:06:30 2016 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 532 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <HTML> | |||||
| 2 | <HEAD> | |||||
| 3 | <meta http -equiv="Co ntent-Type " content= "text/html ; charset= utf-8" /> | |||||
| 4 | <TITLE>Web Help Tabs Frame in N avigation Pane</TITL E> | |||||
| 5 | ||||||
| 6 | <meta name ="generato r" content ="Adobe Ro boHelp 10" /> | |||||
| 7 | <meta name ="descript ion" conte nt="WebHel p 5.50" /> | |||||
| 8 | <!-- WebHe lp version 5.10 --> | |||||
| 9 | </HEAD> | |||||
| 10 | <script s rc="whver. js" charse t="utf-8"> </script> | |||||
| 11 | <script s rc="whmsg. js" charse t="utf-8"> </script> | |||||
| 12 | <script s rc="whutil s.js" char set="utf-8 "></script > | |||||
| 13 | <script s rc="whprox y.js" char set="utf-8 "></script > | |||||
| 14 | <script la nguage="ja vascript1. 2"> | |||||
| 15 | <!-- | |||||
| 16 | var gsBgCo lor="#c0c0 c0" | |||||
| 17 | var gsBgIm age=""; | |||||
| 18 | var gnCurP ane=0; | |||||
| 19 | var gsFirs tPane=""; | |||||
| 20 | var goTocF ont=null; | |||||
| 21 | var goIdxF ont=null; | |||||
| 22 | var goFtsF ont=null; | |||||
| 23 | var goGloF ont=null; | |||||
| 24 | var gPane= new Array( ); | |||||
| 25 | var gShowF irst=0; | |||||
| 26 | var gnTabT ype=0; | |||||
| 27 | ||||||
| 28 | function w indow_unlo ad() | |||||
| 29 | { | |||||
| 30 | un registerLi stener2(WH _MSG_SHOWT OC); | |||||
| 31 | un registerLi stener2(WH _MSG_SHOWI DX); | |||||
| 32 | un registerLi stener2(WH _MSG_SHOWF TS); | |||||
| 33 | un registerLi stener2(WH _MSG_SHOWG LO); | |||||
| 34 | } | |||||
| 35 | ||||||
| 36 | ||||||
| 37 | function s etFont(sTy pe,sFontNa me,sFontSi ze,sFontCo lor,sFontS tyle,sFont Weight,sFo ntDecorati on) | |||||
| 38 | { | |||||
| 39 | va r vFont=ne w whFont(s FontName,s FontSize,s FontColor, sFontStyle ,sFontWeig ht,sFontDe coration); | |||||
| 40 | if (sType=="T oc") goToc Font=vFont ; | |||||
| 41 | el se if(sTyp e=="Idx") goIdxFont= vFont; | |||||
| 42 | el se if(sTyp e=="Fts") goFtsFont= vFont; | |||||
| 43 | el se if(sTyp e=="Glo") goGloFont= vFont; | |||||
| 44 | } | |||||
| 45 | ||||||
| 46 | function T ocWriteCla ssStyle() | |||||
| 47 | { | |||||
| 48 | va r sStyle=" <STYLE TYP E='text/cs s'>"; | |||||
| 49 | sS tyle+=".Te xtTabToc { "+getFontS tyle(goToc Font)+"}"; | |||||
| 50 | sS tyle+=".Te xtTabIdx { "+getFontS tyle(goIdx Font)+"}"; | |||||
| 51 | sS tyle+=".Te xtTabFts { "+getFontS tyle(goFts Font)+"}"; | |||||
| 52 | sS tyle+=".Te xtTabGlo { "+getFontS tyle(goGlo Font)+"}"; | |||||
| 53 | sS tyle+="A:h over {text -decoratio n:underlin e;}"; | |||||
| 54 | sS tyle+="</S TYLE>"; | |||||
| 55 | do cument.wri te(sStyle) ; | |||||
| 56 | } | |||||
| 57 | ||||||
| 58 | function s etBackgrou ndcolor(sB gColor) | |||||
| 59 | { | |||||
| 60 | if (sBgColor! =null&&sBg Color.leng th>0) | |||||
| 61 | gsBg Color=sBgC olor; | |||||
| 62 | } | |||||
| 63 | ||||||
| 64 | function s etBackgrou nd(sBgImag e) | |||||
| 65 | { | |||||
| 66 | if (sBgImage! =null&&sBg Image.leng th>0) | |||||
| 67 | gsBg Image=sBgI mage; | |||||
| 68 | } | |||||
| 69 | ||||||
| 70 | function s electToc() | |||||
| 71 | { | |||||
| 72 | va r oMessage =new whMes sage(WH_MS G_SHOWTOC, null,null) ; | |||||
| 73 | no tify(oMess age); | |||||
| 74 | } | |||||
| 75 | ||||||
| 76 | function s electIdx() | |||||
| 77 | { | |||||
| 78 | va r oMessage =new whMes sage(WH_MS G_SHOWIDX, null,null) ; | |||||
| 79 | no tify(oMess age); | |||||
| 80 | } | |||||
| 81 | function s electFts() | |||||
| 82 | { | |||||
| 83 | va r oMessage =new whMes sage(WH_MS G_SHOWFTS, null,null) ; | |||||
| 84 | no tify(oMess age); | |||||
| 85 | } | |||||
| 86 | ||||||
| 87 | function s electGlo() | |||||
| 88 | { | |||||
| 89 | va r oMessage =new whMes sage(WH_MS G_SHOWGLO, null,null) ; | |||||
| 90 | no tify(oMess age); | |||||
| 91 | } | |||||
| 92 | ||||||
| 93 | ||||||
| 94 | function o nReceiveNo tification (oMsg) | |||||
| 95 | { | |||||
| 96 | if (oMsg) | |||||
| 97 | { | |||||
| 98 | var nMsgId=oMs g.msgId; | |||||
| 99 | if(n MsgId==WH_ MSG_SHOWTO C) | |||||
| 100 | { | |||||
| 101 | setTim eout("show TabByName( \"toc\");" ,1); | |||||
| 102 | } | |||||
| 103 | else if(nMsgId ==WH_MSG_S HOWIDX) | |||||
| 104 | { | |||||
| 105 | setTim eout("show TabByName( \"idx\");" ,1); | |||||
| 106 | } | |||||
| 107 | else if(nMsgId ==WH_MSG_S HOWFTS) | |||||
| 108 | { | |||||
| 109 | setTim eout("show TabByName( \"fts\");" ,1); | |||||
| 110 | } | |||||
| 111 | else if(nMsgId ==WH_MSG_S HOWGLO) | |||||
| 112 | { | |||||
| 113 | setTim eout("show TabByName( \"glo\");" ,1); | |||||
| 114 | } | |||||
| 115 | } | |||||
| 116 | re turn true; | |||||
| 117 | } | |||||
| 118 | ||||||
| 119 | function s howTabByNa me(sTabNam e) | |||||
| 120 | { | |||||
| 121 | fo r(var i=0; i<gPane.le ngth;i++) | |||||
| 122 | { | |||||
| 123 | if(g Pane[i]==s TabName) | |||||
| 124 | { | |||||
| 125 | showTa b(i); | |||||
| 126 | break; | |||||
| 127 | } | |||||
| 128 | } | |||||
| 129 | } | |||||
| 130 | ||||||
| 131 | function s howTab(n) | |||||
| 132 | { | |||||
| 133 | gn CurPane=n; | |||||
| 134 | if (gnTabType ==0) | |||||
| 135 | { | |||||
| 136 | if(n <gPane.len gth) | |||||
| 137 | { | |||||
| 138 | if(doc ument.imag es["TocTab "]&&docume nt.images[ "TocTab"]! =null){ | |||||
| 139 | if(gPane [n]=="toc" ) | |||||
| 140 | document.i mages["Toc Tab"].src= getBtnImag e("toc",1) ; | |||||
| 141 | else | |||||
| 142 | document.i mages["Toc Tab"].src= getBtnImag e("toc",0) ; | |||||
| 143 | } | |||||
| 144 | if(doc ument.imag es["IndexT ab"]&&docu ment.image s["IndexTa b"]!=null) { | |||||
| 145 | if(gPane [n]=="idx" ) | |||||
| 146 | document.i mages["Ind exTab"].sr c=getBtnIm age("idx", 1); | |||||
| 147 | else | |||||
| 148 | document.i mages["Ind exTab"].sr c=getBtnIm age("idx", 0); | |||||
| 149 | } | |||||
| 150 | if(doc ument.imag es["FtsTab "]&&docume nt.images[ "FtsTab"]! =null){ | |||||
| 151 | if(gPane [n]=="fts" ) | |||||
| 152 | document.i mages["Fts Tab"].src= getBtnImag e("fts",1) ; | |||||
| 153 | else | |||||
| 154 | document.i mages["Fts Tab"].src= getBtnImag e("fts",0) ; | |||||
| 155 | } | |||||
| 156 | if(doc ument.imag es["GloTab "]&&docume nt.images[ "GloTab"]! =null){ | |||||
| 157 | if(gPane [n]=="glo" ) | |||||
| 158 | document.i mages["Glo Tab"].src= getBtnImag e("glo",1) ; | |||||
| 159 | else | |||||
| 160 | document.i mages["Glo Tab"].src= getBtnImag e("glo",0) ; | |||||
| 161 | } | |||||
| 162 | } | |||||
| 163 | } | |||||
| 164 | el se if(gnTa bType==1) | |||||
| 165 | { | |||||
| 166 | } | |||||
| 167 | el se if(gnTa bType==2) | |||||
| 168 | { | |||||
| 169 | if(n <gPane.len gth) | |||||
| 170 | { | |||||
| 171 | if(doc ument.imag es["tabSel ection"]!= null) | |||||
| 172 | document .images["t abSelectio n"].src=ge tMapImage( gPane[n]); | |||||
| 173 | } | |||||
| 174 | } | |||||
| 175 | } | |||||
| 176 | ||||||
| 177 | function a ddPane(sNa me) | |||||
| 178 | { | |||||
| 179 | gP ane[gPane. length]=sN ame; | |||||
| 180 | } | |||||
| 181 | ||||||
| 182 | function s etShowPane (sName) | |||||
| 183 | { | |||||
| 184 | if (gsFirstPa ne!="") | |||||
| 185 | sNam e=gsFirstP ane; | |||||
| 186 | fo r(var i=0; i<gPane.le ngth;i++) | |||||
| 187 | { | |||||
| 188 | if(g Pane[i]==s Name) | |||||
| 189 | gShowF irst=i; | |||||
| 190 | } | |||||
| 191 | } | |||||
| 192 | ||||||
| 193 | function s electDefau ltTab() | |||||
| 194 | { | |||||
| 195 | sh owTab(gSho wFirst); | |||||
| 196 | if (document. body) | |||||
| 197 | { | |||||
| 198 | if(g sBgImage&& gsBgImage. length>0) | |||||
| 199 | { | |||||
| 200 | docume nt.body.ba ckground=g sBgImage; | |||||
| 201 | } | |||||
| 202 | if(g sBgColor&& gsBgColor. length>0) | |||||
| 203 | { | |||||
| 204 | docume nt.body.bg Color=gsBg Color; | |||||
| 205 | } | |||||
| 206 | } | |||||
| 207 | } | |||||
| 208 | ||||||
| 209 | function g etTabsHTML () | |||||
| 210 | { | |||||
| 211 | va r sHTML="" ; | |||||
| 212 | fo r(var i=0; i<gPane.le ngth;i++) | |||||
| 213 | { | |||||
| 214 | if(g nTabType== 0) | |||||
| 215 | sHTML+ =getTabHTM L(gPane[i] ); | |||||
| 216 | else if(gnTabT ype==1) | |||||
| 217 | { | |||||
| 218 | if(sHT ML.length> 0) | |||||
| 219 | { | |||||
| 220 | sHTML+=g etSeparato r(); | |||||
| 221 | } | |||||
| 222 | sHTML+ =getTabHTM LText(gPan e[i]); | |||||
| 223 | } | |||||
| 224 | ||||||
| 225 | } | |||||
| 226 | re turn sHTML ; | |||||
| 227 | } | |||||
| 228 | ||||||
| 229 | function g etSeparato r() | |||||
| 230 | { | |||||
| 231 | va r sSep=""; | |||||
| 232 | ||||||
| 233 | re turn sSep; | |||||
| 234 | } | |||||
| 235 | ||||||
| 236 | function g etTabHTML( sTabName) | |||||
| 237 | { | |||||
| 238 | if (sTabName == "toc") | |||||
| 239 | retu rn "<a tit le=\"Conte nts\" href =\"javascr ipt:void(0 );\" oncli ck=\"selec tToc();ret urn false; \" onmouse over=\"mou seOverToc( );\" onmou seout=\"mo useOutToc( );\"><img name=\"Toc Tab\" src= \"" + getB tnImage(sT abName, 0) + "\" bor der=\"0\"> </a>"; | |||||
| 240 | el se if (sTa bName =="i dx") | |||||
| 241 | retu rn "<a tit le=\"Index \" href=\" javascript :void(0);\ " onclick= \"selectId x();return false;\" onmouseove r=\"mouseO verIdx();\ " onmouseo ut=\"mouse OutIdx();\ "><img nam e=\"IndexT ab\" src=\ "" + getBt nImage(sTa bName, 0) + "\" bord er=\"0\">< /a>"; | |||||
| 242 | el se if (sTa bName == " fts") | |||||
| 243 | retu rn "<a tit le=\"Searc h\" href=\ "javascrip t:void(0); \" onclick =\"selectF ts();retur n false;\" onmouseov er=\"mouse OverFts(); \" onmouse out=\"mous eOutFts(); \"><img na me=\"FtsTa b\" src=\" " + getBtn Image(sTab Name, 0) + "\" borde r=\"0\"></ a>"; | |||||
| 244 | el se if (sTa bName == " glo") | |||||
| 245 | retu rn "<a tit le=\"Gloss ary\" href =\"javascr ipt:void(0 );\" oncli ck=\"selec tGlo();ret urn false; \"onmouseo ver=\"mous eOverGlo() ;\" onmous eout=\"mou seOutGlo() ;\"><img n ame=\"GloT ab\" src=\ "" + getBt nImage(sTa bName, 0) + "\" bord er=\"0\">< /a>"; | |||||
| 246 | re turn ""; | |||||
| 247 | } | |||||
| 248 | ||||||
| 249 | function m ouseOverTo c() | |||||
| 250 | { | |||||
| 251 | va r sImg = " "; | |||||
| 252 | if (gPane[gn CurPane] = = "toc") | |||||
| 253 | { | |||||
| 254 | sImg = getBtnI mage("toc" , 3); | |||||
| 255 | } | |||||
| 256 | el se | |||||
| 257 | { | |||||
| 258 | sImg = getBtnI mage("toc" , 2); | |||||
| 259 | } | |||||
| 260 | if (sImg.len gth > 0) | |||||
| 261 | docu ment.image s["TocTab" ].src = sI mg; | |||||
| 262 | } | |||||
| 263 | ||||||
| 264 | function m ouseOverId x() | |||||
| 265 | { | |||||
| 266 | va r sImg = " "; | |||||
| 267 | if (gPane[gn CurPane] = = "idx") | |||||
| 268 | { | |||||
| 269 | sImg = getBtnI mage("idx" , 3); | |||||
| 270 | } | |||||
| 271 | el se | |||||
| 272 | { | |||||
| 273 | sImg = getBtnI mage("idx" , 2); | |||||
| 274 | } | |||||
| 275 | if (sImg.len gth > 0) | |||||
| 276 | docu ment.image s["IndexTa b"].src = sImg; | |||||
| 277 | } | |||||
| 278 | ||||||
| 279 | function m ouseOverFt s() | |||||
| 280 | { | |||||
| 281 | va r sImg = " "; | |||||
| 282 | if (gPane[gn CurPane] = = "fts") | |||||
| 283 | { | |||||
| 284 | sImg = getBtnI mage("fts" , 3); | |||||
| 285 | } | |||||
| 286 | el se | |||||
| 287 | { | |||||
| 288 | sImg = getBtnI mage("fts" , 2); | |||||
| 289 | } | |||||
| 290 | if (sImg.len gth > 0) | |||||
| 291 | docu ment.image s["FtsTab" ].src = sI mg; | |||||
| 292 | } | |||||
| 293 | ||||||
| 294 | function m ouseOverGl o() | |||||
| 295 | { | |||||
| 296 | va r sImg = " "; | |||||
| 297 | if (gPane[gn CurPane] = = "glo") | |||||
| 298 | { | |||||
| 299 | sImg = getBtnI mage("glo" , 3); | |||||
| 300 | } | |||||
| 301 | el se | |||||
| 302 | { | |||||
| 303 | sImg = getBtnI mage("glo" , 2); | |||||
| 304 | } | |||||
| 305 | if (sImg.len gth > 0) | |||||
| 306 | docu ment.image s["GloTab" ].src = sI mg; | |||||
| 307 | } | |||||
| 308 | ||||||
| 309 | function m ouseOutToc () | |||||
| 310 | { | |||||
| 311 | va r sImg = " "; | |||||
| 312 | if (gPane[gn CurPane] = = "toc") | |||||
| 313 | { | |||||
| 314 | sImg = getBtnI mage("toc" , 1); | |||||
| 315 | } | |||||
| 316 | el se | |||||
| 317 | { | |||||
| 318 | sImg = getBtnI mage("toc" , 0); | |||||
| 319 | } | |||||
| 320 | if (sImg.len gth > 0) | |||||
| 321 | docu ment.image s["TocTab" ].src = sI mg; | |||||
| 322 | } | |||||
| 323 | ||||||
| 324 | function m ouseOutIdx () | |||||
| 325 | { | |||||
| 326 | va r sImg = " "; | |||||
| 327 | if (gPane[gn CurPane] = = "idx") | |||||
| 328 | { | |||||
| 329 | sImg = getBtnI mage("idx" , 1); | |||||
| 330 | } | |||||
| 331 | el se | |||||
| 332 | { | |||||
| 333 | sImg = getBtnI mage("idx" , 0); | |||||
| 334 | } | |||||
| 335 | if (sImg.len gth > 0) | |||||
| 336 | docu ment.image s["IndexTa b"].src = sImg; | |||||
| 337 | } | |||||
| 338 | ||||||
| 339 | function m ouseOutFts () | |||||
| 340 | { | |||||
| 341 | va r sImg = " "; | |||||
| 342 | if (gPane[gn CurPane] = = "fts") | |||||
| 343 | { | |||||
| 344 | sImg = getBtnI mage("fts" , 1); | |||||
| 345 | } | |||||
| 346 | el se | |||||
| 347 | { | |||||
| 348 | sImg = getBtnI mage("fts" , 0); | |||||
| 349 | } | |||||
| 350 | if (sImg.len gth > 0) | |||||
| 351 | docu ment.image s["FtsTab" ].src = sI mg; | |||||
| 352 | } | |||||
| 353 | ||||||
| 354 | function m ouseOutGlo () | |||||
| 355 | { | |||||
| 356 | va r sImg = " "; | |||||
| 357 | if (gPane[gn CurPane] = = "glo") | |||||
| 358 | { | |||||
| 359 | sImg = getBtnI mage("glo" , 1); | |||||
| 360 | } | |||||
| 361 | el se | |||||
| 362 | { | |||||
| 363 | sImg = getBtnI mage("glo" , 0); | |||||
| 364 | } | |||||
| 365 | if (sImg.len gth > 0) | |||||
| 366 | docu ment.image s["GloTab" ].src = sI mg; | |||||
| 367 | } | |||||
| 368 | ||||||
| 369 | function g etTabHTMLT ext(sTabNa me) | |||||
| 370 | { | |||||
| 371 | if (sTabName == "toc") | |||||
| 372 | retu rn "<a cla ss=\"TextT abToc\" hr ef=\"javas cript:void (0);\" onc lick=\"sel ectToc();r eturn fals e;\">Conte nts</a>&nb sp;"; | |||||
| 373 | el se if (sTa bName =="i dx") | |||||
| 374 | retu rn "<a cla ss=\"TextT abIdx\" hr ef=\"javas cript:void (0);\" onc lick=\"sel ectIdx();r eturn fals e;\">Index </a> "; | |||||
| 375 | el se if (sTa bName == " fts") | |||||
| 376 | retu rn "<a cla ss=\"TextT abFts\" hr ef=\"javas cript:void (0);\" onc lick=\"sel ectFts();r eturn fals e;\">Searc h</a>  ;"; | |||||
| 377 | el se if (sTa bName == " glo") | |||||
| 378 | retu rn "<a cla ss=\"TextT abGlo\" hr ef=\"javas cript:void (0);\" onc lick=\"sel ectGlo();r eturn fals e;\">Gloss ary</a>&nb sp;"; | |||||
| 379 | re turn ""; | |||||
| 380 | } | |||||
| 381 | ||||||
| 382 | function g etImageMap () | |||||
| 383 | { | |||||
| 384 | va r sHTML = "<map name =\"tabSele ctionMap\" >"; | |||||
| 385 | fo r (var i = 0; i < gP ane.length ; i ++) | |||||
| 386 | { | |||||
| 387 | sHTM L += getMa pArea(gPan e[i]); | |||||
| 388 | } | |||||
| 389 | sH TML += "</ map>"; | |||||
| 390 | re turn sHTML ; | |||||
| 391 | } | |||||
| 392 | ||||||
| 393 | function g etMapArea( sTabName) | |||||
| 394 | { | |||||
| 395 | if (sTabName == "toc") | |||||
| 396 | retu rn "<area title=\"Co ntents\" s hape=\"\" coords=\"\ " href=\"j avascript: void(0);\" onclick=\ "selectToc ();return false;\">" ; | |||||
| 397 | el se if (sTa bName =="i dx") | |||||
| 398 | retu rn "<area title=\"In dex\" shap e=\"\" coo rds=\"\" h ref=\"java script:voi d(0);\" on click=\"se lectIdx(); return fal se;\">"; | |||||
| 399 | el se if (sTa bName == " fts") | |||||
| 400 | retu rn "<area title=\"Se arch\" sha pe=\"\" co ords=\"\" href=\"jav ascript:vo id(0);\" o nclick=\"s electFts() ;return fa lse;\">"; | |||||
| 401 | el se if (sTa bName == " glo") | |||||
| 402 | retu rn "<area title=\"Gl ossary\" s hape=\"\" coords=\"\ " href=\"j avascript: void(0);\" onclick=\ "selectGlo ();return false;\">" ; | |||||
| 403 | re turn ""; | |||||
| 404 | } | |||||
| 405 | ||||||
| 406 | function g etBtnImage (sTabName, nStatus) | |||||
| 407 | { | |||||
| 408 | if (sTabName == "toc") | |||||
| 409 | { | |||||
| 410 | if ( nStatus == 0) | |||||
| 411 | return "whd_tab2 .gif"; | |||||
| 412 | else if (nStat us == 1) | |||||
| 413 | return "whd_tab1 .gif"; | |||||
| 414 | else if (nStat us == 2) | |||||
| 415 | return ""; | |||||
| 416 | else if (nStat us == 3) | |||||
| 417 | return ""; | |||||
| 418 | } | |||||
| 419 | el se if (sTa bName =="i dx") | |||||
| 420 | { | |||||
| 421 | if ( nStatus == 0) | |||||
| 422 | return "whd_tab4 .gif"; | |||||
| 423 | else if (nStat us == 1) | |||||
| 424 | return "whd_tab3 .gif"; | |||||
| 425 | else if (nStat us == 2) | |||||
| 426 | return ""; | |||||
| 427 | else if (nStat us == 3) | |||||
| 428 | return ""; | |||||
| 429 | } | |||||
| 430 | el se if (sTa bName == " fts") | |||||
| 431 | { | |||||
| 432 | if ( nStatus == 0) | |||||
| 433 | return "whd_tab6 .gif"; | |||||
| 434 | else if (nStat us == 1) | |||||
| 435 | return "whd_tab5 .gif"; | |||||
| 436 | else if (nStat us == 2) | |||||
| 437 | return ""; | |||||
| 438 | else if (nStat us == 3) | |||||
| 439 | return ""; | |||||
| 440 | } | |||||
| 441 | el se if (sTa bName == " glo") | |||||
| 442 | { | |||||
| 443 | if ( nStatus == 0) | |||||
| 444 | return "whd_tab8 .gif"; | |||||
| 445 | else if (nStat us == 1) | |||||
| 446 | return "whd_tab7 .gif"; | |||||
| 447 | else if (nStat us == 2) | |||||
| 448 | return ""; | |||||
| 449 | else if (nStat us == 3) | |||||
| 450 | return ""; | |||||
| 451 | } | |||||
| 452 | re turn ""; | |||||
| 453 | } | |||||
| 454 | ||||||
| 455 | function g etMapImage (sTabName) | |||||
| 456 | { | |||||
| 457 | if (sTabName == "toc") | |||||
| 458 | retu rn ""; | |||||
| 459 | el se if (sTa bName =="i dx") | |||||
| 460 | retu rn ""; | |||||
| 461 | el se if (sTa bName == " fts") | |||||
| 462 | retu rn ""; | |||||
| 463 | el se if (sTa bName == " glo") | |||||
| 464 | retu rn ""; | |||||
| 465 | re turn ""; | |||||
| 466 | } | |||||
| 467 | ||||||
| 468 | if(window. gbWhUtil&& window.gbW hMsg&&wind ow.gbWhVer &&window.g bWhProxy) | |||||
| 469 | { | |||||
| 470 | wi ndow.onloa d = select DefaultTab ; | |||||
| 471 | re gisterList ener2(WH_M SG_SHOWTOC ); | |||||
| 472 | re gisterList ener2(WH_M SG_SHOWIDX ); | |||||
| 473 | re gisterList ener2(WH_M SG_SHOWFTS ); | |||||
| 474 | re gisterList ener2(WH_M SG_SHOWGLO ); | |||||
| 475 | wi ndow.onunl oad = wind ow_unload; | |||||
| 476 | go TocFont=ne w whFont(" Arial","9p t","#00000 0","normal ","normal" ,"none"); | |||||
| 477 | go IdxFont=ne w whFont(" Arial","9p t","#00000 0","normal ","normal" ,"none"); | |||||
| 478 | go FtsFont=ne w whFont(" Arial","9p t","#00000 0","normal ","normal" ,"none"); | |||||
| 479 | go GloFont=ne w whFont(" Arial","9p t","#00000 0","normal ","normal" ,"none"); | |||||
| 480 | ||||||
| 481 | if (navigato r.currentN avPen) | |||||
| 482 | gsFi rstPane = navigator. currentNav Pen; | |||||
| 483 | ||||||
| 484 | se tBackgroun dcolor("") ; | |||||
| 485 | se tBackgroun d("whd_tab 0.gif"); | |||||
| 486 | ||||||
| 487 | ||||||
| 488 | ||||||
| 489 | ||||||
| 490 | addPane("t oc","whtdh tml.htm"); | |||||
| 491 | setShowP ane("toc") ; | |||||
| 492 | ||||||
| 493 | ||||||
| 494 | gn TabType = 0; // 0 bu tton. // 1 text. // 2 image ma pping. | |||||
| 495 | To cWriteClas sStyle(); | |||||
| 496 | va r sHTML = "<body scr oll=\"no\" bgcolor=\ "#c0c0c0\" backgr ound=\"whd _tab0.gif\ " style=\" margin-top :0;margin- bottom:0;m argin-left :0;margin- right:0\"> "; | |||||
| 497 | if (gPane.le ngth > 0) | |||||
| 498 | { | |||||
| 499 | if ( gnTabType == 0 || gn TabType == 1) | |||||
| 500 | { | |||||
| 501 | sHTML += "<table width=\"1 00%\">"; | |||||
| 502 | sHTML += "<tr>"; | |||||
| 503 | sHTML += "<td>"; | |||||
| 504 | sHTML += "<nobr> "; | |||||
| 505 | sHTML += getTabs HTML(); | |||||
| 506 | sHTML += "</nobr ></td></tr >"; | |||||
| 507 | sHTML += " <tr>< td height= \"2\"></td ></tr>"; | |||||
| 508 | sHTML += "</tabl e>"; | |||||
| 509 | } | |||||
| 510 | else if (gnTab Type == 2) | |||||
| 511 | { | |||||
| 512 | sHTML += getImag eMap(); | |||||
| 513 | sHTML +="<img na me=\"tabSe lection\" src=\"" + getMapImag e(gPane[0] ) + "\" x- maintain-r atio=\"tru e\" usemap =\"#tabSel ectionMap\ ""; | |||||
| 514 | if (gb IE) | |||||
| 515 | sHTML += " style=\" border: no ne; width: px; height :px; float : none;\"" ; | |||||
| 516 | sHTML +=" width= \"\" heigh t=\"\" bor der=\"0\"> "; | |||||
| 517 | } | |||||
| 518 | } | |||||
| 519 | sH TML += "</ body>"; | |||||
| 520 | do cument.wri te(sHTML); | |||||
| 521 | } | |||||
| 522 | else | |||||
| 523 | do cument.loc ation.relo ad(); | |||||
| 524 | ||||||
| 525 | if (window .gbNav6) | |||||
| 526 | { | |||||
| 527 | va r oMsg=new whMessage (WH_MSG_RE LOADNS6,nu ll,null); | |||||
| 528 | no tify(oMsg) ; | |||||
| 529 | } | |||||
| 530 | //--> | |||||
| 531 | </script> | |||||
| 532 | </HTML> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.