3 <title>Glossary</title>
5 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
6 <meta name="description" content="WebHelp 5.50">
8 <body bgcolor=#c0c0c0 scroll=no RIGHTMARGIN=0 BOTTOMMARGIN=0 TOPMARGIN=0 LEFTMARGIN=0>
9 <script language="javascript" src="whver.js"></script>
10 <script language="javascript1.2" src="whmozemu.js"></script>
11 <script language="javascript1.2" src="whmsg.js"></script>
12 <script language="javascript1.2" src="whutils.js"></script>
13 <script language="javascript1.2" src="whproxy.js"></script>
14 <script language="javascript1.2">
20 function setBackground(sBgImage)
25 function setBackgroundcolor(sBgColor)
30 function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
32 var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
37 function getTermText()
39 var strString="Term:";
44 function getDefinitionText()
46 var strString="Definition for:";
47 strString = "Definition:";
54 sHTML+="<P class=title><nobr> " + getTermText() + "</nobr></p>";
55 sHTML+="<iframe id=glossaryIFrame title=\"glossary term\" src=\"whgbody.htm\" width=100% height=200 MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";
56 sHTML+="<P class=title><nobr> " + getDefinitionText() + " <b id=Name></b></nobr></p>";
57 sHTML+="<iframe id=defIFrame title=\"glossary definition\" src=\"whgdef.htm\" width=100% height=100% MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";
63 var sStyle="<style type='text/css'>";
64 sStyle+="p.title {" + getFontStyle(goTitleFont) + "margin-top:4;margin-bottom:4}\n";
66 sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
68 sStyle+="body {border-top:black 1px solid;}\n";
70 document.write(sStyle);
74 function window_OnResize()
79 function window_OnLoad()
81 if(gsBgImage&&gsBgImage.length>0)
82 document.body.background=gsBgImage;
83 if(gsBgColor&&gsBgColor.length>0)
84 document.body.bgColor=gsBgColor;
88 function setIFrameHeight()
93 tH=parseInt(window.innerHeight)-30;
97 tH=parseInt(document.body.clientHeight)-4;
100 var oEle=getElement("glossaryIFrame");
103 tH=tH-2*parseInt(oEle.offsetTop);
106 oEle.style.height=Math.floor(tH*.6);
107 var oEleDef=getElement("defIFrame");
110 oEleDef.style.height=tH-parseInt(oEle.style.height);
116 function window_Unload()
118 UnRegisterListener2(this,WH_MSG_SHOWGLODEF);
121 function onSendMessage(oMsg)
123 var nMsgId=oMsg.nMessageId;
124 if(nMsgId==WH_MSG_SHOWGLODEF)
126 if(getElement("Name"))
127 getElement("Name").innerHTML=oMsg.oParam.sName;
132 if(window.gbWhVer&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy)
134 goTitleFont=new whFont("Arial","9pt","#000000","normal","normal","none");
135 setFont("Title", "Arial","9pt","#000000","normal","normal","none");
138 window.onresize=window_OnResize;
139 window.onload=window_OnLoad;
140 window.onunload=window_Unload;
141 RegisterListener2(this,WH_MSG_SHOWGLODEF);
143 document.write(getHTML());
146 document.location.reload();