// Dynamic HTML JavaScript // Copyright © 1998-2012 Adobe Systems Incorporated. All rights reserved. // Version=9.0 // Warning:Do not modify this file. It is generated by Adobe 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 gbBsOpera = (gstrBsAgent.indexOf('opera') != -1); var gbBsKonqueror = (gstrBsAgent.indexOf('konqueror') != -1); var gbBsSafari = (gstrBsAgent.indexOf('safari') != -1); var gbBsIE = (gstrBsAgent.indexOf('msie') != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; var gbBsNS = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; var gbBsMac = (gstrBsAgent.indexOf('mac') != -1); var gbBsWindows = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1)); var gbBsSunOS = (gstrBsAgent.indexOf("sunos") != -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 gbBsNS7 = false; var gbBsIE4 = ((gbBsIE) && (gnBsVer >= 4)); var gbBsIE5 = false; var gbBsIE55 = false; var gbBsIE7 = false; var gbBsOpera6 = false; var gbBsOpera7 = false; var gbBsKonqueror3 = false; var gbSafari3 = false ; var gbAIR = (gstrBsAgent.indexOf('adobeair')!=-1); var gbChrome = (gstrBsAgent.indexOf('chrome')!=-1); var isLocal = document.location.protocol.substring(0, 4) == "file"; var gbChromeLocal = window.chrome && isLocal ; var gbInsideCHM = document.location.href.search("::")>0 && document.location.href.search("chm")>0; var gbBsIsMobile = (gstrBsAgent.indexOf("mobile") != -1); if(gbBsIsMobile == false) { gbBsIsMobile = isTouchDevice(); } function isTouchDevice() { return !!('ontouchstart' in window) ? 1 : 0; } gbBsIE = (navigator.appName.indexOf("Microsoft") != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;; if (gbBsIE) { if (parseInt(navigator.appVersion) >= 4) { gbBsIE4 = true; 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) { if(nVersion >= 7) gbBsIE7 = true; gbBsIE55 = true; } } } } if (gbBsNS6) { var nPos=gstrBsAgent.indexOf("gecko"); if(nPos!=-1) { var nPos2=gstrBsAgent.indexOf("/", nPos); if(nPos2!=-1) { var nVersion=parseFloat(gstrBsAgent.substring(nPos2+1)); if (nVersion>=20020823) gbBsNS7=true; } } } if (gbBsOpera) { var nPos = gstrBsAgent.indexOf("opera"); if(nPos!=-1) { var nVersion = parseFloat(gstrBsAgent.substring(nPos+6)); if (nVersion >= 6) { gbBsOpera6=true; if (nVersion >=7) gbBsOpera7=true; } } } if (gbBsKonqueror) { var nPos = gstrBsAgent.indexOf("konqueror"); if(nPos!=-1) { var nVersion = parseFloat(gstrBsAgent.substring(nPos+10)); if (nVersion >= 3) { gbBsKonqueror3=true; } } } if(gbBsSafari) { var nPos = gstrBsAgent.indexOf("version/"); if(nPos!=-1) { var nVersion = parseFloat(gstrBsAgent.substring(nPos+8,nPos+9)); if (nVersion >= 3) { gbSafari3=true; } } } if(gbChrome) { //for the time being use same tests as safari gbBsSafari = true ; gbSafari3 = true; } function insertAdjacentHTML(obj, where, htmlStr) { if (gbBsIE || gbBsOpera7) { obj.insertAdjacentHTML(where, htmlStr); } else if (gbBsNS6 || gbBsSafari) { var r = obj.ownerDocument.createRange(); r.setStartBefore(obj); var parsedHTML = r.createContextualFragment(htmlStr); switch (where){ case 'beforeBegin': obj.parentNode.insertBefore(parsedHTML,obj); break; case 'afterBegin': obj.insertBefore(parsedHTML,obj.firstChild); break; case 'beforeEnd': obj.appendChild(parsedHTML); break; case 'afterEnd': if (obj.nextSibling){ obj.parentNode.insertBefore(parsedHTML,obj.nextSibling); } else { obj.parentNode.appendChild(parsedHTML); } break; } } } function setAttribute(obj, attr, val) { if (gbBsIE) obj.setAttribute(attr,val); else { if (obj.setAttribute) obj.setAttribute(attr,val); else obj.setProperty(attr,val,null); } }; function getAttribute(obj, attr) { if (gbBsIE) return obj.getAttribute(attr); else { if ((obj.getAttribute)&&(obj.getAttribute(attr))) return obj.getAttribute(attr); else if ((obj.getPropertyValue)&&(obj.getPropertyValue(attr))) return obj.getPropertyValue(attr) ; else if ((obj.getPropertyCSSValue)&&(obj.getPropertyCSSValue(attr))) return obj.getPropertyCSSValue(attr) ; else return null ; } }; // 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) { // // Make some special effects items visible // var arr ; // if (gbBsNS6) // arr = document.getElementsByTagName('*'); // else // arr = document.layers ; // for (var iLayer = 0; iLayer < arr.length; iLayer++) { // arr[iLayer].visibility = "visible"; // arr[iLayer].left = 0 + 'px'; // } // } } // 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(event) { if( !BsscHasExtJs() ) return; for (var nElement = gBsOnLoads.length - 1; nElement >= 0; nElement--) gBsOnLoads[nElement](); } function BSSCOnClick(event) { if (!BsscHasExtJs()) return; for (var nElement = gBsOnClicks.length - 1; nElement >= 0; nElement--) gBsOnClicks[nElement](); } function BSSCOnUnload(event) { if (!BsscHasExtJs()) return; for (var nElement = gBsOnUnLoads.length - 1; nElement >= 0; nElement--) gBsOnUnLoads[nElement](); } function BSSCOnMouseOver(event) { if (!BsscHasExtJs()) return; for (var nElement = gBsOnMouseOvers.length - 1; nElement >= 0; nElement--) gBsOnMouseOvers[nElement](); } function BSSCOnMouseOut(event) { 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 = getElementsByTag(document,"BODY")[0]; if( typeof(objBody) == "object" ) { insertAdjacentHTML(objBody, "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&&!gbBsNS6) { //Do not try to write ininle styles for NS! NS can not handle it and will not stop downloading the html page... document.write("
"); } else{ document.write(""); if (!(gbBsNS4&&!gbBsNS6)) { document.write(""); } } g_bIsPopupMenuInit = true; } } //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