// eHelp® Corporation Dynamic HTML JavaScript // Copyright© 1998-2001 eHelp® Corporation.All rights reserved. // Version=4.57 // Warning:Do not modify this file.It is generated by RoboHELP® and changes will be overwritten. //// Segment Begin -- (JavaScript 1.0) /// Section Begin - General and relative topics(JavaScript 1.0) //{{HH_SYMBOL_SECTION var HH_ChmFilename = ""; var HH_WindowName = ""; var HH_GlossaryFont = ""; var HH_Glossary = ""; var HH_Avenue = ""; var HH_ActiveX = false; //}}HH_SYMBOL_SECTION //Begin to support previous generic parameters //Get the information about the browser. var gstrBsAgent = navigator.userAgent.toLowerCase(); var gnBsVer = parseInt(navigator.appVersion); var gbBsIE = (gstrBsAgent.indexOf('msie') != -1); var gbBsNS = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)); var gbBsOpera = (gstrBsAgent.indexOf('opera') != -1); var gbBsIE3Before = ((gbBsIE) && (gnBsVer <= 2)); var gbBsNS3Before = ((gbBsNS) && (gnBsVer <= 3)); var gbBsNS2 = ((gbBsNS) && (gnBsVer <= 2)); var gbBsNS3 = ((gbBsNS) && (gnBsVer == 3)); var gbBsIE300301 = ((gbBsIE) && (gnBsVer == 2) && ((gstrBsAgent.indexOf("3.00") != -1)||(gstrBsAgent.indexOf("3.0a") != -1)||(gstrBsAgent.indexOf("3.0b")!=-1)||(gstrBsAgent.indexOf("3.01")!=-1))); var gbBsIE302 = ((gbBsIE) && (gnBsVer == 2) && (gstrBsAgent.indexOf("3.02") != -1)); var gbBsNS4 = ((gbBsNS) && (gnBsVer >= 4)); var gbBsNS6 = ((gbBsNS) && (gnBsVer >= 5)); var gbBsIE4 = ((gbBsIE) && (gnBsVer >= 4)); var gbBsIE5 = false; var gbBsIE55 = false; gbBsIE = (navigator.appName.indexOf("Microsoft") != -1); if (parseInt(navigator.appVersion) >= 4) { gbBsIE4 = (navigator.appName.indexOf("Microsoft") != -1); if (gbBsIE4) { var nPos = gstrBsAgent.indexOf("msie"); var strIEversion = gstrBsAgent.substring(nPos + 5); var nVersion = parseFloat(strIEversion); if (nVersion >= 5) gbBsIE5 = true; if (nVersion >= 5.5) gbBsIE55 = true; } } var gbBsMac = (gstrBsAgent.indexOf('mac') != -1); var gbBsWindows = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1)); var gbBsOp3 = (gstrBsAgent.indexOf('opera') != -1); // Utilities functions. function BsscHasExtJs() { if( gbBsIE3Before || gbBsNS3Before) return false; return true; } // Register event handler var gBsOnLoads = new Array(); // An array holds all the onload event handler. var gBsOnClicks = new Array(); // An array holds all the onClick event handler. var gBsOnUnLoads = new Array(); // An array holds all the OnUnLoad event handler. var gBsOnMouseOvers = new Array(); // An array holds all the OnMouseOver event handler. var gBsOnMouseOuts = new Array(); // An array holds all the OnMouseOut event handler. var gbOrignalOnMouseDown = null; function BsscRegisterOnLoad(funcHandler) { var nLength = gBsOnLoads.length; gBsOnLoads[nLength] = funcHandler; } function BsscRegisterOnClick(funcHandler) { var nLength = gBsOnClicks.length; gBsOnClicks[nLength] = funcHandler; } function BsscRegisterOnUnLoad(funcHandler) { var nLength = gBsOnUnLoads.length; gBsOnUnLoads[nLength] = funcHandler; } function BsscRegisterOnMouseOver(funcHandler) { var nLength = gBsOnMouseOvers.length; gBsOnMouseOvers[nLength] = funcHandler; } function BsscRegisterOnMouseOut(funcHandler) { var nLength = gBsOnMouseOuts.length; gBsOnMouseOuts[nLength] = funcHandler; } function BsGeneralOnLoad() { if (!gbBsIE4 && !gbBsNS4) return; // Make everything visible in navigator if (gbBsNS4 && !gbBsNS6) { // Make some special effects items visible for (var iLayer = 0; iLayer < document.layers.length; iLayer++) { document.layers[iLayer].visibility = "show"; document.layers[iLayer].left = 0; } } } // If resize the netscape browser, need to reload it. function BsReDo() { if (innerWidth != origWidth || innerHeight != origHeight) location.reload(); } // End of the local functions. // The following functions are used by the html files. function BSSCOnLoad() { if( !BsscHasExtJs() ) return; for (var nElement = gBsOnLoads.length - 1; nElement >= 0; nElement--) gBsOnLoads[nElement](); } function BSSCOnClick() { if (!BsscHasExtJs()) return; for (var nElement = gBsOnClicks.length - 1; nElement >= 0; nElement--) gBsOnClicks[nElement](); } function BSSCOnUnload() { if (!BsscHasExtJs()) return; for (var nElement = gBsOnUnLoads.length - 1; nElement >= 0; nElement--) { gBsOnUnLoads[nElement](); } } function BSSCOnMouseOver() { if (!BsscHasExtJs()) return; for (var nElement = gBsOnMouseOvers.length - 1; nElement >= 0; nElement--) { gBsOnMouseOvers[nElement](); } } function BSSCOnMouseOut() { if (!BsscHasExtJs()) return; for (var nElement = gBsOnMouseOuts.length - 1; nElement >= 0; nElement--) { gBsOnMouseOuts[nElement](); } } // End of invocation of the event handle functions. // Add the GereralOnLoad to the onload array. if (typeof(BsscRegisterOnLoad) != "undefined") { BsscRegisterOnLoad(BsGeneralOnLoad); } if (gbBsNS4&&!gbBsNS6) { origWidth = innerWidth; origHeight = innerHeight; onresize = BsReDo; } //End to support previous generic parameters //Begin to support previous HHActiveX invoking function BsHHActivateComponents() { if( HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0]))) { var objBody = document.all.tags("BODY")[0]; if( typeof(objBody) == "object" ) { objBody.insertAdjacentHTML("beforeEnd", ''); if (HHComponentActivator.object) HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue); } } } function BsHHActivXOnLoad() { if( gbBsIE4 ) BsHHActivateComponents(); } if( typeof(BsscRegisterOnLoad) != "undefined" ) { BsscRegisterOnLoad(BsHHActivXOnLoad); } //End to support previous HHActiveX invoking //Begin to support previous relative topics //If webHelp needs Related Topics DHTMLcode, it's supposed to add it here var gbPopupMenuTimeoutExpired = false; var gbInPopupMenu = false; var gbPopupMenuTopicList = null; var gOlddocumentClick = null; ////////////////////////////////////////////////////////////////////////////////////////// // // Popup Menu code // ////////////////////////////////////////////////////////////////////////////////////////// var g_bIsPopupMenuInit = false; function _WritePopupMenuLayer() { if (!g_bIsPopupMenuInit) { if (gbBsNS4) { //Do not try to write ininle styles for NS! NS can not handle it and will not stop downloading the html page... if (gbBsNS6) document.write("
"); else document.write(""); } else{ document.write(""); if (gbBsIE4) { document.write(""); } } g_bIsPopupMenuInit = true; } } //Define variable arguments as: strTitle, strUrl function MTE() { this.strTitle = MTE.arguments[0]; if (MTE.arguments.length > 1) this.strURL = MTE.arguments[1]; else this.strURL = this.strTitle; } // If the topic list is set, it is an array of TopicEntry objects (defined in WebHelp3.js) function PopupMenu_SetTopicList(aPopupTopicArray) { gbPopupMenuTopicList = aPopupTopicArray; } //Seek for the bsscright frame function _SeekFrameByName( cRoot, strName ) { if( cRoot == null ) return null; if( cRoot.frames == null ) return null; if( cRoot.frames[strName] != null ) return cRoot.frames[strName]; for (var i=0; i