RegisterListener2(this, WH_MSG_GETSTARTFRAME); RegisterListener2(this, WH_MSG_GETDEFAULTTOPIC); RegisterListener2(this, WH_MSG_MINIBARORDER); RegisterListener2(this, WH_MSG_TOOLBARORDER); RegisterListener2(this, WH_MSG_ISSEARCHSUPPORT); RegisterListener2(this, WH_MSG_ISSYNCSSUPPORT); RegisterListener2(this, WH_MSG_ISAVENUESUPPORT); RegisterListener2(this, WH_MSG_GETPANETYPE); RegisterListener2(this, WH_MSG_GETPANES); RegisterListener2(this, WH_MSG_RELOADNS6); if (gbNav6) { var gnReload=0; setTimeout("delayReload();",5000); } function delayReload() { if(!gnReload) { if(nViewFrameType&&nViewFrameType==1) document.location=document.location; } } var gsToolbarOrder = "toc|fts|glo|blankblock|banner"; var gsMinibarOrder = "blankblock|hide2|"; var gsTopic = "files/introduction_to_geom.htm"; if (location.hash.length > 1) gsTopic = location.hash.substring(1); function setToolbarOrder(sOrder) { gsToolbarOrder = sOrder; } function setMinibarOrder(sOrder) { gsMinibarOrder = sOrder; } function onSendMessageX(oMsg) { var nMsgId = oMsg.nMessageId; if (nMsgId == WH_MSG_GETSTARTFRAME) { oMsg.oParam.oFrame = this; return false; } else if (nMsgId == WH_MSG_GETDEFAULTTOPIC) { if (this.cMRServer && cMRServer.m_strVersion) { if (cMRServer.m_strURLTopic); { oMsg.oParam.sTopic = cMRServer.m_strURLTopic; return false; } } oMsg.oParam.sTopic = gsTopic; return false; } else if (nMsgId == WH_MSG_TOOLBARORDER) { var oMsg1 = new whMessage(WH_MSG_GETPANES, this, 1, null); if (SendMessage(oMsg1)) { if (oMsg1.oParam) { if (this.cMRServer && cMRServer.m_strVersion) { var aToolbarOrder=cMRServer.m_strAgentList.split(";"); var i=0; for (i=0;i