./doc/Makefile \
./doc/salome/Makefile \
./doc/salome/gui/Makefile \
+ ./doc/salome/gui/VISU/doxyfile \
+ ./doc/salome/gui/VISU/doxyfile_idl \
./doc/salome/tui/Makefile \
./doc/salome/tui/VISU/doxyfile \
./doc/salome/tui/VISU/sources/static/tree.js \
EXTRA_DIST+=VISU
+doxygen=@DOXYGEN@
+
usr_docs:
- cp -fr $(srcdir)/VISU ./
- -find $(PWD) -name CVS -prune -exec rm -rf {} \;
+ cd ./VISU; \
+ echo "Processing VISU_Gen.idl file: "; \
+ $(doxygen) ./doxyfile_idl; \
+ echo "Running doxygen in directory: "`pwd`; \
+ $(doxygen) ./doxyfile;
docs: usr_docs
uninstall-local:
rm -rf $(docdir)/gui/VISU
+
+docguidir=$(docdir)/gui/VISU
+
+nodist_docgui_DATA= VISU/doxyfile
+nodist_docgui_DATA+= VISU/doxyfile_idl
+EXTRA_DIST+= VISU/doxyfile.in
+EXTRA_DIST+= VISU/doxyfile_idl.in
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Animation in Gauss Viewer</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-img_whs2 { border:none; width:28px; height:27px; float:none; border-style:none; }
-p.whs3 { margin-left:40px; }
-img_whs4 { border:none; width:452px; height:251px; float:none; border-style:none; }
-img_whs5 { border:none; width:308px; height:261px; float:none; border-style:none; }
-ul.whs6 { list-style:disc; }
-p.whs7 { font-weight:bold; }
-p.whs8 { text-align:justify; font-weight:bold; margin-left:38px; }
-p.whs9 { text-align:justify; font-weight:bold; margin-left:76px; }
-img_whs10 { border:none; width:28px; height:28px; float:none; border-style:none; }
-img_whs11 { border:none; width:27px; height:25px; float:none; border-style:none; }
-p.whs12 { font-family:'Times New Roman' , serif; margin-left:40px; color:#000000; font-style:normal; }
-p.whs13 { font-family:'Times New Roman' , serif; margin-left:0px; background-image:url('texture_horiz_ltbluebubbles.jpg'); }
-img_whs14 { border:none; float:none; width:36px; height:38px; border-style:none; }
-p.whs15 { font-family:'Courier New' , monospace; margin-left:0px; background-image:url('../KERNEL/Texture_horiz_ltbluebubbles.jpg'); }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs13 {margin-left:1pt; }";
- strNSS += "p.whs15 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nRecording in Gauss Viewer");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Recording in Gauss Viewer</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"></B></span>In the addition
- to the <a href="files/animating_presentations.htm" style="font-weight: bold;">Animation</a> at Time stamps available
- for all Post-Pro presentations, <span style="font-weight: bold;"><B>Gauss
- Viewer</B></span> gives the possibility to record AVI clips of user actions.
- This functionality is available at any time for all contents of the 3D
- Viewer, including Animation or Segmentation.</p>
-
-<p> </p>
-
-<p>To start the video recording session click <span style="font-weight: bold;"><B>Start</B></span>
- <img src="pics/image102.gif" x-maintain-ratio="TRUE" width="28px" height="27px" border="0" class="img_whs2"> button.
- After it you will see a standard dialog box allowing input the file name
- for AVI clip and browse for the location. </p>
-
-<p> </p>
-
-<p class="whs3"><img src="pics/recordingsaveas.png" x-maintain-ratio="TRUE" width="452px" height="251px" border="0" class="img_whs4"></p>
-
-<p> </p>
-
-<p>Then you'll be asked to define <span style="font-weight: bold;"><B>Recording
- Properties:</B></span></p>
-
-<p> </p>
-
-<p class="whs3"><img src="pics/recording.png" x-maintain-ratio="TRUE" width="308px" height="261px" border="0" class="img_whs5"></p>
-
-<p> </p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p class="whs7">Settings</p></li>
-</ul>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p class="whs8">Save to file - <span
- style="font-weight: normal;">you can change the name of the file you've
- chosen for saving.</span></p></li>
-
- <li class=kadov-p><p class="whs8">Mode - <span style="font-weight: normal;">allows
- to choose from</span> <span style="font-weight: normal;">two recording
- regimes:</span></p></li>
-
- <li class=kadov-p><p class="whs9">Recording all displayed
- frames - <span style="font-weight: normal;">records exactly at the FPS
- rate specified by the user.</span> </p></li>
-
- <li class=kadov-p><p class="whs9">Recording at a given
- FPS - <span style="font-weight: normal;">records only when the contents
- of the viewer change (some activity is performed). In
- the AVI file non-recorded images are substituted with the copies of the
- latest recorded image, which produces files with lower quality but requires
- less system resources.</span> </p></li>
-
- <li class=kadov-p><p class="whs8">FPS - <span style="font-weight: normal;">allows
- to define the FPS (frames per second) rate for the clip. Set greater value
- for better quality. </span></p></li>
-
- <li class=kadov-p><p class="whs8">Quality - <span style="font-weight: normal;">allows
- to set the quality of the clip in the interval between 0 and 100.</span>
- </p></li>
-
- <li class=kadov-p><p class="whs8">Progressive - <span
- style="font-weight: normal;">allows to record a progressive API file.</span>
- </p></li>
-</ul>
-
-<p> </p>
-
-<p>After you click <span style="font-weight: bold;"><B>OK</B></span>, the recording
- will start and all your actions in the viewer will be recorded.</p>
-
-<p>Note that if you change the size of the 3D viewer window, the avi file
- would be corrupt. </p>
-
-<p> </p>
-
-<p>Press <span style="font-weight: bold;"><B>Stop</B></span> <img src="pics/image105.gif" x-maintain-ratio="TRUE" width="28px" height="28px" border="0" class="img_whs10"> button
- to finish video recording or <span style="font-weight: bold;"><B>Pause</B></span>
- <img src="pics/image104.gif" x-maintain-ratio="TRUE" width="27px" height="25px" border="0" class="img_whs11"> button to suspend it. If the recording is just paused,
- you can always continue it by clicking <span style="font-weight: bold;"><B>Play</B></span>
- <img src="pics/image103.gif" x-maintain-ratio="TRUE" width="28px" height="28px" border="0" class="img_whs10"> button. </p>
-
-<p class="whs12"> </p>
-
-<p class="whs13"><img src="note1.gif" x-maintain-ratio="TRUE" width="36px" height="38px" border="0" class="img_whs14"> This functionality works
- only if there is <span style="font-weight: bold;"><B>jpeg2yuv</B></span> utility
- installed on your computer. If this third-party product is missing, the
- <span style="font-weight: bold;"><B>Recording</B></span> buttons will be disabled.
- This utility is a part of <span style="font-weight: bold;"><B>mjpegtool</B></span>
- package, which can be downloaded from <a class=moz-txt-link-freetext
- href="http://mjpeg.sourceforge.net/">http://mjpeg.sourceforge.net/</a>.
- Run "<span
- style="font-family: 'Lucida Console', monospace;">which jpeg2yuv"</span>
- to check whether this tool has been installed and the path to it was properly
- added to your PATH variable. If not, you need to activate <span style="font-weight: bold;"><B>mjpegtools
- </B></span>indicating its location in the variable PATH. The syntax of the
- command should be as follows: <span style="font-weight: bold;"><B> </B></span></p>
-
-<p class="whs15"><span
- style="font-family: 'Lucida Console', monospace;">export PATH=${INSTALL_ROOT}/mjpegtools-1.8.0/bin:${PATH}.</span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Clipping</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-p.whs1 { margin-left:40px; }
-img_whs2 { border:none; width:332px; height:376px; float:none; border-style:none; }
-ul.whs3 { list-style:disc; }
--->
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nViewing 3D presentations\nClipping ");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Clipping</h1>
-
-<p>Using this menu you can create cross-section views (clipping planes)
- of your presentation.</p>
-
-<p> </p>
-
-<p>To start, click on the <span style="font-weight: bold;"><B>New</B></span> button.
- A new clipping plane will be immediately displayed in 3D Viewer. You can
- create as many clipping planes as you need. To delete an unwanted plane,
- select in the list of planes and click <span style="font-weight: bold;"><B>Delete</B></span>
- button. </p>
-
-<p> </p>
-
-<p class="whs1"><img src="pics/clipping1.png" x-maintain-ratio="TRUE" width="332px" height="376px" border="0" class="img_whs2"></p>
-
-<p> </p>
-
-<p>Now you can define the parameters of your cross-section. You can define
- them either in <span style="font-weight: bold;"><B>Non Structured</B></span>
- or in <span style="font-weight: bold;"><B>IJK (Structured)</B></span> way. </p>
-
-<p> </p>
-
-<p><span style="font-weight: bold;"><B>Non Structured</B></span> mode allows to
- select the clipping plane by adjusting the following parameters:</p>
-
-<p> </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Orientation</B></span>
- - allows to choose horizontal (X-Y) or vertical (Y-Z and Z-X) orientation
- of the clipping plane;</p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Distance </B></span>is
- defined<span style="font-weight: bold;"> <B></B></span>between the opposite extremities
- of the object (if it is set to 0.5 the object is split in two halves);
- </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Rotation</B></span>
- (in angle degrees) allows to rotate the clipping plane about the axes
- defining the orientation plane. </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Show preview</B></span>
- - displays the clipping plane in the 3D Viewer.<span style="font-weight: bold;">
- <B></B></span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Auto Apply -</B></span>
- automatically<span style="font-weight: bold;"> <B></B></span>hides from view
- the part of object truncated by the plane.</p></li>
-</ul>
-
-<p> </p>
-
-<p class="whs1"><img src="pics/clipping2.png" x-maintain-ratio="TRUE" width="332px" height="376px" border="0" class="img_whs2"></p>
-
-<p> </p>
-
-<p>In the <span style="font-weight: bold;"><B>IJK (Structured)</B></span> mode
- the clipping plane will be oriented completely perpendicular to one of
- the selectable <span style="font-weight: bold;"><B>Axes</B></span>. </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Index</B></span>
- gives the choice of several possible positions of the plane. </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Reverse normal</B></span>
- - allows to select which part of the object should be truncated. </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Show preview</B></span>
- - displays the clipping plane in the 3D Viewer.<span style="font-weight: bold;">
- <B></B></span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Auto Apply -</B></span>
- automatically<span style="font-weight: bold;"> <B></B></span>hides from view
- the part of object truncated by the plane.</p></li>
-</ul>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Creating tables</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-h1.whs1 { font-family:'Times New Roman' , serif; }
-p.whs2 { font-family:'Times New Roman' , serif; }
-img_whs3 { border:none; width:30px; height:30px; float:none; border-style:none; }
-p.whs4 { font-family:'Times New Roman' , serif; margin-left:40px; }
-p.whs5 { font-family:'Times New Roman' , serif; margin-left:40px; font-style:normal; color:#000000; }
-p.whs6 { font-family:'Times New Roman' , serif; margin-left:40px; font-style:italic; color:#ff0000; }
-p.whs7 { font-family:'Times New Roman' , serif; margin-left:0px; font-weight:normal; }
-p.whs8 { font-family:'Times New Roman' , serif; font-weight:bold; margin-left:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs7 {margin-left:1pt; }";
- strNSS += "p.whs8 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="BSSC Special Effects" src="ehlpdhtm.js"></script><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\nTable presentations\nCreating tables from Cut Lines presentations");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1 class="whs1"><span style="font-family: 'Times New Roman', serif;">Creating
- tables from Cut Lines presentations</span></h1>
-
-<p class="whs2"><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs3">In <span
- style="font-weight: bold;"><B>Post Pro</B></span> you can create a table, which
- will be composed of the scalar values applied to the cells forming a <span
- style="font-weight: bold;"><B>Cut Lines</B></span> presentation. </p>
-
-<p class="whs2"> </p>
-
-<p class=TODO>To create a table from Cut Lines presentation:</p>
-
-<p class="whs4"> </p>
-
-<p class="whs5">1. Create
- a <a href="files/cut_lines_presentation.htm">Cut Lines presentation</a>.</p>
-
-<p class="whs5"> </p>
-
-<p class="whs5">2. In
- the Object Browser or in the viewer right-click on your presentation and
- from the pop-up menu select <span style="font-weight: bold;"><B>Create Table</B></span></p>
-
-<p class="whs6"> </p>
-
-<p class="whs7">Your new table will be created and displayed
- in the Object Browser. </p>
-
-<p class="whs8"> </p>
-
-<p class="whs8">
-<a href="javascript:void(0);" onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;} if (parseInt(navigator.appVersion) >=2 && typeof(PickupDialog_Invoke) == 'function') PickupDialog_Invoke(e,'','About tables','files/about_tables.htm','Cut Lines presentation','files/cut_lines_presentation.htm');return false;" title="Related Topics"><img src="ss_btn_related_topics.gif" border=0 height=17 width=82 alt="Related Topics"></a>
-
-
- </p>
-
-<p class="whs8"> </p>
-
-<script type="text/javascript" language="JavaScript" title="WebHelpRelatedTopics"><!--
-if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")
- WritePopupMenuLayer();
-//--></script><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="JavaScript">
-<!--
-
-var gArrayCsh = new Array();
-
-var gstrWindowOption = "";
-var gstrURL = "";
-var gbWithNavPane = false;
-
-function CshEntityItem(strAliasId, nTopicNum, strUrl)
-{
- this.strAliasId = strAliasId;
- this.nTopicNum = nTopicNum;
- this.strUrl = strUrl;
-}
-
-
-//Try to get to topic number from hash string
-function GetTopicNumberAuto(strMayBeNumber)
-{
- var nNum = -1;
- if (strMayBeNumber.length >= 1)
- {
- var strTmp = strMayBeNumber;
- var iEnd = strTmp.length;
- for (var i=0; i<iEnd; i++)
- {
- var ch = strTmp.charAt(i);
- if (!((ch == "0") || (ch == "1") ||
- (ch == "2") || (ch == "3") ||
- (ch == "4") || (ch == "5") ||
- (ch == "6") || (ch == "7") ||
- (ch == "8") || (ch == "9")))
- return GetTopicNumberById(strTmp);
- }
- nNum = parseInt(strTmp);
- }
- return nNum;
-}
-
-function GetTopicNumber(strHashString)
-{
- var nTopicEndPos = strHashString.indexOf(',')
- if (nTopicEndPos == -1) { // no window option.
- return GetTopicNumberOnly(strHashString);
- }
- else {
- var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
- var strWithNavPane = 'withnavpane=true';
- if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
- {
- if (strWindowOption.length > strWithNavPane.length)
- gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
- else
- gstrWindowOption = "";
- gbWithNavPane = true;
- }
- else
- gstrWindowOption = strWindowOption;
- return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
- }
-}
-
-function GetTopicNumberOnly(strTopicString)
-{
- var nEqualPos = strTopicString.indexOf('=');
- if (nEqualPos == -1) {
- return GetTopicNumberAuto(strTopicString);
- }
- else {
- var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
- if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
- return parseInt(strValue);
- } else if (strTopicString.toLowerCase().indexOf("context") == 0) {
- return GetTopicNumberById(strValue);
- } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
- gstrURL = strValue;
- return -1;
- }
-
- }
-}
-
-//Find HomePage of the WebHelp system
-// we try to get the topic from remote project if it exists.
-function RedirectToHomePage()
-{
- if (parent && parent != this && parent.goNext)
- {
- var sHome = parent.goNext();
- if (sHome != "")
- RedirectTo(sHome);
- }
-}
-
-function getHomePage()
-{
- if (parent && parent != this && parent.getRelHomePage)
- {
- return parent.getRelHomePage(document.location.href);
- }
- return "";
-}
-
-function addRemoteProject(strPath)
-{
- if (parent && parent != this && parent.addProject)
- {
- parent.addProject(strPath);
- }
-}
-
-//Redirect page to...
-function RedirectTo(strUrl)
-{
- if (gstrWindowOption.length != 0) {
- var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
- // close current window and rename the stub window to current window.
- if (wnd)
- wnd.focus();
- if (parent)
- parent.close();
- }
- else {
- parent.document.location.href = strUrl;
- window.focus();
- }
-}
-
-//Prompt the user that we can not find...
-function FailToFind(strMsg)
-{
- RedirectToHomePage();
-}
-
-//Find topic by topic number (defined in h file)
-function FindTopicByTopicNum(nTopicNum)
-{
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].nTopicNum == nTopicNum)
- {
- var strURL = gArrayCsh[i].strUrl;
- if (gbWithNavPane)
- {
- var strHomePage = getHomePage();
- if (strHomePage.length != 0)
- strURL = strHomePage + strURL;
- }
- RedirectTo(strURL);
- return true;
- }
- }
- FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
- return false;
-}
-
-var oldPrefix = "HelpIdFromHTMLHelp_"
-//Find topic by topic id (alias id defined in ali file)
-function GetTopicNumberById(strTopicId)
-{
- if (strTopicId.indexOf(oldPrefix) == 0)
- {
- strTopicId = strTopicId.substring(oldPrefix.length);
- }
-
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())
- {
- return gArrayCsh[i].nTopicNum;
- }
- }
- gstrURL = "";
- return -1;
-}
-
-//Set Context-sensitive help entity...
-function SetCsh(n, strAliasId, nTopicNum, strUrl)
-{
- gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
-}
-
-
-function getHash()
-{
- if (parent && parent != this)
- return parent.location.hash;
- else
- return "";
-}
-//-->
-</script>
-<script language="javascript">
-<!--
-
-
-//-->
-</script>
-<script language="javascript">
-<!--
-//Find CSH according to hash string after this page
-if (getHash().length > 0)
-{
- // VH 05/16/00 now support
- // TopicID=
- // TopicNumber=
- // RemoteURL=
- // and WindowsOptions
- // with the format #a=xxx,b=xxx,c=xxx...
- var strHashString = getHash().toString();
- // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
- // so here need to change it back.
- strHashString = strHashString.substring(1,strHashString.length);
- strHashString = strHashString.replace("%072%057%057", "://");
- var nTopicNum = GetTopicNumber(strHashString);
-
- if (nTopicNum != -1)
- {
- FindTopicByTopicNum(nTopicNum);
- }
- else
- {
- if (gstrURL.length > 0)
- RedirectTo(gstrURL);
- else
- RedirectToHomePage();
- }
-}
-else
-{
- RedirectToHomePage();
-}
-//-->
-</script>
-<noscript>
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
-</noscript>
-</body>
-</html>
-
-
-
-
-
-
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="JavaScript">
-<!--
-
-var gArrayCsh = new Array();
-
-var gstrWindowOption = "";
-var gstrURL = "";
-var gbWithNavPane = false;
-
-function CshEntityItem(strAliasId, nTopicNum, strUrl)
-{
- this.strAliasId = strAliasId;
- this.nTopicNum = nTopicNum;
- this.strUrl = strUrl;
-}
-
-
-//Try to get to topic number from hash string
-function GetTopicNumberAuto(strMayBeNumber)
-{
- var nNum = -1;
- if (strMayBeNumber.length >= 1)
- {
- var strTmp = strMayBeNumber;
- var iEnd = strTmp.length;
- for (var i=0; i<iEnd; i++)
- {
- var ch = strTmp.charAt(i);
- if (!((ch == "0") || (ch == "1") ||
- (ch == "2") || (ch == "3") ||
- (ch == "4") || (ch == "5") ||
- (ch == "6") || (ch == "7") ||
- (ch == "8") || (ch == "9")))
- return GetTopicNumberById(strTmp);
- }
- nNum = parseInt(strTmp);
- }
- return nNum;
-}
-
-function GetTopicNumber(strHashString)
-{
- var nTopicEndPos = strHashString.indexOf(',')
- if (nTopicEndPos == -1) { // no window option.
- return GetTopicNumberOnly(strHashString);
- }
- else {
- var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
- var strWithNavPane = 'withnavpane=true';
- if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
- {
- if (strWindowOption.length > strWithNavPane.length)
- gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
- else
- gstrWindowOption = "";
- gbWithNavPane = true;
- }
- else
- gstrWindowOption = strWindowOption;
- return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
- }
-}
-
-function GetTopicNumberOnly(strTopicString)
-{
- var nEqualPos = strTopicString.indexOf('=');
- if (nEqualPos == -1) {
- return GetTopicNumberAuto(strTopicString);
- }
- else {
- var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
- if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
- return parseInt(strValue);
- } else if (strTopicString.toLowerCase().indexOf("topicid") == 0) {
- return GetTopicNumberById(strValue);
- } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
- gstrURL = strValue;
- return -1;
- }
-
- }
-}
-
-//Find HomePage of the WebHelp system
-// we try to get the topic from remote project if it exists.
-function RedirectToHomePage()
-{
- if (parent && parent != this && parent.goNext)
- {
- var sHome = parent.goNext();
- if (sHome != "")
- RedirectTo(sHome);
- }
-}
-
-function getHomePage()
-{
- if (parent && parent != this && parent.getRelHomePage)
- {
- return parent.getRelHomePage(document.location.href);
- }
- return "";
-}
-
-function addRemoteProject(strPath)
-{
- if (parent && parent != this && parent.addProject)
- {
- parent.addProject(strPath);
- }
-}
-
-//Redirect page to...
-function RedirectTo(strUrl)
-{
- if (gstrWindowOption.length != 0) {
- var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
- // close current window and rename the stub window to current window.
- wnd.focus();
- if (parent)
- parent.close();
- }
- else {
- parent.document.location.href = strUrl;
- window.focus();
- }
-}
-
-//Prompt the user that we can not find...
-function FailToFind(strMsg)
-{
- RedirectToHomePage();
-}
-
-//Find topic by topic number (defined in h file)
-function FindTopicByTopicNum(nTopicNum)
-{
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].nTopicNum == nTopicNum)
- {
- var strURL = gArrayCsh[i].strUrl;
- if (gbWithNavPane)
- {
- var strHomePage = getHomePage();
- if (strHomePage.length != 0)
- strURL = strHomePage + strURL;
- }
- RedirectTo(strURL);
- return true;
- }
- }
- FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
- return false;
-}
-
-//Find topic by topic id (alias id defined in ali file)
-function GetTopicNumberById(strTopicId)
-{
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].strAliasId == strTopicId)
- {
- return gArrayCsh[i].nTopicNum;
- }
- }
- gstrURL = "";
- return -1;
-}
-
-//Set Context-sensitive help entity...
-function SetCsh(n, strAliasId, nTopicNum, strUrl)
-{
- gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
-}
-
-
-function getHash()
-{
- if (parent && parent != this)
- return parent.location.hash;
- else
- return "";
-}
-//-->
-</script>
-<script language="javascript">
-<!--
-
-
-//-->
-</script>
-<script language="javascript">
-<!--
-//Find CSH according to hash string after this page
-if (getHash().length > 0)
-{
- // VH 05/16/00 now support
- // TopicID=
- // TopicNumber=
- // RemoteURL=
- // and WindowsOptions
- // with the format #a=xxx,b=xxx,c=xxx...
- var strHashString = getHash().toString();
- // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
- // so here need to change it back.
- strHashString = strHashString.substring(1,strHashString.length);
- strHashString = strHashString.replace("%072%057%057", "://");
- var nTopicNum = GetTopicNumber(strHashString);
-
- if (nTopicNum != -1)
- {
- FindTopicByTopicNum(nTopicNum);
- }
- else
- {
- if (gstrURL.length > 0)
- RedirectTo(gstrURL);
- else
- RedirectToHomePage();
- }
-}
-else
-{
- RedirectToHomePage();
-}
-//-->
-</script>
-<noscript>
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
-</noscript>
-</body>
-</html>
-
-
-
-
-
-
+++ /dev/null
-BODY {
- background-color:#ffffff;
- font-family:"Times New Roman" , serif; }
-H1 {
- font-weight:bold;
- font-size:24.0pt; }
-LI.kadov-H1 {
- font-weight:bold;
- font-size:24.0pt; }
-H2 {
- font-weight:bold;
- font-size:18.0pt; }
-LI.kadov-H2 {
- font-weight:bold;
- font-size:18.0pt; }
-H3 {
- font-weight:bold;
- font-size:14.0pt; }
-LI.kadov-H3 {
- font-weight:bold;
- font-size:14.0pt; }
-H4 {
- font-weight:bold;
- font-size:12.0pt; }
-LI.kadov-H4 {
- font-weight:bold;
- font-size:12.0pt; }
-H5 {
- font-weight:bold;
- font-size:10.0pt; }
-LI.kadov-H5 {
- font-weight:bold;
- font-size:10.0pt; }
-H6 {
- font-weight:bold;
- font-size:8.0pt; }
-LI.kadov-H6 {
- font-weight:bold;
- font-size:8.0pt; }
-P {
- font-size:12.0pt;
- margin-top:0pt;
- margin-bottom:0pt; }
-LI.kadov-P {
- font-size:12.0pt; }
-A.expandspot {
- color:#008000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.expandtext {
- font-style:italic;
- font-weight:normal;
- color:#ff0000; }
-A.dropspot {
- cursor:hand;
- color:#008000;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-A.glossterm {
- color:#800000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.glosstext {
- font-style:italic;
- font-weight:normal;
- color:#0000ff; }
-OL {
- margin-top:0px;
- margin-bottom:0px; }
-UL {
- margin-top:0px;
- margin-bottom:0px; }
-A:active { }
-A:hover {
- x-text-underline:Off;
- text-decoration:none; }
-A:link {
- x-text-underline:Off;
- text-decoration:none; }
-A:visited {
- x-text-underline:Off;
- text-decoration:none; }
-P.TODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
-LI.kadov-P-CTODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
+++ /dev/null
-BODY {
- background-color:#ffffff;
- font-family:"Times New Roman" , serif; }
-H1 {
- font-weight:bold;
- font-size:24.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H1 {
- font-weight:bold;
- font-size:24.0pt; }
-H2 {
- font-weight:bold;
- font-size:18.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H2 {
- font-weight:bold;
- font-size:18.0pt; }
-H3 {
- font-weight:bold;
- font-size:14.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H3 {
- font-weight:bold;
- font-size:14.0pt; }
-H4 {
- font-weight:bold;
- font-size:12.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H4 {
- font-weight:bold;
- font-size:12.0pt; }
-H5 {
- font-weight:bold;
- font-size:10.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H5 {
- font-weight:bold;
- font-size:10.0pt; }
-H6 {
- font-weight:bold;
- font-size:8.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H6 {
- font-weight:bold;
- font-size:8.0pt; }
-P {
- font-size:12.0pt;
- margin-top:1pt;
- margin-bottom:1pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-P {
- font-size:12.0pt; }
-A.expandspot {
- color:#008000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.expandtext {
- font-style:italic;
- font-weight:normal;
- color:#ff0000; }
-A.dropspot {
- cursor:hand;
- color:#008000;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-A.glossterm {
- color:#800000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.glosstext {
- font-style:italic;
- font-weight:normal;
- color:#0000ff; }
-OL {
- margin-top:0px;
- margin-bottom:0px;
- font-family:"Times New Roman" , serif; }
-UL {
- margin-top:0px;
- margin-bottom:0px;
- font-family:"Times New Roman" , serif; }
-A:active { }
-A:hover {
- x-text-underline:Off;
- text-decoration:none; }
-A:link {
- x-text-underline:Off;
- text-decoration:none; }
-A:visited {
- x-text-underline:Off;
- text-decoration:none; }
-P.TODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
-LI.kadov-P-CTODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
-ol ol {
- margin-top:1px; }
-ol ul {
- margin-top:1px; }
-ul ul {
- margin-top:1px; }
-ul ol {
- margin-top:1px; }
--- /dev/null
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME = "Post-Pro Module Reference Manual v.@VERSION@"
+OUTPUT_DIRECTORY = ./
+CREATE_SUBDIRS = NO
+OUTPUT_LANGUAGE = English
+TAB_SIZE = 5
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET = NO
+WARNINGS = YES
+
+#---------------------------------------------------------------------------
+#Input related options
+#---------------------------------------------------------------------------
+INPUT = @srcdir@/input
+FILE_PATTERNS = *.doc
+IMAGE_PATH = @srcdir@/images
+
+#---------------------------------------------------------------------------
+#HTML related options
+#---------------------------------------------------------------------------
+GENERATE_HTML = YES
+HTML_OUTPUT = ./
+HTML_HEADER = @srcdir@/static/header.html
+HTML_FOOTER = @srcdir@/static/footer.html
+#HTML_STYLESHEET = @srcdir@/static/doxygen.css
+TOC_EXPAND = YES
+DISABLE_INDEX = NO
+GENERATE_TREEVIEW = YES
+TREEVIEW_WIDTH = 300
+
+#---------------------------------------------------------------------------
+#LaTeX related option
+#---------------------------------------------------------------------------
+GENERATE_LATEX = NO
+
+#---------------------------------------------------------------------------
+#RTF related options
+#---------------------------------------------------------------------------
+GENERATE_RTF = NO
+
+#---------------------------------------------------------------------------
+#External reference options
+#---------------------------------------------------------------------------
+TAGFILES = visugen_doc.tag=./visugen_doc
\ No newline at end of file
--- /dev/null
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME = "Post-Pro Module Reference Manual v.@VERSION@"
+OUTPUT_DIRECTORY = ./
+CREATE_SUBDIRS = NO
+OUTPUT_LANGUAGE = English
+USE_WINDOWS_ENCODING = NO
+BRIEF_MEMBER_DESC = YES
+REPEAT_BRIEF = NO
+ALWAYS_DETAILED_SEC = YES
+INLINE_INHERITED_MEMB = YES
+FULL_PATH_NAMES = NO
+SHORT_NAMES = NO
+JAVADOC_AUTOBRIEF = YES
+MULTILINE_CPP_IS_BRIEF = NO
+DETAILS_AT_TOP = NO
+INHERIT_DOCS = YES
+SEPARATE_MEMBER_PAGES = NO
+TAB_SIZE = 5
+OPTIMIZE_OUTPUT_FOR_C = YES
+OPTIMIZE_OUTPUT_JAVA = YES
+BUILTIN_STL_SUPPORT = NO
+DISTRIBUTE_GROUP_DOC = NO
+SUBGROUPING = YES
+
+#---------------------------------------------------------------------------
+# Build related options
+#---------------------------------------------------------------------------
+EXTRACT_ALL = YES
+EXTRACT_PRIVATE = YES
+EXTRACT_STATIC = YES
+EXTRACT_LOCAL_CLASSES = YES
+EXTRACT_LOCAL_METHODS = NO
+HIDE_UNDOC_MEMBERS = NO
+HIDE_UNDOC_CLASSES = NO
+HIDE_FRIEND_COMPOUNDS = NO
+HIDE_IN_BODY_DOCS = NO
+INTERNAL_DOCS = YES
+CASE_SENSE_NAMES = YES
+HIDE_SCOPE_NAMES = NO
+SHOW_INCLUDE_FILES = YES
+INLINE_INFO = YES
+SORT_MEMBER_DOCS = NO
+SORT_BRIEF_DOCS = NO
+SORT_BY_SCOPE_NAME = NO
+GENERATE_TODOLIST = YES
+GENERATE_TESTLIST = YES
+GENERATE_BUGLIST = YES
+GENERATE_DEPRECATEDLIST= YES
+MAX_INITIALIZER_LINES = 25
+SHOW_USED_FILES = NO
+SHOW_DIRECTORIES = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+SOURCE_BROWSER = NO
+INLINE_SOURCES = NO
+STRIP_CODE_COMMENTS = YES
+REFERENCED_BY_RELATION = NO
+REFERENCES_RELATION = YES
+USE_HTAGS = NO
+VERBATIM_HEADERS = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET = NO
+WARNINGS = YES
+WARN_IF_UNDOCUMENTED = YES
+WARN_IF_DOC_ERROR = YES
+WARN_NO_PARAMDOC = NO
+EXCLUDE_SYMLINKS = NO
+EXAMPLE_RECURSIVE = NO
+
+#---------------------------------------------------------------------------
+#Input related options
+#---------------------------------------------------------------------------
+INPUT = @top_srcdir@/idl
+FILE_PATTERNS = VISU_Gen.idl
+IMAGE_PATH = @srcdir@/images
+RECURSIVE = NO
+
+#---------------------------------------------------------------------------
+#HTML related options
+#---------------------------------------------------------------------------
+GENERATE_HTML = YES
+HTML_OUTPUT = ./visugen_doc
+HTML_HEADER = @srcdir@/static/header.html
+HTML_FOOTER = @srcdir@/static/footer.html
+#HTML_STYLESHEET = @srcdir@/static/doxygen.css
+TOC_EXPAND = YES
+DISABLE_INDEX = YES
+GENERATE_TREEVIEW = NO
+
+#---------------------------------------------------------------------------
+#LaTeX related option
+#---------------------------------------------------------------------------
+GENERATE_LATEX = NO
+
+#---------------------------------------------------------------------------
+#RTF related options
+#---------------------------------------------------------------------------
+GENERATE_RTF = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+CLASS_DIAGRAMS = YES
+HIDE_UNDOC_RELATIONS = NO
+HAVE_DOT = YES
+CLASS_GRAPH = YES
+COLLABORATION_GRAPH = NO
+GROUP_GRAPHS = NO
+UML_LOOK = NO
+TEMPLATE_RELATIONS = YES
+INCLUDE_GRAPH = YES
+INCLUDED_BY_GRAPH = NO
+CALL_GRAPH = NO
+GRAPHICAL_HIERARCHY = YES
+DIRECTORY_GRAPH = YES
+DOT_IMAGE_FORMAT = jpg
+DOT_PATH =
+DOTFILE_DIRS =
+MAX_DOT_GRAPH_WIDTH = 1024
+MAX_DOT_GRAPH_HEIGHT = 1200
+MAX_DOT_GRAPH_DEPTH = 0
+DOT_TRANSPARENT = NO
+DOT_MULTI_TARGETS = NO
+GENERATE_LEGEND = NO
+DOT_CLEANUP = YES
+
+#---------------------------------------------------------------------------
+#External reference options
+#---------------------------------------------------------------------------
+GENERATE_TAGFILE = visugen_doc.tag
+++ /dev/null
-<?xml version="1.0"?>
-<!DOCTYPE SYSTEM "ehelpopt.dtd">
-<FILE-OPTIONS FILE-VERSION="2" FILE-KEY="2a2e35d7_eda9_49ce_a7dd_38c26ccda7c2">
-</FILE-OPTIONS>
-<EHELP-OPTIONS FORMAT-VERSION="1.0">
- <OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET">
- </OPTIONS>
- <BUTTON-LABEL>WebSearch
- </BUTTON-LABEL>
-</EHELP-OPTIONS>
\ No newline at end of file
+++ /dev/null
-// eHelp® Corporation Dynamic HTML JavaScript
-// Copyright© 1998-2003 eHelp® Corporation.All rights reserved.
-// Version=4.82
-
-// 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 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 gbBsOpera6 = false;
-var gbBsOpera7 = false;
-
-var gbBsKonqueror3 = false;
-
-
-
-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)
- 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;
- }
- }
-}
-
-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;
- }
- }
-}
-
-// 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 = getElementsByTag(document,"BODY")[0];
- if( typeof(objBody) == "object" )
- {
- insertAdjacentHTML(objBody, "beforeEnd", '<OBJECT ID="HHComponentActivator" CLASSID="CLSID:399CB6C4-7312-11D2-B4D9-00105A0422DF" width=0 height=0></OBJECT>');
- 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("<DIV CLASS='WebHelpPopupMenu' ID='PopupMenu'></DIV>");
- } else{
- document.write("<DIV ID='PopupMenu' STYLE='position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;'></DIV>");
- if (!(gbBsNS4&&!gbBsNS6)) {
- document.write("<STYLE TYPE='text/css'>");
- if (gbBsMac&&gbBsIE4) {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:10pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:10pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- } else {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:8pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:8pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- }
- document.write("</STYLE>");
- }
- }
- 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<cRoot.frames.length; i++)
- {
- var cObj = null;
- if (!gbBsNS6)
- cObj = _SeekFrameByName( cRoot.frames(i).document, strName );
- else
- cObj = _SeekFrameByName( cRoot.frames[i], strName );
- if( cObj != null ) return cObj;
- };
- return null;
-}
-function _GetFrameByName( cRoot, strName )
-{
- if( cRoot == null ) return null;
- var cRet = _SeekFrameByName(cRoot, strName);
- if( cRet != null ) return cRet;
- if (cRoot.parent != cRoot)
- return _GetFrameByName( cRoot.parent, strName );
- else
- return null;
-}
-
-var gfn_arguments = null;
-function _PopupMenu_Invoke(fn_arguments)
-{
- gfn_arguments = fn_arguments;
- if (gbBsOpera6&&gbBsMac)
- {
- var wndOldPopupLinks= window.open(document.location.href, "popuplinks");
- wndOldPopupLinks.close();
- setTimeout("_PopupMenu_Invoke_2();",100);
- }
- else
- {
- _PopupMenu_Invoke_2();
- }
-}
-
-function _PopupMenu_Invoke_2()
-{
- var fn_arguments = gfn_arguments;
- gfn_arguments = null;
-
- // Make sure we have reasonable arguments
- var argLen = fn_arguments.length;
- if (argLen < 3) {
- return false;
- }
-
- // Check to see if we only have one target
- var strTarget = "";
- var targetDoc = null;
- if (fn_arguments[1] == '') {
- if (BSSCPopup_IsPopup()) {
- targetDoc = parent;
- strTarget = "TARGET= _parent";
- }
- else
- targetDoc = window.document;
- } else {
- targetDoc = _GetFrameByName( parent, fn_arguments[1] );
-
- strTarget = "TARGET='" + fn_arguments[1] + "'";
- }
-
- if ((!gbBsIE4 && !gbBsNS4 && !gbBsOpera7 && !gbBsKonqueror3 &&!gbBsSafari) || ((gbBsMac) && (gbBsIE4) && (window.event.srcElement.tagName == "AREA"))) {
-
- var argLen = fn_arguments.length;
-
- // Create the window that the hyperlinks will go into
- var nHeight = argLen * 15;
- var nWidth = 400;
- var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=auto";
- strParam += ",height=" + nHeight + ",width=200";
- strParam += ",resizable";
-
- var wndTemp=null;
- // Create a temporary window first to ensure the real popup comes up on top
- if (!gbBsOpera)
- wndTemp = window.open("", "temp", strParam);
-
- // Create the real popup window
- var wndPopupLinks=null;
- if (gbBsOpera&&gbBsMac)
- {
- wndTemp = window.open(document.location.href, "temp", strParam);
- wndPopupLinks= window.open(document.location.href, "popuplinks", strParam);
- }
- else
- wndPopupLinks= window.open("", "popuplinks", strParam);
- wndPopupLinks.document.open("text/html");
-
- // Close the temporary
- if (wndTemp)
- wndTemp.close();
-
- var sHTML="<html><head></head>";
- sHTML+="<body onBlur=\'self.focus();\'>";
- var strParaLine = "";
- for (var i = 0; i < (argLen - 2) / 2; i++) {
- strParaLine = "";
- strParaLine += "<a href=\"javascript:";
- if (gbBsIE) {
- strParaLine += "onBlur=null; ";
- }
- strParaLine += "opener.location=\'";
- strParaLine += fn_arguments[2 * i + 3];
- strParaLine += "\';close();\"";
- strParaLine += strTarget;
-
- strParaLine += ">";
- strParaLine += fn_arguments[2 * i + 2];
- strParaLine += "</a>";
- strParaLine += "<br>";
- sHTML+=strParaLine;
- }
- sHTML+="</body></html>";
- wndPopupLinks.document.write(sHTML);
- wndPopupLinks.document.close();
- window.gbInPopupMenu = true;
- if (!gbBsIE) {
- wndPopupLinks.focus();
- }
- return false;
- }
-
- if (((argLen < 5) && ((isNaN(fn_arguments[2])) || (gbPopupMenuTopicList == null))) ||
- ((argLen < 4) && ((!isNaN(fn_arguments[2])) && (gbPopupMenuTopicList != null)))) {
- // Get the place that we will be putting the topic into
- var strURL = "";
- if (isNaN(fn_arguments[2]) || (gbPopupMenuTopicList == null)) {
- strURL = fn_arguments[3];
- }
- else {
- strURL = gbPopupMenuTopicList[fn_arguments[2]].strURL;
- }
-
- if (targetDoc != null) {
- targetDoc.location.href = strURL;
- }
- else {
- if (fn_arguments[1] != null && typeof(fn_arguments[1]) != "undefined")
- window.open(strURL, fn_arguments[1]);
- else
- window.open(strURL);
- }
- window.gbInPopupMenu = true;
- return false;
- }
-
- var strMenu = "";
- if (gbBsNS4&&!gbBsNS6) {
- strMenu = '<TABLE BORDER="1" CELLSPACING=0 CELLPADDING=3 BGCOLOR="#c0c0c0">';
- } else {
- strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';
- if (gbBsMac) {
- strMenu += ' CELLPADDING=4';
- } else {
- strMenu += ' CELLPADDING=2';
- }
- strMenu += ' BGCOLOR=#c0c0c0>';
- }
- // Add each of the items
- var i = 2;
- while (i <= argLen - 1) {
- strMenu += '<TR><TD><NOBR>'
- // If the destination is a number then look it up in the topic list
- if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + fn_arguments[i + 1] + '"' + strTarget;
- } else {
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + gbPopupMenuTopicList[fn_arguments[i]].strURL + '"' + strTarget;
- }
- strMenu += ' onclick="PopupMenu_HandleClick(event);"';
- strMenu += ' onmouseover="PopupMenu_Over(event);"';
- strMenu += ' onmouseout="PopupMenu_Out(event);"';
- strMenu += '>';
- if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {
- strMenu += '<SPAN CLASS="PopupNotOver">' + fn_arguments[i] + '</SPAN>';
- } else {
- strMenu += '<SPAN CLASS="PopupNotOver">' + gbPopupMenuTopicList[fn_arguments[i]].strTitle + '</SPAN>';
- }
- strMenu += '</A></DIV></NOBR></TD></TR>';
-
- if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {
- i += 2;
- } else {
- i += 1;
- }
- }
- strMenu += "</TABLE>";
-
- if (gbBsMac) {
- // totally hack. because ie5 in mac need something. </TABLE> is one of them. mac is mad.
- strMenu +="<TABLE></TABLE>";
- }
-
- var layerPopup = null;
- var stylePopup = null;
- var nEventX = 0;
- var nEventY = 0;
- var nWindowWidth = 0;
- if (gbBsIE4 || gbBsOpera7) {
-
- layerPopup = getElement("PopupMenu");
- layerPopup.innerHTML = strMenu;
- stylePopup = layerPopup.style;
-
- _BSPSGetClientSize();
-
- // Get the position of the item causing the event (relative to its parent)
- nEventX = window.event.clientX;
- nEventY = window.event.clientY;
-
- if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) {
- nEventY += document.body.scrollTop + 10;
- } else {
- nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20;
- }
- stylePopup.top = nEventY;
-
- var nPopupWidth = layerPopup.scrollWidth;
- if (gbBsMac) {
- nPopupWidth = 80; // we have no idea how to get the dynamic width of the popup.
- }
- if (nEventX + nPopupWidth + 20 > gBsClientWidth) {
- if (gBsClientWidth - nPopupWidth < 5) {
- stylePopup.left = 5;
- } else {
- stylePopup.left = gBsClientWidth - nPopupWidth - 5;
- }
- } else {
- stylePopup.left = nEventX + document.body.scrollLeft + 20;
- }
-
- stylePopup.visibility = "visible";
- if (!gOlddocumentClick && document.onclick)
- gOlddocumentClick = document.onclick;
- document.onclick = PopupMenu_HandleClick;
-
- } else if (gbBsNS6 || gbBsKonqueror3||gbBsSafari) {
- layerPopup = getElement("PopupMenu");
- layerPopup.style.visibility = "hidden";
-
- if (gbBsNS6)
- {
- var e = fn_arguments[0];
- nEventX = e.pageX;
- nEventY = e.pageY;
- }
- else
- {
- nEventX = window.event.clientX;
- nEventY = window.event.clientY;
- }
- _BSPSGetClientSize();
- layerPopup.innerHTML = strMenu;
-
- if (nEventY + layerPopup.offsetHeight + 20 < window.pageYOffset + gBsClientHeight) {
- nEventY += 20;
- } else {
- nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20;
- }
-
- if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) {
- if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) {
- nEventX = 5;
- } else {
- nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20;
- }
- } else {
- nEventX += 20;
- }
- layerPopup.style.top = nEventY;
- layerPopup.style.left = nEventX;
- // set again to avoid the stupid frash in netscape 6.
- layerPopup.innerHTML = strMenu;
- layerPopup.style.visibility = "visible";
- //window.captureEvents(Event.MOUSEDOWN);
- if (!gOlddocumentClick && document.onclick)
- gOlddocumentClick = document.onclick;
- window.onclick = PopupMenu_HandleClick;
- }
- else if (gbBsNS4) {
- layerPopup = document.layers.PopupMenu;
- layerPopup.visibility = "hide";
- stylePopup = layerPopup.document;
- stylePopup.write(strMenu);
- stylePopup.close();
- var e = fn_arguments[0];
- nEventX = e.pageX;
- nEventY = e.pageY;
- _BSPSGetClientSize();
- if (nEventY + layerPopup.clip.height + 20 < window.pageYOffset + gBsClientHeight) {
- nEventY += 20;
- } else {
- nEventY = gBsClientHeight + window.pageYOffset- layerPopup.clip.height - 20;
- }
- layerPopup.top = nEventY;
-
- if (nEventX + layerPopup.clip.width + 20 > gBsClientWidth + window.pageXOffset) {
- if (gBsClientWidth + window.pageXOffset - layerPopup.clip.width < 20) {
- nEventX = 5;
- } else {
- nEventX = gBsClientWidth + window.pageXOffset - layerPopup.clip.width - 20;
- }
- } else {
- nEventX += 20;
- }
-
- layerPopup.left = nEventX;
-
- layerPopup.visibility = "show";
-
- window.captureEvents(Event.MOUSEDOWN);
- if (!gOlddocumentClick && document.onmousedown)
- gOlddocumentClick = document.onmousedown;
- window.onmousedown = PopupMenu_HandleClick;
- }
-
- window.gbInPopupMenu = true;
- window.gbPopupMenuTimeoutExpired = false;
- setTimeout("PopupMenu_Timeout();", 100);
- return false;
-}
-
-function PopupMenu_Timeout()
-{
- window.gbPopupMenuTimeoutExpired = true;
-}
-
-function PopupMenu_Over(e)
-{
- if (gbBsIE4||gbBsOpera7)
- e.srcElement.className = "PopupOver";
- else if (gbBsNS6)
- e.target.parentNode.className = "PopupOver";
- return;
-}
-
-function PopupMenu_Out(e)
-{
- if (gbBsIE4||gbBsOpera7)
- e.srcElement.className = "PopupNotOver";
- else if (gbBsNS6)
- e.target.parentNode.className = "PopupNotOver";
- return;
-}
-
-function PopupMenu_HandleClick(e)
-{
- if (window.gbPopupMenuTimeoutExpired) {
- window.gbInPopupMenu = false;
- if (gbBsNS4 && !gbBsNS6) {
- window.releaseEvents(Event.MOUSEDOWN);
- }
-
- var layerPopup = null;
- if (gbBsNS4&&!gbBsNS6) {
- layerPopup = document.layers.PopupMenu;
- layerPopup.visibility = "hide";
- } else {
- layerPopup = getElement("PopupMenu");
- layerPopup.style.visibility = "hidden";
- }
-
- if (gOlddocumentClick)
- {
- if (gbBsNS4 && !gbBsNS6)
- document.onmousedown = gOlddocumentClick;
- else
- document.onclick = gOlddocumentClick;
- }
- }
- return;
-}
-
-function BSSCPopup_ClickMac()
-{
- if ((!DHTMLPopupSupport()) && (gbBsIE4 || gbBsOpera7))
- {
- var bClickOnAnchor = false;
- var el;
- if ((window.event != null) &&
- (window.event.srcElement != null))
- {
- el = window.event.srcElement;
- while (el != null)
- {
- if ((el.tagName == "A") || (el.tagName == "AREA")) {
- bClickOnAnchor = true;
- break;
- }
- if (el.tagName == "BODY") {
- break;
- }
- el = getParentNode(el);
- }
- }
- if (BSSCPopup_IsPopup())
- {
- if (!bClickOnAnchor) {
- parent.window.gPopupWindow = null;
- self.close();
- }
- }
- else
- {
- bClosePopupWindow = true;
- if ((bClickOnAnchor) &&
- (el.href) &&
- ((el.href.indexOf("javascript:BSSCPopup") != -1) || (el.href.indexOf("javascript:null") != -1) || (el.href.indexOf("javascript:void(0)") != -1)))
- {
- bClosePopupWindow = false;
- }
- if (bClosePopupWindow)
- {
- if (window.gPopupWindow != null && !window.gPopupWindow.closed )
- {
- window.gPopupWindow.close();
- }
- }
- }
- }
-}
-
-function BsPopupOnClick()
-{
- if (!gbBsIE4 && !gbBsOpera7)
- return;
-
- BSSCPopup_ClickMac();
-}
-
-function _BSSCOnError(message)
-{
- if(-1 != message.indexOf("denied")
- || -1 != message.indexOf("Object required"))
- return true;
-}
-
-//End to support previous relative topics
-
-/// Section End - General and relative topics (JavaScript 1.0)
-
-/// Section Begin - Popup (JavaScript 1.0)
-//Begin to support previous popup functions
-
-//variables used to isolate the browser type
-var gBsStyVisShow = null;
-var gBsStyVisHide = null;
-var gBsClientWidth = 640;
-var gBsClientHeight = 480;
-
-// here is the varible for judge popup windows size. these parameter is for IE5.0, it may need adjust for others.
-var gBRateH_W = 0.618; // 1.618 Golden cut.
-var gBMaxXOfParent = 0.8;
-var gBMaxYOfParent = 0.8;
-var gBscrollHeight = 16;
-var gBscrollWidth = 16;
-var gBpermitXDelta = 3;
-var gBpermitYDelta = 3;
-
-
-var arrayPopupURL = new Array();
-var arrayAbsPopupURL = new Array();
-
-var arrayDirty = new Array();
-
-function setAbsPopupURL(nIndex, strURL)
-{
- arrayAbsPopupURL[nIndex] = strURL;
-}
-
-function getAbsPopupURL(nIndex)
-{
- if (nIndex == -1 || arrayAbsPopupURL.length <= nIndex) return null;
- else
- return arrayAbsPopupURL[nIndex];
-}
-
-function getPopupURL(nIndex)
-{
- if (nIndex == -1 || arrayPopupURL.length <= nIndex) return null;
- else
- return arrayPopupURL[nIndex];
-}
-
-function getPopupID(nIndex)
-{
- return gstrPopupID + nIndex;
-}
-
-function getPopupShadowID(nIndex)
-{
- return gstrPopupShadowID + nIndex;
-}
-
-function getPopupTopicID(nIndex)
-{
- return gstrPopupTopicID + nIndex;
-}
-
-function getPopupIFrameID(nIndex)
-{
- return gstrPopupIFrameID + nIndex;
-}
-
-function getPopupIFrameName(nIndex)
-{
- return gstrPopupIFrameName + nIndex;
-}
-
-
-function getPopupTopicStyle(nIndex)
-{
- return getElement(getPopupTopicID(nIndex)).style;
-}
-
-function getPopupShadowStyle(nIndex)
-{
- return getElement(getPopupShadowID(nIndex)).style;
-}
-
-function getPopupIFrame(nIndex)
-{
- if (gbBsNS6)
- return eval("window.frames['" + getPopupIFrameName(nIndex) + "']");
- else
- return eval("document.frames['" + getPopupIFrameName(nIndex) + "']");
-}
-
-function getPopupDivStyle(nIndex)
-{
- return getElement(getPopupID(nIndex)).style;
-}
-
-function getPopupIFrameStyle(nIndex)
-{
- return getElement(getPopupIFrameID(nIndex)).style;
-}
-
-
-function findDiv(strURL)
-{
- for (var i = 0; i < arrayPopupURL.length; i ++ ) {
- if (arrayPopupURL[i] == strURL) {
- return i;
- }
- }
- return -1;
-}
-
-var gnToken = -1;
-function takeToken()
-{
- gnToken ++;
- if (gnToken > 10000) gnToken = 0;
- return gnToken;
-}
-
-function IsValidToken(nToken)
-{
- return (gnToken == nToken);
-}
-
-function addDiv(strURL)
-{
- for (var i = 0; i < arrayPopupURL.length; i ++) {
- if (arrayPopupURL[i] == null) {
- arrayPopupURL[i] = strURL;
- return i;
- }
- }
- arrayPopupURL[i] = strURL;
- arrayDirty[i] = true;
- return i;
-}
-
-function setDirty()
-{
- for (var i = 0; i < arrayPopupURL.length; i ++ )
- arrayDirty[i] = true;
-}
-
-function IsDirty(nIndex)
-{
- if (nIndex == -1)
- return true;
- else
- if (arrayDirty.length > nIndex)
- return arrayDirty[nIndex];
- else
- return true;
-}
-
-function hideAll()
-{
- for (var i = 0; i < arrayPopupURL.length; i ++ )
- {
- getPopupDivStyle(i).visibility = gBsStyVisHide;
- getPopupIFrameStyle(i).visibility = gBsStyVisHide;
- }
-}
-
-function getCurrentPopupIFrame()
-{
- for (var i = 0; i < arrayPopupURL.length; i ++)
- if (getPopupDivStyle(i).visibility == gBsStyVisShow)
- return getPopupIFrame(i);
- return null;
-}
-
-function setClear(nIndex)
-{
- if (nIndex != -1)
- arrayDirty[nIndex] = false;
-}
-
-function _BSSCCreatePopupDiv(strURL)
-{
- var nIndex = findDiv(strURL);
- if (nIndex == -1 ) {
- nIndex = addDiv(strURL);
- BsPopup_CreateDiv(nIndex);
- }
- else {
- if (IsDirty(nIndex)) {
- if("object" == typeof(getPopupIFrame(nIndex).document))
- getPopupIFrame(nIndex).document.location.href = strURL;
- }
- }
- return nIndex;
-}
-
-//Here is the browser type
-function _BSPSGetBrowserInfo()
-{
- if (gbBsNS4&&!gbBsNS6)
- {
- gBsStyVisShow = "show";
- gBsStyVisHide = "hide";
- }
- else
- {
- gBsStyVisShow = "visible";
- gBsStyVisHide = "hidden";
- }
-}
-
-_BSPSGetBrowserInfo();
-
-//Get client size info
-function _BSPSGetClientSize()
-{
- if (gbBsNS4||gbBsKonqueror3||gbBsSafari)
- {
- gBsClientWidth = innerWidth;
- gBsClientHeight = innerHeight;
- }
- else if (gbBsIE4 || gbBsOpera7)
- {
- gBsClientWidth = document.body.clientWidth;
- gBsClientHeight = document.body.clientHeight;
- }
-}
-
-var gstrPopupID = 'BSSCPopup';
-var gstrPopupShadowID = 'BSSCPopupShadow';
-var gstrPopupTopicID = 'BSSCPopupTopic';
-var gstrPopupIFrameID = 'BSSCPopupIFrame';
-var gstrPopupIFrameName = 'BSSCPopupIFrameName';
-
-var gstrPopupSecondWindowName = 'BSSCPopup';
-
-var gPopupWindow = null;
-var gnPopupClickX = 0;
-var gnPopupClickY = 0;
-
-var gnPopupScreenClickX = 0;
-var gnPopupScreenClickY = 0;
-
-var gbPopupTimeoutExpired = false;
-
-function DHTMLPopupSupport()
-{
- if (((gbBsIE4) && (!gbBsMac))||gbBsOpera7|| gbBsNS7) {
- return true;
- }
- return false;
-}
-
-function BSSCPopup_IsPopup()
-{
- if (DHTMLPopupSupport() && (this.name.indexOf(gstrPopupIFrameName) != -1)) {
- return true;
- } else if ((gbBsNS4 || gbBsIE4 || gbBsOpera7) && (this.name.indexOf(gstrPopupID) != -1)) {
- return true;
- } else {
- return false;
- }
-}
-
-// If there is a hyperlink in a popup window, display the hyperlink in
-// the original window. (bsscright)
-if (BSSCPopup_IsPopup() && !gbBsIE4 && !gbBsOpera7) {
- document.write("<base target=\"bsscright\">");
-}
-
-// Local functions.
-function BsPopup_CreateDiv(nIndex)
-{
- if(!DHTMLPopupSupport())
- return;
- // DO NOT SET Width and height for the div, otherwize it will make IE4 popup do not work when view the topic alone.
- var strPopupDiv = "<DIV ID='" + getPopupID(nIndex) + "' STYLE='position:absolute; top:-100; left:0; z-index:600; visibility:hidden;'>";
- strPopupDiv += "<DIV ID='" + getPopupShadowID(nIndex) + "' STYLE=\"position:absolute;top:0; left:0; background-color:#C0C0C0;\"></DIV>";
- strPopupDiv += "<DIV ID='" + getPopupTopicID(nIndex) + "' STYLE=\"position:absolute;top:0; left:0; background-color:#FFFFFF;border:1px #000000 outset;\">";
- strPopupDiv += "<IFRAME title=\"Popup Window\" ID='" + getPopupIFrameID(nIndex) + "' name='" + getPopupIFrameName(nIndex) + "' src = '" + getPopupURL(nIndex) + "' frameborder=0 scrolling=auto></IFRAME>";
- strPopupDiv += "</DIV></DIV>";
-
- var objBody = getElementsByTag(document, "BODY")[0];
- if( typeof(objBody) != "object" )
- return;
-
- insertAdjacentHTML(objBody, "beforeEnd", strPopupDiv);
-}
-
-function handleLoadNS()
-{
- if (this.id)
- {
- var nIndex = parseInt(this.id.substring(gstrPopupIFrameID.length));
- BSSCPopup_PostWork(nIndex);
- }
-}
-
-function BSSCPopup_PostWork(nIndex)
-{
- getPopupDivStyle(nIndex).visibility = gBsStyVisShow;
- getPopupIFrameStyle(nIndex).visibility =gBsStyVisShow;
-
- setClear(nIndex);
- window.gbPopupTimeoutExpired = true;
-
- BSSCPopup_ChangeTargettoParent(getPopupIFrame(nIndex).document);
- if (gbBsNS6)
- getPopupIFrame(nIndex).document.body.addEventListener("click",BSSCPopupClicked,false);
- else
- getPopupIFrame(nIndex).document.body.onclick = BSSCPopupClicked;
-
- if (!gbOrignalOnMouseDown && document.onmousedown)
- gbOrignalOnMouseDown = document.onmousedown;
-
- if (gbBsNS6)
- document.addEventListener("mousedown", BSSCPopupParentClicked,false);
- else
- document.onmousedown = BSSCPopupParentClicked;
-}
-
-function BSSCPopup_Timeout(nIndex, nToken)
-{
- if (!IsValidToken(nToken)) return;
-
- if (gbBsNS6||((getPopupIFrame(nIndex).document.readyState == "complete") &&
- (getPopupIFrame(nIndex).document.body != null))) {
- BSSCPopup_PostWork(nIndex);
- } else {
- setTimeout("BSSCPopup_Timeout(" + nIndex + "," + nToken + ")", 100);
- }
-}
-
-// VH 08/10/00
-// do not change target to parent if the href is using javascript
-function BSSCPopup_ChangeTargettoParent(tagsObject)
-{
- var collA = getElementsByTag(tagsObject, "A");
- BSSCPopup_ChangeTargettoParent2(collA);
-
- var collIMG = getElementsByTag(tagsObject,"IMG");
- BSSCPopup_ChangeTargettoParent2(collIMG);
-}
-
-function BSSCPopup_ChangeTargettoParent2(colls)
-{
- if (colls != null) {
- for (var j = 0; j < colls.length; j ++ )
- {
- var strtemp = colls[j].href;
- if (strtemp)
- {
- strtemp = strtemp.toLowerCase();
- if (strtemp.indexOf("javascript:") == -1)
- if (colls[j].target == "")
- colls[j].target = "_parent";
- }
- }
- }
-}
-
-function BSPSPopupTopicWinHelp(strURL)
-{
- _BSSCPopup(strURL);
- return;
-}
-
-function _BSSCPopup(strURL, width, height)
-{
- var cuswidth = 0;
- var cusheight = 0;
- if ("undefined" != typeof(width) && "undefined" != typeof(height)) {
- cuswidth = width;
- cusheight= height;
- }
-
- if (DHTMLPopupSupport()) {
- var nToken = takeToken(); // take token first.
- var nIndex = _BSSCCreatePopupDiv(strURL);
- window.gbPopupTimeoutExpired = false;
- var ntWidth = gBsClientWidth;
- var ntHeight = gBsClientHeight;
- _BSPSGetClientSize();
- if (ntWidth != gBsClientWidth || ntHeight != gBsClientHeight) {
- setDirty();
- }
-
- if (IsDirty(nIndex)) {
- if (gbBsMac) {
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight +")", 400);
- } else {
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 100);
- }
- }
- else {
- MoveDivAndShow(nIndex ,nToken, cuswidth, cusheight);
- }
- } else {
- _BSSCPopup2(strURL, cuswidth, cusheight);
- }
- return;
-}
-
-if (gbBsIE55)
-{
- var ehlpdhtm_fOldBefureUnload = window.onbeforeunload;
- var gnBsUnload=0;
- window.onbeforeunload = window_BUnload;
-}
-
-function window_BUnload()
-{
- gnBsUnload++;
- if (gnBsUnload>1)
- return;
- for (var i = 0; i < arrayPopupURL.length; i ++)
- removeThis(document.all(getPopupID(i)));
- arrayPopupURL.length = 0;
- if (ehlpdhtm_fOldBefureUnload)
- ehlpdhtm_fOldBefureUnload();
-}
-
-function _BSSCPopup2(strURL, width, height)
-{
- if (gbBsOpera6&&gbBsMac)
- {
- var wmTemp = window.open(document.location.href, gstrPopupSecondWindowName);
- wmTemp.close();
- setTimeout("_BSSCPopup3(\""+strURL+"\","+width+","+height+");",100);
- }
- else
- _BSSCPopup3(strURL, width, height);
-}
-
-function _BSSCPopup3(strURL, width, height)
-{
- if (window.name == gstrPopupSecondWindowName) {
- window.location = strURL;
- } else {
- if (!gbBsMac || !gbBsNS4) {
- BSSCHidePopupWindow();
- }
- var nX = 0;
- var nY = 0;
- var nHeight = 300;
- var nWidth = 400;
- if (width > 0 && height > 0) {
- nHeight = height;
- nWidth = width;
- }
- _BSPSGetClientSize();
-
- nX = window.gnPopupScreenClickX;
- nY = window.gnPopupScreenClickY;
-
- if (nY + nHeight + 40 > screen.availHeight) {
- nY = screen.availHeight - nHeight - 40;
- }
- if (nX + nWidth + 40 > screen.availWidth) {
- nX = screen.availWidth - nWidth - 40;
- }
-
- // Launch a separate window
- var strParam="titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes";
- if (gbBsNS) {
- if (gbBsNS6) {
- strParam += ",Height=" + nHeight + ",Width=" + nWidth;
- strParam += ",screenX=" + nX + ",screenY=" + nY;
- strParam += ",dependent=yes";
- }
- else {
- strParam += ",OuterHeight=" + nHeight + ",OuterWidth=" + nWidth;
- strParam += ",screenX=" + nX + ",screenY=" + nY;
- strParam += ",dependent=yes";
- }
- }
- else {
- strParam += ",height=" + nHeight + ",width=" + nWidth;
- strParam += ",left=" + nX + ",top=" + nY;
- }
- if (gbBsSafari)
- {
- if (window.gPopupWindow)
- window.gPopupWindow.close();
- window.gPopupWindow = window.open(strURL, "", strParam);
- window.gPopupWindow.name = gstrPopupSecondWindowName;
- window.gPopupWindow.moveTo(nX, nY);
- widnow.gPopupWindow.document.location.reload();
- }
- else
- {
- var wmTemp=null;
- if (gbBsKonqueror3)
- {
- if (window.gPopupWindow)
- window.gPopupWindow.close();
- }
- if (gbBsOpera&&gbBsMac)
- {
- wmTemp= window.open(document.location.href, "Temp", strParam);
- }
- window.gPopupWindow = window.open(strURL, gstrPopupSecondWindowName, strParam);
- if (!gbBsIE)
- window.gPopupWindow.focus();
-
- if (wmTemp)
- wmTemp.close();
- }
-
- if (gbBsNS4)
- setEventHandle();
- else if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3)
- setTimeout("setPopupFocus();", 100);
- }
- return;
-}
-
-function setEventHandle()
-{
- window.gPopupWindow.captureEvents(Event.CLICK | Event.BLUR);
- window.gPopupWindow.onclick = NonIEPopup_HandleClick;
- window.gPopupWindow.onblur = NonIEPopup_HandleBlur;
-}
-
-function setPopupFocus()
-{
- window.gPopupWindow.focus();
-}
-
-function NonIEPopup_HandleBlur(e)
-{
- window.gPopupWindow.focus();
-}
-
-function NonIEPopup_HandleClick(e)
-{
- // Because navigator will give the event to the handler before the hyperlink, let's
- // first route the event to see if we are clicking on a Popup menu in a popup.
- document.routeEvent(e);
-
- // If a popup menu is active then don't do anything with the click
- if (window.gPopupWindow.gbInPopupMenu) {
- window.gPopupWindow.captureEvents(Event.CLICK);
- window.gPopupWindow.onclick = NonIEPopup_HandleClick;
- return false;
- }
-
- // Close the popup window
- if(e.target.href)
- {
- if(e.target.href.indexOf("javascript:")==-1)
- {
- if (e.target.target=="")
- window.location.href = e.target.href;
- else
- window.open(e.target.href, e.target.target);
- this.close();
- }
- }
- else
- this.close();
- return false;
-}
-
-function BSSCPopup_AfterLoad(nIndex, nToken, cuswidth, cusheight)
-{
- if (!window.getPopupIFrame(nIndex).document) {
- _BSSCPopup2(getPopupURL(nIndex), cuswidth, cusheight);
- return;
- }
-
- if (!IsValidToken(nToken)) return;
-
- if (gbBsNS6)
- {
- setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url.
- BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight);
- return;
- }
-
- if ((window.getPopupIFrame(nIndex).document.readyState == "complete") &&
- (window.getPopupIFrame(nIndex).document.body != null)) {
- if (window.getPopupIFrame(nIndex).document.location.href.indexOf("about:blank") != -1) { // add this check. IE will use about:blank" as the default vaule for Iframe.
- window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex);
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);
- }
- else
- {
- setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url.
- BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight);
- }
- } else {
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);
- }
-}
-
-function BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight)
-{
- if (window.gbPopupTimeoutExpired) return;
-
- if (!IsValidToken(nToken)) return;
-
- getPopupDivStyle(nIndex).visibility = gBsStyVisHide;
- getPopupIFrameStyle(nIndex).visibility = gBsStyVisHide;
-
- // Determine the width and height for the window
- _BSPSGetClientSize();
-
- var size = new BSSCSize(0, 0);
-
- if (cuswidth <= 0 || cusheight <= 0)
- BSSCGetContentSize(window.getPopupIFrame(nIndex), size);
- else {
- size.x = cuswidth;
- size.y = cusheight;
- }
-
- // Determine the width and height for the window
- var nWidth = size.x;
- var nHeight = size.y;
-
- // for small popup size, we should allow any size.
- // The popup size should be ok if bigger than 0
- if (nWidth < 0 || nHeight < 0) return; // there must be something terribly wrong.
-
- getPopupDivStyle(nIndex).width = nWidth;
- getPopupDivStyle(nIndex).height = nHeight;
-
- getPopupShadowStyle(nIndex).width = nWidth;
- getPopupShadowStyle(nIndex).height = nHeight;
- getPopupTopicStyle(nIndex).width = nWidth;
- getPopupTopicStyle(nIndex).height = nHeight;
- if (gbBsIE55)
- {
- getPopupShadowStyle(nIndex).width = nWidth + 2;
- getPopupShadowStyle(nIndex).height = nHeight + 2;
- getPopupTopicStyle(nIndex).width = nWidth + 2;
- getPopupTopicStyle(nIndex).height = nHeight + 2;
- }
-
- getPopupIFrameStyle(nIndex).width = nWidth;
- getPopupIFrameStyle(nIndex).height = nHeight;
- if (gbBsIE55 || gbBsNS6)
- {
- getPopupIFrameStyle(nIndex).top = 0;
- getPopupIFrameStyle(nIndex).left = 0;
- }
-
- var strURL = getPopupURL(nIndex);
- if (strURL.indexOf("#") != -1&&gbBsNS6)
- getPopupIFrame(nIndex).location.reload();
- else if (strURL.indexOf("#") != -1||gbBsNS6)
- getPopupIFrame(nIndex).location.href = strURL; // reload again, this will fix the bookmark misunderstand in IE5.
-
- MoveDivAndShow(nIndex, nToken, cuswidth, cusheight);
-}
-
-function getScrollLeft()
-{
- if (document.body.scrollLeft)
- return document.body.scrollLeft;
- else if (window.pageXOffset)
- return window.pageXOffset;
- else
- return 0;
-}
-
-function getScrollTop()
-{
- if (document.body.scrollTop)
- return document.body.scrollTop;
- else if (window.pageYOffset)
- return window.pageYOffset;
- else
- return 0;
-}
-
-
-function MoveDivAndShow(nIndex, nToken, cuswidth, cusheight)
-{
- if (window.getPopupIFrame(nIndex).document.location.href != getAbsPopupURL(nIndex)) { // if redirect, reload again.
- window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex);
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);
- return;
- }
-
- // Determine the position of the window
- var nClickX = window.gnPopupClickX;
- var nClickY = window.gnPopupClickY;
- var nTop = 0;
- var nLeft = 0;
-
- var nWidth = parseInt(getPopupDivStyle(nIndex).width);
- var nHeight = parseInt(getPopupDivStyle(nIndex).height);
-
- if (nClickY + nHeight + 20 < gBsClientHeight + getScrollTop()) {
- nTop = nClickY + 10;
- } else {
- nTop = (getScrollTop() + gBsClientHeight) - nHeight - 20;
- }
- if (nClickX + nWidth < gBsClientWidth + getScrollLeft()) {
- nLeft = nClickX;
- } else {
- nLeft = (getScrollLeft() + gBsClientWidth) - nWidth - 8;
- }
-
- if (nTop < getScrollTop()) nTop = getScrollTop() + 1;
- if (nLeft< getScrollLeft()) nLeft = getScrollLeft() + 1;
-
- getPopupDivStyle(nIndex).left = nLeft;
- getPopupDivStyle(nIndex).top = nTop;
-
- // Set the location of the background blocks
- getPopupShadowStyle(nIndex).left = 6;
- getPopupShadowStyle(nIndex).top = 6;
- if (gbBsIE55)
- {
- getPopupShadowStyle(nIndex).left = 4;
- getPopupShadowStyle(nIndex).top = 4;
- }
-
- if (gbBsMac&&gbBsIE4) {
- // Total hack on the iMac to get the IFrame to position properly
- getPopupIFrameStyle(nIndex).pixelLeft = 100;
- getPopupIFrameStyle(nIndex).pixelLeft = 0;
- // Explicitly call BSSCOnLoad because the Mac doesn't seem to do it
- getPopupIFrame(nIndex).window.BSSCOnLoad();
- }
-
- if (gbBsNS6&&IsDirty(nIndex))
- getElement(getPopupIFrameID(nIndex)).addEventListener("load", handleLoadNS, false);
- else
- BSSCPopup_Timeout(nIndex , nToken );
- return;
-}
-
-function BSSCSize(x, y)
-{
- this.x = x;
- this.y = y;
-}
-
-function BSSCGetContentSize(thisWindow, size)
-{
- if (!gbBsIE4 && !gbBsOpera7 && !gbBsNS4)
- return;
-
- if ((gbBsMac&&gbBsIE4)||gbBsNS4||gbBsOpera7) {
- size.x = 320;
- size.y = 180;
- return;
- }
-
- // Resize the width until it is wide enough to handle the content
- // The trick is to start wide and determine when the scrollHeight changes
- // because then we know a scrollbar is necessary. We can then go back
- // to the next widest size (for no scrollbar)
-
- var ClientRate = gBsClientHeight / gBsClientWidth;
-
-
- var GoldenSize = new BSSCSize(0,0);
- GoldenSize.x = gBsClientWidth * gBMaxXOfParent;
- GoldenSize.y = gBsClientHeight *gBMaxYOfParent ;
-
- if (ClientRate > gBRateH_W) {
- GoldenSize.y = GoldenSize.x * gBRateH_W;
- }
- else {
- GoldenSize.x = GoldenSize.y / gBRateH_W;
- }
-
- // Try to using parent specified max x.
- var x = 0;
- var maxgoldx = GoldenSize.x;
- var maxx = gBsClientWidth * gBMaxXOfParent;
-
- // This double resize causes the document to re-render (and we need it to)
- if (!gbBsIE5)
- thisWindow.moveTo(10000,10000); // this is used to fix the flash on IE4.
-
- thisWindow.resizeTo(1, 1);
- thisWindow.resizeTo(1, 1);
- thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight);
- thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight);
-
- var miny = thisWindow.document.body.scrollHeight + gBscrollHeight;
-
- if (miny > GoldenSize.y) // the popup does not fix in the parent wanted golden area. so try to expand itself as large as it can
- {
- thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight);
- thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight);
-
- miny = thisWindow.document.body.scrollHeight + gBscrollHeight;
- maxy = gBsClientHeight * gBMaxYOfParent;
-
- if (miny > maxy) { // the popup must have a scroll, OK let it be.
- miny = maxy;
- size.x = maxx;
- size.y = maxy;
- thisWindow.document.body.scroll = 'yes'; // At this time we do want to show scroll any more. so it will looks better a little.
- }
- else { // popup still can fit in the parent area by someway. now we choose the same h/w rate as parent.
- size.y = miny;
-
- // downsize from maxx , now I try to using binary divide.
- x = maxx;
- deltax = -maxx/2;
- //j = 0;
- while (true) {
- x = x + deltax;
- thisWindow.resizeTo(x, miny);
- thisWindow.resizeTo(x, miny);
- diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * ClientRate;
- if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter
- deltax = Math.abs(deltax) /2;
- else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter
- deltax = -Math.abs(deltax) /2;
- else
- // the y is close enough to wanted.
- break;
- if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore.
- break;
- }
- size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth;
- size.y = thisWindow.document.body.scrollHeight;// + gBscrollHeight;
- thisWindow.document.body.scroll = 'no';
- }
- }
- else {
- if (thisWindow.document.body.scrollWidth > maxgoldx) {
- size.x = maxx;
- size.y = miny;
- thisWindow.document.body.scroll = 'yes';
- }
- else {
- // downsize from maxgoldx , now I try to using binary divide.
- x = maxgoldx;
- deltax = -maxgoldx/2;
- while (true) {
- x = x + deltax;
- thisWindow.resizeTo(x, miny);
- thisWindow.resizeTo(x, miny);
- diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * gBRateH_W;
- if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter
- deltax = Math.abs(deltax) /2;
- else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter
- deltax = -Math.abs(deltax) /2;
- else
- // the y is close enough to wanted.
- break;
- if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore.
- break;
- }
- size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth;
- size.y = thisWindow.document.body.scrollHeight ;
- thisWindow.document.body.scroll = 'no'; // At this time we do not want to show scroll any more. so it will looks better a little.
- thisWindow.resizeTo(size.x, size.y);
- if (thisWindow.document.body.scrollWidth > size.x)
- {
- size.x = thisWindow.document.body.scrollWidth;
- }
- if (thisWindow.document.body.scrollHeight > size.y)
- {
- size.y = thisWindow.document.body.scrollHeight;
- }
- }
- }
- thisWindow.resizeTo(size.x, size.y);
- thisWindow.resizeTo(size.x, size.y);
- return;
-}
-
-function BSSCPopupParentClicked()
-{
- if (!window.gbPopupTimeoutExpired) {
- return false;
- }
-
- document.onmousedown = gbOrignalOnMouseDown;
-
- // Simply hide the popup
- hideAll();
-
- window.gbPopupTimeoutExpired = false;
-
- return true;
-}
-
-function isInsideHyperLink(obj)
-{
- if (obj&&obj!=getParentNode(obj))
- {
- if (obj.tagName=="A"||obj.tagName=="IMG")
- return true;
- else
- return isInsideHyperLink(getParentNode(obj));
- }
- else
- return false;
-}
-
-function BSSCPopupClicked(e)
-{
- if (!window.gbPopupTimeoutExpired) {
- return false;
- }
-
- var popupIFrame = getCurrentPopupIFrame();
- if (popupIFrame == null) {
- return true;
- }
-
- if (gbBsIE4 && (!((popupIFrame.window.event != null) &&
- (popupIFrame.window.event.srcElement != null) &&
- isInsideHyperLink(popupIFrame.window.event.srcElement)))) {
- document.onmousedown = gbOrignalOnMouseDown;
-
- // Simply hide the popup
- hideAll();
- window.gbPopupTimeoutExpired = false;
- return true;
- }
- else if (gbBsNS6 && (!((e != null) &&
- (e.target!= null) && isInsideHyperLink(e.target))))
- {
- document.addEventListener("mousedown", gbOrignalOnMouseDown,false);
- // Simply hide the popup
- hideAll();
- window.gbPopupTimeoutExpired = false;
- return true;
- }
-}
-
-//trace the mouse over's position for hotspot
-function BSPSPopupOnMouseOver(event)
-{
- if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3) {
- window.gnPopupClickX = event.clientX + getScrollLeft();
- window.gnPopupClickY = event.clientY + getScrollTop();
- window.gnPopupScreenClickX = event.screenX;
- window.gnPopupScreenClickY = event.screenY;
- } else if (gbBsSafari) {
- window.gnPopupClickX = event.clientX + getScrollLeft();
- window.gnPopupClickY = event.clientY + getScrollTop();
- window.gnPopupScreenClickX = event.screenX + window.screenX;
- window.gnPopupScreenClickY = event.screenY + window.screenY;
- } else if (gbBsNS4) {
- window.gnPopupClickX = event.pageX - window.pageXOffset;
- window.gnPopupClickY = event.pageY - window.pageYOffset;
- window.gnPopupScreenClickX = event.screenX - window.pageXOffset;
- window.gnPopupScreenClickY = event.screenY - window.pageYOffset;
- }
-}
-
-function BSSCHidePopupWindow()
-{
- if (window.gPopupWindow != null) {
- if (gbBsNS4) {
- if ((typeof window.gPopupWindow != "undefined") && (!window.gPopupWindow.closed)) {
- window.gPopupWindow.close();
- window.gPopupWindow = null;
- }
- }
- }
- return;
-}
-
-// Add the PopupOnClick to the onclick array.
-if (typeof(BsscRegisterOnClick) != "undefined")
-{
- BsscRegisterOnClick(BsPopupOnClick);
-}
-//End to support previous popup functions
-
-/// Section End - Popup (JavaScript 1.0)
-
-/// Section Begin - Embedded Stub (JavaScript 1.0)
-
-function BSSCCreatePopupDiv()
-{
- return;
-}
-
-function WritePopupMenuLayer()
-{
- if (BsscHasExtJs()) {_WritePopupMenuLayer();}
-}
-
-function BSSCPopup(strURL, width, height)
-{
- var re = new RegExp("'", 'g');
- strURL = strURL.replace(re, "%27");
-
- if (BsscHasExtJs()) {
- _BSSCPopup(strURL, width, height);
- }else{
- //Create a temporary window first to ensure the real popup comes up on top
- var wndTemp = null;
- if (!gbBsNS3) {
- wndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");
- }
- // Create the real popup window
- var wndPopup = window.open(strURL, "BSSCPopup", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=300,width=400");
- // Close the temporary
- if (!gbBsNS3) {
- wndTemp.close();
- } else {
- wndPopup.focus();
- }
- }
-}
-
-var gbWndTemp = null, gbWndPopupLinks = null;
-var gbstrParaTotal = "";
-
-function PopupMenu_Invoke()
-{
- if (typeof(wfRelatedTopic) == 'function' && typeof(IsFlashSupported) == 'function')
- {
- if (Number(gsSkinVersion) > 2 && IsFlashSupported())
- {
- return wfRelatedTopic(PopupMenu_Invoke.arguments);
- }
- }
- if (BsscHasExtJs()) {
- return _PopupMenu_Invoke(PopupMenu_Invoke.arguments);
- }
- if (gbBsNS3Before || gbBsIE3Before ) {
- var argLen = PopupMenu_Invoke.arguments.length;
- if (argLen < 5) {
- window.document.location.href = PopupMenu_Invoke.arguments[3];
- return false;
- }
- gbWndTemp = null;
- gbWndPopupLinks = null;
- gbstrParaTotal = "";
- for (var i = 0; i < (argLen - 2) / 2; i++) {
- var strParaLine = "";
- if (gbBsNS2){
- strParaLine += "<a href=\"";
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];
- strParaLine += "\">"
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];
- strParaLine += "</a>";
- } else {
- strParaLine += "<a href=\"javascript:";
- strParaLine += "gotoUrl(\'";
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];
- strParaLine += "\');\"";
- if (PopupMenu_Invoke.arguments[1] != '') {
- strParaLine += " TARGET='" + PopupMenu_Invoke.arguments[1] + "'";
- }
- strParaLine += ">";
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];
- strParaLine += "</a>";
- }
- strParaLine += "<br>";
- gbstrParaTotal += strParaLine;
- }
- var nHeight = argLen * 15;
- var nWidth = 400;
- var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=auto";
- strParam += ",height=" + nHeight + ",width=200,resizable";
-
- //Create a temporary window first to ensure the real popup comes up on top
- //var wndTemp = null;
- if (!gbBsNS3) {
- gbWndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");
- }
- gbWndPopupLinks = window.open("", "popuplinks", strParam);
-
- setTimeout("Wait_PopupMenuReady()", 100);
- }
- return true;
-}
-
-function Wait_PopupMenuReady()
-{
- if (gbWndPopupLinks != null && "object" == typeof(gbWndPopupLinks.document)) {
- PopupMenu_InvokeReady();
- }
- else
- setTimeout("Wait_PopupMenuReady()", 100);
-}
-
-function PopupMenu_InvokeReady()
-{
- if (gbWndPopupLinks != null) {
- gbWndPopupLinks.document.open("text/html");
- gbWndPopupLinks.document.write("<html><head>");
- if (gbBsNS2) {
- gbWndPopupLinks.document.write("<base href=\"" + location +"\">");
- } else {
- //YJ: IE301,302 and NS3.x works fine
- gbWndPopupLinks.document.write("<");
- gbWndPopupLinks.document.write("script>");
- gbWndPopupLinks.document.write("function gotoUrl(aUrl) {opener.window.location=aUrl; close();}");
- gbWndPopupLinks.document.write("<");
- gbWndPopupLinks.document.write("/script>");
- }
- gbWndPopupLinks.document.write("</head><body onBlur=\'self.focus();\'>");
- gbWndPopupLinks.document.write(gbstrParaTotal);
- gbWndPopupLinks.document.write("</body></html>");
- gbWndPopupLinks.document.close();
-
- // Close the temporary
- if (!gbBsNS3 && gbWndTemp != null) {
- gbWndTemp.close();
- }else {
- gbWndPopupLinks.focus();
- }
-
- return true;
- }
- return false;
-}
-
-/// Section End - Embedded Stub (JavaScript 1.0)
-
-//// Segment End -- (JavaScript 1.0)
-
-//// Segment Begin -- (JavaScript 1.2)
-/// Section Begin - kadov DHTM (JavaScript 1.2)
-
-//Begin to support extended and dropdown text effects.
-function kadovIsParagraph(el)
-{
- return( el.tagName == "P" || el.tagName.indexOf("H") == 0 ) ? true : false;
-}
-
-function kadovInitEachChild(el)
-{
- for(var i=0; i<getChildNodes(el).length; i++)
- {
- var child = getChildNodes(el)[i];
- if( child.tagName == "SCRIPT" || child.tagName == "!" )
- continue;
-
- if( child.id != "" )
- {
- // to wipe out the onload effects
- if (gbBsIE4&&!gbBsMac)
- {
- var onLoadEffect = child.style.getAttribute( "x-on-pageload" );
- if( (onLoadEffect != null) && (onLoadEffect > "") )
- child.style.setAttribute( "x-on-pageload", "" );
- }
-
- var href = child.getAttribute("href")
- if( href != null && href > "" && href.indexOf( "BSSCPopup" ) >= 0 )
- kadovFilePopupInit(child.id); // Init for Popup
- else if( child.className == "dropspot" || child.className == "expandspot" ||
- child.className == "glossterm" )
- kadovTextPopupInit(child.id);// Init for Expanding/Glossary or DropDown text
- else if( child.className == "trigger")
- kadovInitTrigger(child.id);// Init for Trigger
- else
- {
- kadovInitEffects(child.id);// Init for DHTML effects
- CEngine.SetOneTargetInitialState( child.id );
- }
- }
-
- if( (child.tagName == "IMG") && (child.getAttribute("dynsrc") > "") )
- child.start = "mouseover";// to start a AVI file. fileopen doesn't work
-
- kadovInitEachChild(child);
- }
-}
-
-function kadovRetrieveTextInner(el)
-{
- var x = "";
- if( (!el) || (el.tagName == "!") || (el.tagName == "SCRIPT" ))
- return x;
-
- if( kadovIsParagraph(el) )
- {
- var strNewID = " ";
- if( el.id != "" )
- strNewID += "id=" + el.id + "_NewSpan ";
- x = "<span" + strNewID + "style='" + el.style.cssText + "'>" + el.innerHTML + "</span>";
- }
- else
- {
- for(var i=0; i<getChildNodes(el).length; i++)
- x += kadovRetrieveTextInner( getChildNodes(el)[i] );
- }
- return x;
-}
-
-function kadovRetrieveCleanHTML( strRawHTML, strTagOpen, strTagClose, nDistance )
-{
- var nTagOpen = strRawHTML.indexOf( strTagOpen, 0 );
- if( nTagOpen < 0 )
- return strRawHTML;
-
- var nTagClose = strRawHTML.indexOf( strTagClose, nTagOpen);
- if( nTagClose < nTagOpen )
- return strRawHTML;
-
- if( typeof(nDistance) == "number" && nDistance > 0 )
- if( (nTagClose - nTagOpen) != nDistance )
- return strRawHTML;
-
- var strCleanOnce = strRawHTML.substring(0, nTagOpen) + strRawHTML.substr(nTagClose + strTagClose.length) ;
- return kadovRetrieveCleanHTML( strCleanOnce, strTagOpen, strTagClose );
-}
-
-function kadovAdjustObjectTag(strRawHTML, nStartPos)
-{// adjust object tag for related topics HTML control, because innerHTML misses out the item settings
-
- //Is there any DTC?
- var strDTCTagOpen = '<!--Metadata type="DesignerControl" startspan';
- var strDTCTagClose = '<!--Metadata type="DesignerControl" endspan-->';
- var nDTCTagOpen = strRawHTML.indexOf( strDTCTagOpen, nStartPos );
- if( nDTCTagOpen < 0 )
- return strRawHTML;
- var nDTCTagClose = strRawHTML.indexOf( strDTCTagClose, nDTCTagOpen );
- if( nDTCTagClose < nDTCTagOpen)
- return strRawHTML; // no Design Time Controls;
-
- //Is the DTC HTML Help Control?
- var strRTObjTagOpen = 'classid=clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11';
- var strRTObjTagClose = '</OBJECT>';
- var nRTObjTagOpen = strRawHTML.indexOf( strRTObjTagOpen, nDTCTagOpen );
- if( nRTObjTagOpen < nDTCTagOpen )
- return strRawHTML;
- var nRTObjTagClose = strRawHTML.indexOf( strRTObjTagClose, nRTObjTagOpen );
- if( nRTObjTagClose < nRTObjTagOpen )
- return strRawHTML; // is not a HTML help control
-
- // Is it a related Topics html help control?
- var strRTObjLabel = '<PARAM NAME=\"Command\" VALUE=\"Related Topics';
- if( strRawHTML.indexOf(strRTObjLabel, nRTObjTagOpen) < 0 )
- return strRawHTML;
-
- // does the commented object tag contain a items parameters
- var strRTItemsOpen = '<param name="Items" value="';
- var strRTItemsClose = '$$**$$" >';
- var strRTItemsClose2 = '$$**$$">';
-
- var nRTItemsOpen = strRawHTML.indexOf(strRTItemsOpen, nDTCTagOpen);
- if( nRTItemsOpen < nDTCTagOpen )
- return strRawHTML;
- var nRTItemsClose = strRawHTML.indexOf(strRTItemsClose, nRTItemsOpen);
- if (nRTItemsClose == -1)
- nRTItemsClose = strRawHTML.indexOf(strRTItemsClose2, nRTItemsOpen);
- if( nRTItemsClose < nRTItemsOpen )
- return strRawHTML;
-
- // found a items string
- var strItems = strRawHTML.substring( nRTItemsOpen + strRTItemsOpen.length, nRTItemsClose);
- if( strItems.length < 1 )
- return strRawHTML;
-
- // to reconstruct the item(s) param tag(s)
- var strItemsArray = strItems.split('$$**$$');
- if( strItemsArray.length < 1 )
- return strRawHTML;
- var strRunTimeItemParam = "";
- for( var i = 0; i < strItemsArray.length; i++ )
- {
- strRunTimeItemParam += '<PARAM NAME="Item' + (i+1);
- strRunTimeItemParam += '"' + ' VALUE="';
- strRunTimeItemParam += strItemsArray[i];
- strRunTimeItemParam += '">';
- }
-
- // to insert the reconstructed item params into runtime object tag
- var strAdjustedHTML = strRawHTML.substring(0,nRTObjTagClose) + strRunTimeItemParam + strRawHTML.substring(nRTObjTagClose, strRawHTML.length);
- return kadovAdjustObjectTag(strAdjustedHTML, nDTCTagClose + strDTCTagClose.length);
-}
-
-function kadovTextPopupOnLoad( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
-
- var src = el.getAttribute( "x-use-popup" );
- var bNeedMove=true;
- if(!src&&el.id)
- {
- for (var i=0;i<gPopupData.length;i++)
- if (gPopupData[i].el==el.id)
- {
- src=gPopupData[i].popupId;
- bNeedMove=false;
- break;
- }
- }
- if(!src)
- src = el.style.getAttribute( "x-use-popup" );
- if (!src)
- return 0;
-
- var name = src;
- if( src.substr(0,1) == "#" )
- name = src.substr(1, src.length-1);
- var srcDiv = getElement(name);
- if( !srcDiv )
- return 1;
-
- if (bNeedMove)
- {
- var type = el.getAttribute( "x-popup-type" );
- if (!type)
- type = el.style.getAttribute("x-popup-type");
- if (!type)
- return 1;
- var setup = el.getAttribute( "x-tmp-setup" );
- var newId = name;
- if( newId.indexOf( "_tmp") <= 0 )
- newId += "_tmp";
-
- if( !setup)
- {
- el.setAttribute( "x-tmp-setup", 1 );
-
- if( type == "pulldown" )
- {
- var strAdjust = kadovAdjustObjectTag(srcDiv.innerHTML,0);
- var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, "<!--", "-->");
- strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<SCRIPT", "/SCRIPT>");
-
- //work around the bug in HH.exe that highlight the phrases when use Search tab
- //this approach is just removing the <FONT...> tag inserted by Microsoft in the runtime
- strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<FONT color=#", "\">", 52);
-
- var strStyle = " style='display:none; position:relative;";
- var newDiv = "<div class=droptext id=" + newId + strStyle + "'>" + strCleanHTML + "</div>";
-
- removeThis(srcDiv); // empty the original DIV tag
- var elParentPra = kadovFindParentParagraph(el);
- if( elParentPra )
- insertAdjacentHTML(elParentPra, "afterEnd", newDiv );
- }
- else if( type == "expanding" )
- {
- var inner = kadovRetrieveTextInner(srcDiv);
- if( inner == "" )
- inner = srcDiv.innerHTML;
- var strAdjust = kadovAdjustObjectTag(inner,0);
- var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, "<!--", "-->");
- strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<SCRIPT", "/SCRIPT>");
- var strClassName = (el.className == "glossterm") ? "glosstext" : "expandtext";
- var newSpan = "<span class=" + strClassName + " style='display: none;' id=" + newId + "> " + strCleanHTML + "</span>";
- removeThis(srcDiv); // empty the original DIV tag
- insertAdjacentHTML(el, "afterEnd", newSpan );
- }
- }
- }
- else
- {
- srcDiv.style.display = "none";
- }
- return 0;
-}
-
-function getElementsByTag(obj,sTagName)
-{
- if(obj.getElementsByTagName)
- return obj.getElementsByTagName(sTagName);
- else if(obj.all)
- return obj.all.tags(sTagName);
- return null;
-}
-
-function getElement(sID)
-{
- if(document.getElementById)
- return document.getElementById(sID);
- else if(document.all)
- return document.all(sID);
- return null;
-}
-
-function getParentNode(obj)
-{
- if(obj.parentNode)
- return obj.parentNode;
- else if(obj.parentElement)
- return obj.parentElement;
- return null;
-}
-
-function getChildNodes(obj)
-{
- if(obj.childNodes)
- {
- var children = new Array();
- for (var i = 0; i < obj.childNodes.length; i++)
- {
- if (obj.childNodes[i].nodeType == 1)
- children[children.length] = obj.childNodes[i];
- }
- return children;
- }
- else if(obj.children)
- return obj.children;
- return null;
-}
-
-function removeThis(obj)
-{
- if(obj.parentNode)
- obj.parentNode.removeChild(obj);
- else
- obj.outerHTML="";
-}
-
-function kadovTextPopup( el )
-{
- if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3 )
- return;
-
- var bNeedMove=true;
-
- if (window.event)
- window.event.cancelBubble = true;
-
- if( typeof(el) == "string" )
- el = getElement(el);
-
- if (!el||el==window)
- return;
-
- var src = el.getAttribute( "x-use-popup" );
- if(!src&&el.id)
- {
- for (var i=0;i<gPopupData.length;i++)
- if (gPopupData[i].el==el.id)
- {
- src=gPopupData[i].popupId;
- bNeedMove=false;
- break;
- }
- }
- if(!src)
- src = el.style.getAttribute( "x-use-popup" );
- if(!src)
- return;
-
- var name = src;
- if( src.substr(0,1) == "#" )
- if (bNeedMove)
- name = src.substr(1, src.length-1) + "_tmp";
- else
- name = src.substr(1, src.length-1);
-
- var srcDiv = getElement(name);
- if( !srcDiv )
- return;
-
- if( srcDiv )
- {
- if( srcDiv.style.display == "" )
- srcDiv.style.display = "none";
- else
- {
- srcDiv.style.display = "";
- if( typeof(srcDiv.bInitialized) == "undefined" )
- {
- srcDiv.bInitialized = true;
- kadovInitEffects(name);
- kadovInitEachChild(srcDiv);
- }
- }
- }
- if(gbBsIE4)
- event.returnValue=false;
- return;
-}
-
-function kadovFindParentParagraph( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
- if( (!el) || el.tagName == "BODY" )
- return null;
- if( kadovIsParagraph(getParentNode(el)) )
- return getParentNode(el);
- else
- return kadovFindParentParagraph( getParentNode(el) );
-}
-
-//Begin HTML code invoked function
-function kadovRegisterEventHandler( obj, strEvent, strEventHandler )
-{
- if( !gbBsIE4 )
- return;
- CCSSP.RegisterEventHandler( obj, strEvent, strEventHandler );
-}
-
-function textPopupData(el, popupId)
-{
- this.el = el;
- this.popupId = "#"+popupId;
-}
-
-var gPopupData = new Array();
-
-function kadovTextPopupInit( el, popupId)
-{
- if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3)
- return;
-
- if( typeof(el) == "string" )
- {
- if (popupId)
- {
- gPopupData[gPopupData.length]=new textPopupData(el, popupId);
- }
- el = getElement(el);
- }
-
- if( el != null )
- {
- CCSSP.RegisterEventHandler( el, "onclick", "kadovTextPopup(\"" + el.id +"\");" );
- CCSSP.RegisterEventHandler( window, "onload", "kadovTextPopupOnLoad(\"" + el.id +"\");" );
- }
-}
-//End HTML code invoked function
-
-//End to support extended and dropdown text effects.
-
-//Begin to convert iWrite format to RoboEditor Format for DHTML effects
-function kadovInitTriggersInHead( )
-{
- if( Object.xDelayedInitElements )
- {
- var x = Object.xDelayedInitElements;
- for(i=0; i<x.length; i++)
- kadovInitTrigger( x[i] );
- }
-}
-
-//Begin HTML code invoked function
-function kadovFilePopupInit( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
-
- if( el != null )
- CCSSP.RegisterEventHandler( el, "onmouseover", "BSPSPopupOnMouseOver(event);" );
-}
-
-function kadovInitTrigger( element )
-{
- if( !gbBsIE4 )
- return;
- var srcElement = element;
- if( typeof(srcElement) == "string" )
- {
- srcElement = getElement(element,0);
- if(srcElement == null)
- return;
- }
-
- if( !kadovIsParentVisible(srcElement) )
- return;
-
- var targets = srcElement.getAttribute( "x-targets" );
- if (!targets)
- targets = srcElement.style.getAttribute("x-targets");
- if (!targets)
- return;
- var arrOneTarget = targets.split( "," );
- for( var i = 0; i < arrOneTarget.length; i ++ )
- bsscFXInit( element, arrOneTarget[i], null, null, null, null );
-}
-
-function kadovIsParentVisible( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
- if( (!el) || el.tagName == "BODY" )
- return true;
- if( el.style.display == 'none' ) //el.visibility == 'hidden' ||
- return false;
- else
- return kadovIsParentVisible( getParentNode(el) );
-}
-
-function kadovInitEffects( element )
-{
- if( !gbBsIE4 )
- return;
- var srcElement = element;
- if( typeof(srcElement) == "string" )
- {
- srcElement = getElement(element,0);
- if(srcElement == null)
- return;
- }
-
- if( !kadovIsParentVisible(srcElement) )
- return;
-
- kadovInitEffect( srcElement, "x-on-hover" );
- kadovInitEffect( srcElement, "x-on-pageclick" );
- kadovInitEffect( srcElement, "x-on-pageload" );
- kadovInitEffect( srcElement, "x-on-trigger-1" );
- kadovInitEffect( srcElement, "x-on-trigger-2" );
-}
-//End HTML code invoked function
-
-function kadovInitEffect( element, prop )
-{
- var values = null;
- if( element.getAttribute( "currentStyle" ) && element.currentStyle.getAttribute)
- values = element.currentStyle.getAttribute( prop );
- else if (element.style.getAttribute)
- values = element.style.getAttribute( prop );
- if( !values )
- return;
-
- var functions = new Array();
- var nIdx = 0, nStart = 0;
- var nNext = values.indexOf( "\)", 0);
- while( nNext >= 0 && nNext < values.length )
- {
- functions[nIdx] = values.substr( nStart, nNext-nStart+1);
- nStart = nNext + 1;
- nIdx++;
- nNext = values.indexOf( "\)", nStart);
- }
-
- for( var i=0; i<functions.length; i++)
- {
- var id = element.getAttribute( "id" );
- var translatedProp = kadovTranslateProp(prop);
-
- var lp = functions[i].indexOf( "(" );
- var fnname = functions[i].substring(0, lp);
- var srcargs = functions[i].substring(lp+1, functions[i].length-1);
-
- var nClickTimes = 1;
- var arrForClickCount = srcargs.split( "," );
- for( var j = 0; j < arrForClickCount.length; j++ )
- {// to locate and get the "clicks=99" settings
- var nPageClick = arrForClickCount[j].indexOf("clicks");
- if( nPageClick >= 0 )
- {
- nPageClick = arrForClickCount[j].indexOf("=");
- if( nPageClick > 0 )
- {
- nClickTimes = arrForClickCount[j].substring( nPageClick + 1, arrForClickCount[j].length) * 1;
- break;
- }
- }
- }
- var args = srcargs;
- if( j < arrForClickCount.length )
- {// to strip out the "clicks=99" from the arguments string
- args = "";
- for( var k = 0; k < arrForClickCount.length; k ++ )
- {
- if( k != j )
- {
- args += arrForClickCount[k];
- if( k < arrForClickCount.length - 1 )
- args += ",";
- }
- }
- }
- bsscFXInit( null, id, translatedProp, fnname, args, nClickTimes );
- }
-}
-
-function kadovTranslateProp( prop )
-{
- switch( prop )
- {
- case "x-on-hover" : return "bsschover";
- case "x-on-pageclick" : return "bsscpageclick";
- case "x-on-pageload" : return "bsscpageload";
- case "x-on-trigger-1" : return "bssctrigger1";
- case "x-on-trigger-2" : return "bssctrigger2";
- }
- return null;
-}
-//End to convert iWrite format to RoboEditor Format for DHTML effects
-
-//Begin the definition of one entry to DHTML effects
-function bsscFXInit( trigger_ID, target_ID, event_type,
- action_type, action_setting, event_addional )
-{
- if( (!gbBsWindows && !gbBsSunOS && !(gbBsMac&&gbBsIE5)) || typeof(target_ID) != "string" )//MUST have a target_ID
- return; // we don't support Navigator yet
-
- if( typeof(event_type) == "string" )
- event_type = event_type.toLowerCase();
- if( typeof(action_type) == "string" )
- action_type = action_type.toLowerCase();
- if( typeof(action_setting) == "string" )
- action_setting = action_setting.toLowerCase();
-
- // to get the target element then add it to the target list
- var eleTarget = CCSSP.GetObject( target_ID );
- if( (eleTarget != null) && (event_type != null) && (action_type != null) )
- {
- CEngine.AddOneTarget( target_ID, eleTarget );
- CEngine.BuildTargetObject(target_ID, event_type, action_type, action_setting, event_addional);
- }
-
- // to validate the trigger_ID parameter
- if( typeof(trigger_ID) == "string" && trigger_ID != "" )
- CEngine.BuildTriggerObject( trigger_ID, target_ID );
-}
-//End the definition of one entry to DHTML effects
-
-/// Section End - kadov DHTM (JavaScript 1.2)
-
-/// Section Begin - CCSSP DHTM (JavaScript 1.2)
-
-//Begin JavaScript libary for cross-platform positioning object.
-function CCSSP(){} // constructor of CCSSP class
-
-CCSSP.GetObject = function( obj )
-{//convert object name string or reference into a valid object reference
- if( typeof(obj) == "object" )
- return obj;
- else if( typeof(obj) == "string" && obj != "")
- {
- if( gbBsNS4 )
- return eval("document." + obj);
- else
- return eval("document.all(\"" + obj + "\")");
- }
- else
- return null;
-}
-
-CCSSP.MoveObjectTo = function(obj, x, y)
-{//positioning an object at a specific pixel coordinate
- if( gbBsNS4 )
- obj.moveTo(x,y);
- else
- {
- obj.style.pixelLeft = x;
- obj.style.pixelTop = y;
- }
-}
-
-CCSSP.MoveObjectBy = function(obj, dx, dy)
-{//moveing a object by x and/or y pixel
- if( gbBsNS4 )
- obj.moveBy(dx,dy);
- else
- {
- obj.style.pixelLeft += dx;
- obj.style.pixelTop += dy;
- }
-}
-
-CCSSP.SetObjectBGColor = function(obj, color)
-{//set the background color of an object
- if( gbBsNS4 )
- obj.bgColor = color;
- else
- obj.style.backgroundColor = color;
-}
-
-CCSSP.ShowObject = function(obj, bShow)
-{// set the object to be visible or invisible
- if( gbBsNS4 )
- obj.visibility = (bShow == true) ? 'show' : 'hide';
- else
- obj.style.visibility = (bShow == true) ? 'visible' : 'hidden';// when hidden, it still occupy some space.
-}
-
-CCSSP.GetObjectLeft = function(obj)
-{// retrieve the x coordinate of a posionable object
- if( gbBsNS4 )
- return obj.left;
- else
- return obj.style.pixelLeft;
-}
-
-CCSSP.GetObjectTop = function(obj)
-{// retrieve the y coordinate of a posionable object
- if( gbBsNS4 )
- return obj.top;
- else
- return obj.style.pixelTop;
-}
-
-CCSSP.GetObjectContainLeft = function(obj)
-{// retrieve the x coordinate of a posionable object relative to it's parent element
- if( gbBsNS4 )
- return obj.pageX;
- else
- {
- if( obj == document.body )
- return obj.clientLeft;
- else
- return obj.offsetLeft;
- }
-}
-
-CCSSP.GetObjectWindowLeft = function(obj)
-{// retrieve the x coordinate of a posionable object relative to browser window
- if( gbBsNS4 )
- return obj.pageX;
- else
- {
- var nOffsetWindowLeft = 0;
- for(var element = obj; element; element = element.offsetParent)
- nOffsetWindowLeft += CCSSP.GetObjectContainLeft(element);
- return nOffsetWindowLeft;
- }
-}
-
-CCSSP.GetObjectContainTop = function(obj)
-{// retrieve the y coordinate of a posionable object relative to it's parent element
- if( gbBsNS4 )
- return obj.pageY;
- else
- {
- if( obj == document.body )
- return obj.clientTop;
- else
- return obj.offsetTop;
- }
-}
-
-CCSSP.GetObjectWindowTop = function(obj)
-{// retrieve the y coordinate of a posionable object relative to browser window
- if( gbBsNS4 )
- return obj.pageY;
- else
- {
- var nOffsetWindowTop = 0;
- for(var element = obj; element; element = element.offsetParent)
- nOffsetWindowTop += CCSSP.GetObjectContainTop(element);
- return nOffsetWindowTop;
- }
-}
-
-CCSSP.GetObjectHeight = function(obj)
-{// retrieve the height of a posionable object
- if( gbBsNS4 )
- return obj.clip.height;
- else
- return obj.offsetHeight;
-}
-
-CCSSP.GetObjectWidth = function(obj)
-{// retrieve the width of a posionable object
- if( gbBsNS4 )
- return obj.clip.width;
- else
- return obj.offsetWidth;
-}
-
-CCSSP.RegisterEventHandler = function( srcObj, rawEventName, funcHandler )
-{ // to add the "funcHandler" as the "rawEventName" 's handler to the "srcObj" object,the original event handler will be combined
- if (gbBsNS4 && !gbBsNS6)
- return ;
-
- var oldHandler = "";
-
- if (gbBsMac &&gbBsIE4&&!gbBsIE5)
- {
- if (typeof(srcObj[rawEventName.toLowerCase()])=="unknown")
- { //search for <SCRIPT> tag which define the event handler
- for( var i = 0; i < document.scripts.length; i++ )
- {
- var script = document.scripts[i];
- if( (script.htmlFor == srcObj.id || script.htmlFor == srcObj ) && script.event == rawEventName )
- {
- oldHandler = script.innerHTML;
- break;
- }
- }
- }
- }
- else
- {
- var oldInlineHandler = srcObj[rawEventName.toLowerCase()];
- if( oldInlineHandler != null && typeof(oldInlineHandler) != "undefined")
- {
- var functionDefinition = oldInlineHandler.toString();
- var bodyStart = functionDefinition.indexOf( "{" );
- var bodyEnd = functionDefinition.lastIndexOf( "}" );
- if( bodyStart > 0 || bodyEnd > bodyStart )
- oldHandler = functionDefinition.substr( bodyStart + 1, bodyEnd - bodyStart - 2 );
- }
- else if( gbBsIE4 )
- { //search for <SCRIPT> tag which define the event handler
- for( var i = 0; i < document.scripts.length; i++ )
- {
- var script = document.scripts[i];
- if( (script.htmlFor == srcObj.id || script.htmlFor == srcObj ) && script.event == rawEventName )
- {
- oldHandler = script.innerHTML;
- break;
- }
- }
- }
- }
- if( oldHandler.indexOf(funcHandler) >= 0 )
- return;// to prevent register the funtion twice.
-
- if( gbBsNS4 ) // only "onload, onresize, onfocus" apply to window
- {// other raw events will apply to layer
- var noOn = rawEventName.substring(2, rawEventName.length);
- if( typeof(noOn) == "string" && noOn.length > 3 ) {
- if (srcObj.captureEvents)
- srcObj.captureEvents( Event[noOn.toUpperCase()] );
- }
- }
-
- var newHandler = oldHandler;
- if( newHandler.length == 0 )
- newHandler = funcHandler;
- else
- newHandler += "; " + funcHandler;
-
- srcObj[rawEventName.toLowerCase()] = new Function( newHandler );
-}
-
-CCSSP.GetWindowHeight = function()
-{// retrieve the height of available content in browser window
- if( gbBsNS4 )
- return window.innerHeight;
- else
- return document.body.clientHeight;
-}
-
-CCSSP.GetWindowBottom = function()
-{// retrieve the bottom postion of browser window
- if( gbBsNS4 )
- return window.outerHeight + window.pageYOffset;
- else
- return document.body.clientHeight + document.body.scrollTop;
-}
-
-CCSSP.GetWindowWidth = function()
-{// retrieve the width of available content in browser window
- if( gbBsNS4 )
- return window.innerWidth;
- else
- return document.body.clientWidth;
-}
-
-CCSSP.GetWindowRight = function()
-{// retrieve the right postion of browser window
- if( gbBsNS4 )
- return window.outerWidth + window.pageXOffset;
- else
- return document.body.clientWidth + document.body.scrollLeft;
-}
-
-CCSSP.TrimString = function( objString, subtrim )
-{// to trim the "subtrim" in the beginning and ending of a string object
- if( typeof(subtrim) != "string" || subtrim == null )
- return objString;
- var strHead = objString.substring(0, 1);
- var strRear = objString.substring(objString.length-1, objString.length);
- if( strHead != subtrim && strRear != subtrim )
- return objString;
-
- var spacePos = objString.indexOf(subtrim);
- if( spacePos < 0 )
- return objString;
- else if( spacePos == objString.length - 1 )
- return objString.substring(0, spacePos);
- else
- {
- var newString = objString.substring( spacePos + 1, objString.length);
- return CCSSP.TrimString( newString, subtrim );
- }
-}
-
-CCSSP.TrimSpace = function( objString )
-{
- var Trim1 = CCSSP.TrimString( objString, " ");
- return CCSSP.TrimString( Trim1, "\'");
-}
-
-CCSSP.GetEventElement = function( navEventObject )
-{// to get the element who fired the current event
- if(gbBsNS4)
- if (gbBsNS6)
- return null;
- else
- navEventObject.target;
- else
- return event.srcElement;
-}
-
-CCSSP.PrepareFilter = function( Obj )
-{//to prepare for making the filter work
- Obj.style.filter = "";
- if( Obj.style.width != "" || Obj.style.height != "" || Obj.style.position == "absolute" )
- return;
- Obj.style.height = CCSSP.GetObjectHeight(Obj);
-}
-
-CCSSP.IsDescendant = function( progenitor, progeny )
-{
- if( typeof(progeny) == "undefined" || progeny == null )
- return false;
- else if( progeny == progenitor )
- return true;
- else if( progeny.id == progenitor.id )
- return true;
- else if( getParentNode(progeny) == getParentNode(progenitor))
- return false;
- else
- return CCSSP.IsDescendant( progenitor, getParentNode(progeny));
-}
-
-CCSSP.IsTextTag = function( Obj )
-{
- if( typeof( Obj.tagName ) == "undefined" )
- return false;
- return( Obj.tagName.indexOf("H") == 0 || Obj.tagName == "P" ||
- Obj.tagName == "FONT" || Obj.tagName == "SPAN" );
-}
-
-//End JavaScript libary for cross-platform positioning object.
-
-/// Section End - CCSSP DHTM (JavaScript 1.2)
-
-/// Section Begin - CCSSP DHTM 1 (JavaScript 1.2)
-
-//Begin the definition of class CTrigger
-function CTrigger( TriggerElement )
-{
- // object : the trigger element. Never be null.
- this.eleTrigger = TriggerElement;
-
- // number : the click counter number: only 3 values: 0,1,2;
- this.nCounter = 0;
-
- //object as associative array of string:
- // the associate target ID strings; one element at least.
- this.objStrTarget = new Object();
- this.eleTrigger.style.cursor = "hand";
- if( this.eleTrigger.tagName == "AREA" && this.eleTrigger.getAttribute("href") == "" )
- this.eleTrigger.setAttribute("href", "#") // to make a hand cursor for image map
-}
-
-CTrigger.prototype.AddTargetID = function( strTargetID )
-{// add one target ID string to the objStrTarget
- if( typeof(strTargetID) != "string" )
- return ;
- if( typeof(this.objStrTarget[strTargetID]) != "string" )
- this.objStrTarget[strTargetID] = strTargetID;
-}
-
-CTrigger.prototype.OnTriggerClick = function()
-{// to activate all asociated target
- var strEventType = ( (this.nCounter++)% 2 == 0 ) ?
- "bssctrigger1" : "bssctrigger2";
-
- // to enumerate associative target element's ID string
- for( var strTargetID in this.objStrTarget )
- CEngine.SendEventToOneTarget( strTargetID, strEventType );
-}
-//End the definition of class CTrigger
-
-//Begin the definition of class CTarget
-function CTarget( TargetElement )
-{
- // object : the target element. Never be null.
- this.eleTarget = TargetElement;
- this.objManager = new Object(); // object: the event manager
-}
-
-CTarget.nPageClickCounter = 0;// static class property.
-
-CTarget.prototype.GetAgencyObject = function(str_action_type,action_setting )
-{// return the action agency ( effect )object's refernece
- switch( str_action_type )
- {
- case "show":return new CAgencyShow( this.eleTarget, true ) ;
- case "hide":return new CAgencyShow( this.eleTarget, false ) ;
-
- case "flyin" :
- return new CAgencyFly(this.eleTarget, action_setting, true);
- case "flyout" :
- return new CAgencyFly(this.eleTarget, action_setting, false);
- case "spiralin" :
- return new CAgencySpiral(this.eleTarget, action_setting, true);
- case "spiralout" :
- return new CAgencySpiral(this.eleTarget, action_setting, false);
- case "zoomin" :
- return new CAgencyZoom(this.eleTarget, action_setting, true);
- case "zoomout" :
- return new CAgencyZoom(this.eleTarget, action_setting, false);
- case "elastic" :
- return new CAgencyElastic(this.eleTarget, action_setting);
-
- case "fadein" :
- return (gbBsIE4)? new CAgencyAlpha(this.eleTarget, action_setting, true) : null;
- case "fadeout" :
- return (gbBsIE4)? new CAgencyAlpha(this.eleTarget, action_setting, false) : null;
- case "rockrollstatic" :
- case "rockroll" :
- return (gbBsIE4)? new CAgencyWave(this.eleTarget, action_setting, false) : null;
-
- case "glow":
- return (gbBsIE4)? new CAgencyGlow(this.eleTarget,action_setting) : null;
- case "dropshadow":
- return (gbBsIE4)? new CAgencyDropShadow(this.eleTarget,action_setting) : null;
- case "transition" :
- return (gbBsIE4)? new CAgencyRevealTrans(this.eleTarget,action_setting) : null;
- case "blur" :
- return (gbBsIE4)? new CAgencyBlur(this.eleTarget,action_setting) : null;
-
- case "fliph" : // all these 4 do NOT need any parameters
- case "flipv" :
- case "invert":
- case "gray" :
- return (gbBsIE4)? new CAgencyChangeFilter(this.eleTarget, str_action_type) : null;
-
- case "fontchange": // the effects below change the style on the fly, so won't work in Navigator
- return (gbBsIE4)? new CAgencyFontChange(this.eleTarget,action_setting) : null;
- case "boderchange":
- case "stylechange":
- return (gbBsIE4)? new CAgencyChangeStyle(this.eleTarget,action_setting) : null;
-
- default: return null;
- }
-}
-
-CTarget.prototype.SetEventManager = function(
- one_event_type,str_action_type,action_setting,event_additional)
-{// to set the event manager with specified action
- if( typeof( one_event_type ) != "string" ||
- typeof( str_action_type ) != "string"||
- typeof( action_setting ) != "string" )
- return false;
- if( typeof(this.objManager[one_event_type]) == "undefined" )
- {
- this.objManager[one_event_type] = new Object();
- this.objManager[one_event_type].length = 0;
- }
-
- var eventAgency = this.GetAgencyObject(str_action_type,action_setting);
- if( eventAgency != null )
- {
- var ct = this.objManager[one_event_type].length ++;
- this.objManager[one_event_type][ct] = eventAgency;
-
- if( one_event_type == "bsscpageclick" )
- {// to deal with the "number of pageclick" stuff
- if( typeof(event_additional) == "number" )
- this.objManager[one_event_type][ct].nPageClick = event_additional;
- else // set the default number
- this.objManager[one_event_type][ct].nPageClick = 1;
-
- if( (typeof(this.objManager.nMinPageClickIndex) == "undefined") ||
- (this.objManager[one_event_type][ct].nPageClick <
- this.objManager[one_event_type][this.objManager.nMinPageClickIndex].nPageClick) )
- this.objManager.nMinPageClickIndex = ct;
- }
-
- //hide the object blindly,SetState function will take care of the final correct state
- if( ((one_event_type == "bsscpageclick") &&
- (this.objManager[one_event_type][ct].nPageClick == 1)) ||
- one_event_type == "bsscpageload" ||
- one_event_type == "bssctrigger1" )
- CCSSP.ShowObject( this.eleTarget, false );
-
- if( one_event_type == "bssctrigger1" || one_event_type == "bssctrigger2" )
- if( typeof( this.strTriggerEvent ) == "undefined" )
- this.strTriggerEvent = ( one_event_type == "bssctrigger1" ) ? "bssctrigger2" : "bssctrigger1";
-
- return true;
- }
- return false;
-}
-
-CTarget.prototype.OnEvent = function( strBsscEvent )
-{// response to the event ( bssc format )
- if( typeof(this.objManager[strBsscEvent]) == "object" )
- { // to get the event agency from the event manager
- var eventAgency = this.objManager[strBsscEvent];
- for( var i = 0; i < eventAgency.length; i++ )
- {
- if( strBsscEvent == "bsscpageclick" &&
- eventAgency[i].nPageClick != CTarget.nPageClickCounter )
- continue;
- else if( strBsscEvent == "bsschover" && event.type == "mouseout" )
- eventAgency[i].EndEffect();
- else // to invoke the unified function in effect object
- eventAgency[i].UpdateEffect();
- }
- }
-}
-
-CTarget.prototype.SetState = function( strBsscEvent )
-{
- if( typeof(this.objManager[strBsscEvent]) != "object" )
- return false;
-
- // to get the event agency from the event manager
- var eventAgency = this.objManager[strBsscEvent];
-
- if( strBsscEvent == "bsscpageclick" )
- {// we only set the initial state for the minium number of pageclick
- eventAgency[this.objManager.nMinPageClickIndex].PrepareEffect();
- return true;
- }
- else
- {
- for( var i = 0; i < eventAgency.length; i++ )
- eventAgency[i].PrepareEffect(); // to invoke the unified function in effect object
- if( i > 0 )
- return true;
- else
- return false;
- }
-}
-//End the definition of class CTarget
-
-//Begin the definition of CEngine class
-function CEngine(){}// all properities are going be "class" properities
-
-// object : as associative array of trigger objects
-CEngine.objTrigger = new Object();
-// object : as associative array of target objects
-CEngine.objTarget = new Object();
-
-// Array : each element is a CAgencyXXX animation object
-CEngine.arrAnimation = new Array();
-CEngine.PerformAnimation = function( nIndex )
-{// animation : update effects function
- CEngine.arrAnimation[nIndex].UpdateEffect();
-}
-
-CEngine.AddOneTrigger = function(TriggerID,TriggerElement)
-{// add one Trigger object into the trigger array
- if( typeof(TriggerID) != "string" || TriggerElement == null ||
- typeof(TriggerElement) != "object" )
- return;
- if( typeof(CEngine.objTrigger[TriggerID] ) != "object" )
- CEngine.objTrigger[TriggerID] = new CTrigger(TriggerElement);
-}
-
-CEngine.AddOneTarget = function(TargetID, TargetElement)
-{// add one Target object into the target array
- if( typeof(TargetID) != "string" || TargetElement == null ||
- typeof(TargetElement) != "object" )
- return;
- if( typeof(CEngine.objTarget[TargetID]) != "object" )
- CEngine.objTarget[TargetID] = new CTarget( TargetElement );
-}
-
-CEngine.SendEventToOneTarget = function(strTargetID, strBsscEvent )
-{// to activate one target object
- if( typeof(CEngine.objTarget[strTargetID]) == "object" )
- {
- if( strBsscEvent == "bssctrigger1" || strBsscEvent == "bssctrigger2" )
- {//now, the "bssctrigger1" and "bssctrigger2" work like a toggle
- if( strBsscEvent == CEngine.objTarget[strTargetID].strTriggerEvent )
- strBsscEvent = (strBsscEvent == "bssctrigger1") ? "bssctrigger2" : "bssctrigger1";
- CEngine.objTarget[strTargetID].strTriggerEvent = strBsscEvent;
- }
- CEngine.objTarget[strTargetID].OnEvent( strBsscEvent );
- }
-}
-
-CEngine.SendEventToAllTarget = function( strBsscEvent )
-{ //to activate all target associative to the BSSC event
- for( var strTargetID in CEngine.objTarget ) //to enumerate all target
- CEngine.SendEventToOneTarget( strTargetID, strBsscEvent );
-}
-
-CEngine.SetOneTargetInitialState = function( strTargetID )
-{// only invoked after ALL effects for the target have been set
- if( typeof(CEngine.objTarget[strTargetID]) == "object" )
- {// to get target object
- var objTarget = CEngine.objTarget[strTargetID];
- if( objTarget.SetState( "bsscpageload" ) == false )
- {
- objTarget.SetState( "bsscpageclick" );
- objTarget.SetState( "bssctrigger1" );
- }
- }
-}
-
-CEngine.AdjustPageClickCounter = function()
-{
- var nAdjustedClickCounter = CTarget.nPageClickCounter;
- var bAdjusted = false;
- for( var strTargetID in CEngine.objTarget ) //to enumerate all target
- {// try to find the minum pageCliclConter greater than CTarget.nPageClickCounter
- var objEventPageClick = CEngine.objTarget[strTargetID].objManager.bsscpageclick;
- if( objEventPageClick != null )
- {
- for( var i = 0; i < objEventPageClick.length; i++ )
- {
- var nOtherPageClick = objEventPageClick[i].nPageClick;
- if( nOtherPageClick == CTarget.nPageClickCounter )
- return;
- if( nOtherPageClick > CTarget.nPageClickCounter )
- {
- if( !bAdjusted )
- {
- nAdjustedClickCounter = nOtherPageClick;
- bAdjusted = true;
- }
- else if( nOtherPageClick < nAdjustedClickCounter )
- nAdjustedClickCounter = nOtherPageClick;
- }
- }
- }
- }
- CTarget.nPageClickCounter = nAdjustedClickCounter;
-}
-
-CEngine.OnPageLoad = function()
-{
- // first, to set all target's initial state
- for( var strTargetID in CEngine.objTarget )
- CEngine.SetOneTargetInitialState( strTargetID );
-
- // to invoke all target's onpageload handler
- CEngine.SendEventToAllTarget( "bsscpageload" );
-}
-
-CEngine.OnPageClick = function()
-{ // to invoke all target's onpageclick handler
- var src = CCSSP.GetEventElement( arguments[0] );
- if( src == null )
- return;
-
- var objClickedTrigger = null;
- for( var strTriggerID in CEngine.objTrigger )
- { // to detect which trigger is clicked
- if( CCSSP.IsDescendant( CEngine.objTrigger[strTriggerID].eleTrigger,src) )
- {
- objClickedTrigger = CEngine.objTrigger[strTriggerID];
- break;
- }
- }
-
- if( objClickedTrigger != null) // the clicked trigger found
- objClickedTrigger.OnTriggerClick();
- else // no trigger is clicked
- { // to send PageClick event to all target
- CTarget.nPageClickCounter++;
- CEngine.AdjustPageClickCounter();
- CEngine.SendEventToAllTarget( "bsscpageclick" );
- }
-}
-
-CEngine.OnMouseOver = function()
-{ // to invoke all target's onpageload handler
- var src = CCSSP.GetEventElement( arguments[0] );
- if( src == null )
- return;
-
- var strHoveredTargetID = null;
- for( var strTargetID in CEngine.objTarget )
- { // to detect which Target is hovering on
- if( CCSSP.IsDescendant( CEngine.objTarget[strTargetID].eleTarget, src ) )
- {
- strHoveredTargetID = strTargetID;
- break;
- }
- }
-
- if( strHoveredTargetID != null ) // the hovered target found
- CEngine.SendEventToOneTarget( strHoveredTargetID, "bsschover" );
-}
-
-CEngine.BuildTargetObject = function(target_ID,event_type,action_type,
- action_setting, event_additional)
-{// to build target object
- // to get the target object
- if( typeof( CEngine.objTarget[target_ID] ) != "object" )
- return false;// the engine's AddOneTarget function might have failed.
- var TargetObject = CEngine.objTarget[target_ID];
-
- // to prepare the parameters for the event manager
- var arrEvent = event_type.split("|"); // to split the combined event_type string
- var arrAction = action_type.split("|");//to split the combined action_type string
- for( var trim = 0; trim < arrEvent.length; trim++ )
- arrEvent[trim] = CCSSP.TrimSpace(arrEvent[trim]);
-
- for( trim = 0; trim < arrAction.length; trim++ )
- arrAction[trim] = CCSSP.TrimSpace(arrAction[trim]);
-
- var arrSetting = new Array();
- if( typeof(action_setting) == "string" )
- arrSetting = action_setting.split("|");// to split the combined action_setting string
- // to calibrate the arrays
- for( var i = arrSetting.length; i < arrAction.length; i++ )
- {
- if( typeof(arrSetting[i]) != "string" )
- arrSetting[i] = "";
- }
-
- // to prepare for dealing with the absolute posioning element
- TargetObject.eleTarget.ABSX = CCSSP.GetObjectLeft( TargetObject.eleTarget );
- TargetObject.eleTarget.ABSY = CCSSP.GetObjectTop( TargetObject.eleTarget );
-
- if( arrEvent.length > 1 )
- {// if event is combined, it must be : "bssctrigger1 | bssctrigger2"
- if( arrAction.length != 2 )
- return false; // if event is combined, there must be 2 actions
- for( i = 0 ; i < 2; i++ )
- {
- if( TargetObject.SetEventManager(arrEvent[i], arrAction[i],
- arrSetting[i], event_additional) == false )
- return false; // the event manager has not been set up
- }
- }
- else // the event_type string is not combined
- {
- for( i = 0 ; i < arrAction.length; i++ )
- {
- TargetObject.SetEventManager(event_type, arrAction[i], arrSetting[i], event_additional);
- // to validate the event manager
- if( typeof(TargetObject.objManager[event_type]) != "object" ||
- typeof(TargetObject.objManager[event_type][i]) != "object" )
- return false; // the event manager has not been set up
- }
- }
- return true;
-}
-
-CEngine.BuildTriggerObject = function(trigger_ID, target_ID)
-{// to build the trigger object
- var arrTrigger = trigger_ID.split("|"); // to split the combined trigger_ID string
- for( var i = 0; i < arrTrigger.length; i ++ )
- {// to get the trigger element then add it to the trigger list
- arrTrigger[i] = CCSSP.TrimSpace( arrTrigger[i] );
- var eleTrigger = CCSSP.GetObject( arrTrigger[i] );
- if( eleTrigger == null )
- continue; // the trigger_ID string in the HTML code maybe wrong
- CEngine.AddOneTrigger( arrTrigger[i], eleTrigger );
-
- // to get the target object
- if( typeof( this.objTrigger[arrTrigger[i]] ) != "object" )
- continue;// the engine's AddOneTarget function might have failed.
- CEngine.objTrigger[arrTrigger[i]].AddTargetID( target_ID );
- }
-}
-//End the definition of CEngine class
-
-/// Section End - CCSSP DHTM 1 (JavaScript 1.2)
-
-/// Section Begin - CCSSP DHTM 2 (JavaScript 1.2)
-
-//Begin the definition of CAgencyXXXX classes
-
-//Begin of the CAgencyShow definition
-function CAgencyShow( element, bIsShow )
-{
- this.ele = element;
- this.bIsShow = bIsShow;
-}
-
-CAgencyShow.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject( this.ele, !this.bIsShow );
-}
-
-CAgencyShow.prototype.UpdateEffect = function()
-{
- CCSSP.ShowObject( this.ele, this.bIsShow );
-}
-
-CAgencyShow.prototype.EndEffect = function()
-{
- CCSSP.ShowObject( this.ele, !this.bIsShow );
-}
-// End of the CAgencyShow definition
-
-// Begin of CAgencyFly definition
-function CAgencyFly( element, settings, bIsIn )
-{
- this.ele = element;
- this.bIsIn = bIsIn;
- this.duration = 1000; // default
- this.direction = "right";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- case "direction" : this.direction = arrOneSet[1]; break;
- }
- }
-
- if( gbBsIE5 && this.ele.style.position != "absolute" )
- this.ele.style.position = "relative";
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyFly.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, !this.bIsIn );
-}
-
-CAgencyFly.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var newX = this.startX*(1.0-percent) + this.finalX*percent;
- var newY = this.startY*(1.0-percent) + this.finalY*percent;
- CCSSP.MoveObjectTo(this.ele, newX, newY);
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyFly.prototype.EndEffect = function()
-{
- clearInterval( this.timer );
- this.timer = null;
-
- if( this.bIsIn ) // FlyIn
- CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);
- else // FlyOut
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- CCSSP.ShowObject(this.ele, this.bIsIn );
-}
-
-CAgencyFly.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- CCSSP.ShowObject(this.ele, true );
-
- this.startX = 0;
- this.startY = 0;
- this.finalX = 0;
- this.finalY = 0;
-
- var offsetLeft = CCSSP.GetObjectWindowLeft(this.ele) + this.ele.offsetWidth;
- var offsetTop = CCSSP.GetObjectWindowTop(this.ele) + this.ele.offsetHeight;
- var offsetRight = CCSSP.GetWindowRight();
- var offsetBottom = CCSSP.GetWindowBottom();
-
- if( this.bIsIn )
- { // FlyIn
- this.finalX = this.ele.ABSX;
- this.finalY = this.ele.ABSY;
-
- switch( this.direction )
- {
- case "right": this.startX = offsetRight; this.startY = this.finalY; break;
- case "left": this.startX = -offsetLeft; this.startY = this.finalY; break;
- case "down": this.startY = offsetBottom; this.startX = this.finalX; break;
- case "up": this.startY = -offsetTop; this.startX = this.finalX; break;
- case "downright":
- this.startX = ( offsetBottom < offsetRight) ? offsetBottom : offsetRight;
- this.startY = this.startX; break;
- case "upright":
- this.startX = (offsetTop < offsetRight)? offsetTop : offsetRight;
- this.startY = -this.startX; break;
- case "upleft":
- this.startX = -((offsetTop < offsetRight)? offsetTop : offsetRight);
- this.startY = this.startX; break;
- case "downleft":
- this.startX = -(( offsetBottom < offsetRight) ? offsetBottom : offsetRight);
- this.startY = -this.startX; break;
- }
- }
- else
- { // FlyOut
- this.startX = this.ele.ABSX;
- this.startY = this.ele.ABSY;
-
- switch( this.direction )
- {
- case "right": this.finalX = offsetRight; this.finalY = this.startY; break;
- case "left": this.finalX = -offsetLeft; this.finalY = this.startY; break;
- case "down": this.finalY = offsetBottom; this.finalX = this.startX; break;
- case "up": this.finalY = -offsetTop; this.finalX = this.startX; break;
- case "downright":
- this.finalX = ( offsetBottom < offsetRight) ? offsetBottom : offsetRight;
- this.finalY = this.finalX; break;
- case "upright":
- this.finalX = (offsetTop < offsetRight)? offsetTop : offsetRight;
- this.finalY = -this.finalX; break;
- case "upleft":
- this.finalX = -((offsetTop < offsetRight)? offsetTop : offsetRight);
- this.finalY = this.finalX; break;
- case "downleft":
- this.finalX = -(( offsetBottom < offsetRight) ? offsetBottom : offsetRight);
- this.finalY = -this.finalX; break;
- }
- }
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- this.startTime = (new Date()).getTime();
-}
-// End of the CAgencyFly definition
-
-// Begin of CAgencySpiral
-function CAgencySpiral( element, settings, bIsIn )
-{
- this.ele = element;
- this.bIsIn = bIsIn;
- this.duration = 1000; // default
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- }
- }
-
- if( gbBsIE5 && this.ele.style.position != "absolute" )
- this.ele.style.position = "relative";
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencySpiral.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, !this.bIsIn );
-}
-
-CAgencySpiral.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var rf = (this.bIsIn)? (1.0 - percent) : percent;
- var t = (1.0-rf) * 4.0 * Math.PI
- var rxP = (this.bIsIn)? this.startX : this.finalX;
- var ryP = (this.bIsIn)? this.startY : this.finalY;
- var rx = (Math.abs(rxP) < 200) ? Math.abs(rxP) : 200;
- var ry = (Math.abs(ryP) < 200) ? Math.abs(ryP) : 200;
-
- var newX = Math.ceil(-rf*Math.cos(t)*rx) + this.ele.ABSX;
- var newY = Math.ceil(-rf*Math.sin(t)*ry) + this.ele.ABSY;
- CCSSP.MoveObjectTo(this.ele, newX, newY);
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencySpiral.prototype.EndEffect = function()
-{
- clearInterval( this.timer );
- this.timer = null;
-
- if( this.bIsIn ) // In
- CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);
- else // Out
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- CCSSP.ShowObject(this.ele, this.bIsIn );
-}
-
-CAgencySpiral.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- CCSSP.ShowObject(this.ele, true );
- this.startX = (this.bIsIn)? CCSSP.GetWindowRight() : this.ele.ABSX;
- this.startY = (this.bIsIn)? CCSSP.GetWindowBottom() : this.ele.ABSY;
- this.finalX = (this.bIsIn)? this.ele.ABSX : CCSSP.GetWindowRight();
- this.finalY = (this.bIsIn)? this.ele.ABSY : CCSSP.GetWindowBottom();
-
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- this.startTime = (new Date()).getTime();
-}
-// End of CAgencySpiral
-
-// Begin of CAgencyElastic
-function CAgencyElastic( element, settings)
-{
- this.ele = element;
- this.duration = 1000; // default
- this.direction = "right";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- case "direction" : this.direction = arrOneSet[1]; break;
- }
- }
-
- if( gbBsIE5 && this.ele.style.position != "absolute" )
- this.ele.style.position = "relative";
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyElastic.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, false );
-}
-
-CAgencyElastic.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var newX = this.startX;
- var newY = this.startY;
- var rf = Math.exp(-percent*3);
- var t = percent * 1.5 * Math.PI
- var rx = (Math.abs(this.startX) > Math.abs(this.startY)) ? this.startX : this.startY;
- switch (this.direction )
- {
- case "left":
- case "right" : newX = rf*Math.cos(t)*rx + this.ele.ABSX; break;
- case "up":
- case "down" : newY = rf*Math.cos(t)*rx + this.ele.ABSX; break;
- }
- CCSSP.MoveObjectTo(this.ele, newX, newY);
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyElastic.prototype.EndEffect = function()
-{
- CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);
- clearInterval( this.timer );
- this.timer = null;
-}
-
-CAgencyElastic.prototype.ResetParameters = function()
-{
- CCSSP.ShowObject(this.ele, true );
- this.startX = this.ele.ABSX;
- this.finalX = this.ele.ABSX;
- this.startY = this.ele.ABSY;
- this.finalY = this.ele.ABSY;
-
- switch (this.direction)
- {
- case "left": this.startX = -this.ele.offsetWidth; break;
- case "right": this.startX = this.ele.offsetWidth; break;
- case "up": this.startY = -this.ele.offsetHeight;break;
- case "down": this.startY = this.ele.offsetHeight; break;
- }
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- this.startTime = (new Date()).getTime();
-}
-// End of CAgencyElastic
-
-// Begin of CAgencyZoom
-function CAgencyZoom( element, settings, bIsIn)
-{
- this.ele = element;
- this.duration = 1000; // default
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- }
- }
-
- this.bIsIn = bIsIn;
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyZoom.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, false);
-}
-
-CAgencyZoom.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var nFactorIn = Math.ceil(50+50*percent);
- var nFactorOut = Math.ceil(100+200*(1-percent));
- var AlterFontsize = ((this.bIsIn)? nFactorIn : nFactorOut) + "%";
- var AlterFactor = ((this.bIsIn)? nFactorIn : nFactorOut) / 100;
-
- this.UpdateEffectAllChildren(this.ele, AlterFontsize, AlterFactor);
- for(var index = 0; index < this.ele.all.length; index++)
- this.UpdateEffectAllChildren(this.ele.all[index], AlterFontsize, AlterFactor);
-
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyZoom.prototype.UpdateEffectAllChildren = function(child, FontSize, Factor)
-{
- if( CCSSP.IsTextTag(child) )
- child.style.fontSize = FontSize;
- else
- {
- if( typeof(child.orgWidth) == "number" )
- child.style.width = Factor * child.orgWidth;
- if( typeof(child.orgHeight) == "number" )
- child.style.height = Factor * child.orgHeight;
- }
-}
-
-CAgencyZoom.prototype.EndEffect = function()
-{
- this.EndEffectAllChildren(this.ele);
- for(var index = 0; index < this.ele.all.length; index++)
- this.EndEffectAllChildren(this.ele.all[index]);
-
- clearInterval( this.timer );
- this.timer = null;
-}
-
-CAgencyZoom.prototype.EndEffectAllChildren = function( child )
-{
- if( CCSSP.IsTextTag(child) )
- child.style.fontSize = child.orgFontSize;
- else
- {
- if( typeof(child.intactWidth) != "undefined" )
- {
- child.width = child.intactWidth;
- child.height = child.intactHeight;
- }
- else if( typeof(child.style.intactPixelWidth) != "undefined" )
- {
- child.style.pixelWidth = child.style.intactPixelWidth;
- child.style.pixelHeight = child.style.intactPixelHeight;
- }
- }
-}
-
-CAgencyZoom.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- this.ResetParametersAllChildren( this.ele );
- for(var index = 0; index < this.ele.all.length; index++)
- this.ResetParametersAllChildren(this.ele.all[index]);
-
- this.startTime = (new Date()).getTime();
-}
-
-CAgencyZoom.prototype.ResetParametersAllChildren = function( child )
-{
- CCSSP.ShowObject(child, true );
- if( (child.tagName == "DIV") && (getParentNode(child).tagName == "TD") )
- child.width = "100%";// if the div is inside a cell of table, we need the this hack
-
- if( CCSSP.IsTextTag(child) )
- child.orgFontSize = child.style.fontSize;
- else
- {
- if( child.width > "" || child.height > "" )
- {
- child.orgWidth = child.intactWidth = child.width;
- child.orgHeight = child.intactHeight = child.height;
- }
- else if( ( typeof(child.orgWidth) != "number" ) && (typeof(child.orgHeight) != "number") )
- {
- child.orgWidth = child.style.intactPixelWidth = child.style.pixelWidth;
- child.orgHeight = child.style.intactPixelHeight = child.style.pixelHeight;
- }
- }
-}
-// End of CAgencyZoom
-
-//// the following effects will use IE's exclusive "filter" function ////
-// Begin of CAgencyAlpha definition
-function CAgencyAlpha( element, settings, bIsIn )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
- this.bIsIn = bIsIn;
-
- // to set the default value
- this.startOpacity = (this.bIsIn) ? 0 : 100;
- this.endOpacity = (this.bIsIn) ? 100 : 0;
-
- this.duration = 1000; // default
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- }
- }
-
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyAlpha.prototype.PrepareEffect = function()
-{// to set the visual filter function
- // the visual filter ONLY work when set by "Width and Height" or
- // absolute position for DIV, SPAN and normal tag ( such as p )
- // but, "absolute" cause the following elements overlap, so:
- CCSSP.PrepareFilter( this.ele );
- CCSSP.ShowObject(this.ele, !this.bIsIn );
-}
-
-CAgencyAlpha.prototype.UpdateEffect = function()
-{// to set the visual filter function
- if( this.timer == null )
- this.ResetParameters();
- if( typeof(this.ele.filters.alpha) != "object" )
- {
- this.EndEffect();
- return;
- }
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else if( typeof(this.ele.filters.alpha) == "object" )
- {
- this.ele.filters.alpha.opacity = this.startOpacity*(1.0-percent) + this.endOpacity*percent;
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyAlpha.prototype.EndEffect = function()
-{// to remove the visual filter function
- clearInterval( this.timer );
- this.timer = null;
- this.ele.style.filter = "";
- CCSSP.ShowObject(this.ele, this.bIsIn );
-}
-
-CAgencyAlpha.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- CCSSP.ShowObject(this.ele, true );
- this.ele.style.filter = "alpha(opacity=" + this.startOpacity + ")";
- this.startTime = (new Date()).getTime();
-}
-// End of the CAgencyAlpha definition
-
-// Begin of CAgencyWave definition
-function CAgencyWave( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- this.duration = 0; // default
- this.strength = 10;
- this.freq = 1;
- this.lightstrength = 1;
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "duration" : this.duration = 100000/arrOneSet[1]; break;
- case "strength" : this.strength = arrOneSet[1]; break;
- case "freq" : this.freq = arrOneSet[1]; break;
- case "lightstrength" : this.lightstrength = arrOneSet[1]; break;
- }
- }
-
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyWave.prototype.PrepareEffect = function()
-{// to set the visual filter function
- CCSSP.PrepareFilter(this.ele);
-
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyWave.prototype.UpdateEffect = function()
-{// to set the visual filter function
- if( this.timer == null )
- this.ResetParameters();
- if( typeof(this.ele.filters.wave) != "object" )
- {
- this.EndEffect();
- return;
- }
-
- if( this.duration > 0 )
- {
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- {
- this.EndEffect();
- return;
- }
- }
-
- this.ele.filters.wave.phase += 5;
- this.ele.filters.wave.phase %= 100;
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 50 );
-}
-
-CAgencyWave.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
- clearInterval( this.timer );
- this.timer = null;
-}
-
-CAgencyWave.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- this.ele.style.filter = "wave(strength=" + this.strength + ",freq=" +
- this.freq +", lightstrength=" + this.lightstrength +",phase=0);";
- this.startTime = (new Date()).getTime();
-}
-// End of the CAgencyWave definition
-
-// Begin of CAgencyGlow definition
-function CAgencyGlow( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.glowColor = "green";
- this.glowStrength = "3";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "color" : this.glowColor = arrOneSet[1]; break;
- case "strength" : this.glowStrength = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyGlow.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
- if( this.ele.style.backgroundColor != "" )
- {//style.backgroundColor somehow stop the visual filter
- this.ele.intactBackgroundColor = this.ele.style.backgroundColor;
- this.ele.style.backgroundColor = "";
- }
-}
-
-CAgencyGlow.prototype.UpdateEffect = function()
-{// to set the visual filter function
- this.PrepareEffect();
- this.ele.style.filter = "glow(Color=" + this.glowColor + ", Strength=" +
- this.glowStrength + ", enabled=true" +")";
-}
-
-CAgencyGlow.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
- if( typeof(this.ele.intactBackgroundColor) != "undefined" )
- this.ele.style.backgroundColor = this.ele.intactBackgroundColor;
-}
-// End of the CAgencyGlow definition
-
-// Begin of CAgencyDropShadow definition
-function CAgencyDropShadow( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.shadowColor = "black";
- this.shadowOffx = "1";
- this.shadowOffy = "1";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "color" : this.shadowColor = arrOneSet[1]; break;
- case "offx" : this.shadowOffx = arrOneSet[1]; break;
- case "offy" : this.shadowOffy = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyDropShadow.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
-
- if( this.ele.style.backgroundColor != "" )
- {//style.backgroundColor somehow stop the visual filter
- this.ele.intactBackgroundColor = this.ele.style.backgroundColor;
- this.ele.style.backgroundColor = "";
- }
-}
-
-CAgencyDropShadow.prototype.UpdateEffect = function()
-{// to set the visual filter function
- this.PrepareEffect();
- this.ele.style.filter = "dropshadow(color=" + this.shadowColor + ", offx=" +
- this.shadowOffx + ", offy=" + this.shadowOffy + ")";
-}
-
-CAgencyDropShadow.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
- if( typeof(this.ele.intactBackgroundColor) != "undefined" )
- this.ele.style.backgroundColor = this.ele.intactBackgroundColor;
-}
-// End of the CAgencyDropShadow definition
-
-// Begin of CAgencyRevealTrans definition
-function CAgencyRevealTrans( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.duration = 1.0; //The value is specified in seconds.milliseconds format (0.0000).
- this.transition = 0;
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "type" : this.transition = arrOneSet[1]; break;
- case "duration" : this.duration = 100/arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyRevealTrans.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject( this.ele, false);
-}
-
-CAgencyRevealTrans.prototype.UpdateEffect = function()
-{// to set the visual filter function
- if( typeof( this.ele.filters.RevealTrans ) == "object" )
- {
- if( this.ele.filters.RevealTrans.status == 2 )
- this.ele.filters.RevealTrans.stop();
- }
-
- this.PrepareEffect();
-
- this.ele.style.filter = "RevealTrans(duration=" + this.duration +
- ", transition=" + this.transition + ")";
-
- if( typeof( this.ele.filters.RevealTrans ) == "object" )
- {
- this.ele.filters.RevealTrans.apply();
- CCSSP.ShowObject( this.ele, true);
- this.ele.filters.RevealTrans.play();
- }
- else
- CCSSP.ShowObject( this.ele, true);
-}
-
-CAgencyRevealTrans.prototype.EndEffect = function()
-{
- if( typeof( this.ele.filters.RevealTrans ) == "object" )
- this.ele.filters.RevealTrans.stop();
- this.ele.style.filter = "";
-}
-// End of the CAgencyRevealTrans definition
-
-// Begin of CAgencyBlur definition
-function CAgencyBlur( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.strength = "5";
- this.direction = "90";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "strength" : this.strength = arrOneSet[1]; break;
- case "direction" : this.direction = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyBlur.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyBlur.prototype.UpdateEffect = function()
-{// to set the visual filter function
- CCSSP.PrepareFilter(this.ele);
- this.ele.style.filter = "blur(strength=" + this.strength +
- ", direction=" + this.direction + ")";
-}
-
-CAgencyBlur.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
-}
-// End of the CAgencyBlur definition
-
-// Begin of CAgencyChangeFilter definition
-function CAgencyChangeFilter( element, settings ) // flipH, flipV, invert, grey,
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.filterFunction = settings;
-}
-
-CAgencyChangeFilter.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyChangeFilter.prototype.UpdateEffect = function()
-{// to set the visual filter function
- CCSSP.PrepareFilter(this.ele);
- this.ele.style.filter = this.filterFunction;
-}
-
-CAgencyChangeFilter.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
-}
-// End of the CAgencyChangeFilter definition
-
-// The effects below change the style on the fly, so they won't work in Navigator
-
-// Begin of CAgencyFontChange definition,
-function CAgencyFontChange( element, settings )
-{//this class can be replace by CAgencyChangeStyle,provided the "settings" is standard CSS string.
- this.ele = element;
-
- // to retrieve the original font style
- this.RetrieveOldFont( this.ele );
-
- // to set the default font to change
- this.newfontFamily = this.ele.oldFontFamily;
- this.newfColor = this.ele.oldColor;
- this.newtextDecoration = this.ele.oldTextDecoration;
- this.newfontWeight = this.ele.oldFontWeight;
- this.newfontStyle = this.ele.oldFontStyle;
- this.newfontSize = this.ele.oldFontSize;
- this.newBackgroundColor = this.ele.oldBackgroundColor;
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "font-family" : this.newfontFamily = arrOneSet[1]; break;
- case "color" : this.newfColor = arrOneSet[1]; break;
- case "underline" : this.newtextDecoration = (arrOneSet[1]=="on")? "underline" : "none"; break;
- case "bold" : this.newfontWeight = (arrOneSet[1]=="on")? "bold" : "normal"; break;
- case "italic" : this.newfontStyle = (arrOneSet[1]=="on")? "italic" : "normal"; break;
- case "size" : this.newfontSize = arrOneSet[1]; break;
- case "background-color" : this.newBackgroundColor = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyFontChange.prototype.RetrieveOldFont = function(objChild)
-{
- if( typeof(objChild.oldFontFamily) == "undefined" )
- objChild.oldFontFamily = objChild.style.fontFamily;
- if( typeof(objChild.oldColor) == "undefined" )
- objChild.oldColor = objChild.style.color;
- if( typeof(objChild.oldTextDecoration) == "undefined" )
- objChild.oldTextDecoration = objChild.style.textDecoration;
- if( typeof(objChild.oldFontWeight) == "undefined" )
- objChild.oldFontWeight = objChild.style.fontWeight;
- if( typeof(objChild.oldFontStyle) == "undefined" )
- objChild.oldFontStyle = objChild.style.fontStyle;
- if( typeof(objChild.oldFontSize) == "undefined" )
- objChild.oldFontSize = objChild.style.fontSize;
- if( typeof(objChild.oldBackgroundColor) == "undefined" )
- objChild.oldBackgroundColor = objChild.style.backgroundColor;
-}
-
-CAgencyFontChange.prototype.PrepareEffect = function()
-{
- // as for expanding text, the child is created after the constructor called
- for(var index = 0; index < this.ele.all.length; index++)
- this.RetrieveOldFont(this.ele.all[index]);
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyFontChange.prototype.UpdateEffect = function()
-{// to change the font
- this.PrepareEffect();
- this.UpdateEffectAllChildren( this.ele );
- for( var index = 0; index < this.ele.all.length; index++)
- this.UpdateEffectAllChildren(this.ele.all[index]);
-}
-
-CAgencyFontChange.prototype.UpdateEffectAllChildren = function(objChild)
-{
- objChild.style.fontFamily = this.newfontFamily;
- objChild.style.color = this.newfColor;
- objChild.style.textDecoration = this.newtextDecoration;
- objChild.style.fontWeight = this.newfontWeight;
- objChild.style.fontStyle = this.newfontStyle;
- objChild.style.fontSize = this.newfontSize;
- objChild.style.backgroundColor = this.newBackgroundColor;
-}
-
-CAgencyFontChange.prototype.EndEffect = function()
-{// to reinstate the original font style
- this.EndEffectAllChildren( this.ele );
- for( var index = 0; index < this.ele.all.length; index++)
- this.EndEffectAllChildren(this.ele.all[index]);
-}
-
-CAgencyFontChange.prototype.EndEffectAllChildren = function( objChild )
-{
- if( typeof(objChild.oldFontFamily) != "undefined" )
- objChild.style.fontFamily = objChild.oldFontFamily;
- if( typeof(objChild.oldColor) != "undefined" )
- objChild.style.color = objChild.oldColor;
- if( typeof(objChild.oldFontWeight) != "undefined" )
- objChild.style.fontWeight = objChild.oldFontWeight;
- if( typeof(objChild.oldFontStyle) != "undefined" )
- objChild.style.fontStyle = objChild.oldFontStyle;
- if( typeof(objChild.oldFontSize) != "undefined" )
- objChild.style.fontSize = objChild.oldFontSize;
- if( typeof(objChild.oldTextDecoration) != "undefined" )
- objChild.style.textDecoration = objChild.oldTextDecoration;
- if( typeof(objChild.oldBackgroundColor) != "undefined" )
- objChild.style.backgroundColor = objChild.oldBackgroundColor;
-}
-// End of the CAgencyFontChange definition
-
-// Begin of the CAgencyChangeStyle definition
-function CAgencyChangeStyle( element, settings )
-{//this class can be replace by CAgencyChangeStyle,provided the "settings" is standard CSS string.
- this.ele = element;
-
- // to retrieve the original style
- this.oldstyle = this.ele.style.cssText;
-
- // to set the default style
- this.newStyle = this.oldstyle;
-
- if( typeof(settings) == "string" && settings.length > 1 )
- this.newStyle = this.oldstyle + " " + settings;
-}
-
-CAgencyChangeStyle.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyChangeStyle.prototype.UpdateEffect = function()
-{// to change the style
- this.ele.style.cssText = this.newStyle;
-}
-
-CAgencyChangeStyle.prototype.EndEffect = function()
-{// to reinstate the original style
- this.ele.style.cssText = this.oldStyle;
-}
-// End of the CAgencyChangeStyle definition
-
-//End the definition of CAgencyXXXX classes
-
-//Begin to collaborate with other event handler settings
-CCSSP.RegisterEventHandler( window, "onload", "CEngine.OnPageLoad();BSSCOnLoad();kadovInitTriggersInHead();");
-CCSSP.RegisterEventHandler( document, "onclick", "CEngine.OnPageClick();BSSCOnClick();");
-CCSSP.RegisterEventHandler( document, "onmouseover", "CEngine.OnMouseOver();BSSCOnMouseOver();" );
-CCSSP.RegisterEventHandler( document, "onmouseout", "CEngine.OnMouseOver();BSSCOnMouseOut();" );
-CCSSP.RegisterEventHandler( window, "onunload", "BSSCOnUnload();");
-//End to collaborate with other event handler settings
-
-/// Section End - CCSSP DHTM 2 (JavaScript 1.2)
-
-//// Segment End -- (JavaScript 1.2)
\ No newline at end of file
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Gauss Points Presentation</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-p.whs1 { font-family:'Times New Roman' , serif; font-style:italic; color:#ff0000; margin-left:40px; }
-p.whs2 { font-family:'Times New Roman' , serif; margin-left:40px; font-style:normal; color:#000000; }
-img_whs3 { border:none; width:23px; height:22px; border-style:none; }
-p.whs4 { font-family:'Times New Roman' , serif; margin-left:40px; font-style:normal; color:#000000; font-weight:bold; }
-img_whs5 { border:none; width:528px; height:501px; border-style:none; }
-p.whs6 { margin-left:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs6 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nCreating a Gauss Points Presentation");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Creating a Gauss Points Presentation</h1>
-
-<p class=TODO>To create a Gauss Points presentation:</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2">- Right-click on one of the time stamps of
- the field in the Object browser and from the pop-up menu choose <span
- style="font-weight: bold;"><B>Gauss Points, </B></span>or</p>
-
-<p class="whs2">- Click on one of the time stamps of the field
- in the Object browser and select from the main menu <span style="font-weight: bold;"><B>Visualization
- > Gauss Points</B></span>, or click <img src="image29.gif" width="23px" height="22px" border="0" class="img_whs3"> icon<span style="font-weight: bold;">
- <B></B></span>in the <span style="font-weight: bold;"><B>Visualization Toolbar.</B></span></p>
-
-<p class="whs2"> </p>
-
-<p> </p>
-
-<p class="whs4"><img src="image31.jpg" width="528px" height="501px" border="0" class="img_whs5"></p>
-
-<p> </p>
-
-<p>Now you can choose the <span style="font-weight: bold;"><B><a href="types_of_gauss_points_presentations.htm">Type</a></B></span>
- of your Gauss Points presentation and <a href="primitive_types.htm" style="font-weight: bold;">Primitives</a>
- used for visualisation of the points and set their properties.</p>
-
-<p>You can also change the <span style="font-weight: bold;"><B><a href="scalar_bar.htm">Scalar
- Bar</a></B></span> properties</p>
-
-<p> </p>
-
-<p class="whs6">To exit the dialog and apply choices press
- <span style="font-weight: bold;"><B>OK</B></span> button, or press <span style="font-weight: bold;"><B>CANCEL</B></span>
- button to quit.</p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Gauss Viewer</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-p.whs1 { margin-left:40px; }
-img_whs2 { border:none; width:185px; height:186px; border-style:none; }
-ul.whs3 { list-style:disc; }
-p.whs4 { font-weight:bold; }
-p.whs5 { font-weight:normal; }
-img_whs6 { border:none; width:25px; height:111px; border-style:none; }
-img_whs7 { border:none; width:27px; height:25px; border-style:none; }
-p.whs8 { text-align:justify; font-weight:bold; margin-left:38px; }
-p.whs9 { text-align:justify; font-weight:bold; margin-left:0px; }
-img_whs10 { border:none; width:25px; height:29px; border-style:none; }
-img_whs11 { border:none; width:25px; height:27px; border-style:none; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs9 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nGauss Viewer");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Gauss Viewer</h1>
-
-<p><span style="font-weight: bold;"><B>Gauss Points Viewer</B></span> is the viewer
- specially developed to display <span style="font-weight: bold;"><B>Gauss
- Points Presentations</B></span> in <span style="font-weight: bold;"><B>Post-Pro
- Module.</B></span></p>
-
-<p> </p>
-
-<p>The viewer is activated automatically when you choose to create a Gauss
- Points Presentation. </p>
-
-<p>Right mouse-click on the Presentation gives access to the following
- options:</p>
-
-<p> </p>
-
-<p class="whs1"><img src="image1.gif" width="185px" height="186px" border="0" class="img_whs2"></p>
-
-<p> </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Rename</B></span>
- - allows to rename the presentation.</p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Edit</B></span> -
- allows to return to <a href="types_of_gauss_points_presentations.htm">Gauss
- Points Properties</a> menu and change the parameters of a presentation
- </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Copy</B></span> -
- allows to create a copy of the presentation in the same subfolder (time
- stamp) in the Object Browser.</p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Erase</B></span>
- - allows to hide the selected presentation from the viewer. </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Display Only</B></span>
- - allows to display only the selected presentation, hiding all other from
- the viewer.</p></li>
-
- <li class=kadov-p><p class="whs4">Store current configuration
- - <span style="font-weight: normal;">allows to save the current layout
- of the viewer (settings, position of windows, etc).</span></p></li>
-
- <li class=kadov-p><p class="whs4">Dump view - <span style="font-weight: normal;">exports
- an object from the viewer in bmp, png, jpg or jpeg image format. </span></p></li>
-
- <li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Change
- Background</B></span> - allows to change the properties of the background.</p></li>
-</ul>
-
-<p> </p>
-
-<p>Most operations available via Viewer Toolbar are common with <span style="font-weight: bold;"><B>VTK
- 3D Viewer</B></span>. <span style="font-weight: bold;"><B>VTK 3D Viewer</B></span>
- is detailly described in the documentation on<span style="font-weight: bold;"><B>
- GUI module.</B></span> </p>
-
-<p>However, some functionalities are used only in <span style="font-weight: bold;"><B>Gauss
- Points Viewer</B></span>.</p>
-
-<p> </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p> <img src="image26.gif" width="25px" height="111px" border="0" class="img_whs6"> These buttons are used for <span style="font-weight: bold;"><B><a href="animation_in_gauss_viewer.htm">Recording</a></B></span>. </p></li>
-
- <li class=kadov-p><p><img src="image6.gif" width="27px" height="25px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Interaction
- Style Switch - </B></span>allows to switch between two the modes of mouse
- manipulation. </p></li>
-
- <li class=kadov-p><p class="whs8">Salome Standard Controls
- - <span style="font-weight: normal;">allows to manipulate objects in the
- viewer with the mouse and locked Ctrl button: increase or decrease the
- zoom ratio with the left mouse button, translate object in any direction
- with the central mouse button or rotate it with the right mouse button.
- </span></p></li>
-
- <li class=kadov-p><p class="whs8">Keyboard Free - <span
- style="font-weight: normal;">allows to manipulate objects in the viewer
- with the mouse without locking Ctrl button</span>. <span style="font-weight: normal;">In
- this case the operations are assigned to the buttons differently: rotation
- is made with the left button, translation with the right and zoom with
- both pressed in the same time.</span> </p></li>
-
- <li class=kadov-p><p class="whs9"><img src="image7.gif" width="25px" height="29px" border="0" class="img_whs10"> Selection
- Mode Switch - <span style="font-weight: normal;">activates</span> <a href="picking.htm">Picking</a>.
- </p></li>
-
- <li class=kadov-p><p class="whs9"><img src="image8.gif" width="25px" height="27px" border="0" class="img_whs11"> Plane
- Segmentation - <span style="font-weight: normal;">activates</span> <a href="segmentation.htm">Segmentation</a>. </p></li>
-</ul>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whstub.js"></script><script language="javascript1.2" src="whstart.js"></script>
-<script language="javascript">
-<!--
-var strDefaultTopic = "about:blank";
-var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:Noframeset
-var bNoApplet = false;
-var strPaneDHTML = "whd_nvp10.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.
-var strPaneApplet = "whd_nvp20.htm";
-var strPaneList = "whgdata/whnvp30.htm";
-
-var strHTML = "";
-var strPane = "";
-var nViewFrameType = -1;
-
-function CMRServer()
-{
- this.m_cAgents = new Array;
-}
-var cMRServer = new CMRServer;
-
-//figure out which mode is the best
-if (!window.gAgent)
-{
- // low end browser, we don't even try to determine it.
- document.location = "whnjs.htm";
-}
-else
-{
- if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)
- document.location = "whnjs.htm";
- else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))
- document.location = "whnjs.htm";
- else if (gbMac && gbIE4 && !gbIE5)
- document.location = "whnjs.htm";
- //figure out which mode is the best
- else
- {
- nViewFrameType=nWebhelpNavPaneMode;
- if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)
- {
- var gbDHTML=(nWebhelpNavPaneMode==1);
- if (gbNav4) nViewFrameType = 2;
- if (gbNav4&&(gnVerMinor < 4.1)) nViewFrameType = 3;
- if (gbNav4&&(gnVerMinor == 4.6)) nViewFrameType = 3;
- if (gbIE4&&gbDHTML) nViewFrameType = 1;
- if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2) nViewFrameType = 3;
- if (gbNav6&&gbDHTML) nViewFrameType = 1;
- if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2) nViewFrameType = 3;
- if (gbMac) nViewFrameType = 3;
- if (gbOpera7&&nViewFrameType == 2) nViewFrameType = 3;
- if ((bNoApplet)&&(nViewFrameType == 2)) nViewFrameType = 3;
- }
- }
-}
-
-if (nViewFrameType!=-1)
-{
- var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
- //The colordepth of the 16 color on Windows is 1.
- if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))
- {
- alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");
- nViewFrameType = 3;
- }
-
- //figure out which one is navpane
- if (nViewFrameType == 1)
- strPane = strPaneDHTML;
- else if (nViewFrameType == 2)
- strPane = strPaneApplet;
- else
- strPane = strPaneList;
-
- var oParam = new Object();
- oParam.sTopic = "";
- var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, window, 1, oParam);
- if (SendMessage(oMsg) && oParam.sTopic != "")
- strDefaultTopic = oParam.sTopic;
-
-
- if (nViewFrameType == 1)
- {
- //DHTML (iframe or xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" frameborder=\"1\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane + "\" scrolling=\"no\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 2)
- {
- //applet (xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane+ "\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 3)
- {
- //generic html (pure html based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\">";
- strHTML += "<frame title=\"navigation frame\" src=\"" + strPane + "\" name=\"bsscleft\" scrolling=\"no\"></frame>";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" scrolling=\"auto\"></frame>";
- strHTML += "</frameset>";
- }
- else if (nViewFrameType == 4)
- {
- //no navipane at all
- strHTML += "<frameset id=\"whPfset\" border=\"0\" cols=\"100%,*\">";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";
- strHTML += "</frameset>";
- }
-
- document.write(strHTML);
-
- RegisterListener2(window, WH_MSG_SHOWPANE);
- RegisterListener2(window, WH_MSG_HIDEPANE);
- RegisterListener2(window, WH_MSG_ISPANEVISIBLE);
- window.onunload = window_unload;
-}
-
-function window_unload()
-{
- UnRegisterListener2(window, WH_MSG_SHOWPANE);
- UnRegisterListener2(window, WH_MSG_HIDEPANE);
- UnRegisterListener2(window, WH_MSG_ISPANEVISIBLE);
-}
-
-
-function onSendMessage(oMsg)
-{
- var nMsgId = oMsg.nMessageId;
- if (nMsgId == WH_MSG_SHOWPANE)
- {
- getElement("whPfset").cols = "260,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_GETPANEINFO, this, 1, "");
- if (SendMessage(onMsg))
- {
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, onMsg.oParam);
- SendMessage(onMsg);
- }
- return false;
- }
- else if (nMsgId == WH_MSG_HIDEPANE)
- {
- getElement("whPfset").cols = "0,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, "");
- SendMessage(onMsg);
- return false;
- }
- else if (nMsgId == WH_MSG_ISPANEVISIBLE)
- {
- var n = parseInt(getElement("whPfset").cols);
- if (n > 0)
- {
- oMsg.oParam.bVisible = true;
- }
- return false;
- }
- return true;
-}
-//-->
-</script>
-<body>
-<noscript>
- <p> It seems javascript is disabled in your browser, please enable it and reload again, or click <a href="whnjs.htm">here</a> to view without javascript</p>
-</noscript>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whutils.js"></script>
-<script language="javascript">
-<!--
-var gCSHFileName = "whc_data.htm";
-var gCSHSuffixName1 = "_csh.html";
-var gCSHSuffixName2 = "_csh.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-gCSHFileName="cshdat_webhelp.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-var gasProj = new Array();
-gasProj[0] = _getPath(document.location.href);
-var gCurrent = 0;
-
-function addProject(strProj)
-{
- var len = gasProj.length;
- if (strProj)
- {
- strProj = _replaceSlash(strProj);
- if (strProj.lastIndexOf("/") != strProj.length - 1)
- strProj += "/";
- var strPPath = _getFullPath(_getPath(document.location.href), strProj);
- var bFound = false;
- for (var i = 0; i < len; i ++)
- {
- if (isSamePath(gasProj[i], strPPath))
- {
- bFound = true;
- break;
- }
- }
- if (!bFound)
- gasProj[len] = strPPath;
- }
-}
-
-function isSamePath(strPath1, strPath2)
-{
- return strPath1.toLowerCase() == strPath2.toLowerCase();
-}
-
-function goNext()
-{
- gCurrent ++;
- var len = gasProj.length;
- if (gCurrent >= len)
- return getHomePage()
- else
- frames["csh"].location = gasProj[gCurrent] + gCSHFileName;
- return "";
-}
-
-function getRelHomePage(strLocation)
-{
- var strCurPPath = _getPath(strLocation);
- var strOriPPath = _getPath(getHomePage());
- var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);
- var strURL = getHomePage() + "#" + strRelPath;
- return strURL;
-}
-
-function getHomePage()
-{
- var strHomePage;
- var strTmp = location.toString();
- var nPos = strTmp.indexOf("#");
- if (nPos != -1)
- {
- strHomePage = strTmp.substring(0, nPos);
- }
- else
- {
- strHomePage = strTmp;
- }
- var nPos1 = strHomePage.indexOf(gCSHSuffixName1);
- var nPos = strHomePage.indexOf(gCSHSuffixName2);
- if (nPos != -1)
- {
- strHomePage = strHomePage.substring(0,nPos);
- if (nPos1 != -1)
- strHomePage += ".html";
- else
- strHomePage += ".htm";
- }
- return strHomePage;
-}
-//-->
-</script>
-</head>
-<frameset rows="1,*">
-<frame name="dumb" src="about:blank"></frame>
-<frame name="csh" src="cshdat_webhelp.htm"></frame>
-</frameset>
-</html>
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whutils.js"></script>
-<script language="javascript">
-<!--
-var gCSHFileName = "whc_data.htm";
-var gCSHSuffixName1 = "_rhc.html";
-var gCSHSuffixName2 = "_rhc.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-gCSHFileName="cshdat_robohelp.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-var gasProj = new Array();
-gasProj[0] = _getPath(document.location.href);
-var gCurrent = 0;
-
-function addProject(strProj)
-{
- var len = gasProj.length;
- if (strProj)
- {
- strProj = _replaceSlash(strProj);
- if (strProj.lastIndexOf("/") != strProj.length - 1)
- strProj += "/";
- var strPPath = _getFullPath(_getPath(document.location.href), strProj);
- var bFound = false;
- for (var i = 0; i < len; i ++)
- {
- if (isSamePath(gasProj[i], strPPath))
- {
- bFound = true;
- break;
- }
- }
- if (!bFound)
- gasProj[len] = strPPath;
- }
-}
-
-function isSamePath(strPath1, strPath2)
-{
- return strPath1.toLowerCase() == strPath2.toLowerCase();
-}
-
-function goNext()
-{
- gCurrent ++;
- var len = gasProj.length;
- if (gCurrent >= len)
- return getHomePage()
- else
- frames["csh"].location = gasProj[gCurrent] + gCSHFileName;
- return "";
-}
-
-function getRelHomePage(strLocation)
-{
- var strCurPPath = _getPath(strLocation);
- var strOriPPath = _getPath(getHomePage());
- var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);
- var strURL = getHomePage() + "#" + strRelPath;
- return strURL;
-}
-
-function getHomePage()
-{
- var strHomePage;
- var strTmp = location.toString();
- var nPos = strTmp.indexOf("#");
- if (nPos != -1)
- {
- strHomePage = strTmp.substring(0, nPos);
- }
- else
- {
- strHomePage = strTmp;
- }
- var nPos1 = strHomePage.indexOf(gCSHSuffixName1);
- var nPos = strHomePage.indexOf(gCSHSuffixName2);
- if (nPos != -1)
- {
- strHomePage = strHomePage.substring(0,nPos);
- if (nPos1 != -1)
- strHomePage += ".html";
- else
- strHomePage += ".htm";
- }
- return strHomePage;
-}
-//-->
-</script>
-</head>
-<frameset rows="1,*">
-<frame name="dumb" src="about:blank"></frame>
-<frame name="csh" src="cshdat_robohelp.htm"></frame>
-</frameset>
-</html>
\ No newline at end of file
--- /dev/null
+/*!
+
+\page a3d_presentations_page 3D presentations
+
+<ul>
+<li>\subpage presentation_of_submesh_page</li>
+<li>\subpage field_presentations_page</li>
+<ul>
+<li>\ref creating_field_presentations_page</li>
+<li>\ref scalar_map_page</li>
+<li>\ref iso_surfaces_page</li>
+<li>\ref cut_lines_page</li>
+<li>\ref cut_planes_page</li>
+<li>\ref deformed_shape_page</li>
+<li>\ref vectors_page</li>
+<li>\ref stream_lines_page</li>
+<li>\ref scalar_map_on_deformed_shape_page</li>
+<li>\ref plot_3d_page</li>
+<li>\ref animating_page</li>
+<li>\ref gauss_points_presentations_page</li>
+<ul>
+<li>\ref creating_gauss_points_presentation_page</li>
+<li>\ref primitive_types_page</li>
+<li>\ref types_of_gauss_points_presentations_page</li>
+<li>\ref scalar_bar_page</li>
+<li>\ref gauss_viewer_page</li>
+<li>\ref navigation_in_gauss_viewer_page</li>
+<li>\ref picking_page</li>
+<li>\ref segmentation_page</li>
+<li>\ref recording_in_gauss_viewer_page</li>
+</ul>
+</ul>
+<li>\subpage viewing_3d_presentations_page</li>
+<ul>
+<li>\ref viewing_3d_presentations_intro_page</li>
+<li>\ref translate_presentation_page</li>
+<li>\ref clipping_page</li>
+<li>\ref sweeping_page</li>
+<li>\ref selection_info_page</li>
+</ul>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page about_tables_page About tables
+
+\n Functionality of \b Post-Pro component allows to import data tables
+and display them in a special table viewer. \b Tables represent
+column-ranged data with \b units and \b column and <b>row titles</b> (\ref displaying_tables_page "see also").
+
+\note Tables can be \b rarefied - some of the cells may be empty,
+without any values.
+
+In \b Post-Pro there are three methods to import tables:
+<ul>
+<li>\ref importing_exporting_tables_page "Importing tables from *.xls, *.txt or *.tab files, which have been previously created"</li>
+
+<li>\ref creating_tables_from_cut_lines_page "Creating tables on the basis of Cut Lines presentations"</li>
+
+<li>Importing tables with the help of a special Python script (not described in this reference manual)</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page animating_page Animating presentations
+
+\n In \b Post-Pro module you can generate real-time animation of
+fields. In comparison with sweeping, animations are created on the
+base of frames, displaying field presentations generated on \b EVERY
+Time Stamp of your field. So, the frame displaying the field
+presentation created on the base of the first time stamp will begin
+your animation and the frame displaying the field presentation created
+on the base of the last time stamp will end it. In sweeping <b>ONLY
+ONE</b> Time Stamp is used for its generation.
+
+In the case of animation of several fields <b>Parallel Animation</b>
+will display the animations simultaneously, while <b>Successive
+Animation</b> will display them one after another.
+\n In the case of <b>Parallel Animation</b> you can set different
+kinds of presentations for each of the selected fields. This animation
+type also requires that the number of time stamps > 1 and is the same
+for all animated fields.
+\n For <b>Successive Aimation</b> the kind of presentation should be
+the same for all selected fields, which means that it is not possible
+to select a field from the list. It is also necessary that the number
+of time stamps > 0 and the number of components is the same for all
+animated fields.
+
+<em>To generate an animation:</em>
+\par
+<ol>
+<li>Right-click on the field in the Object Browser.</li>
+
+<li>From the pop-up menu select \b Parallel or <b>Successive
+Animation</b>.
+The following dialog box will appear:
+
+\image html animation.png
+
+\b Animation dialog box is destined for management of your animation.
+</li>
+<li>Click <b>Setup Animation</b> button. The following dialog box
+allowing to set the parameters of your animation will appear.
+
+\image html setupanimation.png
+
+– <b>Use range of time stamps</b> check box allows to select the range
+of time stamps, which will be used for generating your animation.
+
+– \b Fields: list of fields for animation.
+
+– \b Properties: Here you can adjust properties of each field
+selected from the list:
+<ul>
+<li>Select the \b type of field presentations, which will be used as
+frames in animation.</li>
+<li>Set properties of the <b>Scalar Bar</b> (\ref scalar_map_page "see also").</li>
+<li>Adjust additional \b properties of the selected type of field presentation.</li>
+</ul>
+<br>
+</li>
+<li>Click \b OK to validate your parameters. You will return back to
+\b Animation dialog box.</li>
+
+<li>Click <b>Generate frames</b> button to generate the frames for
+your animation based on the parameters adjusted in <b>Setup
+Animation</b> dialog box.</li>
+</ol>
+
+<br><em>Running animations:</em>
+\par
+In the main \b Animation dialog box there are several button intended
+for management and running your animation:
+
+\image html run.jpg
+<center><b>Running</b> your animation</center>
+
+\image html previous.jpg
+<center><b>Previous</b> frame (time step)</center>
+
+\image html next.jpg
+<center><b>Next</b> frame (time step)</center>
+
+\image html begining.jpg
+<center><b>To the beginning</b> of the animation.</center>
+
+\image html end.jpg
+<center><b>To the end</b> of the animation.</center>
+
+<br><em>Additional options of the animation:</em>
+\par
+You can <b>increase/decrease</b> the speed of your animation by moving
+the \b Speed wheel \b Up/Down:
+
+\image html speed.jpg
+
+\par
+<b>Cycled animation</b> check box: this option allows to start a
+cycled animation of your presentation.
+<br><br>
+<b>Use proportional timing</b> check box: this option allows to render
+your animation with proportional periods of time between every frame
+(not depending on the time stamps).
+<br><br>
+<b>Clean memory at each frame</b> - this option allows to optimize the
+performance of the operation.
+
+\note <b>Save animation to AVI file</b> works only if there is \b
+jpeg2yuv utility installed on your computer. If this third-party
+product is missing, the check-box will not be selectable. This utility
+is a part of \b mjpegtool package, which can be downloaded from
+http://mjpeg.sourceforge.net/. Run "which jpeg2yuv" to check whether
+this tool has been installed and the path to it was properly added to
+your PATH variable. If not, you need to activate \b mjpegtools
+indicating its location in the variable PATH. The syntax of the
+command should be as follows: export
+PATH=${INSTALL_ROOT}/mjpegtools-1.8.0/bin:${PATH}.
+
+\par
+<b>Save Animation</b> - saves changes made in the published
+animation. If you have already published a study and press <b>Publish
+to study</b> again you get another animation in the Object Browser.
+<br><br>
+<b>Publish to Study</b> - saves your animation in the study and
+presents it in the Object Browser.
+
+The following picture shows an animation of deformation of an object:
+
+\image html animatdef.jpg
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page scalar_map_on_deformed_shape_page Scalar Map on Deformed Shape presentation
+
+\n <b>Scalar Map on Deformed Shape</b> presentation is a mix of the
+two: \ref scalar_map_page "Scalar Map" and \ref deformed_shape_page
+"Deformed Shape". In this presentation the Scalar Map is built on a
+Deformed Shape.
+
+<em>To create a Scalar Map on Deformed Shape presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Scalar Map on
+Deformed Shape</b>, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Scalar Map on
+Deformed Shape</b>, or click <em>"Scalar Map on Deformed Shape"</em>
+icon in the <b>Visualization Toolbar</b>.
+
+\image html image40.gif
+<center><em>"Scalar Map on Deformed Shape" icon</em></center>
+
+\image html smds1.png
+
+\par
+<b>Scalar Map on Deformed Shape</b> tab allows you to set additional
+parameters of your Scalar Map on Deformed Shape presentation:
+<ul>
+<li><b>Scale Factor:</b> visualization scaling of all vector values
+applied to the cells of the mesh.</li>
+<li><b>Fields:</b> allows to choose type of fields on which the
+presentation will be built.</li>
+<li><b>Time Stamp:</b> allows to choose the time stamp on which the
+presentation will be built.</li>
+</ul>
+<b>Scalar Bar</b> tab allows to define the parameters of the scalar
+bar displayed with this presentation (\ref scalar_map_page "see also").
+
+After you have finished with setting these parameters, click \b
+OK. Your presentation will be immediately displayed in the viewer.
+
+Compare ordinary Scalar Map presentation:
+
+\image html smds-example1.png
+
+with Scalar Map on Deformed Shape presentation:
+
+\image html smds-example.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page clipping_page Clipping
+
+\n Using this menu you can create cross-section views (clipping planes) of your presentation.
+
+To start, click on the \b New button. A new clipping plane will be
+immediately displayed in 3D Viewer. You can create as many clipping
+planes as you need. To delete an unwanted plane, select in the list of
+planes and click \b Delete button.
+
+\image html clipping1.png
+
+Now you can define the parameters of your cross-section. You can
+define them either in <b>Non Structured</b> or in <b>IJK
+(Structured)</b> way.
+
+<b>Non Structured</b> mode allows to select the clipping plane by
+adjusting the following parameters:
+<ul>
+<li>\b Orientation - allows to choose horizontal (X-Y) or vertical
+(Y-Z and Z-X) orientation of the clipping plane;</li>
+<li>\b Distance is defined between the opposite extremities of the
+object (if it is set to 0.5 the object is split in two halves);</li>
+<li>\b Rotation (in angle degrees) allows to rotate the clipping plane
+about the axes defining the orientation plane.</li>
+<li><b>Show preview</b> - displays the clipping plane in the 3D
+Viewer.</li>
+<li><b>Auto Apply</b> - automatically hides from view the part of
+object truncated by the plane.</li>
+</ul>
+
+<br>
+\image html clipping2.png
+
+In the <b>IJK (Structured)</b> mode the clipping plane will be
+oriented completely perpendicular to one of the selectable Axes.
+<ul>
+<li>\b Index gives the choice of several possible positions of the plane. </li>
+<li><b>Reverse normal</b> - allows to select which part of the object should be truncated. </li>
+<li><b>Show preview</b> - displays the clipping plane in the 3D Viewer. </li>
+<li><b>Auto Apply</b> - automatically hides from view the part of object truncated by the plane. </li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page creating_curves_page Creating curves
+
+\n \b Post-Pro functionality allows to create <b>Curve lines</b> on
+the basis of the data taken from tables, and to display these curves
+in form of 2D plot using <b>Plot2d viewer</b>.
+
+<em>To create curves:</em>
+<ol>
+<li>Right-click on the required table in the Object Browser.</li>
+
+<li>From the pop-up menu choose <b>Create Curves</b> option.</li>
+
+<li>The following dialog box will appear:
+
+\image html createcurves.png
+
+This dialog box has the form of a table; each row of this table
+represents one column of values of the imported data table.
+\n To construct curve lines, you should choose at least two columns of
+the data table by checking them in the \b Axis part of the dialog box:
+<ul>
+<li>\b H (horisontal) - the values of this column will correspond to
+X-coordinates of the curve.</li>
+<li>\b V (vertical) - the values of this column will correspond to
+Y-coordinates of the curve.</li>
+</ul>
+
+The column \b Assigned allows to represent the values assigned to the
+points of the curve (possible for V-rows only). Any row, even
+coinciding with the current or empty (no values assigned), can be
+represented. All values are indicated with tool tips over the
+corresponding curve points in the Plot2d viewer.
+
+To define the \b Attributes of your curve remove the checkmark from <b>Auto
+assign</b> (if it is checked, default attributes are taken) and
+select:
+<ul>
+<li><b>Line type</b> (None, Solid, Dash, Dot, Dash - Dot, Dash - Dot -
+Dot),</li>
+<li><b>Line width</b>,</li>
+<li><b>Marker type</b> (Circle, Rectangle, Diamond, Rightward,
+Leftward, Downward & Upward Triangle, Cross or Diagonal Cross),</li>
+<li>\b Color (using the standard <b>Select Color</b> menu).</li>
+</ul>
+
+\note From this dialog box you can create several curves for the
+columns of your data table with the same units. \b Post-Pro allows to
+display at once up to 200 curves.
+</li>
+
+<li>Click \b OK to create your curves with the given parameters. \b
+Post-Pro will automatically create your curve or curves in the
+structure of the study under two SALOME objects:
+<ul>
+<li>SALOME table object,</li>
+<li>\b Plot2DView object: SALOME container of curve lines which will
+be created automatically.</li>
+</ul>
+</li>
+</ol>
+
+
+
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page creating_field_presentations_page Creating field presentations
+
+<br><em>To create a field presentation (\ref fields_anchor "see also"):</em>
+\par
+Right-click on one of the time stamps of this field in the Object
+browser and choose the required type of presentation from the
+following pop-up menu:
+
+\image html image20.png
+
+\note In \b Post-Pro fields may contain both scalar and vector values,
+applied to the cells of the submesh, as well as \b ONLY scalar
+values. It is not possible to make a vector presentation for fields
+containing only scalar values.
+
+\par
+For fields containing only scalar values, you can create the following
+types of presentation:
+
+\image html image21.png
+
+\par
+Click on one of the time stamps of this field in the Object browser
+and select the required type of presentation from the \b Visualization
+submenu of the main menu or from the <b>Visualization Toolbar</b>.
+
+The new field presentation will be located in the time stamp subfolder in the Object Browser and displayed
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page creating_gauss_points_presentation_page Creating a Gauss Points Presentation
+
+\n <em>To create a Gauss Points presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Gauss Points</b>, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Gauss
+Points</b>, or click <em>"Gauss Points"</em> icon in the
+<b>Visualization Toolbar</b>.
+
+\image html image29.gif
+<center><em>"Gauss Points" icon</em></center>
+
+\image html image31.jpg
+
+\par
+Now you can choose the \ref types_of_gauss_points_presentations_page
+"Type" of your Gauss Points presentation and \ref primitive_types_page
+"Primitives" used for visualisation of the points and set their properties.
+\n You can also change the \ref scalar_bar_page "Scalar Bar" properties.
+<br><br>
+To exit the dialog and apply choices press \b OK button, or press \b
+CANCEL button to quit.
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page creating_tables_from_cut_lines_page Creating tables from Cut Lines presentations
+
+\n In \b Post-Pro you can create a table, which will be composed of
+the scalar values applied to the cells forming a <b>Cut Lines</b>
+presentation.
+
+<em>To create a table from Cut Lines presentation:</em>
+<ol>
+<li>Create a \ref cut_lines_page "Cut Lines presentation".</li>
+
+<li>In the Object Browser or in the viewer right-click on your
+presentation and from the pop-up menu select <b>Create Table</b>.</li>
+</ol>
+
+Your new table will be created and displayed in the Object Browser.
+
+*/
--- /dev/null
+/*!
+
+\page creating_xy_plots_page Creating XY plots
+
+\n <em>To create a XY plot based on one definite curve:</em>
+<ol>
+<li>Select Plot2d viewer: from the main menu choose <b>Window > New
+Window > Plot2d View</b>.</li>
+
+<li>In the Object Browser right-click on this curve line and from the
+pop-up menu select \b Display item.</li>
+</ol>
+
+<br><em>To create a XY plot based on several curves:</em>
+<ol>
+<li>Select Plot2d viewer: from the main menu choose <b>Window > New
+Window > Plot2d View</b></li>
+
+<li>In the Object Browser right-click on the \b Post-Pro object and
+from the pop-up menu select <b>Create Plot2D View</b>.</li>
+
+<li>Right-click on the name of this container in the Object Browser
+and select \b Edit item. The following dialog box will appear:
+
+\image html editplot2dpresentation.png
+
+This box contains two windows:
+\par
+– Left window displays a list of curve lines, which have been
+created in the study.
+\n\n – Right window displays a list of curve lines contained in
+this particular container. These curves will used for creation of the
+XY plot.
+
+To move a definite curve line from the study into the container,
+select it in the left window of this dialog box and click the button:
+
+\image html image15.gif
+
+To move a definite curve line from the container back into the study,
+select it in the right window of this dialog box and click the button:
+
+\image html image16.gif
+
+After having chosen the curve lines, which will compose your XY plot,
+click \b OK button to quit this dialog box. In the Object Browser the
+references to the selected curve lines will be created under your
+container.
+</li>
+
+<li>Right-click on the name of the container in the Object Browser and
+select \b Display button. A XY plot consisting of the previously
+selected curve lines, will be displayed in the viewer:
+
+\image html image12.gif
+
+</li>
+</ol>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page cut_lines_page Cut Lines presentation
+
+\n <b>Cut Lines</b> is a type of presentation which displays colored
+cells with applied scalar values on the mesh where lines are placed.
+\n The procedure of construction of <b>Cut Lines</b> presentation
+reuses the algorithm of creation <b>Cut Planes</b> presentation and
+consists of two steps:
+<ol>
+<li>From <b>Cut Planes</b> presentation one plane is taken and it is
+used as base plane for construction of cut lines.</li>
+<li>This plane is cut by a regular array of planes. The result of this
+operation is a regular array of lines in space, belonging to the same
+plane and having the same orientation. They are located inside or on
+the mesh.</li>
+</ol>
+
+<em>To create a Cut Lines presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Cut Lines</b>, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Cut
+Lines</b>, or click <em>"Cut Lines"</em> icon in the <b>Visualization
+Toolbar</b>.
+
+\image html cutlinesicn.jpg
+<center><em>"Cut Lines" icon</em></center>
+
+\image html cutlines.png
+
+\par
+<b>Plane of lines:</b> this tab of the dialog box contains the
+parameters of the base plane, on which the cut lines will be located.
+<ul>
+<li><b>Orientation</b> check boxes allow to set the orientation of cut
+planes in 3D space. You should select two of three axis (XY, YZ, or
+ZX) in which your planes will be located in 3D space.</li>
+<li><b>Rotations</b> of the planes in 3d space around the axes of the
+selected orientation. (The angle of rotation is set in degrees)</li>
+<li><b>Base plane position:</b> position of the base plane. This value
+can be set by default or entered manually.</li>
+<li><b>Displacement</b> of the plane. This parameter defines position
+of the base plane in 3d space.</li>
+<li><b>Show preview</b> check box allows to edit the parameters of the
+presentation and simultaneously observe the preview of this
+presentation in the viewer.</li>
+<li><b>Invert all curves</b> check box allows to invert the resulting
+curves.</li>
+<li><b>Use absolute length</b> check box allows to see the real length
+of the line, instead of [0,1] interval.</li>
+<li><b>Generate Data Table:</b> If this check box is marked, Post-Pro
+will automatically generate a data table on the basis of your Cut
+Lines presentation. This table will be created in the structure of the
+study.</li>
+<li><b>Generate Curves:</b> If this check box is marked, Post Pro
+will automatically generate curve lines on the basis of values taken
+from the generated data table. These curves will be created in the
+structure of the study and can be visualized in a XY plot.</li>
+</ul>
+See more about table presentations and curve lines
+\ref about_tables_page "here".
+
+\par
+<b>Cut Planes:</b> this tab of the dialog box contains the parameters of cut
+planes, which will be used for construction of the cut lines.
+<br><br>
+<b>Scalar Bar</b> tab allows to define the parameters of the scalar bar
+displayed with this presentation (\ref scalar_map_page "see also").
+
+After you have finished with setting these parameters, click \b
+OK. Your presentation with scalar bar will be immediately displayed in
+the viewer:
+
+\image html cutlinesprsnt.png
+
+<b>Tip:</b> From <b>Cut Lines</b> presentation you can create a
+<b>data table</b>. This table will consist of the field scalar values
+located on each cut line of the constructed presentation (see also:
+\ref creating_tables_from_cut_lines_page "Creating tables from Cut
+Lines presentations"). After that your data table can be used for
+construction of a 2d plot of curves based on the scalar values from
+the table (see also: \ref creating_curves_page "Creating curves" and
+\ref creating_xy_plots_page "Creating XY plots").
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page cut_planes_page Cut Planes presentation
+
+<b>Cut Planes</b> is a type of field presentation, when the given
+shape is cut by a definite number of surfaces. These surfaces are
+colored according the values applied to the cells of the mesh.
+
+<em>To create a Cut Planes presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Cut Planes</b>, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Cut
+Planes</b>, or click <em>"Cut Planes"</em> icon in the
+<b>Visualization Toolbar</b>.
+
+\image html cutlinesicon.jpg
+<center><em>"Cut Planes" icon</em></center>
+
+\image html cutplanes.png
+
+\par
+<ul>
+<li><b>Cut Planes</b> tab allows to set additional parameters of your
+<b>Cut Planes</b> presentation:</li>
+<ul>
+<li>\b Orientation check boxes allow to set the orientation of cut
+planes in 3D space. You should select two of three axis (\b XY, \b YZ,
+or \b ZX) in which your planes will be located in 3D space.</li>
+<li>\b Rotations of the planes in 3d space around the axes of the
+selected orientation. (The angle of rotation is set in degrees)</li>
+<li><b>Number of planes</b>, which will form your presentation.</li>
+<li>\b Position of each of the planes relative to other planes, which
+form your presentation. This value can be set by default, entered
+manually.</li>
+<li>\b Displacement of the planes. This parameter defines the
+displacement of the planes into one or another side.</li>
+<li><b>Show preview</b> check box allows to edit the parameters of the
+presentation and simultaneously observe the preview of this
+presentation in the viewer.</li>
+</ul>
+</ul>
+
+After you have finished with setting these parameters, click \b
+OK. Your presentation with scalar bar will be immediately displayed in
+the viewer:
+
+\image html cutplpresent.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page deformed_shape_page Deformed Shape presentation
+
+\n <b>Deformed Shape</b> is a type of field presentation when vector
+values corresponding to the cells of the mesh are visualized by
+shifting of these cells.
+
+<em>To create a Deformed Shape presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Deformed Shape</b>,
+or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Deformed
+Shape</b>, or click <em>"Deformed Shape"</em> icon in the
+<b>Visualization Toolbar</b>.
+
+\image html defshapeicon.jpg
+<center><em>"Deformed Shape" icon</em></center>
+
+\image html deformedshape.png
+
+\par
+<ul>
+<li><b>Deformed Shape</b> tab allows to set additional parameters of
+your <b>Deformed Shape</b> presentation:</li>
+<ul>
+<li><b>Scale Factor:</b> visualization scaling of all vector values
+applied to the cells of the mesh.</li>
+<li><b>Magnitude coloring</b> check box: this option allows to color
+your presentation according the \ref scalar_map_page "scalar range"
+defined in Scalar Bar properties or to display it using only one color
+(this color is taken by default).</li>
+</ul>
+<li><b>Scalar Bar</b> tab allows to define the parameters of the scalar bar
+displayed with this presentation (\ref scalar_map_page "see also").</li>
+</ul>
+
+After you have finished with setting these parameters, click \b OK. Your
+presentation with scalar bar will be immediately displayed in the
+viewer:
+
+\image html deformedshapesn.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page displaying_tables_page Displaying tables
+
+\n <em>To display a table:</em>
+<ol>
+<li>Right-click on the required table in the Object Browser</li>
+
+<li>From the pop-up menu choose <b>Show Table</b> option. Your table
+will be displayed in a separate <b>View Table</b> window:
+
+\image html viewtable.png
+
+</li>
+</ol>
+
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page field_presentations_page Field presentations
+
+<ul>
+<li>\subpage creating_field_presentations_page</li>
+<li>\subpage scalar_map_page</li>
+<li>\subpage iso_surfaces_page</li>
+<li>\subpage cut_lines_page</li>
+<li>\subpage cut_planes_page</li>
+<li>\subpage deformed_shape_page</li>
+<li>\subpage vectors_page</li>
+<li>\subpage stream_lines_page</li>
+<li>\subpage scalar_map_on_deformed_shape_page</li>
+<li>\subpage plot_3d_page</li>
+<li>\subpage animating_page</li>
+<li>\subpage gauss_points_presentations_page</li>
+<ul>
+<li>\ref creating_gauss_points_presentation_page</li>
+<li>\ref primitive_types_page</li>
+<li>\ref types_of_gauss_points_presentations_page</li>
+<li>\ref scalar_bar_page</li>
+<li>\ref gauss_viewer_page</li>
+<li>\ref navigation_in_gauss_viewer_page</li>
+<li>\ref picking_page</li>
+<li>\ref segmentation_page</li>
+<li>\ref recording_in_gauss_viewer_page</li>
+</ul>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page gauss_points_presentations_page Gauss Points Presentations
+
+<ul>
+<li>\subpage creating_gauss_points_presentation_page</li>
+<li>\subpage primitive_types_page</li>
+<li>\subpage types_of_gauss_points_presentations_page</li>
+<li>\subpage scalar_bar_page</li>
+<li>\subpage gauss_viewer_page</li>
+<li>\subpage navigation_in_gauss_viewer_page</li>
+<li>\subpage picking_page</li>
+<li>\subpage segmentation_page</li>
+<li>\subpage recording_in_gauss_viewer_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page gauss_viewer_page Gauss Viewer
+
+\n <b>Gauss Points Viewer</b> is the viewer specially developed to
+display <b>Gauss Points Presentations</b> in <b>Post-Pro Module</b>.
+
+The viewer is activated automatically when you choose to create a
+Gauss Points Presentation.
+\n Right mouse-click on the Presentation gives access to the following
+options:
+
+\image html image1.gif
+
+<ul>
+<li><b>Rename</b> - allows to rename the presentation.</li>
+<li><b>Edit</b> - allows to return to
+\ref types_of_gauss_points_presentations_page "Gauss Points Properties"
+menu and change the parameters of a presentation.</li>
+<li><b>Copy</b> - allows to create a copy of the presentation in the
+same subfolder (time stamp) in the Object Browser.</li>
+<li><b>Erase</b> - allows to hide the selected presentation from the
+viewer.</li>
+<li><b>Display Only</b> - allows to display only the selected
+presentation, hiding all other from the viewer.</li>
+<li><b>Store current configuration</b> - allows to save the current
+layout of the viewer (settings, position of windows, etc).</li>
+<li><b>Dump view</b> - exports an object from the viewer in bmp, png,
+jpg or jpeg image format.</li>
+<li><b>Change Background</b> - allows to change the properties of the
+background.</li>
+</ul>
+
+Most operations available via Viewer Toolbar are common with <b>VTK 3D
+Viewer</b>. <b>VTK 3D Viewer</b> is detailly described in the
+documentation on <b>GUI module</b>.
+\n However, some functionalities are used only in <b>Gauss Points Viewer</b>.
+
+<ul>
+<li>These buttons are used for \ref recording_in_gauss_viewer_page "Recording":
+
+\image html image26.gif
+
+</li>
+<li>Interaction Style Switch - allows to switch between two the modes
+of mouse manipulation:
+
+\image html image6.gif
+
+<ul>
+<li><b>Salome Standard Controls</b> - allows to manipulate objects in
+the viewer with the mouse and locked Ctrl button: increase or decrease
+the zoom ratio with the left mouse button, translate object in any
+direction with the central mouse button or rotate it with the right
+mouse button.</li>
+<li><b>Keyboard Free</b> - allows to manipulate objects in the viewer
+with the mouse without locking Ctrl button. In this case the
+operations are assigned to the buttons differently: rotation is made
+with the left button, translation with the right and zoom with both
+pressed in the same time.</li>
+</ul>
+</li>
+<li><b>Selection Mode Switch</b> - activates \ref picking_page "Picking":
+
+\image html image7.gif
+
+</li>
+<li><b>Plane Segmentation</b> - activates \ref segmentation_page "Segmentation":
+
+\image html image8.gif
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page idl_interface_page Access to Post-Pro module functionality from Python (using VISU_Gen.idl)
+
+Please, see \ref VISU_Gen.idl "documentation for VISU_Gen.idl"
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page importing_exporting_tables_page Importing/exporting tables
+
+\n <em>To import a table from file:</em>
+<ul>
+<li>From the main menu choose <b>File > Import > Table from File</b>,
+or in the Object Browser right-click on the \b Post-Pro object and
+select <b>Table from File</b> item.</li>
+
+<li>From the following standard dialog box:
+
+\image html importtablefromfile.png
+
+choose the necessary *.xls, *.txt or *.tab file containing tables and
+click \b Open button.
+</li>
+
+<li>In the Object Browser \b Post-Pro will create a new folder having
+the name of the imported file. All tables from this file will be
+located in this folder. One *.xls file can contain several
+tables.</li>
+</ul>
+
+<br><em>To export a table:</em>
+<ul>
+<li>Click on it in the Object Browser and select <b>Export Table</b>.</li>
+
+<li>In the standard dialog box enter the name of the file, which will
+contain your exported table, and click \b OK button. Your table will
+be exported.
+
+\image html exporttable.png
+
+</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page importing_med_objects_page Importing MED objects
+
+\n There exist two sources of \ref structure_of_med_objects_page "MED objects": MED and other Salome
+components publishing them and MED files.
+
+<em>To load MED objects from other components:</em>
+\par
+In the Object Browser, use context menu item <b>Import Structure</b>
+to import the whole MED structure, <b>Import Field</b> to import a
+certain field and <b>Import TimeStamp</b> to import a timestamp.
+<br><br>
+It is possible to load MED objects directly from the components, where
+they are published. Usually this is MED component, but it can also be
+Calculator, which creates MED objects as a result of execution of
+Supervisor graphs.
+
+\note If you have just opened your study from a hdf, the data of
+components is not yet loaded. In this case the items <b>Import
+Structure</b> and <b>Import TimeStamp</b> will not be accessible. To
+load the data of any component from an opened hdf you can use <b>Load
+Component Data</b> command, accessible via the context menu of any
+object of the target component in the Object Browser. After the data
+of the component is loaded this item will disappear. The data from
+the components possessing their own GUI is loaded during the
+activation of the component GUI. The data of MED component is loaded
+automatically during the activation of Post-Pro GUI, the objects are
+imported from MED to Post-Pro rather often.
+
+<em>To import a MED file:</em>
+\par
+From the \b File menu choose <b>Import -> MED File</b> or right-click
+on the \b Post-Pro object in the Object Browser and select <b>MED
+File</b> option. After it you will see a standard dialog box allowing
+to search for and choose *.med files:
+
+\image html importfromfile.png
+
+\par
+To confirm your choice click \b Open.
+<br><br>
+If the option <b>Use Build Progress</b> is checked in <b>Post-Pro
+Sweep and MED Import Preferences</b>, you will be able to choose how
+the object containing in the file will be built, otherwise the
+structure of the imported MED object will be immediately displayed in
+the Object Browser and it will be loaded and built as set in the \b Preferences.
+
+\image html buildprogress.png
+
+\par
+\b Settings
+<ul>
+<li><b>Build all</b> - when this option is checked, the application
+loads all data necessary for processing of the object.</li>
+<li><b>Build at once</b> - when this option is checked, you can't
+perform any operations until the MED file is fully loaded and
+processed.</li>
+<li><b>Close dialog at finish</b> - when this option is checked, the
+dialog box is closed after loading of the selected MED file. When
+unchecked, it allows to monitor the build process.</li>
+</ul>
+
+\par
+<b>Import progress</b> - allows to choose what items exactly should be
+built at loading. By default everything is checked in. Note that the
+coloured rectangles show the progress of the respective step and
+become blue when complete.
+<ul>
+<li><b>Build entities</b> - displays the rate at which the geometrical
+data is loaded.</li>
+<li><b>Build fields</b> - when this option is checked, the fields are
+built automatically at loading.</li>
+<li><b>Build min/max</b> - parses time stamps at loading finding the
+highest and the lowest value.</li>
+<li><b>Build Groups</b> - builds groups and families at loading.</li>
+</ul>
+\b Time - shows the <b>Elapsed time</b> spent by the application on processing.
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\mainpage Post-Pro Module Reference Documentation
+
+<ul>
+<li>\subpage introduction_to_postpro_page</li>
+<li>\subpage running_postpro_page</li>
+<li>\subpage structure_of_med_objects_page</li>
+<li>\subpage importing_med_objects_page</li>
+<li>\subpage a3d_presentations_page</li>
+<ul>
+<li>\ref presentation_of_submesh_page</li>
+<li>\ref field_presentations_page</li>
+<ul>
+<li>\ref creating_field_presentations_page</li>
+<li>\ref scalar_map_page</li>
+<li>\ref iso_surfaces_page</li>
+<li>\ref cut_lines_page</li>
+<li>\ref cut_planes_page</li>
+<li>\ref deformed_shape_page</li>
+<li>\ref vectors_page</li>
+<li>\ref stream_lines_page</li>
+<li>\ref scalar_map_on_deformed_shape_page</li>
+<li>\ref plot_3d_page</li>
+<li>\ref animating_page</li>
+<li>\ref gauss_points_presentations_page</li>
+<ul>
+<li>\ref creating_gauss_points_presentation_page</li>
+<li>\ref primitive_types_page</li>
+<li>\ref types_of_gauss_points_presentations_page</li>
+<li>\ref scalar_bar_page</li>
+<li>\ref gauss_viewer_page</li>
+<li>\ref navigation_in_gauss_viewer_page</li>
+<li>\ref picking_page</li>
+<li>\ref segmentation_page</li>
+<li>\ref recording_in_gauss_viewer_page</li>
+</ul>
+</ul>
+<li>\ref viewing_3d_presentations_page</li>
+<ul>
+<li>\ref viewing_3d_presentations_intro_page</li>
+<li>\ref translate_presentation_page</li>
+<li>\ref clipping_page</li>
+<li>\ref sweeping_page</li>
+<li>\ref selection_info_page</li>
+</ul>
+</ul>
+<li>\subpage table_presentations_page</li>
+<ul>
+<li>\ref about_tables_page</li>
+<li>\ref importing_exporting_tables_page</li>
+<li>\ref displaying_tables_page</li>
+<li>\ref creating_tables_from_cut_lines_page</li>
+</ul>
+<li>\subpage xy_plots_page</li>
+<ul>
+<li>\ref creating_curves_page</li>
+<li>\ref creating_xy_plots_page</li>
+<li>\ref plot2d_viewer_page</li>
+<li>\ref setting_properties_of_xy_plots_page</li>
+</ul>
+<li>\subpage idl_interface_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page introduction_to_postpro_page Introduction to Post-Pro
+
+\n Post-processing module \b Post-Pro for SALOME is destined for
+visualization of data produced by the other components of the
+platform. \b Post-Pro provides various forms of data visualization
+including:
+<ul>
+<li>\ref about_tables_page "Data tables",</li>
+
+<li>\ref creating_xy_plots_page "XY plots based on data from tables",</li>
+
+<li>\ref presentation_of_submesh_page "3d presentations of submeshes",</li>
+
+<li>\ref creating_field_presentations_page "3d presentations of fields".</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page iso_surfaces_page Iso Surfaces presentation
+
+\n <b>Iso Surfaces</b> presentation combines all equal scalar values
+applied to the cells and on the basis of them constructs isobaric
+surfaces, which form this presentation.
+
+<em>To create an Iso Surfaces presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Iso Surfaces</b>, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Iso
+Surfaces</b>, or click <em>"Iso surfaces"</em> icon in the
+<b>Visualization Toolbar</b>
+
+\image html isosurf.jpg
+<center><em>"Iso surfaces" icon</em></center>
+
+\image html isosurfaces.png
+
+\par
+<ul>
+<li><b>Iso Surface</b> tab allows to set additional parameters of the
+<b>Iso Surfaces</b> presentation:</li>
+<ul>
+<li><b>Number of surfaces</b>, which will be generated in the framework of this presentation.</li>
+<li><b>Minimum / Maximum value</b> fields allow to enter the range of
+scalar or vector values applied to the cells, on the basis of which
+this presentation will be created.</li>
+<li><b>Update scalar bar range with these values</b> button allows you
+to update the range of the values, displayed with by the scalar bar,
+with the previously defined range of values.</li>
+</ul>
+<li><b>Scalar Bar</b> tab allows to define the parameters of the
+scalar bar displayed with this presentation (\ref scalar_map_page "see also").</li>
+</ul>
+
+After you have finished with setting these parameters, click \b OK. Your
+presentation with scalar bar will be immediately displayed in the
+viewer:
+
+\image html iso.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page navigation_in_gauss_viewer_page Navigation in the Gauss viewer
+
+\n Gauss viewer provides some navigation options, which are not
+available in other Salome viewers.
+
+<br><h2>Navigation using the mouse</h2>
+
+<h3>Salome standard</h3>
+The mouse is supported as a standard manipulator in Salome possessing
+the following actions by default:
+
+<table>
+<tr>
+<td><center><b>Action</b></center></td><td><center><b>Command</b></center></td><td><center><b>Movement</b></center></td>
+</tr>
+<tr>
+<td>Dynamic rotation</td>
+<td><center><b>[CTRL] key + Right Mouse Button</b></center></td>
+<td>\image html image46.gif
+<center>Rotation about the focal point</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic panning</td>
+<td><center><b>[CTRL] key + Central Mouse button</b></center></td>
+<td>\image html image47.gif
+<center>Translation in any direction</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic zoom</td>
+<td><center><b>[CTRL] key + Left Mouse Button</b></center></td>
+<td>\image html image48.gif
+<center>Increase or decrease of zoom ratio</center>
+</td>
+</tr>
+</table>
+
+<h3>Gauss Viewer</h3>
+In Gauss Viewer it is possible to manipulate objects without locking
+keyboard keys, switching between the standard and the advanced
+operation modes with <b>Interaction Style Switch</b> button from Gauss
+Viewer Toolbar:
+
+<table>
+<tr>
+<td><center><b>Action</b></center></td><td><center><b>Command</b></center></td><td><center><b>Movement</b></center></td>
+</tr>
+<tr>
+<td>Dynamic rotation</td>
+<td><center><b>Right Mouse Button</b></center></td>
+<td>\image html image46.gif
+<center>Rotation about the focal point</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic panning</td>
+<td><center><b>Central Mouse button</b></center></td>
+<td>\image html image47.gif
+<center>Translation in any direction</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic zoom</td>
+<td><center><b>Left Mouse Button + Central Mouse button</b></center></td>
+<td>\image html image49.gif
+<center>Increase or decrease of zoom ratio</center>
+</td>
+</tr>
+</table>
+
+<br><h2>Navigation using the keyboard</h2>
+
+Salome does not allow to manipulate objects using keyboard keys, which
+is possible in Gauss Viewer only.
+
+<table>
+<tr>
+<td><center><b>Action</b></center></td><td><center><b>Key</b></center></td><td><center><b>Movement</b></center></td>
+</tr>
+<tr>
+<td>Dynamic rotation</td>
+<td><center><b>[CTRL] key + \n Left Arrow, Right Arrow , \n Up Arrow, Down Arrow</b></center></td>
+<td>\image html image46.gif
+<center>Rotation about the focal point</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic panning</td>
+<td><center><b>Left Arrow, Right Arrow, \n Up Arrow, Down Arrow</b></center></td>
+<td>\image html image47.gif
+<center>Translation in any direction</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic zoom</td>
+<td><center><b>[PageUp], \n [PageDn]</b></center></td>
+<td><center>Increase or decrease of zoom ratio</center></td>
+</tr>
+<tr>
+<td>Speed increment</td>
+<td><center><b>[ + ], \n [ - ]</b></center></td>
+<td><center>Increase or decrease by 1 of the speed increment for the previously defined movement.</center></td>
+</tr>
+</table>
+
+<br><h2>Navigation using the spacemouse</h2>
+
+Salome does not allow to manipulate objects using a spacemouse, which
+is possible in Gauss Viewer only.
+
+The spacemouse introduces a local coordinate system and 6 degrees of
+freedom, which are independent from the 3D view coordinate system.
+
+\image html image50.gif
+
+The movement of 3D models in the screen depends on the user
+manipulations with the controller head.
+
+<table>
+<tr>
+<td><center><b>Action</b></center></td><td><center><b>Move</b></center></td><td><center><b>Description</b></center></td>
+</tr>
+<tr>
+<td>Dynamic rotation \n about axis X</td>
+<td>\image html image51.gif</td>
+<td><center><b>Tilt</b> the controller head forward and backward to rotate the object about axis X.</center></td>
+</tr>
+<tr>
+<td>Dynamic rotation \n about axis Y</td>
+<td>\image html image52.gif</td>
+<td><center><b>Rotate</b> the controller head clockwise and counterclockwise to rotate the model about axis Y.</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic panning</td>
+<td>\image html image53.gif</td>
+<td><center><b>Pull</b> up and <b>push</b> down to move the model up and down.
+\n <b>Move left</b> and <b>right</b> to move the model left and right.</center>
+</td>
+</tr>
+<tr>
+<td>Dynamic zoom</td>
+<td>\image html image54.gif</td>
+<td><center><b>Push forward</b> or <b>pull backward</b> to respectively decrease or increase the zoom ratio.</center>
+</td>
+</tr>
+</table>
+
+Buttons of the spacemouse are also used to change the magnification
+for Gauss points:
+
+\image html image55.gif
+
+By default, buttons are defined as follows, however the user can
+change them in the preferences:
+
+<table>
+<tr>
+<td><center><b>Button</b></center></td>
+<td><center><b>Description</b></center></td>
+</tr>
+<tr>
+<td><center>Button 1</center></td>
+<td>Decrease by 1 speed increment used for the keyboard (the same as [-] key)</td>
+</tr>
+<tr>
+<td><center>Button 2</center></td>
+<td>Increase by 1 speed increment used for the keyboard (the same as [+] key)</td>
+</tr>
+<tr>
+<td><center>Button 10</center></td>
+<td>Divide the current magnification by the magnification ratio</td>
+</tr>
+<tr>
+<td><center>Button 11</center></td>
+<td>Multiply the current magnification by the magnification ratio</td>
+</tr>
+<tr>
+<td><center>Button Star</center></td>
+<td>Toggle button to switch to dominant or combined movements</td>
+</tr>
+</table>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page picking_page Picking
+
+\n Picking is a special way of viewing Gauss Points presentations.
+
+\image html image34.jpg
+
+Picking mode is activated by selecting <em>"Selection Mode Switch"</em>
+button in the Gauss Viewer toolbar.
+
+\image html image34.gif
+<center><em>"Selection Mode Switch" icon</em></center>
+
+Now if the cursor touches a point it is highlighted with triangular
+markers (pyramids). The cursor is dynamically generated so that apexes
+of each pyramid touch the point sprite boundary, and the height of the
+pyramid is fixed.
+
+\image html image69.gif
+
+To get information about the point click the left mouse button or
+press S (or s) key of the keyboard.
+\n Once a point is selected, the presentation is centered around this
+point and a semi-transparent window is displayed next to the selected
+point and shows the following information:
+<ul>
+<li>The ID of the point within its parent mesh element</li>
+<li>Coordinates of the Gauss point</li>
+<li>In the case of a result at Gauss point: Scalar value being inspected + all components individually</li>
+<li>Name of its parent mesh element</li>
+</ul>
+In addition, the active scalar bar is updated to highlight the
+corresponding value of the selected scalar value by a black line.
+
+All Picking preferences can be defined using Preferences, however, you
+can customize them for the current presentation.
+
+\image html picking.png
+
+<ul>
+<li>\b Cursor - allows to adjust the \b Size of the cursor used for
+Picking (ranging from 0.1 to 1), the <b>Height of the pyramids</b>
+(ranging from 0 to 10) and the <b>Selection cursor color</b>.</li>
+<li>\b Tolerance - defines at which distance of the cursor from the
+point it becomes selected (ranges from 0.001 to 10).</li>
+<li><b>Information window</b> - allows to define the \b Transparency
+(from 0% = opaque to 100% = transparent) and \b Position of the
+window, which can be:</li>
+<ul>
+<li><b>Centred below the point</b>, or </li>
+<li>located at <b>Top-left corner of the 3D view</b></li>
+</ul>
+<li><b>Movement of the Camera</b> can also be define by the user.</li>
+<ul>
+<li><b>Zoom at first selected point</b> - This value is used to define
+the focal distance at the first selected point (at the end of the
+movement of the camera). This value is a ratio that will be multiplied
+by the current zoom value.</li>
+<li><b>Number of steps between two positions</b> - defines the
+smoothness of camera movement at selection by the number of
+iterations. If set to 1 the camera is zoomed and centered at the point
+momentarily. Greater numbers mean very slow camera movement.</li>
+</ul>
+<li><b>Display parent mesh element</b> - allows to visualize or hide
+the parent mesh element of the selected gauss point.</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page plot2d_viewer_page Plot 2D viewer
+
+\n <b>Plot 2d viewer</b> is destined to the representation of 2d
+plots and graphs in Post-Pro module.
+\n Its viewer toolbar gives you fast access to the following
+operations:
+
+\image html image10.gif
+<center><b>Dump View</b> - exports an object from the viewer in bmp,
+png, jpg or jpeg image format.</center>
+
+\image html image14.gif
+<center><b>Fit all</b> - allows to select a point to be the center of
+a scene.</center>
+
+\image html image17.gif
+<center><b>Fit area</b> - resizes the view to place in the visible
+area only the contents of a frame drawn with pressed left mouse
+button.</center>
+
+\image html image19.gif
+<center><b>Zoom</b> - allows to zoom in and out.</center>
+
+\image html image39.gif
+<center>\b Panning - if the represented objects are greater that the
+visible area and you don't wish to use Fit all functionality, click on
+this button and you'll be able to drag the scene to see its remote
+parts.</center>
+
+\image html image100.gif
+<center><b>Global panning</b> - represents all displayed objects in
+the visible area.</center>
+
+\image html image43.gif
+<center><b>Draw Points</b> - represents points on the graph.</center>
+
+\image html image44.gif
+<center><b>Draw Lines</b> - represents lines on the graph.</center>
+
+\image html image89.gif
+<center><b>Draw Splines</b> - represents splines on the graph.</center>
+
+\image html image81.gif
+<center><b>Horizontal axis logarithmic</b> - changes the scaling on
+horizontal axis to logarithmic.</center>
+
+\image html image82.gif
+<center><b>Vertical axis logarithmic</b> - changes the scaling on vertical
+axis to logarithmic.</center>
+
+\image html image83.gif
+<center><b>Show Legend</b> - reveals all verbal and numerical
+information on the graphs.</center>
+
+\image html image84.gif
+<center>\b Settings - calls a menu, in which you can specify advanced
+settings for your Plot 2d Viewer.</center>
+
+\image html image90.gif
+<center><b>Clone view</b> - opens a new duplicate scene.</center>
+
+\n \image html viewsettings.png
+
+The options are as follows:
+<ul>
+<li><b>Main title:</b> the title of the XY plot. By default, it will
+consist of the names of the tables, on the basis of which the curve
+lines have been constructed.</li>
+<li><b>Curve type:</b> you can select from \b Points, \b Lines and \b Spline.</li>
+<li><b>Show legend:</b> here you can define the position of the
+description table on the XY plot (to the \b Left, to the \b Right, on
+\b Top or on \b Bottom).</li>
+<li><b>Marker size</b> - size of the points (markers) forming curve lines.</li>
+<li><b>Background color</b> of the XY plot.</li>
+<li><b>Scale mode:</b> here you can select the type of scaling (\b
+Linear or \b Logarithmic) along <b>X (Horizontal)</b> or <b>Y (Vertical)</b> axes.</li>
+</ul>
+
+You can define settings for each axis separately:
+<ul>
+<li>\b Horizontal or \b Vertical axis title.</li>
+<li><b>Grid/Axes marks:</b> here you can define the maximum number of major
+and minor scale divisions for a specified axis. The real number of
+intervals fits to {1,2,5}*10^N, where N is a natural number, and
+doesn't exceed the maximum.</li>
+<li><b>Save settings as default:</b> If this check box is marked, all
+XY plots will be displayed with these defined properties.</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page plot_3d_page Plot 3D presentation
+
+\n <b>Plot 3D</b> is a presentation of scalar values of meshes lying
+on a cutting plane. The relief and coloring of the resulting
+presentation both correspond to the values applied to the cells of the
+mesh.
+
+<em>To create a Plot 3D presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Plot 3D</b>, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Plot 3D</b>,
+or click <em>"Plot 3D"</em> icon in the <b>Visualization Toolbar</b>.
+
+\image html image41.gif
+<center><em>"Plot 3D" icon</em></center>
+
+\image html plot3d.png
+
+\par
+<b>Plot 3D Definition</b> tab allows you to set additional parameters
+of your Plot 3D presentation:
+<ul>
+<li>\b Orientation radio buttons allow to set the orientation of cut
+plane in 3D space. You should select two of three axis (XY, YZ, or ZX)
+in which the plane will be located in 3D space. If the mesh is 2D this
+functionality is disable, as there exist only one plane for a Plot
+3D.</li>
+<li>\b Rotations of the planes in 3d space around the axes of the
+selected orientation (The angle of rotation is set in degrees).</li>
+<li>\b Position - allows to select the position of the plane in the
+object (ranging from 0 to 1). The value 0.5 corresponds to cutting by
+halves.</li>
+<ul>
+<li>\b Relative check box allows to increase / decrease the value by
+decimal steps.</li>
+</ul>
+<li><b>Scale Factor</b> - visualization scaling of all vector values
+applied to the cells of the mesh.</li>
+<li><b>Presentation type:</b></li>
+<ul>
+<li>\b Surface - Plot 3D will be represented with a smooth surface.</li>
+<li>\b Contour - Plot 3D will be represented with a set of contours.</li>
+</ul>
+<li><b>Number of contours</b> - allows to define the number of
+contours (active when Contour presentation type is selected).</li>
+<li><b>Preview cutting plane</b> checkbox allows to see the position
+of the cutting plate in the Viewer while defining the
+presentation.</li>
+</ul>
+<b>Scalar Bar</b> tab allows to define the parameters of the scalar
+bar displayed with this presentation (\ref scalar_map_page "see also").
+
+After you have finished with setting these parameters, click \b
+OK. Your presentation will be immediately displayed in the viewer:
+
+\image html plot3d-example.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page presentation_of_submesh_page Presentation of a submesh
+
+<br><em>To create a presentation of a submesh:</em>
+\par
+In the Object Browser right-click on a submesh of an imported MED
+object and from the pop-up menu choose <b>Create Presentation</b>.
+<br><br>
+This presentation will be displayed in the viewer:
+
+\image html image11.gif
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page primitive_types_page Primitive Types
+
+\n Gauss Point presentations use primitives to visualize the value of
+the results obtained during calculations so that the color and
+relative size of the points depend on each component of a vector,
+tensor or matrix (e.g. scalar and module for vectors). Of course, the
+size of primitives in the Viewer also depends on their location within
+the 3D scene. At a given computed size, a primitive will be bigger
+when it is close to the camera and smaller at a distance.
+
+\image html image30.gif
+
+There are three Basic primitive types which can be used in Gauss
+Points presentations: <b>Point Sprites</b>, <b>Open GL Points</b> and
+<b>Geometrical Spheres</b>.
+
+<br><h2>Point Sprites</h2>
+
+\image html image33.jpg
+
+Each <b>Point Sprite</b> is visualised in 3D Viewer with two 16*16
+textures: <b>Main texture</b> which defines the shape of the point
+sprite and <b>Alpha Channel Texture</b> which defines the transparency
+of the point sprite. By default Salome suggests textures defined in
+the Preferences, however you can browse for other .bmp, .png or .jpg
+files to be used as textures.
+\n <b>Alpha Channel Threshold</b> defines the level of transparency
+ranging from 0 to 1.
+\n The default sizes of point sprites are computed by the system,
+therefore, these parameters cannot be defined in the preferences,
+however, the <b>Maximum Size</b> of the point sprite is limited
+(Clamp) so that the whole scene would remain visible if the user
+applies a high zoom factor. <b>Maximum Size</b> corresponds to the
+maximum size of a point sprite during rendering whatever is the
+magnification of the point or the zoom of the view. Technically, it
+corresponds to setting up a clamp in the vertex shader. The Size is
+measured in pixels and belongs to the interval from 1 to 512.
+
+<br><h2>OpenGL Points</h2>
+
+\image html image30.gif
+
+<b>OpenGL Points</b> don't use any files as textures, displaying
+results as simple OpenGL points, so the only parameter relevant to
+them is the <b>Maximum Size</b>.
+
+<br><h2>Geometrical Spheres</h2>
+
+\image html image31.gif
+
+<b>Geometrical Spheres</b> display results using a standard sphere with
+a number of faces be defined thought a \b Resolution parameter. By
+default the \b Resolution is set to 8. This number corresponds to the
+Latitude and Longitude definitions of a VTK sphere. The <b>Number of
+Faces</b> parameter is equal to the total number of points in the
+scene when no segmentation cursor is used or number of points within
+the cursor when a segmentation is in progress, multiplied by the
+number of faces of one Sphere in the current resolution. This value
+computed by the system using the formula: NbrFaces = 2*Resolution x
+[Resolution-2] and displayed to the end-user for information purpose.
+
+In the pictures you can see the spheres with Resolution of <b>8</b>:
+
+\image html image87.gif
+
+and <b>6</b>:
+
+\image html image88.gif
+
+<b>Notify when number of faces exceeds</b> prompts the user by a
+dialog to continue or to cancel the display operation if the number of
+faces is greater than the number defined in the menu.
+
+\image html warning.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page recording_in_gauss_viewer_page Recording in Gauss Viewer
+
+\n In the addition to the \ref animating_page "Animation" at Time
+stamps available for all Post-Pro presentations, <b>Gauss Viewer</b>
+gives the possibility to record AVI clips of user actions. This
+functionality is available at any time for all contents of the 3D
+Viewer, including Animation or Segmentation.
+
+To start the video recording session click <em>"Start"</em> button. After it
+you will see a standard dialog box allowing input the file name for
+AVI clip and browse for the location.
+
+\image html image102.gif
+<center><em>"Start" button</em></center>
+
+\image html recordingsaveas.png
+
+Then you'll be asked to define <b>Recording Properties</b>:
+
+\image html recording.png
+
+- \b Settings:
+<ul>
+<li><b>Save to file</b> - you can change the name of the file you've
+chosen for saving.</li>
+<li>\b Mode - allows to choose from two recording regimes: </li>
+<ul>
+<li><b>Recording all displayed frames</b> - records exactly at the FPS
+rate specified by the user.</li>
+<li><b>Recording at a given FPS</b> - records only when the contents
+of the viewer change (some activity is performed). In the AVI file
+non-recorded images are substituted with the copies of the latest
+recorded image, which produces files with lower quality but requires
+less system resources.</li>
+</ul>
+<li>\b FPS - allows to define the FPS (frames per second) rate for the
+clip. Set greater value for better quality.</li>
+<li>\b Quality - allows to set the quality of the clip in the interval
+between 0 and 100.</li>
+<li>\b Progressive - allows to record a progressive API file.</li>
+</ul>
+
+After you click \b OK, the recording will start and all your actions
+in the viewer will be recorded.
+\n Note that if you change the size of the 3D viewer window, the avi
+file would be corrupt.
+
+Press \b Stop button to finish video recording or \b Pause button to
+suspend it. If the recording is just paused, you can always continue
+it by clicking \b Play button.
+
+\image html image105.gif
+<center><em>"Stop" button</em></center>
+
+\image html image104.gif
+<center><em>"Pause" button</em></center>
+
+\image html image103.gif
+<center><em>"Play" button</em></center>
+
+\note This functionality works only if there is \b jpeg2yuv utility
+installed on your computer. If this third-party product is missing,
+the \b Recording buttons will be disabled. This utility is a part of
+\b mjpegtool package, which can be downloaded from
+http://mjpeg.sourceforge.net/. Run "which jpeg2yuv" to check whether
+this tool has been installed and the path to it was properly added to
+your PATH variable. If not, you need to activate \b mjpegtools
+indicating its location in the variable PATH. The syntax of the
+command should be as follows: export
+PATH=${INSTALL_ROOT}/mjpegtools-1.8.0/bin:${PATH}.
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page running_postpro_page Running Post-Pro
+
+\n To start Post-Pro module in the SALOME application click
+<em>"Post-Pro"</em> icon in the toolbar.
+
+\image html visuicon.jpg
+<center><em>"Post-Pro" icon</em></center>
+
+\note Before launching Post-Pro module, you should set the VTK viewer
+as default viewer for creation of a new study window. In Post-Pro you
+can create presentations only in the VTK viewer. (see also: Setting
+preferences)
+
+The initial desktop of the SALOME platform will be updated with some
+additional toolbars and menus related to Post-Pro component . It will
+look like as follows:
+
+\image html visufullscreen.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page scalar_bar_page Scalar Bar
+
+\n Gauss Points Presentations presume that two different scalar bars
+are displayed simultaneously:
+\n The Global scale corresponds to the minimum and maximum values
+founded for the variable at all time stamps (located on the left
+side). When active, the second is displayed in grey and disabled. The
+Local scale defines the minimum and maximum values at the current time
+stamp for the variable (located on the right side). When the Local
+scale is active, the Global scale shows its limits 2 black lines.
+
+The dialog allows user to define the characteristics of the scalar
+bars displayed within the scene.
+
+\image html gpp6.png
+
+<ul>
+<li><b>Active bar</b></li>
+<ul>
+<li>\b Local: when selected, the \b Local bar will be active and
+colors used for rendering of the results will be taken from this
+bar. If displayed, the \b Global bar will be displayed in grey and 2
+markers will define the limits of the local min/max range.</li>
+<li>\b Global: when selected, the \b Global bar will be active and
+colors used for rendering of the results will be taken from this bar
+(i.e.: not all colors may be used to display results at a given time
+stamp). \b Local bar will be displayed in grey and inactive.</li>
+<li>\b Displayed: when checked, the \b Global bar is displayed, else
+it is not seen. This control is systematically checked and disabled
+when the \b Global bar is defined as active.</li>
+</ul>
+<li><b>Scalar range</b></li>
+<ul>
+<li><b>Scalar Mode:</b> this feature allows refining the value to be
+inspected:</li>
+<ul>
+<li>\b Modulus: value of a scalar or modulus of a vector.</li>
+<li><b>Component N:</b> Nth component of a vector, a tensor or a
+matrix.</li>
+</ul>
+</ul>
+<li><b>Colors and labels</b></li>
+<ul>
+<li>\b Bicolor: only 2 colors are used for the active bar:</li>
+<ul>
+<li>\b Red for positive values.</li>
+<li>\b Blue for negative values.</li>
+</ul>
+These colors also correspond to the colors associated to min/max
+values of the palette option.
+</ul>
+<ul>
+<li>\b Rainbow: A palette of several colors will be used to render the
+results. A regular and linear progression is considered from min to
+max.</li>
+<ul>
+<li><b>Nb. of colors:</b> defines the number of color to design the
+palette (up to 256 colors can be used).</li>
+<li><b>Nb. of labels:</b> defines the number of labels to be written
+in the bar as text markers.</li>
+</ul>
+</ul>
+<li>\b Orientation - allows to choose between \b Vertical and \b
+Horizontal orientation.</li>
+<li>\b Origin - allows to define placement and lookout of Scalar
+Bars.</li>
+<ul>
+<li>\b X: abscissa of the point of origin (from the left side).</li>
+<li>\b Y: ordinate of the origin of the bar (from the bottom).</li>
+</ul>
+<li>\b Dimensions - allows to define \b Width and \b Height of each
+bar.</li>
+<ul>
+<li>\b Spacing - space between the bars (only if both are displayed). </li>
+</ul>
+<li><b>Text properties:</b> allows to define properties of font and
+text associated to the active bar.</li>
+<li><b>Save as default values</b> - allows to save the parameters
+defined by the user as default.</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page scalar_map_page Scalar Map presentation
+
+\n <b>Scalar Map</b> is the basic type of visualization of calculation
+data in \b Post-Pro module. This presentation consists of the
+following:
+<ul>
+<li>creating a 3D presentation on the basis of a field:</li>
+<ul>
+<li>on the whole mesh (default)</li>
+<li>on group(s) of the mesh</li>
+</ul>
+<li>coloring the cells of this presentation, according the scalar or
+vector values applied to this cells;</li>
+<li>creating a scalar bar representing the correspondence between the
+scalar values of the field and the used colors.</li>
+</ul>
+
+All other types of field presentations are based on the <b>Scalar Map</b>.
+
+<em>To create a Scalar Map presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the Object
+browser and from the pop-up menu choose <b>Scalar Map</b>, or
+<br>
+– Click on one of the time stamps of the field in the Object browser
+and select from the main menu <b>Visualization > Scalar Map</b>, or
+click <em>"Scalar Map"</em> icon in the <b>Visualization
+Toolbar</b>
+
+\image html scalarmapicon.jpg
+<center><em>"Scalar Map" icon</em></center>
+
+\par
+The following dialog box will appear:
+
+\image html scalarbarproperties.png
+
+\note This dialog box is equal for all types of field presentations
+and it will be present as an additional tab in all dialog boxes
+allowing to create the other types of presentations. It allows to set
+the parameters of <b>Scalar range</b>, as well as the parameters of
+the <b>Scalar Bar</b>. You can also set these parameters as
+preferences which will be used in all SALOME sessions: in the main
+menu select <b>File > Preferences > Post Pro > Scalar Bar</b>.
+
+\par
+<br>
+<ul>
+<li><b>Build presentation on groups:</b> You can choose the groups on
+which <b>Scalar Map</b> can be built from the list to the left and add
+them in the list to the right.</li>
+<li><b>Scalar range parameters:</b></li>
+<ul>
+<li><b>Scalar Mode</b> field: This field allows to choose the mode of
+transformation of vector values into scalar values for creation of the
+presentation. It can be module of the vector or one of three
+components of the vector. (Note: This choose box is relevant only for
+fields containing vector values, in other cases it will be
+inactive).</li>
+<li><b>Logarithmic scaling</b> check box: You can apply logarithmic
+scaling to the color scale of the presentation.</li>
+<li><b>Use field range:</b> if this check box is selected, all cells
+of the field presentation will be colored according the values applied
+to these cells.</li>
+<li><b>Use imposed range:</b> here you can define your own range of
+scalar values of the field, on the basis of which this presentation
+will be constructed. The cells of the field presentation with applied
+scalar or vector values belonging to this imposed range will be
+colored according to these values. The other cells of the field
+presentation (with applied scalar or vector values out of this imposed
+range) will be displayed using one color. For the cells with applied
+scalar or vector values, which are less than the minimal value of the
+imposed range, the color will be the same as for the cells with
+applied minimal values. For the cells with applied scalar or vector
+values, which are larger than the maximal value of the imposed range
+the color will be the same as for the cells with applied minimal
+values.</li>
+</ul>
+<li><b>Colors and Labels:</b></li>
+<ul>
+<li><b>Nb. of colors</b> field: In this field you can enter the number
+of colors, which will be used for coloring of cells containing scalar
+values.</li>
+<li><b>Nb. of labels</b> field: In this field you can enter the number
+of labels, indicating graduation of the scalar bar.</li>
+</ul>
+<li><b>Orientation:</b> You can select \b Vertical or \b Horizontal
+orientation of the scalar bar.</li>
+<li><b>Origin:</b> you can enter X & Y coordinates of the origin of
+the scalar bar.</li>
+<li><b>Dimensions:</b> you can enter \b Width and \b Height of the
+scalar bar.</li>
+<li><b>Save as default values</b> check box allows to save this
+parameters for all presentations, which will be constructed
+later.</li>
+<li><b>Text properties</b> button allows you to define from the
+following dialog box:
+
+\image html textproperty.png
+
+<ul>
+<li>\b Title of the field, on the basis of which this presentation is
+created,</li>
+<li>Font properties of the \b Title, displayed in the Viewer,</li>
+<li>Font properties of the \b Labels, displayed in the Viewer.</li>
+</ul>
+</li>
+</ul>
+
+After you have finished with setting these parameters, click \b
+OK. Your presentation with scalar bar will be immediately displayed in
+the viewer:
+
+\image html scalarrangesn.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page segmentation_page Segmentation
+
+\n \b Segmentation is a functionality similar to \b Clipping in \b
+Mesh and \b Geom modules.
+
+\b Segmentation can be activated by clicking <em>"Plane
+Segmentation"</em> or <em>"Sphere Segmentation"</em> button in the
+Gauss Viewer toolbar.
+
+\image html image35.gif
+<center><em>"Plane Segmentation" icon</em></center>
+
+\image html image38.gif
+<center><em>"Sphere Segmentation" icon</em></center>
+
+Once the command is activated, a new window, below the main 3D view is
+created to display the content of the segmentation cursor. A dialog
+box is also displayed to manually configure the segmentation cursor
+parameters.
+\n The <b>Main view</b> (top) shows the results at Gauss points with
+scalar bars. A semi-transparent <b>Segmentation Cursor</b> defines the
+part of the variables to be inspected. Two different presentations
+for Gauss points are used, depending on location of the points: \b
+Inside or \b Outside the segmentation cursor.
+\n The <b>Secondary view</b> (bottom) is also called <b>Segmentation
+Viewer</b>. It shows, in real time, the results at Gauss points only
+(no mesh elements) that are located inside the segmentation
+cursor. Gauss points are displayed in the same way as \b Inside points
+in the first view. This view is automatically updated when the cursor
+is changed in the first view.
+\n <b>Gauss Points</b> tab of the Segmentation menu allows to define
+visualization parameters for Inside and Outside cursor Gauss Points.
+See \ref primitive_types_page "Primitives" and
+\ref types_of_gauss_points_presentations_page "Presentations" to learn
+about parameters definable in this tab.
+
+\image html planes.png
+
+<b>Plane segmentation</b> is characteristic for its Segmentation
+Cursor in the form of a box with an axis to define its orientation and
+two planes defining its upper and lower boundaries.
+\n It can be defined in Segmentation Cursor tab, which allows to
+define coordinates of origin, direction and depth of the segmentation
+plane.
+
+\image html image74.gif
+
+\image html image37.jpg
+
+Actually it is also possible to edit these parameters directly with
+the mouse in the main 3D view:
+<ul>
+<li>Translation (dragging) of the lower plane along the V axis changes
+the \b Origin of the cursor.</li>
+<li>Rotating the V axis around its origin defines a new \b Direction
+for the cursor.</li>
+<li>Dragging the upper plane along its axis changes the \b Depth of
+the cursor. It is not possible to move the lower above the upper plane
+(minimum depth is 0).</li>
+</ul>
+
+\image html spheroid.png
+
+<b>Sphere segmentation</b> is characteristic for its Segmentation
+Cursor in the form of a sphere with an axis to define its orientation.
+\n It can be defined in Segmentation Cursor tab, which allows to
+define coordinates of origin, and radius of the segmentation plane.
+
+\image html image117.gif
+
+\image html image38.jpg
+
+The \b Origin can also be changed in the 3D Viewer by dragging the
+Sphere with the mouse.
+
+When the user exits the \b Segmentation menu, the function is ended
+and the second view (segmentation cursor viewer) is erased.
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page selection_info_page Selection Info
+
+<em>To view the attributes of elements (cells, points, meshes)
+displayed in the viewer:</em>
+
+\image html cellsel.jpg
+
+\par
+In the main menu choose <b>Selection > Selection info...</b>, choose
+the necessary type of elements (\b Point, \b Cell, or \b Actor) in the
+dialog box and click on the element of the required type in the
+viewer. The chosen element will be highlighted and its attributes will
+be displayed in this dialog box:
+
+\image html dataonelements1.png
+
+You can get the following information about \b Points:
+<ul>
+<li>Mesh name</li>
+<li>Field name</li>
+<li>ID Number of the point</li>
+<li>Scalar value applied to the point (if any)</li>
+<li>Vector value applied to the point (if any)</li>
+<li>Coordinates of the point in 3d space</li>
+<li>Indexes (i,j,k) of the point (for structured meshes only)</li>
+</ul>
+
+<br>
+\image html dataonelements2.png
+
+The following information about \b Cells is available:
+<ul>
+<li>Mesh name</li>
+<li>Field name</li>
+<li>ID Number of the cell</li>
+<li>Scalar value applied to the cell (if any)</li>
+<li>Vector value applied to the cell (if any)</li>
+<li>Attributes of the points forming this cell (in table layout)</li>
+</ul>
+
+<br>
+\image html dataonelements3.png
+
+An \b Actor (any 3D object (presentation of a submesh, field
+presentation) displayed in the viewer) possesses the following
+characteristics:
+<ul>
+<li><em>Mesh name</em></li>
+<li><em>Field name</em></li>
+<li><em>Coordinates of the object in 3d space</em></li>
+<li><em>Size of the object (expressed as the extent along the coordinates)</em></li>
+</ul>
+
+\note Using this dialog box, you can examine the attributes of a
+definite point or cell, selected by its ID number. For that, you
+should only enter an ID number of a definite point or cell in the \b
+ID field, the attributes of this point or cell will be immediately
+displayed.
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page setting_properties_of_xy_plots_page Setting properties of XY plots
+
+\n <em>To define properties of XY plots:</em>
+\par
+Right-click on the background of the Plot 2d viewer. The following
+menu will appear:
+
+\image html image13.gif
+
+\par
+<b>Erase all</b> - hides all previously displayed curves from the viewer.
+\n \b Rename - allows to rename the object currently selected in the
+Object Browser (table, curve or XY plot).
+<br><br>
+\b Scaling gives you the possibility to select the scale (logarithmic
+or linear) for both axes.
+
+\image html image18.gif
+
+\par
+via <b>Fit Range</b> option you can access to the following menu:
+
+\image html fitdatarange.png
+
+\par
+<b>Curve Type</b> gives you the possibility to select the type for
+your curves.
+
+\image html image27.gif
+
+\par
+<b>Show Legend</b> triggers all labels on the graph.
+<br><br>
+<b>Settings</b> menu allows to adjust the representation of the graphs
+in the Plot 2d viewer.
+<br><br>
+<b>Dump View</b> - allows to save the current graph represented in the
+2D viewer in a graphic file.
+
+\image html dumpviewtofile.png
+
+\par
+<b>Change Background</b> - allows to change the background of the 2D
+viewer.
+
+*/
--- /dev/null
+/*!
+
+\page stream_lines_page Stream Lines presentation
+
+\n <b>Stream Lines</b> is a type of presentation transforming the
+cells with vectors having most similar direction into lines . A
+streamline can be thought of as the path that a massless particle
+takes in a vector field. Streamlines are used to convey the structure
+of a vector field. Usually streamlines are created to explore the most
+interesting features in the field.
+\n Creating
+streamlines requires specifying multiple parameters including
+<b>starting points</b> of streamlines, \b direction and other
+parameters to control the \b propagation of the streamlines.
+\n In \b Post-Pro
+there is an option allowing to specify <b>one particular area</b> of
+the field on which the <b>Stream Lines</b> presentation will be
+created. This option has been created for optimization purposes:
+sometimes generation of a Stream Lines presentation based on all
+points of a very complicated field is very time-consuming and requires
+a lot of hardware resources.
+\n To bound the area
+on which the Stream Lines presentation will be created. you can use
+another field presentation. The points of the field located on this
+source presentation will serve as starting points for generated
+streamlines.
+
+<em>To create a Stream Lines presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose <b>Stream Lines</b>, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Stream
+Lines</b>, or click <em>"Stream Lines"</em> icon in the
+<b>Visualization Toolbar</b>.
+
+\image html streamlinesicon.jpg
+<center><em>"Stream Lines" icon</em></center>
+
+\image html streamlines.png
+
+\par
+<b>Stream Lines</b> tab allows you to set additional parameters of
+your Stream Lines presentation:
+<ul>
+<li>\b Source: This set of fields allows to define a source
+presentation on the basis of which your <b>Stream Lines</b>
+presentation will be generated. If in the <b>Source type</b> choose
+box you have chosen \b None, your Stream Lines presentation will be
+generated on all points of the field. You can also choose \b Entity,
+\b Family, \b Group or \b Presentation. You can also specify the
+source presentation (from the list of already created field
+presentations). The points of the field located on this source
+presentation will serve as starting points for generated
+streamlines.</li>
+<li>In the <b>Used points</b> field you can set the number of these
+starting points (from 0 to 100%).</li>
+<li><b>Step Length:</b> this parameter defines the size of the output
+line segments that make up the streamline (which is represented as a
+polyline).</li>
+<li><b>Integration Step</b> field: parameter of smoothness of the
+stream lines. This parameter defines the accuracy of construction of
+the streamlines. A smaller value of this parameter allows to construct
+smoother streamlines (at the cost of more computation time).</li>
+<li><b>Propagation Time</b> field: this parameter controls the maximum
+length of the stream line (measured in units of time).</li>
+<li>\b Direction choose box: this option allows to select direction of
+the stream lines (Forward, Backward or Both).</li>
+<li><b>Magnitude coloring</b> check box: this option allows to color
+your presentation according the vector values applied to the cells of
+the mesh or to display it using only one color (this color can be
+selected if you click <b>Use Color</b> button).</li>
+</ul>
+<b>Scalar Bar tab</b> allows to define the parameters of the scalar bar
+displayed with this presentation (\ref scalar_map_page "see also").
+
+After you have finished with setting these parameters, click \b
+OK. Your presentation with scalar bar will be immediately displayed in
+the viewer:
+
+\image html streamlinesprsnt.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page structure_of_med_objects_page Structure of MED objects
+
+\n In \b Post-Pro module 3d representations are constructed on the
+base of submeshes representing parts of a mesh, which is stored in
+form of MED objects in *.med files. Each MED object has its own
+user-defined structure.
+
+In general, the mesh represents an object including the following
+types of data:
+<ul>
+<li><em>Geometrical information: list of nodes, edges, faces and cells
+of the mesh;</em></li>
+<li><em>Information on the interpolation in accordance with resulting
+elements: the mesh should be compatible with chosen
+interpolation;</em></li>
+<li><em>Physical information: initial and boundary conditions. (Scalar
+or vector values applied to the cells of the mesh)</em></li>
+</ul>
+
+The structure of MED object has a tree-like form. It contains three
+main folders: \ref families_anchor "Families",
+\ref groups_anchor "Groups", \ref fields_anchor "Fields".
+
+\image html snapfgf.png
+
+<br>
+\anchor families_anchor
+<h2>Families</h2>
+
+From general point of view, the whole mesh is divided into \b families,
+submeshes created by the user. <em>Every \b family is composed of cells of a
+definite type - it can be Nodes, Edges, Faces or Cells</em>. The
+presentation created on the basis of a particular \b family will be
+composed of geometrical elements, corresponding to the type of cells
+of this \b family.
+
+<center>
+<table>
+<tr>
+<td><b>Type of cells (entities) of the family</b></td>
+<td><b>Geometrical element</b></td>
+</tr>
+<tr>
+<td>Nodes</td>
+<td>Points</td>
+</tr>
+<tr>
+<td>Edges</td>
+<td>Segments</td>
+</tr>
+<tr>
+<td>Faces</td>
+<td>Triangles, quadrangles</td>
+</tr>
+<tr>
+<td>Cells</td>
+<td>Any</td>
+</tr>
+</table>
+<em>Table of correspondence</em>
+</center>
+
+In the folder \b Families all families of the mesh are put into the
+following subfolders, defining the type of cells of the mesh: \b onNodes,
+\b onEdges, \b onFaces, \b onCells.
+\n These subfolders also represent submeshes of the mesh, which are
+composed of all cells of the mesh of this type.
+
+<br>
+\anchor groups_anchor
+<h2>Groups</h2>
+
+\b Groups combine different families independently of the type of
+cells, they are composed of.
+
+<br>
+\anchor fields_anchor
+<h2>Fields</h2>
+
+\b Fields represent the results of calculations (scalar or vector
+values), grouped together under one physical concept.
+\n These values are applied to the cells of a definite submesh, which
+is indicated in the Object Browser in the subfolder of the \b field.
+\n Most often the calculations are performed during some period of
+time. That's why \b fields include <b>Time Stamps</b>, representing
+the results of calculations in one definite moment. In \b Post-Pro
+field presentations are constructed basing on these <b>Time
+Stamps</b>. (See: \ref creating_field_presentations_page "Creating field presentations")
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page sweeping_page Sweeping
+
+\n In \b Post-Pro there is an option allowing to display
+pseudo-animation of a field presentation. For creation of this
+pseudo-animation you should take one field presentation generated on
+the base of \n ONE Time Step (for comparison, \ref animating_page "Animation" is generated on
+the base of \n ALL Time Steps of a field). The frame displaying this
+field presentation will be the \em basic. \b Post-Pro automatically
+generates another frame displaying the \em initial field presentation,
+which is composed of cells with \em minimum acceptable values regarding
+the values applied to the cells of the \em basic presentation. It also
+automatically generates a user-defined number of frames (\b steps),
+which will display the process of transformation of the field
+presentation from the \em initial state in the \em basic state. \b Sweeping is
+a type of animation composed of these frames: the frame displaying the
+\em initial field presentation will start the animation, the frame
+displaying the \em basic field presentation will end it.
+
+<em>To sweep a field presentation:</em>
+<ol>
+<li>\ref creating_field_presentations_page "Create a field presentation".</li>
+
+<li>Right-click on this presentation in the Object Browser or in the
+viewer.</li>
+
+<li>From the pop-up menu select \b Sweep option.</li>
+</ol>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page table_presentations_page Table presentations
+
+<ul>
+<li>\subpage about_tables_page</li>
+<li>\subpage importing_exporting_tables_page</li>
+<li>\subpage displaying_tables_page</li>
+<li>\subpage creating_tables_from_cut_lines_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page translate_presentation_page Translate Presentation
+
+\n In SALOME there is a feature allowing to translate presentations of
+submeshes and field presentations along axes (X, Y, Z).
+
+<em>To translate a presentation:</em>
+<ol>
+<li>Right-click on it in the Object Browser or 3D Viewer and select
+<b>Translate Presentation</b>.
+
+\image html translatepres.png
+
+</li>
+
+<li>The presentation will be moved by the specified distance along
+axes.\n To cancel all changes, click \b Reset button.</li>
+
+<li>Click \b Apply button, to apply your scaling on the chosen
+presentation.</li>
+
+<li>To confirm all actions and quit <b>Translate Presentation</b> dialog box,
+click \b OK.</li>
+</ol>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page types_of_gauss_points_presentations_page Types of Gauss Points Presentations
+
+\n There exist three different types of Gauss Points Presentations:
+<b>Results at Gauss Points</b>, <b>Gauss Points on Geometry</b> and
+<b>Gauss Points on Deformed Shape</b>. They all can be accessed from
+the same menu.
+
+<br><h2>Results at Gauss Points</h2>
+
+\image html image31.jpg
+
+To create a <b>Results at Gauss Points</b> presentation, select \b
+Results radio button. This presentation gives most information as the
+points here vary in color and size depending on the value.
+\n As for the size, the minimum and maximum <b>Range values</b> for
+the rendering can be defined in the configuration dialog. These values
+are multiplied by a reference length (representative of the average
+size of cells of the mesh) to define the range for minimum and maximum
+size of a point during rendering (at magnification = 100%). Default
+values are:
+<ul>
+<li>For the \b Rainbow scale: min = 10%, max = 33%</li>
+<ul>
+<li>Min. size will be associated to the smallest real value (included
+negative values) among the results.</li>
+<li>Max size will be associated to the largest real values among the
+results.</li>
+</ul>
+<li>For the bicolor scale: min = 0 (not editable), max = 33%</li>
+<ul>
+<li>Null size will be associated to the 0 scalar value of a
+result.</li>
+<li>Max size will be associated to the largest absolute values of
+results.</li>
+</ul>
+</ul>
+Both values are dynamically updated by the system according to the
+selected scalar bar. In the case of a \b Bicolor scale, the minimum
+value is set to 0 in the dialog and the control is disabled.
+\n <b>Magnification (%)</b> corresponds to the change of size of results
+at Gauss point primitives in 2D space. Acceptable values range from 0
+to N; 100% means no magnification, 50% means half of its size, 200%
+mean twice its size and so forth. By default this value is set to
+100%.
+\n <b>+/- Ratio</b> corresponds to the number by which the magnification
+will be respectively multiplied or divided at edition, ranging from
+0.01 to 10. By default this value is set to 2.
+\n During rendering of the scene, it is possible to modify the
+magnification (multiply/divide by the magnification ratio) by using
+?M? and ?m? keys of the keyboard when the 3D view is active. The
+effect is applied immediately. The ratio is only defined through the
+dialog box.
+
+<br><h2>Gauss Points on Geometry</h2>
+
+\image html gpp2.png
+
+To create a \b Geometry presentation, select the respective radio
+button. This presentation shows only geometrical position of Gauss
+Points as their size and color are fixed (because the results are not
+computed).
+\n \b Size defines a value that will be multiplied by a reference
+length (representative of the average size of cells of the mesh) to
+define the size of points during rendering (at magnification =
+100%). Default values 10%.
+\n \b Magnification and \b Ratio have the same meaning as for Results
+at Gauss points presentation.
+\n \b Color allows to define the unique color for Gauss Points in a
+standard color configuration dialog.
+
+<br><h2>Gauss Points on Deformed Shape</h2>
+
+\image html gpp3.png
+
+To create a <b>Deformed Shape</b> presentation, select the respective
+radio button. This presentation is analog to <b>Results at Gauss
+Points</b> except that the shape on which the points are located is
+deformed using the <b>Scale Factor</b> and the Gauss Points are
+processed only after that.
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page vectors_page Vectors Presentation
+
+\n <b>Vector Field</b> presentation visualizes vectors of the
+corresponding cells of the mesh in graphical mode.
+
+<em>To create a Vector presentation:</em>
+\par
+– Right-click on one of the time stamps of the field in the
+Object browser and from the pop-up menu choose \b Vectors, or
+\n – Click on one of the time stamps of the field in the Object
+browser and select from the main menu <b>Visualization > Vectors</b>,
+or click <em>"Vectors"</em> icon in the <b>Visualization Toolbar</b>.
+
+\image html vecticon.jpg
+<center><em>"Vectors" icon</em></center>
+
+\image html vectorfield.png
+
+\par
+<ul>
+<li>\b Vectors tab allows you to set additional parameters of your \b
+Vectors presentation:</li>
+<ul>
+<li><b>Scale Factor:</b> visualization scaling of all vector values applied to the cells of the mesh.</li>
+<li><b>Line width:</b> width of the lines representing vectors in your presentation.</li>
+<li><b>Magnitude coloring</b> check box: this option allows to color your
+presentation according the \ref scalar_map_page "scalar range" defined
+in Scalar Bar properties or to display it using only one color (this
+color can be selected if you click <b>Select Color</b> button).</li>
+<li><b>Use glyphs</b> check box: this option allows you to visualize
+vectors with pointers and select their \b type and \b position on the
+line of the vectors. You can choose <b>Glyph Type</b> (\b Arrows, big
+or small \b Cones) and <b>Glyph Position</b> (at the \b Tail, at the
+\b Head or in the \b Center).</li>
+</ul>
+<li><b>Scalar Bar</b> tab allows to define the parameters of the
+scalar bar displayed with this presentation (\ref scalar_map_page "see also").</li>
+</ul>
+
+After you have finished with setting these parameters, click \b
+OK. Your presentation with scalar bar will be immediately displayed in
+the viewer:
+
+\image html vectorsprsnt.png
+
+*/
--- /dev/null
+/*!
+
+\page viewing_3d_presentations_page Viewing 3D presentations
+
+<ul>
+<li>\subpage viewing_3d_presentations_intro_page</li>
+<li>\subpage translate_presentation_page</li>
+<li>\subpage clipping_page</li>
+<li>\subpage sweeping_page</li>
+<li>\subpage selection_info_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page viewing_3d_presentations_intro_page Viewing 3D presentations
+
+\n Each newly created presentation is displayed in the <b>VTK 3D
+Viewer</b>. <b>VTK 3D Viewer</b> is detailly described in the
+documentation on GUI module.
+\n To display an existing presentation, right-click on it in the
+Object Browser and select \b Display.
+
+Right mouse-click on the Presentation gives access to the following
+options:
+
+\image html image23.gif
+
+\note All parameters are context-sensitive: NOT all types of
+visualization and NOT all properties can be set for a certain 3D
+presentation.
+
+<ul>
+<li><b>Erase all</b> - allows to hide all objects from the
+viewer.</li>
+<li><b>Edit</b> - allows to return to the menu where the presentation
+has been created and change its parameters.</li>
+<li><b>Rename</b> - allows to rename the presentation.</li>
+<li><b>Copy</b> - allows to create a copy of the presentation in the
+same subfolder (time stamp) in the Object Browser.</li>
+<li><b>Erase</b> - allows to hide the selected presentation from the
+viewer.</li>
+<li><b>Display Only</b> - allows to display only the selected
+presentation, hiding all other from the viewer.</li>
+<li><b>Representation</b> - allows to switch among the available
+representation types.</li>
+</ul>
+
+\image html image20.gif
+<center><b>Points</b></center>
+
+\image html image5.jpg
+<center><b>Surface</b></center>
+
+\image html image2.jpg
+<center><b>Wireframe</b></center>
+
+\image html image3.jpg
+<center><b>Insideframe</b> (displays the wires lying within the object)</center>
+
+\image html image4.jpg
+<center><b>Shrink</b></center>
+
+\image html image1.jpg
+<center><b>Shading on</b></center>
+
+<ul>
+<li>\b Properties</li>
+<ul>
+<li>\b Opacity - allows to set the value of opacity of the
+presentation between 0 (transparent) and 100 (opaque).
+
+\image html neo-transparency.png
+</li>
+
+<li><b>Line Width</b> - allows to set the width of lines representing
+edges of the presentation between 1 (thin) and 100 (thick).</li>
+</ul>
+<li>\ref translate_presentation_page "Translate Presentation" - allows
+to translate the presentation along coordinate axes.</li>
+<li>\ref clipping_page "Clipping Planes" - allows to create
+cross-section views of presentations.</li>
+<li>\ref sweeping_page "Sweep" - allows to display pseudo-animation of
+the presentation.</li>
+<li>\ref selection_info_page "Selection Info" - provides information
+about the attributes of elements displayed in the viewer.</li>
+<li><b>Dump view</b> - exports an object from the viewer in bmp, png,
+jpg or jpeg image format.</li>
+<li><b>Change Background</b> - allows to change the properties of the
+background.</li>
+</ul>
+
+When you create several presentations of the same object, you may wish
+to see them simultaneously, which might be impossible, because they
+all are located at the same place. To solve this problem, right-click
+in the viewer and select <b>Arrange Actors</b> in the pop-up menu.
+
+\image html arrangeactors.png
+
+In \b Auto mode you specify along which \b Axis and at which
+<b>Relative Distance</b> the presentations should be lined up.
+
+\image html arrangeactors1.png
+
+In \b Manual mode you set the coordinates for each presentation
+separately.
+
+<br>
+Displaying several presentations at the same time may cause
+superposition of their scalar bars. To avoid this, check <b>Arrange
+Scalar Bars</b> radio button in the <b>Preferences -> Post-Pro ->
+Scalar Bar</b>. A separate scalar bar will be displayed for each
+presentation.
+\n Alternatively you may wish to merge the scalar bars to have a
+common scalar bar for all presentations. To do this, select several
+presentations or fields in the object browser, right-click and from
+the pop-up menu select <b>Merge Scalar Range</b>.
+\n To restore separate bars and scales for each module select <b>Use
+Field Range</b> from the same menu.
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page xy_plots_page XY plots
+
+<ul>
+<li>\subpage creating_curves_page</li>
+<li>\subpage creating_xy_plots_page</li>
+<li>\subpage plot2d_viewer_page</li>
+<li>\subpage setting_properties_of_xy_plots_page</li>
+</ul>
+
+*/
\ No newline at end of file
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Navigation with keyboard and spacemouse</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-p.whs1 { font-weight:bold; }
-table.whs2 { x-cell-content-align:top; width:75.751%; margin-left:40px; border-spacing:0px; }
-col.whs3 { width:23.119%; }
-col.whs4 { width:24.645%; }
-col.whs5 { width:52.235%; }
-tr.whs6 { x-cell-content-align:top; }
-td.whs7 { width:23.119%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }
-td.whs8 { width:24.645%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }
-td.whs9 { width:52.235%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }
-td.whs10 { width:23.119%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; x-cell-content-align:center; }
-td.whs11 { width:24.645%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; x-cell-content-align:center; }
-td.whs12 { width:52.235%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
-img_whs13 { border:none; border-style:none; width:51px; height:52px; float:none; }
-img_whs14 { border:none; border-style:none; width:50px; height:50px; float:none; }
-p.whs15 { font-weight:normal; }
-img_whs16 { border:none; width:27px; height:25px; border-style:none; }
-p.whs17 { text-align:center; font-weight:bold; }
-p.whs18 { font-weight:bold; text-align:center; }
-img_whs19 { border:none; border-style:none; width:24px; height:19px; float:none; }
-img_whs20 { border:none; border-style:none; width:20px; height:23px; float:none; }
-p.whs21 { text-align:center; }
-img_whs22 { border:none; border-style:none; width:250px; height:255px; float:none; }
-table.whs23 { x-cell-content-align:top; width:83.032%; margin-left:40px; border-spacing:0px; }
-col.whs24 { width:22.707%; }
-col.whs25 { width:35.785%; }
-col.whs26 { width:41.508%; }
-td.whs27 { width:22.707%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }
-td.whs28 { width:35.785%; padding-right:10px; padding-left:10px; border-top-width:1px; border-top-color:#000000; border-top-style:Solid; border-right-style:Solid; border-right-color:#000000; border-right-width:1px; border-bottom-width:1px; border-bottom-color:#000000; border-bottom-style:Solid; background-color:#008080; }
-td.whs29 { width:41.508%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }
-td.whs30 { width:22.707%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; x-cell-content-align:center; }
-td.whs31 { width:35.785%; padding-right:10px; padding-left:10px; border-right-style:Solid; border-right-color:#000000; border-right-width:1px; border-bottom-width:1px; border-bottom-color:#000000; border-bottom-style:Solid; }
-img_whs32 { border:none; border-style:none; width:191px; height:152px; float:none; }
-td.whs33 { width:41.508%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
-p.whs34 { font-style:italic; font-weight:bold; }
-img_whs35 { border:none; border-style:none; width:190px; height:157px; float:none; }
-img_whs36 { border:none; border-style:none; width:216px; height:189px; float:none; }
-img_whs37 { border:none; border-style:none; width:198px; height:158px; float:none; }
-p.whs38 { margin-left:120px; }
-img_whs39 { border:none; border-style:none; width:257px; height:254px; float:none; }
-table.whs40 { x-cell-content-align:top; width:72.748%; margin-left:40px; border-spacing:0px; }
-col.whs41 { width:22.381%; }
-col.whs42 { width:77.619%; }
-td.whs43 { width:22.381%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }
-td.whs44 { width:77.619%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }
-td.whs45 { width:22.381%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
-td.whs46 { width:77.619%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
--->
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nNavigation in the Gauss viewer");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Navigation in the Gauss viewer</h1>
-
-<p>Gauss viewer provides some navigation options, which are not available
- in other Salome viewers. </p>
-
-<h3>Navigation using the mouse</h3>
-
-<p class="whs1">Salome standard</p>
-
-<p>The mouse is supported as a standard manipulator in Salome possessing
- the following actions by default:</p>
-
-<p> </p>
-
-<table x-use-null-cells cellspacing="0" width="75.751%" class="whs2">
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='75.751%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");
-//--></script>
-<col class="whs3">
-<col class="whs4">
-<col class="whs5">
-
-<tr valign="top" class="whs6">
-<td bgcolor="#008080" width="23.119%" class="whs7">
-<p>Action</td>
-<td bgcolor="#008080" width="24.645%" class="whs8">
-<p>Command</td>
-<td bgcolor="#008080" width="52.235%" class="whs9">
-<p>Movement</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic rotation</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p class="whs1">[CTRL] key + Right Mouse Button</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image46.gif" x-maintain-ratio="TRUE" width="51px" height="52px" border="0" class="img_whs13">Rotation about the focal point</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic panning</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p class="whs1">[CTRL] key + Central Mouse button</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image47.gif" x-maintain-ratio="TRUE" width="50px" height="50px" border="0" class="img_whs14">Translation in any direction</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic zoom</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p class="whs1">[CTRL] key + Left Mouse Button</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image48.gif" x-maintain-ratio="TRUE" width="50px" height="50px" border="0" class="img_whs14"> Increase
- or decrease of zoom ratio</td></tr>
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
-//--></script>
-</table>
-
-<p> </p>
-
-<p class="whs1">Gauss Viewer</p>
-
-<p class="whs15">In Gauss Viewer it is possible to manipulate
- objects without locking keyboard keys, switching between the standard
- and the advanced operation modes with <img src="image6.gif" width="27px" height="25px" border="0" class="img_whs16"> <span style="font-weight: bold;"><B>Interaction
- Style Switch</B></span> button from Gauss Viewer Toolbar:</p>
-
-<p class="whs15"> </p>
-
-<table x-use-null-cells cellspacing="0" width="75.751%" class="whs2">
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='75.751%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");
-//--></script>
-<col class="whs3">
-<col class="whs4">
-<col class="whs5">
-
-<tr valign="top" class="whs6">
-<td bgcolor="#008080" width="23.119%" class="whs7">
-<p class="whs1">Action</td>
-<td bgcolor="#008080" width="24.645%" class="whs8">
-<p class="whs1">Command</td>
-<td bgcolor="#008080" width="52.235%" class="whs9">
-<p class="whs1">Movement</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic rotation</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p align="center" class="whs17">Right Mouse Button</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image46.gif" x-maintain-ratio="TRUE" width="51px" height="52px" border="0" class="img_whs13">Rotation about the focal point</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic panning</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p align="center" class="whs17">Central Mouse button</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image47.gif" x-maintain-ratio="TRUE" width="50px" height="50px" border="0" class="img_whs14">Translation in any direction</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic zoom</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p align="center" class="whs17">Left Mouse Button + Central Mouse button</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image49.gif" x-maintain-ratio="TRUE" width="50px" height="50px" border="0" class="img_whs14"> Increase
- or decrease of zoom ratio</td></tr>
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
-//--></script>
-</table>
-
-<p> </p>
-
-<h3>Navigation using the keyboard</h3>
-
-<p class="whs15">Salome does not allow to manipulate objects
- using keyboard keys, which is possible in Gauss Viewer only. </p>
-
-<p class="whs15"> </p>
-
-<table x-use-null-cells cellspacing="0" width="75.751%" class="whs2">
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='75.751%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");
-//--></script>
-<col class="whs3">
-<col class="whs4">
-<col class="whs5">
-
-<tr valign="top" class="whs6">
-<td bgcolor="#008080" width="23.119%" class="whs7">
-<p class="whs1">Action</td>
-<td bgcolor="#008080" width="24.645%" class="whs8">
-<p class="whs1">Key</td>
-<td bgcolor="#008080" width="52.235%" class="whs9">
-<p class="whs1">Movement</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic rotation</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p align="center" class="whs18">[CTRL] key +</p>
-<p align="center" class="whs18">[ <img src="pics/blue_left.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="24px" height="19px" border="0" class="img_whs19"> ], [ <img src="pics/blue_right.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="24px" height="19px" border="0" class="img_whs19"> ],</p>
-<p align="center" class="whs18">[ <img src="pics/blue_up.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="20px" height="23px" border="0" class="img_whs20"> ], [ <img src="pics/blue_down.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="20px" height="23px" border="0" class="img_whs20"> ]</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image46.gif" x-maintain-ratio="TRUE" width="51px" height="52px" border="0" class="img_whs13">Rotation about the focal point</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Dynamic panning</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p align="center" class="whs18">[ <img src="pics/blue_left.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="24px" height="19px" border="0" class="img_whs19"> ], [ <img src="pics/blue_right.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="24px" height="19px" border="0" class="img_whs19"> ],</p>
-<p align="center" class="whs18">[ <img src="pics/blue_up.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="20px" height="23px" border="0" class="img_whs20"> ], [ <img src="pics/blue_down.jpg" x-save-file="TRUE" x-save-method="compute-relative" x-maintain-ratio="TRUE" width="20px" height="23px" border="0" class="img_whs20"> ]</td>
-<td width="52.235%" class="whs12">
-<p><img src="pics/image47.gif" x-maintain-ratio="TRUE" width="50px" height="50px" border="0" class="img_whs14">Translation in any direction</td></tr>
-
-<tr valign="top" class="whs6">
-<td colspan="1" rowspan="1" valign="middle" width="23.119%" class="whs10">
-<p>Dynamic zoom</td>
-<td colspan="1" rowspan="1" valign="middle" width="24.645%" class="whs11">
-<p align="center" class="whs18">[PageUp],</p>
-<p align="center" class="whs18">[PageDn]</td>
-<td colspan="1" rowspan="1" width="52.235%" class="whs12">
-<p> Increase
- or decrease of zoom ratio</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="23.119%" class="whs10">
-<p>Speed increment</td>
-<td valign="middle" width="24.645%" class="whs11">
-<p align="center" class="whs18">[ + ],</p>
-<p align="center" class="whs18">[ - ]</td>
-<td width="52.235%" class="whs12">
-<p>Increase or decrease by 1 of the speed increment for the previously
- defined movement. </td></tr>
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
-//--></script>
-</table>
-
-<p> </p>
-
-<h3>Navigation using the spacemouse</h3>
-
-<p>Salome does not allow to manipulate objects using a spacemouse, which
- is possible in Gauss Viewer only. </p>
-
-<p> </p>
-
-<p>The spacemouse introduces a local coordinate system and 6 degrees of
- freedom, which are independent from the 3D view coordinate system. </p>
-
-<p> </p>
-
-<p align="center" class="whs21"><img src="pics/image50.gif" x-maintain-ratio="TRUE" width="250px" height="255px" border="0" class="img_whs22"></p>
-
-<p align="center" class="whs21"> </p>
-
-<p>The movement of 3D models in the screen depends on the user manipulations
- with the controller head.</p>
-
-<p> </p>
-
-<table x-use-null-cells cellspacing="0" width="83.032%" class="whs23">
-<col class="whs24">
-<col class="whs25">
-<col class="whs26">
-
-<tr valign="top" class="whs6">
-<td bgcolor="#008080" width="22.707%" class="whs27">
-<p align="center" class="whs18">Action</td>
-<td bgcolor="#008080" width="35.785%" class="whs28">
-<p align="center" class="whs18">Move</td>
-<td bgcolor="#008080" width="41.508%" class="whs29">
-<p align="center" class="whs18">Description</td></tr>
-
-<tr valign="top" class="whs6">
-<td rowspan="2" colspan="1" valign="middle" width="22.707%" class="whs30">
-<p align="center" class="whs21">Dynamic rotation</td>
-<td width="35.785%" class="whs31">
-<p><img src="pics/image51.gif" x-maintain-ratio="TRUE" width="191px" height="152px" border="0" class="img_whs32"></td>
-<td width="41.508%" class="whs33">
-<p><span style="font-weight: bold;"><B>Tilt</B></span> the controller head forward
- and backward to rotate the object about axis X.</p>
-<p> </p>
-<p class="whs34"> </td></tr>
-
-<tr valign="top" class="whs6">
-<td width="35.785%" class="whs31">
-<p><img src="pics/image52.gif" x-maintain-ratio="TRUE" width="190px" height="157px" border="0" class="img_whs35"></td>
-<td width="41.508%" class="whs33">
-<p><span style="font-weight: bold;"><B>Rotate</B></span> the controller head clockwise
- and counterclockwise to rotate the model about axis Y.</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="22.707%" class="whs30">
-<p align="center" class="whs21">Dynamic panning</td>
-<td width="35.785%" class="whs31">
-<p><img src="pics/image53.gif" x-maintain-ratio="TRUE" width="216px" height="189px" border="0" class="img_whs36"></td>
-<td width="41.508%" class="whs33">
-<p><span style="font-weight: bold;"><B>Pull</B></span> up and<span style="font-weight: bold;"><B>
- push</B></span> down to move the model up and down.</p>
-<p><span style="font-weight: bold;"><B>Move left</B></span> and <span style="font-weight: bold;"><B>right</B></span>
- to move the model left and right.</td></tr>
-
-<tr valign="top" class="whs6">
-<td valign="middle" width="22.707%" class="whs30">
-<p align="center" class="whs21">Dynamic zoom</td>
-<td width="35.785%" class="whs31">
-<p><img src="pics/image54.gif" x-maintain-ratio="TRUE" width="198px" height="158px" border="0" class="img_whs37"></td>
-<td width="41.508%" class="whs33">
-<p><span style="font-weight: bold;"><B>Push forward</B></span> or <span style="font-weight: bold;"><B>pull
- backward</B></span> to respectively decrease or increase the zoom ratio.</td></tr>
-</table>
-
-<p> </p>
-
-<p>Buttons of the spacemouse are also used to change the magnification
- for Gauss points:</p>
-
-<p> </p>
-
-<p class="whs38"><img src="pics/image55.gif" x-maintain-ratio="TRUE" width="257px" height="254px" border="0" class="img_whs39"></p>
-
-<p align="center" class="whs21"> </p>
-
-<p>By default, buttons are defined as follows, however the user can change
- them in the preferences:</p>
-
-<p> </p>
-
-<table x-use-null-cells cellspacing="0" width="72.748%" class="whs40">
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='72.748%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");
-//--></script>
-<col class="whs41">
-<col class="whs42">
-
-<tr valign="top" class="whs6">
-<td bgcolor="#008080" width="22.381%" class="whs43">
-<p align="center" class="whs18">Button</td>
-<td bgcolor="#008080" width="77.619%" class="whs44">
-<p align="center" class="whs18">Description</td></tr>
-
-<tr valign="top" class="whs6">
-<td width="22.381%" class="whs45">
-<p align="center" class="whs21">Button 1</td>
-<td width="77.619%" class="whs46">
-<p>Decrease by 1 speed increment used for the keyboard (the same as [-]
- key)</td></tr>
-
-<tr valign="top" class="whs6">
-<td width="22.381%" class="whs45">
-<p align="center" class="whs21">Button 2</td>
-<td width="77.619%" class="whs46">
-<p>Increase by 1 speed increment used for the keyboard (the same as [+]
- key)</td></tr>
-
-<tr valign="top" class="whs6">
-<td width="22.381%" class="whs45">
-<p align="center" class="whs21">Button 10</td>
-<td width="77.619%" class="whs46">
-<p>Divide the current magnification by the magnification ratio</td></tr>
-
-<tr valign="top" class="whs6">
-<td width="22.381%" class="whs45">
-<p align="center" class="whs21">Button 11</td>
-<td width="77.619%" class="whs46">
-<p>Multiply the current magnification by the magnification ratio</td></tr>
-
-<tr valign="top" class="whs6">
-<td width="22.381%" class="whs45">
-<p align="center" class="whs21">Button Star</td>
-<td width="77.619%" class="whs46">
-<p>Toggle button to switch to dominant or combined movements</td></tr>
-<script language='JavaScript'><!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
-//--></script>
-</table>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Picking</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-p.whs2 { margin-left:40px; }
-img_whs3 { border:none; width:203px; height:156px; border-style:none; }
-img_whs4 { border:none; width:25px; height:26px; border-style:none; }
-img_whs5 { border:none; border-style:none; width:207px; height:192px; float:none; }
-ul.whs6 { list-style:disc; }
-img_whs7 { border:none; width:306px; height:501px; float:none; border-style:none; }
-p.whs8 { margin-left:38px; }
-p.whs9 { margin-left:0px; font-weight:bold; }
-p.whs10 { margin-left:38px; font-weight:bold; }
-p.whs11 { font-weight:bold; margin-left:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs9 {margin-left:1pt; }";
- strNSS += "p.whs11 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nPicking");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Picking</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> </B></span>Picking is a special
- way of viewing Gauss Points presentations</p>
-
-<p> </p>
-
-<p class="whs2"><img src="image34.jpg" width="203px" height="156px" border="0" class="img_whs3"></p>
-
-<p> </p>
-
-<p>Picking mode is activated by selecting <img src="image34.gif" width="25px" height="26px" border="0" class="img_whs4"> button in the Gauss Viewer toolbar. </p>
-
-<p>Now if the cursor touches a point it is highlighted with
- triangular markers (pyramids). The cursor is dynamically generated so
- that apexes of each pyramid touch the point sprite boundary, and the height
- of the pyramid is fixed. </p>
-
-<p class="whs2"><img src="pics/image69.gif" x-maintain-ratio="TRUE" width="207px" height="192px" border="0" class="img_whs5"></p>
-
-<p>To get information about the point click the left mouse button or press
- S (or s) key of the keyboard. </p>
-
-<p>Once a point is selected, the presentation is centered around this point
- and a semi-transparent window is displayed next to the selected point
- and shows the following information:</p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p>The ID of the point within its parent mesh element</p></li>
-
- <li class=kadov-p><p>Coordinates of the Gauss point</p></li>
-
- <li class=kadov-p><p>In the case of a result at Gauss point: Scalar
- value being inspected + all components individually</p></li>
-
- <li class=kadov-p><p>Name of its parent mesh element</p></li>
-</ul>
-
-<p>In addition, the active scalar bar is updated to highlight the corresponding
- value of the selected scalar value by a black line.</p>
-
-<p> </p>
-
-<p>All Picking preferences can be defined using Preferences, however, you
- can customize them for the current presentation. </p>
-
-<p> </p>
-
-<p class="whs2"><img src="pics/picking.png" x-maintain-ratio="TRUE" width="306px" height="501px" border="0" class="img_whs7"></p>
-
-<p> </p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Cursor</B></span>
- - allows to adjust the <span style="font-weight: bold;"><B>Size</B></span> of
- the cursor used for Picking (ranging from 0.1 to 1), the <span style="font-weight: bold;"><B>Height
- of the pyramids</B></span> (ranging from 0 to 10) and the <span style="font-weight: bold;"><B>Selection
- cursor color.</B></span> </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Tolerance</B></span>
- - defines at which distance of the cursor from the point it becomes selected
- (ranges from 0.001 to 10). </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Information window
- -</B></span> allows to define the <span style="font-weight: bold;"><B>Transparency</B></span>
- (from 0% = opaque to 100% = transparent) and <span style="font-weight: bold;"><B>Position</B></span>
- of the window, which can be: </p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Centred
- below the point</B></span>, or</p></li>
-
- <li class=kadov-p><p class="whs8">located at <span style="font-weight: bold;"><B>Top-left
- corner of the 3D view</B></span></p></li>
-
- <li class=kadov-p><p class="whs9">Movement
- of the Camera <span style="font-weight: normal;">can also be define by
- the user. </span></p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Zoom
- at first selected point -</B></span> This value is used to define the focal
- distance at the first selected point (at the end of the movement of the
- camera). This value is a ratio that will be multiplied by the current
- zoom value.</p></li>
-
- <li class=kadov-p><p class="whs10">Number
- of steps between two positions - <span style="font-weight: normal;">defines
- the smoothness of camera movement at selection by the number of iterations.
- If set to 1 the camera is zoomed and centered at the point momentarily.
- Greater numbers mean very slow camera movement.</span> </p></li>
-
- <li class=kadov-p><p class="whs11">Display
- parent mesh element - <span style="font-weight: normal;">allows to visualize
- or hide the parent mesh element of the selected gauss point.</span> </p></li>
-</ul>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Plot2D Viewer</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-ul.whs1 { list-style:disc; }
-img_whs2 { border:none; width:25px; height:23px; border-style:none; float:none; }
-img_whs3 { border:none; width:27px; height:25px; border-style:none; float:none; }
-img_whs4 { border:none; width:25px; height:24px; border-style:none; float:none; }
-img_whs5 { border:none; width:25px; height:25px; border-style:none; float:none; }
-img_whs6 { border:none; border-style:none; width:24px; height:24px; float:none; }
-img_whs7 { border:none; width:23px; height:23px; border-style:none; float:none; }
-img_whs8 { border:none; width:23px; height:23px; border-style:none; }
-img_whs9 { border:none; width:23px; height:22px; border-style:none; }
-img_whs10 { border:none; border-style:none; width:29px; height:28px; float:none; }
-img_whs11 { border:none; border-style:none; width:25px; height:27px; float:none; }
-img_whs12 { border:none; border-style:none; width:28px; height:30px; float:none; }
-img_whs13 { border:none; width:28px; height:26px; border-style:none; float:none; }
-p.whs14 { margin-left:40px; }
-img_whs15 { border:none; width:402px; height:396px; border-style:none; float:none; }
-p.whs16 { margin-left:0px; }
-p.whs17 { margin-left:0px; font-weight:bold; }
-p.whs18 { margin-left:0px; font-weight:normal; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs16 {margin-left:1pt; }";
- strNSS += "p.whs17 {margin-left:1pt; }";
- strNSS += "p.whs18 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\nXY plots\nPlot2D Viewer");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Plot 2D viewer</h1>
-
-<p><span style="font-weight: bold;"><B>Plot 2d viewer</B></span> is destined to
- the representation of 2d
- plots and graphs in Post-Pro module. </p>
-
-<p>Its viewer toolbar gives you fast access to the following operations:</p>
-
-<p> </p>
-
-<ul type="disc" class="whs1">
-
- <li class=kadov-p><p><img src="image10.gif" width="25px" height="23px" border="0" class="img_whs2"> <span style="font-weight: bold;"><B>Dump
- View</B></span> - exports an object from the viewer in bmp, png, jpg or jpeg
- image format. </p></li>
-
- <li class=kadov-p><p><img src="image14.gif" width="27px" height="25px" border="0" class="img_whs3"> <span
- style="font-weight: bold;"><B>Fit all - </B></span>allows
- to select a point to be the center of a scene.<span style="font-weight: bold;">
- <B></B></span></p></li>
-
- <li class=kadov-p><p><img src="image17.gif" width="25px" height="23px" border="0" class="img_whs2"> <span style="font-weight: bold;"><B>Fit
- area</B></span> - resizes the view to place in the visible area only the contents
- of a frame drawn with pressed left mouse button.</p></li>
-
- <li class=kadov-p><p><img src="image19.gif" width="25px" height="24px" border="0" class="img_whs4"> <span style="font-weight: bold;"><B>Zoom</B></span>
- - allows
- to zoom in and out. </p></li>
-
- <li class=kadov-p><p><img src="image39.gif" width="25px" height="25px" border="0" class="img_whs5"> <span style="font-weight: bold;"><B>Panning</B></span>
- - if the represented objects are greater that the visible area and you
- don't wish to use <span style="font-weight: bold;"><B>Fit all</B></span> functionality,
- click on this button and you'll be able to drag the scene to see its remote
- parts. </p></li>
-
- <li class=kadov-p><p><img src="pics/image100.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Global
- panning</B></span> - represents all displayed objects in the visible area.
- </p></li>
-
- <li class=kadov-p><p><img src="image43.gif" width="23px" height="23px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Draw
- Points</B></span> - represents points on the graph.</p></li>
-
- <li class=kadov-p><p><img src="image44.gif" width="23px" height="23px" border="0" class="img_whs8"> <span style="font-weight: bold;"><B>Draw
- Lines</B></span> - represents lines on the graph.</p></li>
-
- <li class=kadov-p><p><img src="image47.gif" width="23px" height="22px" border="0" class="img_whs9"> <span style="font-weight: bold;"><B>Draw
- Splines</B></span> - represents splines on the graph.</p></li>
-
- <li class=kadov-p><p><img src="pics/image81.gif" x-maintain-ratio="TRUE" width="29px" height="28px" border="0" class="img_whs10"> & <img src="pics/image82.gif" x-maintain-ratio="TRUE" width="25px" height="27px" border="0" class="img_whs11"> <span style="font-weight: bold;"><B>Horizontal
- axis logarithmic & Vertical axis logarithmic</B></span> - changes the
- scaling on axes to logarithmic. </p></li>
-
- <li class=kadov-p><p><img src="pics/image83.gif" x-maintain-ratio="TRUE" width="28px" height="30px" border="0" class="img_whs12"> <span style="font-weight: bold;"><B>Show
- Legend</B></span> - reveals all verbal and numerical information on the graphs.</p></li>
-
- <li class=kadov-p><p><img src="pics/image84.gif" x-maintain-ratio="TRUE" width="29px" height="28px" border="0" class="img_whs10"> <span style="font-weight: bold;"><B>Settings</B></span>
- - calls a menu, in which you can specify advanced settings for your <span
- style="font-weight: bold;"><B>Plot 2d Viewer</B></span>. </p></li>
-
- <li class=kadov-p><p><img src="image48.gif" width="28px" height="26px" border="0" class="img_whs13"> <span
- style="font-weight: bold;"><B>Clone view</B></span>
- - opens a new duplicate scene.</p></li>
-</ul>
-
-<p> </p>
-
-<p class="whs14"><img src="pics/viewsettings.png" x-maintain-ratio="TRUE" width="402px" height="396px" border="0" class="img_whs15"></p>
-
-<p class="whs14"> </p>
-
-<p class="whs16">The options are as follows:</p>
-
-<p class="whs16"> </p>
-
-<ul type="disc" class="whs1">
-
- <li class=kadov-p><p class="whs16"><span style="font-weight: bold;"><B>Main
- title: </B></span>the title of the XY plot. By default, it will consist of
- the names of the tables, on the basis of which the curve lines have been
- constructed.</p></li>
-
- <li class=kadov-p><p class="whs17">Curve
- type: <span style="font-weight: normal;">you can select from</span> Points,
- Lines <span style="font-weight: normal;">and</span> Spline.</p></li>
-
- <li class=kadov-p><p class="whs17">Show
- legend: <span style="font-weight: normal;">Here you can define the position
- of the description table on the XY plot (to the </span>Left<span style="font-weight: normal;">,
- to the </span>Right<span style="font-weight: normal;">, on </span>Top<span
- style="font-weight: normal;"> or on </span>Bottom<span style="font-weight: normal;">).</span>
- </p></li>
-
- <li class=kadov-p><p class="whs16"><span style="font-weight: bold;"><B>Marker
- size -</B></span> size of the points (markers) forming curve lines.</p></li>
-
- <li class=kadov-p><p class="whs17">Background
- color <span style="font-weight: normal;">of the XY plot</span></p></li>
-
- <li class=kadov-p><p class="whs17">Scale
- mode: <span style="font-weight: normal;">here you can select the type
- of scaling</span> (Linear or Logarithmic) <span style="font-weight: normal;">along</span>
- X (Horizontal) <span style="font-weight: normal;">or</span> Y (Vertical)<span
- style="font-weight: normal;"> axes.</span></p></li>
-</ul>
-
-<p class="whs17"> </p>
-
-<p class="whs18">You can define settings
- for each axis separately:</p>
-
-<p class="whs18"> </p>
-
-<ul type="disc" class="whs1">
-
- <li class=kadov-p><p class="whs17">Horizontal
- or Vertical <span style="font-weight: normal;">axis title</span></p></li>
-
- <li class=kadov-p><p class="whs16"><span style="font-weight: bold;"><B>Grid/Axes
- marks: </B></span> here
- you can define the maximum number of major and minor scale divisions for
- a specified axis. The real number of intervals fits to {1,2,5}*10<span
- style="vertical-align: Super;">N</span>, where
- N is a natural number, and doesn't exceed the maximum.</p></li>
-
- <li class=kadov-p><p class="whs16"><span style="font-weight: bold;"><B>Save
- settings as default: </B></span>If this check box is marked, all XY plots
- will be displayed with these defined properties.</p></li>
-</ul>
-
-<p class="whs16"> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Plot 3D presentation</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-p.whs2 { margin-left:40px; text-align:justify; }
-img_whs3 { border:none; width:25px; height:27px; border-style:none; }
-p.whs4 { margin-left:40px; }
-img_whs5 { border:none; width:348px; height:533px; float:none; border-style:none; }
-p.whs6 { text-align:justify; margin-left:0px; }
-ul.whs7 { list-style:disc; }
-p.whs8 { margin-left:0px; }
-p.whs9 { margin-left:38px; }
-img_whs10 { border:none; width:206px; height:293px; float:none; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs6 {margin-left:1pt; }";
- strNSS += "p.whs8 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nPlot 3D presentation");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Plot 3D presentation</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1">Plot 3D</B></span> is a presentation
- of scalar values of meshes lying on a cutting plane. The relief and coloring
- of the resulting presentation both correspond to the values applied to
- the cells of the mesh.</p>
-
-<p> </p>
-
-<p class=TODO
- style="text-align: justify; color: #000000;"><span class=expandtext
- style="color: #000000;"><font color=black >To
- create a Plot 3D presentation:</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">- Right-click on one
- of the time stamps of the field in the Object browser and from the pop-up
- menu choose <span style="font-weight: bold;"><B>Plot 3D, </B></span>or</p>
-
-<p class="whs2">- Click on one of the
- time stamps of the field in the Object browser and select from the main
- menu <span style="font-weight: bold;"><B>Visualization > Plot 3D</B></span>,
- or click <img src="image41.gif" width="25px" height="27px" border="0" class="img_whs3"> icon<span style="font-weight: bold;"> <B></B></span>in
- the <span style="font-weight: bold;"><B>Visualization Toolbar.</B></span></p>
-
-<p> </p>
-
-<p class="whs4"><img src="pics/plot3d.png" x-maintain-ratio="TRUE" width="348px" height="533px" border="0" class="img_whs5"></p>
-
-<p class="whs4"> </p>
-
-<p class="whs6"><span style="font-weight: bold;"><B>Plot
- 3D Definition </B></span>tab allows you to set additional parameters of your
- Plot 3D presentation:</p>
-
-<p class="whs6"> </p>
-
-<ul type="disc" class="whs7">
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Orientation</B></span>
- radio buttons allow to set the orientation of cut plane in 3D space. You
- should select two of three axis (XY, YZ, or ZX) in which the plane will
- be located in 3D space. If the mesh is 2D this functionality is disable,
- as there exist only one plane for a Plot 3D. </p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Rotations
- </B></span>of the planes in 3d space around the axes of the selected orientation.
- (The angle of rotation is set in degrees.) </p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Position</B></span>
- - allows to select the position of the plane in the object (ranging from
- 0 to 1). The value 0.5 corresponds to cutting by halves.</p></li>
-
- <li class=kadov-p><p class="whs9"><span style="font-weight: bold;"><B>Relative</B></span>
- check box allows to increase / decrease the value by decimal steps. </p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Scale
- Factor</B></span> <span style="font-weight: bold;"><B>-</B></span> visualization
- scaling of all vector values applied to the cells of the mesh. </p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Presentation
- type:</B></span> </p></li>
-
- <li class=kadov-p><p class="whs9"><span style="font-weight: bold;"><B>Surface</B></span>
- - Plot 3D will be represented with a smooth surface.</p></li>
-
- <li class=kadov-p><p class="whs9"><span style="font-weight: bold;"><B>Contour</B></span>
- - Plot 3D will be represented with a set of contours</p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Number
- of contours</B></span> - allows to define the number of contours (active when
- Contour presentation type is selected).</p></li>
-
- <li class=kadov-p><p class="whs8"><span style="font-weight: bold;"><B>Preview
- cutting plane</B></span> checkbox allows to see the position of the cutting
- plate in the Viewer while defining the presentation. </p></li>
-</ul>
-
-<p class="whs6"> </p>
-
-<p class="whs8"><span style="font-weight: bold;"><B>Scalar Bar
- </B></span>tab allows to define the parameters of the scalar bar displayed
- with this presentation (<a href="files/scalar_map_presentation.htm#Scalar Bar">see
- also</a>).</p>
-
-<p class="whs8"> </p>
-
-<p class="whs8">After you have finished with setting these
- parameters, click <span style="font-weight: bold;"><B>OK. </B></span>Your presentation
- will be
- immediately displayed in the viewer: </p>
-
-<p class="whs8"> </p>
-
-<p class="whs8"><img src="pics/plot3d-example.png" x-maintain-ratio="TRUE" width="206px" height="293px" border="0" class="img_whs10"></p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Primitive Types</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-p.whs2 { font-weight:bold; margin-left:120px; }
-img_whs3 { border:none; border-style:none; width:200px; height:150px; float:none; }
-p.whs4 { font-weight:bold; }
-p.whs5 { font-weight:bold; margin-left:40px; }
-img_whs6 { border:none; width:511px; height:244px; border-style:none; }
-p.whs7 { margin-left:36px; }
-img_whs8 { border:none; width:485px; height:141px; border-style:none; }
-img_whs9 { border:none; width:484px; height:139px; border-style:none; }
-p.whs10 { font-weight:bold; margin-left:0px; }
-img_whs11 { border:none; width:186px; height:175px; float:none; border-style:none; }
-img_whs12 { border:none; width:191px; height:175px; float:none; border-style:none; }
-p.whs13 { margin-left:40px; text-indent:-28px; font-weight:bold; }
-p.whs14 { margin-left:0px; font-style:normal; }
-p.whs15 { margin-left:80px; font-style:italic; }
-p.whs16 { margin-left:80px; font-style:italic; text-align:center; }
-img_whs17 { border:none; width:418px; height:154px; float:none; border-style:none; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs10 {margin-left:1pt; }";
- strNSS += "p.whs13 {text-indent:1pt; }";
- strNSS += "p.whs14 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nPrimitive Types");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Primitive Types</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"></B></span>Gauss Point presentations
- use primitives to visualize the value of the results obtained during calculations
- so that the color and relative size of the points depend on each component
- of a vector, tensor or matrix (e.g. scalar and module for vectors). Of
- course, the size of primitives in the Viewer also depends on their location
- within the 3D scene. At a given computed size, a primitive will be bigger
- when it is close to the camera and smaller at a distance. </p>
-
-<p class="whs2"><img src="pics/image30.gif" x-maintain-ratio="TRUE" width="200px" height="150px" border="0" class="img_whs3"></p>
-
-<p>There are three Basic primitive types which can be used in Gauss Points
- presentations: <span style="font-weight: bold;"><B>Point Sprites, Open GL
- Points</B></span> and <span style="font-weight: bold;"><B>Geometrical Spheres.</B></span></p>
-
-<p> </p>
-
-<p class="whs4">Point Sprites</p>
-
-<p class="whs4"> </p>
-
-<p class="whs5"><img src="image33.jpg" width="511px" height="244px" border="0" class="img_whs6"></p>
-
-<p class="whs4"> </p>
-
-<p>Each <span style="font-weight: bold;"><B>Point Sprite</B></span> is visualised
- in 3D Viewer with two 16*16 textures: <span style="font-weight: bold;"><B>Main
- texture</B></span> which defines the shape of the point sprite and <span style="font-weight: bold;"><B>Alpha
- Channel Texture</B></span> which defines the transparency of the point sprite.
- By default Salome suggests textures defined in the Preferences, however
- you can browse for other .bmp, .png or .jpg files to be used as textures.
- </p>
-
-<p class="whs4">Alpha Channel Threshold <span style="font-weight: normal;">defines
- the level of transparency ranging from 0 to 1.</span> </p>
-
-<p>The default sizes of point sprites are computed by the system, therefore,
- these parameters cannot be defined in the preferences, however, the <span
- style="font-weight: bold;"><B>Maximum Size</B></span> of the point sprite is
- limited (Clamp) so that the whole scene would remain visible if the user
- applies a high zoom factor. <span style="font-weight: bold;"><B>Maximum Size</B></span>
- corresponds to the maximum size of a point sprite during rendering whatever
- is the magnification of the point or the zoom of the view. Technically,
- it corresponds to setting up a clamp in the vertex shader. The Size is
- measured in pixels and belongs to the interval from 1 to 512. </p>
-
-<p> </p>
-
-<p class="whs4">OpenGL Points</p>
-
-<p class="whs4"> </p>
-
-<p class="whs7"> <img src="image30.gif" width="485px" height="141px" border="0" class="img_whs8"></p>
-
-<p> </p>
-
-<p><span style="font-weight: bold;"><B>OpenGL Points</B></span> don't use any
- files as textures, displaying results as simple OpenGL points, so the
- only parameter relevant to them is the <span style="font-weight: bold;"><B>Maximum
- Size. </B></span></p>
-
-<p> </p>
-
-<p class="whs4">Geometrical Spheres</p>
-
-<p class="whs4"> </p>
-
-<p class="whs5"><img src="image31.gif" width="484px" height="139px" border="0" class="img_whs9"></p>
-
-<p class="whs10"> </p>
-
-<p class="whs10">Geometrical Spheres <span
- style="font-weight: normal;">display results using a standard sphere with
- a number of faces be defined thought a </span>Resolution<span style="font-weight: normal;">
- parameter. By default the </span>Resolution<span style="font-weight: normal;">
- is set to 8. This number corresponds to the Latitude and Longitude definitions
- of a VTK sphere. The </span>Number of Faces<span style="font-weight: normal;">
- parameter is equal to the total number of points in the scene when no
- segmentation cursor is used or number of points within the cursor when
- a segmentation is in progress, multiplied by the number of faces of one
- Sphere in the current resolution. This value computed by the system using
- the formula: NbrFaces = 2*Resolution x [Resolution-2]
- and displayed to the end-user for information purpose.</span></p>
-
-<p class="whs10"><span style="font-weight: normal;">in
- the pictures you can see the spheres with </span>Resolution<span style="font-weight: normal;">
- of</span> <span style="font-size: 36pt;"><font size=7 style="font-size:36pt;">8</font></span> <span style="font-weight: normal;"><img src="pics/image87.gif" x-maintain-ratio="TRUE" width="186px" height="175px" border="0" class="img_whs11"> and
- </span><span style="font-size: 36pt;"><font size=7 style="font-size:36pt;">6<img src="pics/image88.gif" x-maintain-ratio="TRUE" width="191px" height="175px" border="0" class="img_whs12"></font></span></p>
-
-<p class="whs13"> </p>
-
-<p class="whs14"><span style="font-weight: bold;"><B>Notify
- when number of faces exceeds </B></span>prompts the user by a dialog to continue
- or to cancel the display operation if the number of faces is greater than
- the number defined in the menu. </p>
-
-<p class="whs15"> </p>
-
-<p align="center" class="whs16"><img src="pics/warning.png" x-maintain-ratio="TRUE" width="418px" height="154px" border="0" class="img_whs17"></p>
-
-<p class="whs4"> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-[GlossaryTab]
-TabCaption=&Glossary
-TermCaption=&Term
-DefinitionCaption=&Definition For:
-
-[BrowseSequence]
-PreCaption=Previous
-PreTooltip=Previous Topic
-NextCaption=Next
-NextTooltip=Next Topic
-BlockTooltip=Select Block
-
-[Common]
-Contents=Contents
-Index=Index
-Search=Search
-Glossary=Glossary
-Logo/Author=Powered By
-Show=Show
-Hide=Hide
-SyncToc=SyncToc
-Prev=<<
-Next=>>
-Disabled Prev=<<
-Disabled Next=>>
-Seperate = |
-
-[WebHelp]
-Cancel=Cancel
-CantOpenURLorFile=Can't open URL or file
-CompletingContents=Completing Contents...
-Display=Display
-Term=Term:
-Definition=Definition:
-Done=Done
-Find=Find
-IndexInputPrompt=Type in the keyword to find:
-RelateTopicListPrompt=Click a topic, then click Display.
-LoadingData=Loading data, please wait...
-LoadingContents=Loading contents, please wait...
-LoadingContentsData=Loading, click here to cancel...
-LoadingFTS=Reading Search Data...
-LoadingIndex=Loading Index...
-LoadingTOCItem=Loading Table of Contents:
-Searching=Searching...
-FtsInputPrompt=Type in the word(s) to search for:
-TopicsFound=Topics Found
-BrowserLimitedMessage=Your browser does not support frames. We recommend that you update your browser to a version that supports frames.
-SuggestViewNoFrameMessage=To view the Help system without frames click on this
-SuggestViewNoFrameMsg2=hyperlink.
-TopicsNotFound=No Topics Found.
-CantSearch=Cannot search for that phrase.
-JS_alert_appletNotLoad = Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited.
-JS_alert_colorlimitation=WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.
-Blank_topic_text=This topic was created by WinHelp Project Conversion Wizard, and is the destination of a missing topic or broken hyperlink.
-JS_alert_ProjectLoadingFail=Could not load correctly, please click Refresh.
-JS_alert_cantLoadProject=Can't load project:
-JS_alert_ErrorInLoading=Error in Loading navigation component. Please regenerate WebHelp.
-IndexBtnText=Go
-FtsBtnText=Go
-ToolBarSearchBtnText=Go
-InTopicSearchBtnText=Go
-SearchLabel=Search
-SearchPrompt=- Search -
-PreTooltip=Previous Topic
-NextTooltip=Next Topic
-WebSearch=WebSearch
-SyncTocTooltip=Sync TOC
-Book=Book
-Page=Page
-Remote_Page=Remote Page
-Show_Navigation_Component=Show Navigation Component
-Hide_Navigation_Component=Hide Navigation Component
-nls_edit_label=Type in your question:
-nls_button_go_hint=Go Search
-nls_button_go_text=Go
-nls_body_instruction=Enter your question in the text box above, then click GO.
-nls_body_empty=Sorry, we were unable to find a good answer for your question.
-IndexSelectTopicTitle=Select a Topic
-IndexSelectTopicLabel=Select a topic, then click Display
-IndexSelectTopicError=Please select a topic.
-IndexAlphabetBookmarks=ABCDEFGHIJKLMNOPQRSTUVWXYZ
-MergeError1=The merged Help system
-MergeError2=is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system.
-PoweredBy=Powered by
-GeneratedBy=Generated by
-Author=Author
-About=About
-Print=Print
-
-[PrintedDoc]
-TableOfContents=Table Of Contents
-TitlePage=Title Page
-ChapterFileNamePrefix=Chapter_
-TitlePageFileName=Chapter__Title_Page.doc
-CrossReferencePrefix=See
-GlossaryHeadingStyleName=Glossary Heading
-GlossaryTermStyleName=Glossary Term
-GlossaryDefinitionStyleName=Glossary Definition
-TitlePageTitleStyleName=Title Page Title
-TocPageTitleStyleName=Table of Contents Page Title
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Scalar Bar</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-p.whs2 { margin-left:40px; }
-img_whs3 { border:none; width:528px; height:621px; float:none; border-style:none; }
-ul.whs4 { list-style:disc; }
-p.whs5 { font-weight:bold; }
-p.whs6 { margin-left:38px; }
-p.whs7 { font-weight:bold; margin-left:38px; }
-p.whs8 { font-weight:bold; margin-left:57px; }
-p.whs9 { margin-left:57px; font-weight:normal; }
-p.whs10 { margin-left:57px; }
-p.whs11 { font-weight:bold; margin-left:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs11 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nScalar Bar");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Scalar Bar</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"></B></span>Gauss Points Presentations
- presume that two different scalar bars are displayed simultaneously:</p>
-
-<p>The Global scale corresponds to the minimum and maximum values founded
- for the variable at all time stamps (located on the left side). When active,
- the second is displayed in grey and disabled. The Local scale defines
- the minimum and maximum values at the current time stamp for the variable
- (located on the right side). When the Local scale is active, the Global
- scale shows its limits 2 black lines.</p>
-
-<p> </p>
-
-<p>The dialog allows user to define the characteristics of the scalar bars
- displayed within the scene.</p>
-
-<p> </p>
-
-<p class="whs2"><img src="pics/gpp6.png" x-maintain-ratio="TRUE" width="528px" height="621px" border="0" class="img_whs3"></p>
-
-<p> </p>
-
-<ul type="disc" class="whs4">
-
- <li class=kadov-p><p class="whs5">Active bar </p></li>
-
- <li class=kadov-p><p class="whs6"><span style="font-weight: bold;"><B>Local:</B></span>
- when selected, the <span style="font-weight: bold;"><B>Local</B></span> bar will
- be active and colors used for rendering of the results will be taken from
- this bar. If displayed, the <span style="font-weight: bold;"><B>Global</B></span>
- bar will be displayed in grey and 2 markers will define the limits of
- the local min/max range.</p></li>
-
- <li class=kadov-p><p class="whs6"><span style="font-weight: bold;"><B>Global:</B></span>
- when selected, the <span style="font-weight: bold;"><B>Global</B></span> bar
- will be active and colors used for rendering of the results will be taken
- from this bar (i.e.: not all colors may be used to display results at
- a given time stamp). <span style="font-weight: bold;"><B>Local</B></span> bar
- will be displayed in grey and
- inactive.</p></li>
-
- <li class=kadov-p><p class="whs6"><span style="font-weight: bold;"><B>Displayed</B></span>:
- when checked, the <span style="font-weight: bold;"><B>Global</B></span> bar is
- displayed, else it is not seen. This control is systematically checked
- and disabled when the <span style="font-weight: bold;"><B>Global</B></span> bar
- is defined as active.</p></li>
-
- <li class=kadov-p><p class="whs5">Scalar range</p></li>
-
- <li class=kadov-p><p class="whs7">Scalar
- Mode: <span style="font-weight: normal;">this feature allows refining
- the value to be inspected:</span></p></li>
-
- <li class=kadov-p><p class="whs8"><span
- style="font-weight: normal;">M</span>odulus: <span style="font-weight: normal;">value
- of a scalar or modulus of a vector.</span></p></li>
-
- <li class=kadov-p><p class="whs8"><span
- style="font-weight: normal;">C</span>omponent N: <span style="font-weight: normal;">Nth
- component of a vector, a tensor or a matrix.</span></p></li>
-
- <li class=kadov-p><p class="whs5">Colors and labels</p></li>
-
- <li class=kadov-p><p class="whs7">Bicolor:
- <span style="font-weight: normal;">only 2 colors are used for the active
- bar:</span></p></li>
-
- <li class=kadov-p><p class="whs8">Red
- <span style="font-weight: normal;">for positive values</span></p></li>
-
- <li class=kadov-p><p class="whs8">Blue<span
- style="font-weight: normal;"> for negative values</span></p></li>
-</ul>
-
-<p class="whs9">These colors also correspond
- to the colors associated to min/max values of the palette option.</p>
-
-<ul type="disc" class="whs4">
-
- <li class=kadov-p><p class="whs6"><span style="font-weight: bold;"><B>Rainbow:</B></span>
- A palette of several colors will be used to render the results. A regular
- and linear progression is considered from min to max.</p></li>
-
- <li class=kadov-p><p class="whs10"><span style="font-weight: bold;"><B>Nb.
- of colors:</B></span> defines the number of color to design the palette (up
- to 256 colors can be used).</p></li>
-
- <li class=kadov-p><p class="whs10"><span style="font-weight: bold;"><B>Nb.
- of labels:</B></span> defines the number of labels to be written in the bar
- as text markers.</p></li>
-
- <li class=kadov-p><p class="whs5">Orientation - <span
- style="font-weight: normal;">allows to choose between</span> Vertical
- <span style="font-weight: normal;">and</span> Horizontal<span style="font-weight: normal;">
- orientation.</span> </p></li>
-
- <li class=kadov-p><p class="whs11">Origin
- - <span style="font-weight: normal;">allows to define placement and lookout
- of</span> Scalar Bars</p></li>
-
- <li class=kadov-p><p class="whs7">X:
- <span style="font-weight: normal;">abscissa of the point of origin (from
- the left side)</span></p></li>
-
- <li class=kadov-p><p class="whs7">Y:
- <span style="font-weight: normal;">ordinate of the origin of the bar (from
- the bottom)</span></p></li>
-
- <li class=kadov-p><p class="whs11">Dimensions
- - <span style="font-weight: normal;">allows to define </span>Width<span
- style="font-weight: normal;"> and </span>Height<span style="font-weight: normal;">
- of each bar.</span></p></li>
-
- <li class=kadov-p><p class="whs7">Spacing
- - <span style="font-weight: normal;">space
- between the bars (only if both are displayed).</span></p></li>
-
- <li class=kadov-p><p class="whs11">Text
- properties: <span style="font-weight: normal;">allows to define properties
- of font and text associated to the active bar.</span></p></li>
-
- <li class=kadov-p><p class="whs11">Save
- as default values<span style="font-weight: normal;"> - allows to save
- the parameters defined by the user as default. </span></p></li>
-</ul>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Scalar Map on Deformed Shape presentation</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-p.whs2 { font-weight:bold; }
-p.whs3 { margin-left:40px; text-align:justify; }
-img_whs4 { border:none; width:27px; height:28px; border-style:none; }
-p.whs5 { font-weight:bold; margin-left:40px; }
-img_whs6 { border:none; width:348px; height:559px; float:none; border-style:none; }
-p.whs7 { text-align:justify; margin-left:0px; }
-ul.whs8 { list-style:disc; }
-p.whs9 { margin-left:0px; }
-img_whs10 { border:none; width:277px; height:294px; float:none; border-style:none; }
-img_whs11 { border:none; width:278px; height:287px; float:none; border-style:none; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs7 {margin-left:1pt; }";
- strNSS += "p.whs9 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nScalar Map on Deformed Shape presentation");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Scalar Map on Deformed Shape presentation</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> Scalar Map on Deformed
- Shape</B></span> presentation is a mix of the two: <span style="font-weight: bold;"><B><a href="files/scalar_map_presentation.htm">Scalar Map</a></B></span> and <a href="files/deformed_shape_presentation.htm"><span style="font-weight: bold;"><B>Deformed
- Shape</a>. </B></span>In this presentation the Scalar Map is built on a Deformed
- Shape.</p>
-
-<p class="whs2"> </p>
-
-<p class=TODO
- style="text-align: justify; color: #000000;"><span class=expandtext
- style="color: #000000;"><font color=black >To
- create a Scalar Map on Deformed Shape presentation:</font></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3">- Right-click on one
- of the time stamps of the field in the Object browser and from the pop-up
- menu choose <span style="font-weight: bold;"><B>Scalar Map on Deformed Shape,
- </B></span>or</p>
-
-<p class="whs3">- Click on one of the
- time stamps of the field in the Object browser and select from the main
- menu <span style="font-weight: bold;"><B>Visualization > Scalar Map on
- Deformed Shape</B></span>, or click <img src="image40.gif" width="27px" height="28px" border="0" class="img_whs4"> icon<span style="font-weight: bold;">
- <B></B></span>in the <span style="font-weight: bold;"><B>Visualization Toolbar.</B></span></p>
-
-<p> </p>
-
-<p class="whs5"><img src="pics/smds1.png" x-maintain-ratio="TRUE" width="348px" height="559px" border="0" class="img_whs6"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs7"><span style="font-weight: bold;"><B>Scalar
- Map on Deformed Shape </B></span>tab allows you to set additional parameters
- of your Scalar Map on Deformed Shape presentation:</p>
-
-<p class="whs7"> </p>
-
-<ul type="disc" class="whs8">
-
- <li class=kadov-p><p class="whs9"><span style="font-weight: bold;"><B>Scale
- Factor:</B></span> visualization scaling of all vector values applied to the
- cells of the mesh. </p></li>
-
- <li class=kadov-p><p class="whs9"><span style="font-weight: bold;"><B>Fields:</B></span>
- allows to choose type of fields on which the presentation will be built.
- </p></li>
-
- <li class=kadov-p><p class="whs9"><span style="font-weight: bold;"><B>Time
- Stamp:</B></span> allows
- to choose the time stamp on which the presentation will be built.</p></li>
-</ul>
-
-<p class="whs5"> </p>
-
-<p class="whs9"><span style="font-weight: bold;"><B>Scalar Bar
- </B></span>tab allows to define the parameters of the scalar bar displayed
- with this presentation (<a href="files/scalar_map_presentation.htm#Scalar Bar">see
- also</a>).</p>
-
-<p class="whs9"> </p>
-
-<p class="whs9">After you have finished with setting these
- parameters, click <span style="font-weight: bold;"><B>OK. </B></span>Your presentation
- will be immediately displayed in the viewer. </p>
-
-<p class="whs9"> </p>
-
-<p class="whs9">Compare ordinary Scalar Map presentation <img src="pics/smds-example1.png" x-maintain-ratio="TRUE" width="277px" height="294px" border="0" class="img_whs10"> </p>
-
-<p class="whs9">with Scalar Map on Deformed Shape presentation
- <img src="pics/smds-example.png" x-maintain-ratio="TRUE" width="278px" height="287px" border="0" class="img_whs11"> </p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Segmentation</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-img_whs2 { border:none; width:27px; height:27px; border-style:none; }
-img_whs3 { border:none; width:28px; height:29px; border-style:none; }
-p.whs4 { margin-left:40px; }
-img_whs5 { border:none; width:637px; height:545px; float:none; border-style:none; }
-p.whs6 { margin-left:120px; }
-img_whs7 { border:none; border-style:none; width:283px; height:177px; float:none; }
-img_whs8 { border:none; width:450px; height:264px; border-style:none; }
-img_whs9 { border:none; width:636px; height:552px; float:none; border-style:none; }
-p.whs10 { margin-left:200px; }
-img_whs11 { border:none; border-style:none; width:154px; height:173px; float:none; }
-img_whs12 { border:none; width:449px; height:215px; border-style:none; }
--->
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nSegmentation");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Segmentation</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> Segmentation</B></span> is
- a functionality similar to <span style="font-weight: bold;"><B>Clipping</B></span>
- in <span style="font-weight: bold;"><B>Mesh</B></span> and <span style="font-weight: bold;"><B>Geom</B></span>
- modules. </p>
-
-<p><span style="font-weight: bold;"><B>Segmentation</B></span> can be activated
- by clicking <img src="image35.gif" width="27px" height="27px" border="0" class="img_whs2"> (<span style="font-weight: bold;"><B>Plane Segmentation</B></span>)
- or<img src="image38.gif" width="28px" height="29px" border="0" class="img_whs3"> (<span style="font-weight: bold;"><B>Sphere Segmentation</B></span>)
- button in the Gauss Viewer toolbar. </p>
-
-<p>Once the command is activated, a new window, below the main 3D view
- is created to display the content of the segmentation cursor. A dialog
- box is also displayed to manually configure the segmentation cursor parameters.</p>
-
-<p>The <span style="font-weight: bold;"><B>Main view</B></span> (top) shows the
- results at Gauss points with scalar bars. A semi-transparent <span style="font-weight: bold;"><B>Segmentation
- Cursor</B></span> defines the part of the variables to be inspected. Two
- different presentations for Gauss points are used, depending on location
- of the points: <span style="font-weight: bold;"><B>Inside</B></span> or <span
- style="font-weight: bold;"><B>Outside</B></span> the segmentation cursor. </p>
-
-<p>The <span style="font-weight: bold;"><B>Secondary view</B></span> (bottom)
- is also called <span style="font-weight: bold;"><B>Segmentation Viewer</B></span>.
- It shows, in real time, the results at Gauss points only (no mesh elements)
- that are located inside the segmentation cursor. Gauss points are displayed
- in the same way as <span style="font-weight: bold;"><B>Inside</B></span> points
- in the first view. This view is automatically updated when the cursor
- is changed in the first view.</p>
-
-<p><span style="font-weight: bold;"><B>Gauss Points</B></span> tab of the Segmentation
- menu allows to define visualization parameters for Inside and Outside
- cursor Gauss Points. See
- <span style="font-weight: bold;"><B><a href="primitive_types.htm">Primitives</a></B></span>
- and <span style="font-weight: bold;"><B><a href="types_of_gauss_points_presentations.htm">Presentations</a></B></span>
- to learn about parameters definable in this tab. </p>
-
-<p> </p>
-
-<p class="whs4"><img src="pics/planes.png" x-maintain-ratio="TRUE" width="637px" height="545px" border="0" class="img_whs5"></p>
-
-<p> </p>
-
-<p><span style="font-weight: bold;"><B>Plane segmentation</B></span> is
- characteristic for its Segmentation Cursor in the form of a box with an
- axis to define its orientation and two planes defining its upper and lower
- boundaries. </p>
-
-<p>It can be defined in Segmentation Cursor tab, which allows to define
- coordinates of origin, direction and depth of the segmentation plane.
- </p>
-
-<p> </p>
-
-<p class="whs6"><img src="pics/image74.gif" x-maintain-ratio="TRUE" width="283px" height="177px" border="0" class="img_whs7"></p>
-
-<p> </p>
-
-<p class="whs4"><img src="image37.jpg" width="450px" height="264px" border="0" class="img_whs8"></p>
-
-<p> </p>
-
-<p>Actually it is also possible to edit these parameters directly with
- the mouse in the main 3D view :</p>
-
-<p>\95 Translation (dragging) of the lower plane along the V axis changes
- the <span style="font-weight: bold;"><B>Origin</B></span> of the cursor</p>
-
-<p>\95 Rotating the V axis around its origin defines a new <span style="font-weight: bold;"><B>Direction</B></span>
- for the cursor</p>
-
-<p>\95 Dragging the upper plane along its axis changes the <span style="font-weight: bold;"><B>Depth</B></span>
- of the cursor. It is not possible to move the lower above the upper plane
- (minimum depth is 0).</p>
-
-<p> </p>
-
-<p class="whs4"><img src="pics/spheroid.png" x-maintain-ratio="TRUE" width="636px" height="552px" border="0" class="img_whs9"></p>
-
-<p> </p>
-
-<p><span style="font-weight: bold;"><B>Sphere segmentation</B></span> is
- characteristic for its Segmentation Cursor in the form of a sphere with
- an axis to define its orientation. </p>
-
-<p>It can be defined in Segmentation Cursor tab, which allows to define
- coordinates of origin, and radius of the segmentation plane.</p>
-
-<p> </p>
-
-<p class="whs10"><img src="pics/image117.gif" x-maintain-ratio="TRUE" width="154px" height="173px" border="0" class="img_whs11"></p>
-
-<p> </p>
-
-<p class="whs4"><img src="image38.jpg" width="449px" height="215px" border="0" class="img_whs12"></p>
-
-<p> </p>
-
-<p>The <span style="font-weight: bold;"><B>Origin</B></span> can also be changed
- in the 3D Viewer by dragging the Sphere with the mouse . </p>
-
-<p> </p>
-
-<p>When the user exits the <span style="font-weight: bold;"><B>Segmentation</B></span>
- menu, the function is ended and the second view (segmentation cursor viewer)
- is erased.</p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
--- /dev/null
+H1 {
+ text-align: center;
+}
+
+CAPTION {
+ font-weight: bold
+}
+
+/* Link in the top navbar */
+A.qindex {}
+
+A.qindexRef {}
+
+/* Link to any cross-referenced Doxygen element */
+A.el {
+ text-decoration: none;
+ font-weight: bold
+}
+
+A.elRef {
+ font-weight: bold
+}
+
+/* Link to any cross-referenced Doxygen element inside a code section
+ (ex: header)
+*/
+A.code {
+ text-decoration: none;
+ font-weight: normal;
+ color: #4444ee
+}
+
+A.codeRef {
+ font-weight: normal;
+ color: #4444ee
+}
+
+A:hover {
+ text-decoration: none;
+ background-color: lightblue
+}
+
+DL.el {
+ margin-left: -1cm
+}
+
+/* A code fragment (ex: header) */
+DIV.fragment {
+ width: 100%;
+ border: none;
+ background-color: #CCCCCC
+}
+
+/* In the alpha list (coumpound index), style of an alphabetical index letter */
+DIV.ah {
+ background-color: #CCCCCC;
+ font-weight: bold;
+ color: #ffffff;
+ margin-bottom: 3px;
+ margin-top: 3px
+}
+
+/* Method name (+ type) */
+TD.md {
+ background-color: lightblue;
+ font-weight: bold;
+}
+
+/* Method parameter (some of them) */
+TD.mdname1 {
+ background-color: lightblue;
+ font-weight: bold; color: #602020;
+}
+
+/* Method parameter (some of them) */
+TD.mdname {
+ background-color: lightblue;
+ font-weight: bold;
+ color: #602020;
+ width: 600px;
+}
+
+/* Separator between methods group (usually empty, seems not supported by IE) */
+DIV.groupHeader {
+ margin-left: 16px;
+ margin-top: 12px;
+ margin-bottom: 6px;
+ font-weight: bold
+}
+
+DIV.groupText {
+ margin-left: 16px;
+ font-style: italic;
+ font-size: smaller
+}
+
+BODY {
+ background: #FFFFFF;
+}
+
+/*div.div-page {
+ background-color: #FFFFFF;
+ margin-left: 1em;
+ margin-right: 1em;
+ margin-top: 1em;
+ margin-bottom: 0.1em;
+
+ padding-left: 1em;
+ padding-right: 1em;
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+
+ border: 2px solid #0D299A;
+ border-width: 2px;
+ border-color: #0D299A;
+}*/
+
+div.tabs {
+ text-align: justify;
+ margin-left : 2px;
+ margin-right : 2px;
+ margin-top : 2px;
+ margin-bottom : 2px
+ font-weight: bold;
+ color: #FFFFFF;
+}
+
+DIV.div-footer {
+ margin-left: 1em;
+ margin-right: 1em;
+ margin-bottom: 0.2em;
+ text-align: right;
+ font-size: 9pt;
+}
+
+/* In File List, Coumpound List, etc, 1st column of the index */
+TD.indexkey {
+ background-color: #CCCCCC;
+ font-weight: bold;
+ padding-right : 10px;
+ padding-top : 2px;
+ padding-left : 10px;
+ padding-bottom : 2px;
+ margin-left : 0px;
+ margin-right : 0px;
+ margin-top : 2px;
+ margin-bottom : 2px
+}
+
+/* In File List, Coumpound List, etc, 2nd column of the index */
+TD.indexvalue {
+ background-color: #CCCCCC;
+ font-style: italic;
+ padding-right : 10px;
+ padding-top : 2px;
+ padding-left : 10px;
+ padding-bottom : 2px;
+ margin-left : 0px;
+ margin-right : 0px;
+ margin-top : 2px;
+ margin-bottom : 2px
+}
+
+span.keyword { color: #008000 }
+span.keywordtype { color: #604020 }
+span.keywordflow { color: #e08000 }
+span.comment { color: #800000 }
+span.preprocessor { color: #806020 }
+span.stringliteral { color: #002080 }
+span.charliteral { color: #008080 }
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+</head>
+<body>
+<hr style="width: 100%; height: 2px;">
+<div style="text-align: center;">Copyright © 2003-2007 CEA, EDF<br>
+</div>
+</body>
+</html>
--- /dev/null
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>$title</title>
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</head>
+<hr>
+<center>
+SALOME documentation central
+</center>
+<hr>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Types of Gauss Points Presentations</title>
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
-<!--
-if (navigator.appName !="Netscape")
-{ document.write("<link rel='stylesheet' href='default.css'>");}
-//-->
-</script>
-<style type="text/css">
-<!--
-img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
-p.whs2 { font-weight:bold; }
-p.whs3 { margin-left:40px; }
-img_whs4 { border:none; width:528px; height:501px; float:none; border-style:none; }
-ul.whs5 { list-style:disc; }
-p.whs6 { margin-left:38px; }
-p.whs7 { margin-left:0px; }
-img_whs8 { border:none; width:528px; height:621px; float:none; border-style:none; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs7 {margin-left:1pt; }";
- strNSS +="</style>";
- document.write(strNSS);
-}
-//-->
-</script>
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
-<!--
-function reDo() {
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
-}
-onerror = null;
-//-->
-</script>
-<style type="text/css">
-<!--
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-p.WebHelpNavBar { text-align:right; }
--->
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
-<script type="text/javascript" language="javascript" src="whver.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nTypes of Gauss Points Presentations");
-addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Types of Gauss Points Presentations</h1>
-
-<p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"></B></span>There exist three
- different types of Gauss Points Presentations: <span style="font-weight: bold;"><B>Results
- at Gauss Points,</B></span> <span style="font-weight: bold;"><B> Gauss
- Points on Geometry </B></span>and <span style="font-weight: bold;"><B>Gauss Points
- on Deformed Shape.</B></span> They all can be accessed from the same menu.</p>
-
-<p> </p>
-
-<p class="whs2">Results at Gauss Points</p>
-
-<p> </p>
-
-<p class="whs3"><img src="image31.jpg" x-maintain-ratio="TRUE" width="528px" height="501px" border="0" class="img_whs4"></p>
-
-<p> </p>
-
-<p>To create a <span style="font-weight: bold;"><B>Results at Gauss Points
- </B></span>presentation, select<span style="font-weight: bold;"><B> Results </B></span>radio
- button. This presentation gives most information as the points here vary
- in color and size depending on the value. </p>
-
-<p>As for the size, the minimum and maximum <span style="font-weight: bold;"><B>Range
- values</B></span> for the rendering can be defined in the configuration dialog.
- These values are multiplied by a reference length (representative of the
- average size of cells of the mesh) to define the range for minimum and
- maximum size of a point during rendering (at magnification = 100%). Default
- values are:</p>
-
-<ul type="disc" class="whs5">
-
- <li class=kadov-p><p>For the <span style="font-weight: bold;"><B>Rainbow</B></span>
- scale: min = 10%, max = 33%</p></li>
-
- <li class=kadov-p><p class="whs6">Min. size will be associated
- to the smallest real value (included negative values) among the results.</p></li>
-
- <li class=kadov-p><p class="whs6">Max size will be associated
- to the largest real values among the results.</p></li>
-
- <li class=kadov-p><p class="whs7">For the bicolor scale:
- min = 0 (not editable), max = 33%</p></li>
-
- <li class=kadov-p><p class="whs6">Null size will be associated
- to the 0 scalar value of a result.</p></li>
-
- <li class=kadov-p><p class="whs6">Max size will be associated
- to the largest absolute values of results</p></li>
-</ul>
-
-<p>Both values are dynamically updated by the system according to the selected
- scalar bar. In the case of a <span style="font-weight: bold;"><B>Bicolor</B></span>
- scale, the minimum value is set to 0 in the dialog and the control is
- disabled.</p>
-
-<p><span style="font-weight: bold;"><B>Magnification (%)</B></span> corresponds
- to the change of size of results at Gauss point primitives in 2D space.
- Acceptable values range from 0 to N; 100% means no magnification, 50%
- means half of its size, 200% mean twice its size and so forth. By default
- this value is set to 100%.</p>
-
-<p><span style="font-weight: bold;"><B>+/- Ratio</B></span> corresponds to the
- number by which the magnification will be respectively multiplied or divided
- at edition, ranging from 0.01 to 10. By default this value is set to 2.</p>
-
-<p>During rendering of the scene, it is possible to modify the magnification
- (multiply/divide by the magnification ratio) by using \91M\92 and \91m\92 keys
- of the keyboard when the 3D view is active. The effect is applied immediately.
- The ratio is only defined through the dialog box.</p>
-
-<p> </p>
-
-<p> </p>
-
-<p class="whs2">Gauss Points on Geometry </p>
-
-<p> </p>
-
-<p class="whs3"><img src="pics/gpp2.png" x-maintain-ratio="TRUE" width="528px" height="621px" border="0" class="img_whs8"></p>
-
-<p> </p>
-
-<p>To create a <span style="font-weight: bold;"><B>Geometry </B></span>presentation,
- select<span style="font-weight: bold;"> <B></B></span>the respective<span style="font-weight: bold;">
- <B></B></span>radio button. This presentation shows only geometrical position
- of Gauss Points as their size and color are fixed (because the results
- are not computed). </p>
-
-<p><span style="font-weight: bold;"><B>Size</B></span> defines a value that will
- be multiplied by a reference length (representative of the average size
- of cells of the mesh) to define the size of points during rendering (at
- magnification = 100%). Default values 10%.</p>
-
-<p><span style="font-weight: bold;"><B>Magnification</B></span> and <span style="font-weight: bold;"><B>Ratio</B></span>
- have the same meaning as for Results at Gauss points presentation.</p>
-
-<p><span style="font-weight: bold;"><B>Color</B></span> allows to define the unique
- color for Gauss Points in a standard
- color configuration dialog. </p>
-
-<p> </p>
-
-<p class="whs2">Gauss Points on Deformed Shape</p>
-
-<p> </p>
-
-<p class="whs3"><img src="pics/gpp3.png" x-maintain-ratio="TRUE" width="528px" height="621px" border="0" class="img_whs8"></p>
-
-<p> </p>
-
-<p>To create a <span style="font-weight: bold;"><B>Deformed Shape </B></span>presentation,
- select<span style="font-weight: bold;"> <B></B></span>the respective<span style="font-weight: bold;">
- <B></B></span>radio button. This presentation is analog to <span style="font-weight: bold;"><B>Results
- at Gauss Points</B></span> except that the shape on which the points are located
- is deformed using the <span style="font-weight: bold;"><B>Scale Factor</B></span>
- and the Gauss Points are processed only after that. </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-|SourceProjectName:VISU.hpr
-|DestinationProjectName:index.htm
-whhost.js
-whmsg.js
-whmozemu.js
-whproxy.js
-whstub.js
-whutils.js
-whver.js
-whform.js
-whphost.js
-whstart.js
-whtopic.js
-whframes.js
-whlang.js
-whskin_info.htm
-whskin_blank.htm
-whskin_pickup.htm
-whskin_homepage.htm
-whskin_tw.htm
-whnjs.htm
-whthost.js
-whtdhtml.htm
-whihost.js
-whibody.htm
-whiform.htm
-whfhost.js
-whfbody.htm
-whfform.htm
-whghost.js
-whgbody.htm
-whgdhtml.htm
-whgdef.htm
-whproj.js
-whproj.xml
-whproj.htm
-whxdata\whtoc.xml
-whxdata\whidx.xml
-whxdata\whfts.xml
-whxdata\whglo.xml
-whdata\whtoc.js
-whdata\whtoc.htm
-whdata\whtdata.js
-whdata\whidx.js
-whdata\whidx.htm
-whdata\whidata.js
-whdata\whfts.js
-whdata\whfts.htm
-whdata\whglo.js
-whdata\whglo.htm
-whdata\whgdata.js
-whdata\whftdata.js
-whdata\whfwdata.js
-whres.xml
-webhelp.jar
-webhelp.cab
-whgdata\whnvp30.htm
-whgdata\whnvp31.htm
-whgdata\whnvp32.htm
-whgdata\whnvp33.htm
-whgdata\whnvt30.htm
-whgdata\whnvt31.htm
-whgdata\whnvt32.htm
-whgdata\whnvt33.htm
-whgdata\whnvf30.htm
-whgdata\whnvf31.htm
-whgdata\whnvf32.htm
-whgdata\whnvf33.htm
-whgdata\whnvl31.htm
-whgdata\whnvl32.htm
-whgdata\whnvl33.htm
-whgdata\whexpbar.gif
-cshdat_webhelp.htm
-whcsh_home.htm
-whcshdata.htm
-cshdat_robohelp.htm
-whd_topic.xml
-whd_nvp10.htm
-whd_nvp20.htm
-whd_tabs.htm
-whd_dpns.htm
-whd_tab0.gif
-whd_tab1.gif
-whd_tab2.gif
-whd_tab3.gif
-whd_tab4.gif
-whd_tab5.gif
-whd_tab6.gif
-whd_tab7.gif
-whd_tab8.gif
-whd_toc1.gif
-whd_toc2.gif
-whd_toc3.gif
-whd_toc4.gif
-whd_show0.gif
-whd_show1.gif
-whd_show2.gif
-whd_hide0.gif
-whd_hide1.gif
-whd_hide2.gif
-whd_sync0.gif
-whd_sync1.gif
-whd_sync2.gif
-whd_prev0.gif
-whd_prev1.gif
-whd_prev2.gif
-whd_next0.gif
-whd_next1.gif
-whd_next2.gif
-whd_wbsh0.gif
-whd_wbsh1.gif
-whd_wbsh2.gif
-whidhtml.htm
-whfdhtml.htm
-index_hha.hhk
-index.hhc
-index.hhk
-animation_in_gauss_viewer.htm
-clipping.htm
-creating_tables.htm
-files\about_structure_of_med_object.htm
-files\about_tables.htm
-files\animating_presentations.htm
-files\changing_visualization_parameters_of_the_presenetation.htm
-files\creating_curves.htm
-files\creating_field_presentations.htm
-files\creating_presentations.htm
-files\creating_xy_plot.htm
-files\cut_lines_presentation.htm
-files\cut_lines_resentation.htm
-files\deformed_shape_presentation.htm
-files\displaying_hiding_presentations.htm
-files\displaying_tables.htm
-files\getting_elements_attributes.htm
-files\getting_started.htm
-files\importing_med_objects.htm
-files\importing_tables.htm
-files\insideframe.htm
-files\introduction.htm
-files\iso_surfaces_presentation.htm
-files\points.htm
-files\running_visu.htm
-files\scalar_map_presentation.htm
-files\scaling_presentations.htm
-files\setting_properties_of_xy_plots.htm
-files\shrink.htm
-files\stream_lines_presentation.htm
-files\surface.htm
-files\surfaceframe.htm
-files\sweeping.htm
-files\vectors_presentation.htm
-files\wireframe.htm
-gauss_points_presentation.htm
-gauss_viewer.htm
-navigation_with_keyboard_and_spacemouse.htm
-picking.htm
-plot2d_viewer.htm
-plot_3d_presentation.htm
-primitive_types.htm
-scalar_bar.htm
-scalar_map_on_deformed_shape_presentation.htm
-segmentation.htm
-types_of_gauss_points_presentations.htm
-vtk_3d_viewer.htm
-ehelp.xml
-robohhre.lng
-texture_horiz_ltbluebubbles.jpg
-index.glo
-default.css
-pics\image51.gif
-pics\smds-example.png
-pics\image84.gif
-pics\cutlinesprsnt.png
-pics\smds1.png
-image31.jpg
-pics\isosurfaces.png
-image20.jpg
-tip1.gif
-pics\scalarmapicon.jpg
-pics\image74.gif
-pics\image52.gif
-pics\image30.gif
-pics\arrangeactors1.png
-pics\image96.gif
-pics\cutplpresent.png
-image40.gif
-note1.gif
-pics\wireframe.jpg
-pics\visuicon.jpg
-pics\image53.gif
-pics\image97.gif
-image41.gif
-pics\plot3d.png
-image30.gif
-image33.jpg
-pics\image54.gif
-image20.gif
-pics\image98.gif
-pics\image87.gif
-image34.jpg
-image31.gif
-pics\streamlines.png
-bgbaby.gif
-q_blue.jpg
-pics\cellsel.jpg
-pics\isosurf.jpg
-pics\image55.gif
-pics\plot3d-example.png
-pics\image99.gif
-image43.gif
-image10.gif
-pics\image88.gif
-pics\warning.png
-pics\importtablefromfile.png
-pics\surface.jpg
-pics\view_rotation_point.png
-image11.gif
-pics\image89.gif
-image44.gif
-pics\buildprogress.png
-pics\animation.png
-pics\fitdatarange.png
-image22.gif
-pics\begining.jpg
-pics\set_rotation_point_dialog1.png
-pics\image46.gif
-image23.gif
-image1.jpg
-image12.gif
-image37.jpg
-image34.gif
-pics\cutplanes.png
-pics\cutlinesicon.jpg
-pics\set_rotation_point_dialog2.png
-pics\image69.gif
-pics\image47.gif
-image2.jpg
-pics\smds-example1.png
-image13.gif
-pics\image100.gif
-pics\streamlinesprsnt.png
-pics\image20.png
-image38.jpg
-image35.gif
-pics\clipping1.png
-pics\scalarrangesn.png
-pics\streamlinesicon.jpg
-pics\defshapeicon.jpg
-pics\image48.gif
-image3.jpg
-image47.gif
-image14.gif
-pics\image21.png
-pics\recording.png
-pics\clipping2.png
-more.jpg
-pics\speed.jpg
-pics\next.jpg
-pics\run.jpg
-pics\image157.gif
-pics\image49.gif
-image26.gif
-image4.jpg
-image1.gif
-pics\viewsettings.png
-image48.gif
-pics\image102.gif
-pics\gpp2.png
-pics\textproperty.png
-image15.gif
-pics\previous.jpg
-image5.jpg
-pics\image39.gif
-pics\image103.gif
-image38.gif
-pics\gpp3.png
-pics\dumpviewtofile.png
-image27.gif
-pics\rename.png
-pics\deformedshape.png
-image16.gif
-image19.jpg
-pics\blue_up.jpg
-pics\blue_left.jpg
-image39.gif
-image17.gif
-pics\vectorsprsnt.png
-pics\image104.gif
-pics\vectorfield.png
-pics\points.jpg
-image18.gif
-pics\image90.gif
-pics\image105.gif
-pics\recordingsaveas.png
-image29.gif
-pics\dataonelements1.png
-pics\snapfgf.png
-pics\visufullscreen.png
-pics\editplot2dpresentation.png
-pics\cutlines.png
-pics\importfromfile.png
-pics\image117.gif
-pics\blue_right.jpg
-pics\arrangeactors.png
-pics\graduatedaxes1.png
-pics\image91.gif
-image5.gif
-image19.gif
-pics\translatepres.png
-pics\iso.png
-pics\planes.png
-pics\gpp6.png
-pics\dataonelements2.png
-pics\animatdef.jpg
-pics\end.jpg
-pics\blue_down.jpg
-pics\neo-transparency.png
-pics\image81.gif
-image6.gif
-pics\picking.png
-pics\dataonelements3.png
-pics\scalarbarproperties.png
-pics\cutlinesicn.jpg
-pics\image82.gif
-image7.gif
-pics\spheroid.png
-pics\viewtable.png
-pics\vecticon.jpg
-pics\shrink.jpg
-i_blue.jpg
-pics\createcurves.png
-pics\image50.gif
-pics\image83.gif
-pics\image109.gif
-image8.gif
-pics\setupanimation.png
-pics\exporttable.png
-pics\deformedshapesn.png
-ehlpdhtm.js
-index.ppf
-ss_btn_related_topics.gif
-default_ns.css
-whxdata\whtdata0.xml
-whxdata\whftdata0.xml
-whxdata\whfwdata0.xml
-whxdata\whgdata0.xml
-whdata\whtdata0.htm
-whdata\whftdata0.htm
-whdata\whfwdata0.htm
-whdata\whgdata0.htm
-whgdata\whlstt0.htm
-whgdata\whlstt1.htm
-whgdata\whlstt2.htm
-whgdata\whlstt3.htm
-whgdata\whlstt4.htm
-whgdata\whlstt5.htm
-whgdata\whlstt6.htm
-whgdata\whlstt7.htm
-whgdata\whlsti0.htm
-whgdata\whlstfl0.htm
-whgdata\whlstfl1.htm
-whgdata\whlstfl2.htm
-whgdata\whlstfl3.htm
-whgdata\whlstfl4.htm
-whgdata\whlstfl5.htm
-whgdata\whlstfl6.htm
-whgdata\whlstfl7.htm
-whgdata\whlstfl8.htm
-whgdata\whlstfl9.htm
-whgdata\whlstfl10.htm
-whgdata\whlstfl11.htm
-whgdata\whlstfl12.htm
-whgdata\whlstfl13.htm
-whgdata\whlstfl14.htm
-whgdata\whlstfl15.htm
-whgdata\whlstfl16.htm
-whgdata\whlstfl17.htm
-whgdata\whlstfl18.htm
-whgdata\whlstfl19.htm
-whgdata\whlstfl20.htm
-whgdata\whlstfl21.htm
-whgdata\whlstfl22.htm
-whgdata\whlstfl23.htm
-whgdata\whlstfl24.htm
-whgdata\whlstfl25.htm
-whgdata\whlstf0.htm
-whgdata\whlstf1.htm
-whgdata\whlstf2.htm
-whgdata\whlstf3.htm
-whgdata\whlstf4.htm
-whgdata\whlstf5.htm
-whgdata\whlstf6.htm
-whgdata\whlstf7.htm
-whgdata\whlstf8.htm
-whgdata\whlstf9.htm
-whgdata\whlstf10.htm
-whgdata\whlstg0.htm
-index.htm
-index_csh.htm
-index_rhc.htm
+++ /dev/null
-<html>
-<script language="javascript1.2" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-if(gbIE4||gbNav61)
-{
- document.write("<body></body>");
-}
-else
-{
- document.write("<frameset rows=\"100%,*\"><frame name=\"data_frm\" src=\"about:blank\"><frame name=\"dumb_frm\" src=\"about:blank\"></frameset>");
-}
-var gCSHFileName="whcshdata.htm";
-
-var gHomePage="index.htm";
-var gaProj=new Array();
-gaProj[0]=new Object();
-gaProj[0].sProjPath=_replaceSlash(_getPath(document.location.href));
-gaProj[0].nLoadState=0;
-var gCurrent=0;
-
-var gsTopicURL="";
-var gnCurProj=0;
-var gnCommand=-1;
-var CMD_SHOWTOC=1;
-var CMD_SHOWINDEX=2;
-var CMD_SHOWSEARCH=3;
-var CMD_SHOWGLOSSARY=4;
-var CMD_SHOWNONE=0;
-
-var RHWO_LOCATION=0x01; /*need location bar?*/
-var RHWO_MENUBAR=0x02; /*need menubar?*/
-var RHWO_RESIZABLE=0x04; /*resizable window?*/
-var RHWO_TOOLBAR=0x08; /*need toolbar?*/
-var RHWO_STATUS=0x10; /*need statusbar?*/
-var RHWO_SCROLLBARS=0x20; /*need scrollbars?*/
-
-var gsStr="";
-var gnId=-1;
-var gsWindow="";
-var gsJava="false";
-var gbUseStr=false;
-var gbURLReady=false;
-var goWnd=new Object();
-goWnd.sName="whCshDefault";
-goWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;
-goWnd.sBLeft="49%";
-goWnd.sBTop="0";
-goWnd.sBWidth="49%";
-goWnd.sBHeight="49%";
-goWnd.nPanes=1;
-var goFullWnd=new Object();
-goFullWnd.sName="whDefault";
-goFullWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;
-goFullWnd.sBLeft="20%";
-goFullWnd.sBTop="0";
-goFullWnd.sBWidth="79%";
-goFullWnd.sBHeight="79%";
-goFullWnd.nPanes=2;
-
-var goNewWnd=null;
-var gbLoadWnd=false;
-var gsURL="";
-
-function showCSH(sParam)
-{
- //id=
- //str=
- //url=
- //cmd=
- //with the format #<a=xxx>>b=xxx>>c=xxx...
- parseParam(sParam);
- SwitchURL();
-}
-
-function IsWndReady()
-{
- if(gaProj[0].nLoadState==0)
- {
- var sCshFile=_getFullPath(gaProj[0].sProjPath,gCSHFileName);
- gaProj[0].nLoadState=1;
- setTimeout("loadFail("+0+");",3000);
- loadDataCsh(sCshFile);
- gbLoadWnd=true;
- return false;
- }
- else
- return true;
-}
-
-function SwitchURL()
-{
- if(gbURLReady)
- {
- var sURL="";
- var oWnd=null;
- if(gsTopicURL)
- {
- sURL=_getPath(document.location.href)+gHomePage+"#"+gsTopicURL;
- oWnd=goWnd;
- }
- else
- {
- if(gnCommand!=-1)
- sURL=_getPath(document.location.href)+gHomePage+"#>>cmd="+gnCommand;
- else
- sURL=_getPath(document.location.href)+gHomePage;
- oWnd=goFullWnd;
- }
- if(gsWindow)
- {
- if(!IsWndReady())
- return false;
- if(gaProj[gnCurProj].aWnd)
- {
- var aWnd=gaProj[gnCurProj].aWnd;
- var bFound=false;
- for(var i=0;i<aWnd.length;i++)
- {
- if(aWnd[i].sName.toLowerCase()==gsWindow.toLowerCase())
- {
- oWnd=aWnd[i];
- bFound=true;
- break;
- }
- }
- if(!bFound&&gnCurProj!=0)
- {
- var aWnd=gaProj[0].aWnd;
- for(var j=0;j<aWnd.length;j++)
- {
- if(aWnd[j].sName.toLowerCase()==gsWindow.toLowerCase())
- {
- oWnd=aWnd[j];
- break;
- }
- }
- }
- }
- }
-
- if(sURL&&oWnd)
- {
- strURLOpt="";
- if(oWnd.sCaption)
- strURLOpt+=">>cap="+oWnd.sCaption;
- if(oWnd.nPanes==1)
- strURLOpt+=">>pan="+oWnd.nPanes;
- else if(oWnd.nPanes==2)
- {
- strURLOpt+=">>pan="+oWnd.nPanes;
- if(oWnd.nPOptions)
- strURLOpt+=">>pot="+oWnd.nPOptions;
- if(oWnd.sPButtons)
- strURLOpt+=">>pbs="+oWnd.sPButtons;
- if(oWnd.sPDefBtn)
- strURLOpt+=">>pdb="+oWnd.sPDefBtn;
- }
- if(strURLOpt)
- {
- if(sURL.indexOf("#")==-1)
- sURL+="#";
- sURL+=strURLOpt;
- }
- if(gsJava=="false")
- {
- var strOpt=getBrowserOptionString(oWnd);
- var sNewName=convertWindowName(oWnd.sName);
- if(gbNav4)
- {
- if (gbNav6)
- {
- gsURL = sURL;
- goNewWnd=window.open("about:blank",sNewName,strOpt);
- setTimeout("postWindowNSOpen();",100);
- }
- else
- {
- window.open("about:blank",sNewName,strOpt);
- var oNewWnd=window.open(sURL,sNewName);
- window.close();
- oNewWnd.focus();
- }
- }
- else
- {
- if(gbIE5)
- {
- window.open("about:blank",sNewName,strOpt);
- goNewWnd=window.open(sURL,sNewName);
- }
- else
- {
- gsURL = sURL; // IE4 had hard time to handle bookmark.
- goNewWnd=window.open("about:blank",sNewName,strOpt);
- }
- setTimeout("postWindowOpen();",100);
- }
- }
- else
- document.location=sURL;
- }
- }
-}
-
-function convertWindowName(strName)
-{
- var strNewName = strName;
- var strResultName = "";
- var re=new RegExp("_","g");
- strNewName = strName.replace(re,"__");
- for (var i=0;i<strNewName.length;i++)
- if (!(strNewName[i] == '_' ||
- (strNewName[i] <= '9' && strNewName[i] >= '0') ||
- (strNewName[i] <= 'z' && strNewName[i] >= 'a') ||
- (strNewName[i] <= 'Z' && strNewName[i] >= 'A')))
- {
- strResultName += "_" + strNewName.charCodeAt(i);
- }
- else
- strResultName += strNewName[i];
- return strResultName;
-}
-
-function postWindowNSOpen()
-{
- if(goNewWnd)
- {
- if (gsURL)
- goNewWnd.document.location.href=gsURL;
- window.close();
- goNewWnd.focus();
- }
-}
-
-function postWindowOpen()
-{
- if(goNewWnd)
- {
- if (gsURL&&!gbIE5&&gbIE4)
- goNewWnd.document.location.href=gsURL;
- goNewWnd.focus();
- }
-}
-
-function parseParam(sParam)
-{
- if(sParam)
- {
- var nBPos=0;
- do
- {
- var nPos=sParam.indexOf(">>",nBPos);
- if(nPos!=-1)
- {
- if(nPos>0)
- {
- var sPart=sParam.substring(nBPos,nPos);
- parsePart(sPart);
- }
- nBPos=nPos+2;
- }
- else
- {
- var sPart=sParam.substring(nBPos);
- parsePart(sPart);
- break;
- }
- }while(nBPos<sParam.length);
- }
-}
-
-function parsePart(sPart)
-{
- if(sPart.toLowerCase().indexOf("id=")==0)
- {
- fetchURLById(sPart.substring(3));
- gbURLReady=false;
- }
- else if(sPart.toLowerCase().indexOf("str=")==0)
- {
- fetchURLByStr(sPart.substring(4));
- gbURLReady=false;
- }
- else if(sPart.toLowerCase().indexOf("url=")==0)
- {
- gsTopicURL=sPart.substring(4);
- gbURLReady=true;
- }
- else if(sPart.toLowerCase().indexOf("cmd=")==0)
- {
- var sCmd=sPart.substring(4);
- if(sCmd.toLowerCase()=="toc")
- {
- gnCommand=CMD_SHOWTOC;
- }
- else if(sCmd.toLowerCase()=="idx")
- {
- gnCommand=CMD_SHOWINDEX;
- }
- else if(sCmd.toLowerCase()=="fts")
- {
- gnCommand=CMD_SHOWSEARCH;
- }
- else if(sCmd.toLowerCase()=="glo")
- {
- gnCommand=CMD_SHOWGLOSSARY;
- }
- else if(sCmd.toLowerCase()=="none")
- {
- gnCommand=CMD_SHOWNONE;
- }
- gbURLReady=true;
- }
- else if(sPart.toLowerCase().indexOf("wnd=")==0)
- {
- gsWindow=_browserStringToText(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("java=")==0)
- {
- gsJava=sPart.substring(5);
- }
-}
-
-function fetchURLById(sId)
-{
- var nId=parseInt(sId);
- gsTopicURL="";
- fetchURL("",nId,false);
-}
-
-function fetchURLByStr(sStr)
-{
- gsTopicURL="";
- fetchURL(sStr,0,true);
-}
-
-function fetchURL(sStr,nId,bUseStr)
-{
- var bNeedLoad=false;
- var bFound=false;
- for(var i=0;i<gaProj.length;i++)
- {
- if(gaProj[i].nLoadState==3)
- {
- if(gaProj[i].aCsh)
- {
- for(var j=0;j<gaProj[i].aCsh.length;j++)
- {
- var sTopicURL="";
- if(bUseStr)
- {
- if(gaProj[i].aCsh[j].strAliasId.toLowerCase()==sStr.toLowerCase())
- sTopicURL=gaProj[i].aCsh[j].strUrl;
- }
- else
- {
- if(gaProj[i].aCsh[j].nTopicNum==nId)
- sTopicURL=gaProj[i].aCsh[j].strUrl;
- }
- if(sTopicURL)
- {
- if(i!=0)
- {
- gnCurProj=i;
- if(gaProj[i].sProjPath.indexOf(gaProj[0].sProjPath)==0)
- {
- var sRelPath=gaProj[i].sProjPath.substring(gaProj[0].sProjPath.length);
- gsTopicURL=sRelPath+sTopicURL;
- }
- else
- gsTopicURL=gaProj[i].sProjPath+sTopicURL;
- }
- else
- gsTopicURL=sTopicURL;
- bFound=true;
- break;
- }
- }
- }
-
- }
- else if(gaProj[i].nLoadState==0)
- {
- gsStr=sStr;
- gnId=nId;
- gbUseStr=bUseStr;
- var sCshFile=_getFullPath(gaProj[i].sProjPath,gCSHFileName);
- gaProj[i].nLoadState=1;
- setTimeout("loadFail("+i+");",3000);
- loadDataCsh(sCshFile);
- bNeedLoad=true;
- }
- if(bFound||bNeedLoad)
- break;
- }
- if(!bNeedLoad)
- {
- gbURLReady=true;
- SwitchURL();
- }
-}
-
-function loadDataCsh(sFile)
-{
- if(gbIE4||gbNav61)
- loadData(sFile);
- else
- {
- window.frames[0].location=sFile;
- }
-}
-
-function loadFail(nProj)
-{
- if(gaProj[nProj].nLoadState==1)
- {
- gaProj[nProj].nLoadState=2;
- if(!gbLoadWnd)
- fetchURL(gsStr,gnId,gbUseStr);
- else
- SwitchURL();
- }
-}
-
-function putCshData(strProj,aCsh,aWnd,aRmtProj)
-{
- if(strProj)
- {
- strProj=_replaceSlash(strProj);
- if(strProj.lastIndexOf("/")!=strProj.length-1)
- strProj+="/";
- for(var i=0;i<gaProj.length;i++)
- {
- if(gaProj[i].sProjPath)
- {
- if(isSamePath(gaProj[i].sProjPath,strProj))
- {
- gaProj[i].nLoadState=3;
- gaProj[i].aCsh=aCsh;
- gaProj[i].aWnd=aWnd;
- break;
- }
- }
- }
- if(aRmtProj&&aRmtProj.length)
- {
- for(var j=0;j<aRmtProj.length;j++)
- {
- var strRPath=_getFullPath(strProj,aRmtProj[j]);
- var bFound=false;
- for (var k=0;k<gaProj.length;k++)
- {
- if(gaProj[k].sProjPath)
- {
- if(isSamePath(gaProj[k].sProjPath,strRPath))
- {
- bFound=true;
- break;
- }
- }
- }
- if(!bFound)
- {
- var len=gaProj.length;
- gaProj[len]=new Object();
- gaProj[len].sProjPath=strRPath;
- gaProj[len].nLoadState=0;
- }
- }
- }
- if(!gbLoadWnd)
- fetchURL(gsStr,gnId,gbUseStr);
- else
- SwitchURL();
-
- }
-}
-
-function isSamePath(strPath1,strPath2)
-{
- return strPath1.toLowerCase()==strPath2.toLowerCase();
-}
-
-function getRelHomePage(strLocation)
-{
- var strCurPPath=_getPath(strLocation);
- var strOriPPath=_getPath(getHomePage());
- var strRelPath=_getRelativeFileName(strOriPPath,strCurPPath);
- var strURL=getHomePage()+"#"+strRelPath;
- return strURL;
-}
-
-function getHomePage()
-{
- var strHomePage;
- var strTmp=location.toString();
- var nPos=strTmp.indexOf("#");
- if(nPos!=-1)
- {
- strHomePage=strTmp.substring(0,nPos);
- }
- else
- {
- strHomePage=strTmp;
- }
- return strHomePage;
-}
-
-function getBrowserOptionString(oWnd)
-{
- var strOpts="";
- if(oWnd.bUseDefault)
- return strOpts;
- if(oWnd.nBOptions&RHWO_LOCATION)
- strOpts+="location=yes";
- else
- strOpts+="location=no";
- if(oWnd.nBOptions&RHWO_TOOLBAR)
- strOpts+=",toolbar=yes";
- else
- strOpts+=",toolbar=no";
- if(oWnd.nBOptions&RHWO_MENUBAR)
- strOpts+=",menubar=yes";
- else
- strOpts+=",menubar=no";
- if(oWnd.nBOptions&RHWO_STATUS)
- strOpts+=",status=yes";
- else
- strOpts+=",status=no";
- if(oWnd.nBOptions&RHWO_SCROLLBARS)
- strOpts+=",scrollbars=yes";
- else
- strOpts+=",scrollbars=no";
- if(oWnd.nBOptions&RHWO_RESIZABLE)
- strOpts+=",resizable=yes";
- else
- strOpts+=",resizable=no";
- if(oWnd.sBTop)
- {
- var nTop=getSValue(oWnd.sBTop,screen.height);
- strOpts+=",top="+nTop;
- strOpts+=",screenY="+nTop;
- }
- if(oWnd.sBLeft)
- {
- var nLeft=getSValue(oWnd.sBLeft,screen.width);
- strOpts+=",left="+nLeft;
- strOpts+=",screenX="+nLeft;
- }
- if(oWnd.sBWidth)
- {
- var nWidth=getSValue(oWnd.sBWidth,screen.width);
- strOpts+=",width="+nWidth;
- strOpts+=",outerWidth="+nWidth;
- }
- if(oWnd.sBHeight)
- {
- var nHeight=getSValue(oWnd.sBHeight,screen.height);
- strOpts+=",height="+nHeight;
- strOpts+=",outerHeight="+nHeight;
- }
- return strOpts;
-}
-
-function getSValue(sValue,nLength)
-{
- var nValue=0;
- var nPos=sValue.indexOf("%");
- if(nPos!=-1)
- {
- if(nPos>0)
- {
- var nPart=parseInt(sValue.substring(0,nPos));
- nValue=nLength*nPart/100;
- }
- }
- else
- nValue=parseInt(sValue);
- return nValue;
-}
-
-
-window.onload=window_OnLoad;
-
-function window_OnLoad()
-{
- if(document.location.hash.length>0)
- {
- showCSH(document.location.hash.substring(1));
- }
-
- if(gsJava=="false")
- window.moveTo(screen.width,screen.height);
-}
-//-->
-</script>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="javascript1.2" src="whver.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="JavaScript">
-<!--
-var gaCsh=new Array();
-
-var gaWindow=new Array();
-
-var gaRmtProj=new Array();
-
-var gsProjPath=_getPath(document.location.href);
-
-function CshEntityItem(strAliasId,nTopicNum,strUrl)
-{
- this.strAliasId=strAliasId;
- this.nTopicNum=nTopicNum;
- this.strUrl=strUrl;
-}
-
-function CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)
-{
- this.sName=sWName;
- this.bUseDefault=bBUseDefault;
- if(!this.bUseDefault)
- {
- this.nBOptions=nWBOptions;
- this.sBLeft=sWBLeft;
- this.sBTop=sWBTop;
- this.sBWidth=sWBWidth;
- this.sBHeight=sWBHeight;
- }
- this.sCaption=sWCaption;
- this.nPanes=nWPanes;
- if(this.nPanes==2)
- {
- this.nPOptions=nWPOptions;
- this.sPButtons=sWPButtons;
- this.sPDefBtn=sWPDefBtn;
- }
-}
-
-function addRemoteProject(sPath)
-{
- if(sPath.length!=0)
- {
- if(sPath.lastIndexOf("/")!=sPath.length-1)
- sPath+="/";
- gaRmtProj[gaRmtProj.length]=sPath;
- }
-}
-
-//Set Context-sensitive help entity...
-function SetCsh(n,strAliasId,nTopicNum,strUrl)
-{
- gaCsh[n]=new CshEntityItem(strAliasId,nTopicNum,strUrl);
-}
-
-function addWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)
-{
- gaWindow[gaWindow.length]=new CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn);
-}
-
-
-
-
-
-window.onload=window_OnLoad;
-
-function window_OnLoad()
-{
- if(parent&&parent!=this&&parent.putCshData)
- {
- parent.putCshData(gsProjPath,gaCsh,gaWindow,gaRmtProj);
- }
-}
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Navigator Pane</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body border=0 topmargin=0 bottommargin=0 rightmargin=0 leftmargin=0 scroll=no>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whphost.js"></script>
-<script language="javascript1.2">
-<!--
-var gsNavReDirect="whgdata/whnvp30.htm";
-var gbReDirectThis=false;
- var bPreferXML = false;
- var strProjectFileXML = "whproj.xml";
- var strProjectFileHTM = "whproj.htm";
-if(window.gbWhPHost)
-{
- addProject(bPreferXML, strProjectFileXML, strProjectFileHTM);
- addPane("toc","whtdhtml.htm");
- addPane("fts","whfdhtml.htm");
- addPane("glo","whgdhtml.htm");
- setShowPane("toc");
-
-}
-else
- document.location.reload();
-
-if (window.gbNav6)
-{
- var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);
- SendMessage(oMsg);
-}
-
-//-->
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Navigation Pane</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-</head>
-<frameset rows="30, *" border="0" frameborder="0">
- <frame name="navtabs" title="tab selection frame" src="whd_tabs.htm" noresize frameborder="no" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>
- <frame name="navpane" title="navigation frame" src="whd_dpns.htm" ></frame>
-</frameset>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>navigation pane</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsInitPane="toc";
-var gsCurrentPane="";
-var gbLoading = "unknown";
-var gbTryTime = 0;
-var gbMaxTryTime = 6;
-var gbPassPhase0 = 0;
-var gbretried = 0;
-var gbmaxretry = 3;
-var gbretrytime = new Array();
-
-var origWidth = 0;
-var origHeight = 0;
-
-gbretrytime[0]= 5000;
-gbretrytime[1]= 30000;
-gbretrytime[2]= 60000;
-
-function addPane(sName, sFile)
-{
-}
-
-function setShowPane(sName)
-{
- gsInitPane=sName;
-}
-
- addPane("toc","whtdhtml.htm");
- addPane("fts","whfdhtml.htm");
- addPane("glo","whgdhtml.htm");
- setShowPane("toc");
-
-
-function window_unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWTOC);
- UnRegisterListener2(this, WH_MSG_SHOWIDX);
- UnRegisterListener2(this, WH_MSG_SHOWFTS);
- UnRegisterListener2(this, WH_MSG_SHOWGLO);
- UnRegisterListener2(this, WH_MSG_SYNCTOC);
- UnRegisterListener2(this, WH_MSG_SEARCHTHIS);
- UnRegisterListener2(this, WH_MSG_GETPANEINFO);
-}
-
-function window_OnLoad()
-{
- var bHidePane=false;
- var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);
- if (SendMessage(oMsg))
- {
- if(oMsg.oParam>0)
- {
- if(oMsg.oParam==1)
- gsInitPane="toc";
- else if(oMsg.oParam==2)
- gsInitPane="idx";
- else if(oMsg.oParam==3)
- gsInitPane="fts";
- else if(oMsg.oParam==4)
- gsInitPane="glo";
- }
- else if(oMsg.oParam==0)
- {
- bHidePane=true;
- }
- }
- if (bHidePane)
- {
- oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane == "toc")
- {
- oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane=="idx")
- {
- oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane=="fts")
- {
- oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane=="glo")
- {
- oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)
- SendMessage(oMsg);
- }
-}
-
-function CheckLoadingPhase0()
-{
- if (!gbPassPhase0) {
- setTimeout("CheckLoadingPhase0()", 1000);
- document.applets[0];
- gbPassPhase0 = 1;
- }
- else {
- CheckLoadingPhase1();
- }
-}
-
-function CheckLoadingPhase1()
-{
- if (gbNav4) {
- if ("unknown" == gbLoading && document.readystate < 4) {
- setTimeout("CheckLoadingPhase1()", 1000);
- }
- else if ("unknown" == gbLoading) {
- CheckLoadingPhase2();
- }
- }
-}
-
-function CheckLoadingPhase2()
-{
- if (gbNav4) {
- gbTryTime ++;
- if ("unknown" == gbLoading) {
- if (gbTryTime <= gbMaxTryTime )
- setTimeout("CheckLoadingPhase2()", 1000);
- else {
- if (gnVerMinor != 4.60) {
- alert("Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited.");
- }
- }
- }
- }
-}
-
-function CheckAppletLoaded()
-{
- if (typeof(document.webhelp) == "undefined")
- {
- document.location.reload();
- if (gbretried < gbmaxretry)
- {
- gbretried ++;
- setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);
- }
- }
-}
-
-function reDo()
-{
- if (innerWidth != origWidth || innerHeight != origHeight)
- {
- //reloaded applet if nessary
- gbretried = 0;
-
- if (gnVerMinor == 4.60)
- {
- //reload the applet again.
- document.location.reload();
- gbretried ++;
- }
- setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);
- }
-}
-
-function onSendMessage(oMsg)
-{
- if (oMsg)
- {
- var nMsgId = oMsg.nMessageId;
- var WebHelpApplet = null;
- if (gbNav4)
- {
- WebHelpApplet = document.applets["WebHelp"];
- if (!WebHelpApplet.Command)
- document.location="whgdata/whnvp30.htm";
- }
- else
- WebHelpApplet = WebHelp;
-
- if(nMsgId==WH_MSG_GETPANEINFO)
- {
- oMsg.oParam=gsCurrentPane;
- return false;
- }
- else if (gbLoading!="unknown"||gbNav6)
- {
- if (nMsgId == WH_MSG_SHOWTOC)
- {
- gsCurrentPane="toc";
- WebHelpApplet .Command("Contents", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "toc");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SHOWIDX)
- {
- gsCurrentPane="idx";
- WebHelpApplet .Command("Index", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "idx");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SHOWFTS)
- {
- gsCurrentPane="fts";
- WebHelpApplet .Command("Search", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SHOWGLO)
- {
- gsCurrentPane="glo";
- WebHelpApplet .Command("Glossary", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "glo");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SYNCTOC)
- {
- gsCurrentPane="toc";
- var oTopicParam = oMsg.oParam;
- if (oTopicParam && oTopicParam.aPaths && oTopicParam.aPaths.length > 0 && oTopicParam.sPPath)
- {
- var sPPath = _browserStringToText(oTopicParam.sPPath);
- var sParam = "";
- for (var i = 0; i < oTopicParam.aPaths.length; i ++)
- {
- sParam += oTopicParam.aPaths[i] + "\r\r";
- }
- WebHelpApplet.Command("SyncToc", sPPath, sParam);
- }
- }
- else if(nMsgId==WH_MSG_SEARCHTHIS)
- {
- gsCurrentPane="fts";
- WebHelpApplet .Command("Search", oMsg.oParam);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- }
- }
- return true;
-}
-
-function getInitTocInfo()
-{
- // send message ask for the first time sync toc info.
- var oParam = new Object();
- oParam.oTocInfo = null;
- var oMsg = new whMessage(WH_MSG_GETTOCPATHS, this, 1, oParam);
- if (SendMessage(oMsg ))
- {
- var oTopicParam = oMsg.oParam.oTocInfo;
- if (oTopicParam && oTopicParam.aPaths && oTopicParam.aPaths.length > 0 && oTopicParam.sPPath)
- {
- var sPPath = _browserStringToText(oTopicParam.sPPath);
- var sParam = "";
- for (var i = 0; i < oTopicParam.aPaths.length; i ++)
- {
- sParam += oTopicParam.aPaths[i] + "\r\r";
- }
- var WebHelpApplet;
- if (gbNav4)
- WebHelpApplet = document.applets["WebHelp"];
- else
- WebHelpApplet = WebHelp;
- WebHelpApplet.Command("SyncToc", sPPath, sParam);
- }
- }
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- RegisterListener2(this, WH_MSG_SYNCTOC);
- RegisterListener2(this, WH_MSG_SEARCHTHIS);
- RegisterListener2(this, WH_MSG_GETPANEINFO);
-
- window.onunload = window_unload;
- window.onload=window_OnLoad;
- window.onerror = null;
- var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
-
- if (gbNav4 && !gbNav6 && gbWindows) {
- setTimeout("CheckLoadingPhase0()", 1000);
- }
-
- if (gbNav4)
- {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
- }
-}
-else
- document.location.reload();
-
-if (window.gbNav6)
-{
- var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);
- SendMessage(oMsg);
-}
-
-//-->
-</script>
-</head>
-<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="c0c0c0">
-<applet code=WebHelp.class name=WebHelp archive=webhelp.jar width=100% height=100% MAYSCRIPT hspace=0 vspace=0>
-<PARAM name=ProjectFile value=whproj.xml><PARAM name=ResourceFile value=whres.xml>
-<PARAM name=Frame value=bsscright>
-<PARAM name=cabbase value=webhelp.cab>
-</applet>
-</body>
-</html>
+++ /dev/null
-<HTML>
-<HEAD>
-<TITLE>WebHelp Tabs Frame in Navigation Pane</TITLE>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<!-- WebHelp version 5.10 -->
-</HEAD>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsBgColor="#c0c0c0"
-var gsBgImage="";
-var gnCurPane=0;
-var gsFirstPane="";
-var goTocFont=null;
-var goIdxFont=null;
-var goFtsFont=null;
-var goGloFont=null;
-var gPane=new Array();
-var gShowFirst=0;
-var gnTabType=0;
-
-function window_unload()
-{
- UnRegisterListener2(this,WH_MSG_SHOWTOC);
- UnRegisterListener2(this,WH_MSG_SHOWIDX);
- UnRegisterListener2(this,WH_MSG_SHOWFTS);
- UnRegisterListener2(this,WH_MSG_SHOWGLO);
-}
-
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Toc") goTocFont=vFont;
- else if(sType=="Idx") goIdxFont=vFont;
- else if(sType=="Fts") goFtsFont=vFont;
- else if(sType=="Glo") goGloFont=vFont;
-}
-
-function TocWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>";
- sStyle+=".TextTabToc {"+getFontStyle(goTocFont)+"}";
- sStyle+=".TextTabIdx {"+getFontStyle(goIdxFont)+"}";
- sStyle+=".TextTabFts {"+getFontStyle(goFtsFont)+"}";
- sStyle+=".TextTabGlo {"+getFontStyle(goGloFont)+"}";
- sStyle+="A:hover {text-decoration:underline;}";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function setBackgroundcolor(sBgColor)
-{
- if(sBgColor!=null&&sBgColor.length>0)
- gsBgColor=sBgColor;
-}
-
-function setBackground(sBgImage)
-{
- if(sBgImage!=null&&sBgImage.length>0)
- gsBgImage=sBgImage;
-}
-
-function selectToc()
-{
- var oMessage=new whMessage(WH_MSG_SHOWTOC,this,1,null);
- SendMessage(oMessage);
-}
-
-function selectIdx()
-{
- var oMessage=new whMessage(WH_MSG_SHOWIDX,this,1,null);
- SendMessage(oMessage);
-}
-function selectFts()
-{
- var oMessage=new whMessage(WH_MSG_SHOWFTS,this,1,null);
- SendMessage(oMessage);
-}
-
-function selectGlo()
-{
- var oMessage=new whMessage(WH_MSG_SHOWGLO,this,1,null);
- SendMessage(oMessage);
-}
-
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SHOWTOC)
- {
- setTimeout("showTabByName(\"toc\");",1);
- }
- else if(nMsgId==WH_MSG_SHOWIDX)
- {
- setTimeout("showTabByName(\"idx\");",1);
- }
- else if(nMsgId==WH_MSG_SHOWFTS)
- {
- setTimeout("showTabByName(\"fts\");",1);
- }
- else if(nMsgId==WH_MSG_SHOWGLO)
- {
- setTimeout("showTabByName(\"glo\");",1);
- }
- }
- return true;
-}
-
-function showTabByName(sTabName)
-{
- for(var i=0;i<gPane.length;i++)
- {
- if(gPane[i]==sTabName)
- {
- showTab(i);
- break;
- }
- }
-}
-
-function showTab(n)
-{
- gnCurPane=n;
- if(gnTabType==0)
- {
- if(n<gPane.length)
- {
- if(document.images["TocTab"]&&document.images["TocTab"]!=null){
- if(gPane[n]=="toc")
- document.images["TocTab"].src=getBtnImage("toc",1);
- else
- document.images["TocTab"].src=getBtnImage("toc",0);
- }
- if(document.images["IndexTab"]&&document.images["IndexTab"]!=null){
- if(gPane[n]=="idx")
- document.images["IndexTab"].src=getBtnImage("idx",1);
- else
- document.images["IndexTab"].src=getBtnImage("idx",0);
- }
- if(document.images["FtsTab"]&&document.images["FtsTab"]!=null){
- if(gPane[n]=="fts")
- document.images["FtsTab"].src=getBtnImage("fts",1);
- else
- document.images["FtsTab"].src=getBtnImage("fts",0);
- }
- if(document.images["GloTab"]&&document.images["GloTab"]!=null){
- if(gPane[n]=="glo")
- document.images["GloTab"].src=getBtnImage("glo",1);
- else
- document.images["GloTab"].src=getBtnImage("glo",0);
- }
- }
- }
- else if(gnTabType==1)
- {
- }
- else if(gnTabType==2)
- {
- if(n<gPane.length)
- {
- if(document.images["tabSelection"]!=null)
- document.images["tabSelection"].src=getMapImage(gPane[n]);
- }
- }
-}
-
-function addPane(sName)
-{
- gPane[gPane.length]=sName;
-}
-
-function setShowPane(sName)
-{
- if(gsFirstPane!="")
- sName=gsFirstPane;
- for(var i=0;i<gPane.length;i++)
- {
- if(gPane[i]==sName)
- gShowFirst=i;
- }
-}
-
-function selectDefaultTab()
-{
- showTab(gShowFirst);
- if(document.body)
- {
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- }
-}
-
-function getTabsHTML()
-{
- var sHTML="";
- for(var i=0;i<gPane.length;i++)
- {
- if(gnTabType==0)
- sHTML+=getTabHTML(gPane[i]);
- else if(gnTabType==1)
- {
- if(sHTML.length>0)
- {
- sHTML+=getSeparator();
- }
- sHTML+=getTabHTMLText(gPane[i]);
- }
-
- }
- return sHTML;
-}
-
-function getSeparator()
-{
- var sSep="";
-
- return sSep;
-}
-
-function getTabHTML(sTabName)
-{
- if (sTabName == "toc")
- return "<a title=\"Contents\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\" onmouseover=\"mouseOverToc();\" onmouseout=\"mouseOutToc();\"><img name=\"TocTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- else if (sTabName =="idx")
- return "<a title=\"Index\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\" onmouseover=\"mouseOverIdx();\" onmouseout=\"mouseOutIdx();\"><img name=\"IndexTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- else if (sTabName == "fts")
- return "<a title=\"Search\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\" onmouseover=\"mouseOverFts();\" onmouseout=\"mouseOutFts();\"><img name=\"FtsTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- else if (sTabName == "glo")
- return "<a title=\"Glossary\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\"onmouseover=\"mouseOverGlo();\" onmouseout=\"mouseOutGlo();\"><img name=\"GloTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- return "";
-}
-
-function mouseOverToc()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "toc")
- {
- sImg = getBtnImage("toc", 3);
- }
- else
- {
- sImg = getBtnImage("toc", 2);
- }
- if (sImg.length > 0)
- document.images["TocTab"].src = sImg;
-}
-
-function mouseOverIdx()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "idx")
- {
- sImg = getBtnImage("idx", 3);
- }
- else
- {
- sImg = getBtnImage("idx", 2);
- }
- if (sImg.length > 0)
- document.images["IndexTab"].src = sImg;
-}
-
-function mouseOverFts()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "fts")
- {
- sImg = getBtnImage("fts", 3);
- }
- else
- {
- sImg = getBtnImage("fts", 2);
- }
- if (sImg.length > 0)
- document.images["FtsTab"].src = sImg;
-}
-
-function mouseOverGlo()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "glo")
- {
- sImg = getBtnImage("glo", 3);
- }
- else
- {
- sImg = getBtnImage("glo", 2);
- }
- if (sImg.length > 0)
- document.images["GloTab"].src = sImg;
-}
-
-function mouseOutToc()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "toc")
- {
- sImg = getBtnImage("toc", 1);
- }
- else
- {
- sImg = getBtnImage("toc", 0);
- }
- if (sImg.length > 0)
- document.images["TocTab"].src = sImg;
-}
-
-function mouseOutIdx()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "idx")
- {
- sImg = getBtnImage("idx", 1);
- }
- else
- {
- sImg = getBtnImage("idx", 0);
- }
- if (sImg.length > 0)
- document.images["IndexTab"].src = sImg;
-}
-
-function mouseOutFts()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "fts")
- {
- sImg = getBtnImage("fts", 1);
- }
- else
- {
- sImg = getBtnImage("fts", 0);
- }
- if (sImg.length > 0)
- document.images["FtsTab"].src = sImg;
-}
-
-function mouseOutGlo()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "glo")
- {
- sImg = getBtnImage("glo", 1);
- }
- else
- {
- sImg = getBtnImage("glo", 0);
- }
- if (sImg.length > 0)
- document.images["GloTab"].src = sImg;
-}
-
-function getTabHTMLText(sTabName)
-{
- if (sTabName == "toc")
- return "<a class=\"TextTabToc\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">Contents</a> ";
- else if (sTabName =="idx")
- return "<a class=\"TextTabIdx\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">Index</a> ";
- else if (sTabName == "fts")
- return "<a class=\"TextTabFts\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">Search</a> ";
- else if (sTabName == "glo")
- return "<a class=\"TextTabGlo\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">Glossary</a> ";
- return "";
-}
-
-function getImageMap()
-{
- var sHTML = "<map name=\"tabSelectionMap\">";
- for (var i = 0; i < gPane.length; i ++)
- {
- sHTML += getMapArea(gPane[i]);
- }
- sHTML += "</map>";
- return sHTML;
-}
-
-function getMapArea(sTabName)
-{
- if (sTabName == "toc")
- return "<area title=\"Contents\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">";
- else if (sTabName =="idx")
- return "<area title=\"Index\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">";
- else if (sTabName == "fts")
- return "<area title=\"Search\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">";
- else if (sTabName == "glo")
- return "<area title=\"Glossary\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">";
- return "";
-}
-
-function getBtnImage(sTabName, nStatus)
-{
- if (sTabName == "toc")
- {
- if (nStatus == 0)
- return "whd_tab2.gif";
- else if (nStatus == 1)
- return "whd_tab1.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- else if (sTabName =="idx")
- {
- if (nStatus == 0)
- return "whd_tab4.gif";
- else if (nStatus == 1)
- return "whd_tab3.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- else if (sTabName == "fts")
- {
- if (nStatus == 0)
- return "whd_tab6.gif";
- else if (nStatus == 1)
- return "whd_tab5.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- else if (sTabName == "glo")
- {
- if (nStatus == 0)
- return "whd_tab8.gif";
- else if (nStatus == 1)
- return "whd_tab7.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- return "";
-}
-
-function getMapImage(sTabName)
-{
- if (sTabName == "toc")
- return "";
- else if (sTabName =="idx")
- return "";
- else if (sTabName == "fts")
- return "";
- else if (sTabName == "glo")
- return "";
- return "";
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- window.onload = selectDefaultTab;
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- window.onunload = window_unload;
- goTocFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- goIdxFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- goFtsFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- goGloFont=new whFont("Arial","9pt","#000000","normal","normal","none");
-
- if (navigator.currentNavPen)
- gsFirstPane = navigator.currentNavPen;
-
- setBackgroundcolor("");
- setBackground("whd_tab0.gif");
-
-
-
-
- addPane("toc","whtdhtml.htm");
- addPane("fts","whfdhtml.htm");
- addPane("glo","whgdhtml.htm");
- setShowPane("toc");
-
-
- gnTabType = 0; // 0 button. // 1 text. // 2 image mapping.
- TocWriteClassStyle();
- var sHTML = "<body scroll=\"no\" bgcolor=\"#c0c0c0\" background=\"whd_tab0.gif\" style=\"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0\">";
- if (gPane.length > 0)
- {
- if (gnTabType == 0 || gnTabType == 1)
- {
- sHTML += "<table width=\"100%\">";
- sHTML += "<tr>";
- sHTML += "<td>";
- sHTML += "<nobr>";
- sHTML += getTabsHTML();
- sHTML += "</nobr></td></tr>";
- sHTML += " <tr><td height=\"2\"></td></tr>";
- sHTML += "</table>";
- }
- else if (gnTabType == 2)
- {
- sHTML += getImageMap();
- sHTML +="<img name=\"tabSelection\" src=\"" + getMapImage(gPane[0]) + "\" x-maintain-ratio=\"true\" usemap=\"#tabSelectionMap\"";
- if (gbIE)
- sHTML +=" style=\"border: none; width:px; height:px; float: none;\"";
- sHTML +=" width=\"\" height=\"\" border=\"0\">";
- }
- }
- sHTML += "</body>";
- document.write(sHTML);
-}
-else
- document.location.reload();
-
-if (window.gbNav6)
-{
- var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);
- SendMessage(oMsg);
-}
-//-->
-</script>
-</HTML>
\ No newline at end of file
+++ /dev/null
-<?xml version='1.0' encoding='ISO-8859-1' ?>
-<topictemplate>
- <topic type="normal">
- <add tag="head" pos="endbefore" >
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_PROXY_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- ";
- OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");
- OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");
- OutputInTopicNavBarDataButtons("addButton(\"%s\",%s, \"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",%d,%d);\r\n");
- "
- }
-
-
- if (window.setRelStartPage)
- {
- ";
- OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");
- OutputInTopicNavBarDataWebSearch.href("addSearchFormHref(\"%s\");\r\n");
- "
- autoSync(";WH_USER_OPTIONS.autosync_toc;");
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-"]]>
- </add>
- <add tag="body" pos="beginafter">
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(";WH_WEBSKIN.topic.bar.top.pos;");
-//-->
-</script>"]]>
- </add>
- <add tag="body" pos="endbefore">
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(";WH_WEBSKIN.topic.bar.bottom.pos;");
-//-->
-</script>";
-OutputInTopicNavBarDataWebSearch.form();]]>
- </add>
- </topic>
- <topic type="frameset">
- <add tag="head" pos="endbefore" >
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_FRAMESET_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.setRelStartPage)
-{
-";
- OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");
- OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");
- OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");
-"
-if (window.autoSync)
- autoSync(1);
-}
-//-->
-</script>
-"]]>
- </add>
- </topic>
-</topictemplate>
+++ /dev/null
-<html>
-<head>
-<title>Search Result</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<base target="bsscright">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whlang.js"></script>
-<script language="javascript1.2" src="whfhost.js"></script>
-<script language="javascript1.2">
-<!--
-if(window.gbWhFHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Error", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- FtsWriteClassStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">
-</body>
-</html>
-
+++ /dev/null
-<html>
-<head>
-<title>Search Frame</TITLE>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script LANGUAGE="javascript1.2">
-<!--
-var gbIndexLayerInit = false;
-var strWrite="";
-if (window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)
-{
- if (gbMac)
- strWrite="<FRAMESET ROWS='45,100%' framespacing=0 frameborder=1>";
- else
- strWrite="<FRAMESET ROWS='60,100%' framespacing=0 frameborder=1>";
- strWrite +="<FRAME SRC='whfform.htm' title='search form frame' name='ftsform' noresize='yes' scrolling='no'>";
- strWrite +="<FRAME SRC='whfbody.htm' title='search result frame' name='ftsbody' scrolling='yes'>";
- strWrite +="</FRAMESET>";
- document.write(strWrite);
-}
-else
- document.location.reload();
-//-->
-</script>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Search Form</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<style>
-<!--
-body {margin:0;}
--->
-</style>
-<body bgcolor="#c0c0c0">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whform.js"></script>
-<script language="javascript1.2">
-<!--
-var gstrInput = "";
-function ftsLookup(bCR)
-{
- if (bCR)
- {
- var strInput = document.FtsInputForm.keywordField.value.toUpperCase();
- if (strInput != "") {
- var oMsg = new whMessage(WH_MSG_SEARCHFTSKEY, this, 1, strInput);
- if (!SendMessage(oMsg))
- {
- gstrInput = strInput;
- }
- else
- gstrInput = "";
- }
-
- if (gbMac) {
- document.FtsInputForm.keywordField.focus();
- }
- }
- return;
-}
-
-function beforeInit()
-{
- var oParam = new Object();
- oParam.sValue = "";
- var oMsg = new whMessage(WH_MSG_GETSEARCHS, this, 1, oParam);
- if (SendMessage(oMsg))
- {
- if (oParam.sValue != "" && oParam.sValue != "- Search -")
- {
- document.FtsInputForm.keywordField.value = oParam.sValue;
- gfunLookUp(true);
- }
- }
- init();
-}
-
-function window_unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWTOC);
- UnRegisterListener2(this, WH_MSG_SHOWIDX);
- UnRegisterListener2(this, WH_MSG_SHOWFTS);
- UnRegisterListener2(this, WH_MSG_SHOWGLO);
- UnRegisterListener2(this, WH_MSG_SEARCHTHIS);
- UnRegisterListener2(this, WH_MSG_BACKUPSEARCH);
-}
-
-function onSendMessage(oMsg)
-{
- if (oMsg.nMessageId == WH_MSG_SHOWFTS)
- {
- document.FtsInputForm.keywordField.focus();
- }
- else if (oMsg.nMessageId == WH_MSG_SHOWIDX ||
- oMsg.nMessageId == WH_MSG_SHOWTOC ||
- oMsg.nMessageId == WH_MSG_SHOWGLO)
- {
- document.FtsInputForm.keywordField.blur();
- }
- else if (oMsg.nMessageId == WH_MSG_SEARCHTHIS)
- {
- if (oMsg.oParam != "- Search -")
- {
- document.FtsInputForm.keywordField.value = oMsg.oParam;
- gfunLookUp(true);
- }
- }
- else if (oMsg.nMessageId == WH_MSG_BACKUPSEARCH)
- {
- if (gstrInput)
- {
- oMsg.oParam = gstrInput;
- gstrInput = "";
- return false;
- }
- }
- return true;
-}
-
-if (window.gbWhForm)
-{
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- RegisterListener2(this, WH_MSG_SEARCHTHIS);
- RegisterListener2(this, WH_MSG_BACKUPSEARCH);
- gfunLookUp = ftsLookup;
- gfunInit = null;
- gstrFormName = "FtsInputForm"
- gsTitle = "Type in the word(s) to search for:";
- gsTitle = "Type in the word(s) to search for:";
- setGoImage1("");
-
-
-
-
-
-
- setGoText("Go");
- setFont("Title", "Arial","9pt","#000000","normal","normal","none");
-
-
- document.write(getFormHTML());
- writeFormStyle();
- window.onload = beforeInit;
- window.onunload=window_unload;
-}
-else
- document.location.reload();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.003
-var gsSK2=null;
-var gsSK=null;
-var gsFtsBreakChars="\t\r\n\"\\ .,!@#$%^&*()~'`:;<>?/{}[]|+-=\x85\x92\x93\x94\x95\x96\x97\x99\xA9\xAE\xB7";
-var gnCLF=0;
-var gsHelpCannotSearch="Cannot search for that phrase.";
-var gsNoTopics="No Topics Found.";
-var gsLoadingDivID="LoadingDiv";
-var gsLoadingMsg="Loading data, please wait...";
-var gsSearchMsg="Searching...";
-var gsResultDivID="ResultDiv";
-var gaaFCD=new Array();
-var gaaFTCD=new Array();
-var goCF=null;
-var goCTF=null;
-var gaTI=null;
-var gnCurrentOp=0;
-var gbNot=false;
-var gbReady=false;
-var gnLoadFts=1;
-var gnCacheLimits=5;
-var gaCCD=new Array();
-var gbXML=false;
-var gaData=new Array();
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var gsMargin="0pt";
-var gsIndent="0pt";
-var gsCheckKey=null;
-var gnIndexNum=0;
-var gaFtsContentsCon=null;
-var gaTopicCheckInfo=null;
-var gnTopicCheck=0;
-var goFont=null;
-var goErrFont=null;
-var goHoverFont=null;
-var gsABgColor="#cccccc";
-var gbWhFHost=false;
-var gbFirst=false;
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal")
- goFont=vFont;
- else if(sType=="Error")
- goErrFont=vFont;
- else if(sType=="Hover")
- goHoverFont=vFont;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsABgColor=sBgColor;
-}
-
-function setMargin(sMargin)
-{
- gsMargin=sMargin;
-}
-
-function setIndent(sIndent)
-{
- gsIndent=sIndent;
-}
-
-function updateCache(oCF)
-{
- var len=gaCCD.length;
- if(len<gnCacheLimits*gnCLF)
- gaCCD[len]=oCF;
- else{
- gaCCD[0].aTopics=null;
- gaCCD[0].aFtsKeys=null;
- removeItemFromArray(gaCCD,0);
- gaCCD[len-1]=oCF;
- }
-}
-
-function addFtsInfo(sPPath,sDPath,sFtsFile)
-{
- gaData[gaData.length]=new ftsInfo(sPPath,sDPath,sFtsFile);
-}
-
-function onLoadXMLError()
-{
- if(gnLoadFts==1)
- {
- var aFCD=new Array();
- var aFTCD=new Array();
- ftsReady(aFCD,aFTCD);
- }
- else if(gnLoadFts==3)
- {
- var aTopics=new Array();
- putFtsTData(aTopics);
- }
- else if(gnLoadFts==2)
- {
- putFtsWData(aFtsContents);
- var aFtsContents=new Array();
- }
-}
-
-function putDataXML(xmlDoc,sDocPath)
-{
- if(gnLoadFts==1)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var oChild=node.firstChild;
- var aFCD=new Array();
- var aFTCD=new Array();
- while(oChild)
- {
- if(oChild.nodeName=="chunkinfo")
- {
- var sURL=oChild.getAttribute("url");
- var sFirst=oChild.getAttribute("first");
- var sLast=oChild.getAttribute("last");
- if(sURL&&sFirst&&sLast)
- {
- item=new Object();
- item.sStartKey=sFirst;
- item.sEndKey=sLast;
- item.sFileName=sURL;
- aFCD[aFCD.length]=item;
- }
- }
- else if(oChild.nodeName=="tchunkinfo")
- {
- var sURL=oChild.getAttribute("url");
- var nB=parseInt(oChild.getAttribute("first"));
- var nE=parseInt(oChild.getAttribute("last"));
- if(sURL&&sFirst&&sLast)
- {
- item=new Object();
- item.nBegin=nB;
- item.nEnd=nE;
- item.sFileName=sURL;
- aFTCD[aFTCD.length]=item;
- }
-
- }
- oChild=oChild.nextSibling;
- }
- ftsReady(aFCD,aFTCD);
- }
- }
- else if(gnLoadFts==3)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var oChild=node.firstChild;
- var aTopics=new Array();
- while(oChild)
- {
- if(oChild.nodeName=="topic")
- {
- var name=oChild.getAttribute("name");
- var sURL=oChild.getAttribute("url");
- if(name&&name.length>0&&sURL)
- {
- var topic=new Object();
- topic.sTopicTitle=name;
- topic.sTopicURL=sURL;
- aTopics[aTopics.length]=topic;
- }
- }
- oChild=oChild.nextSibling;
- }
- putFtsTData(aTopics);
- }
- }
- else if(gnLoadFts==2)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var oChild=node.firstChild;
- var aFtsContents=new Array();
- while(oChild)
- {
- if(oChild.nodeName=="key")
- {
- var name=oChild.getAttribute("name");
- if(name&&name.length>0)
- {
- var item=new Object();
- item.sItemName=name;
- aFtsContents[aFtsContents.length]=item;
- var oChildChild=oChild.firstChild;
- while(oChildChild)
- {
- if(oChildChild.nodeName=="#text")
- {
- var sIDs=oChildChild.nodeValue;
- if(sIDs)
- {
- var nBPos=0;
- do
- {
- var nPos=sIDs.indexOf(",",nBPos);
- var sID=null;
- if(nPos!=-1)
- sID=sIDs.substring(nBPos,nPos);
- else
- sID=sIDs.substring(nBPos);
-
- if(sID)
- {
- var id=parseInt(sID);
- if(!isNaN(id))
- {
- if(!item.aTopics)
- item.aTopics=new Array();
- item.aTopics[item.aTopics.length]=id;
- }
- }
- nBPos=nPos+1;
- }while(nBPos!=0&&nBPos<sIDs.length);
- }
- }
- oChildChild=oChildChild.nextSibling;
- }
- }
- }
- oChild=oChild.nextSibling;
- }
- putFtsWData(aFtsContents);
- }
- }
-}
-
-function ftsInfo(sPPath,sDPath,sFtsFile)
-{
- this.sPPath=sPPath;
- this.sDPath=sDPath;
- this.sFtsFile=sFtsFile;
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- writeResultDiv();
- loadFts();
- var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)
- SendMessage(oMsg);
-}
-
-function writeResultDiv()
-{
- var sHTML="<div id=\""+gsResultDivID+"\" style=\"POSITION:absolute;\"></div>";
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
-}
-
-function loadFts()
-{
- if(!gbReady)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbReady=true;
- var oProj=oResMsg.oParam;
- var aProj=oProj.aProj;
- gbXML=oProj.bXML;
- if(aProj.length>0)
- {
- var sLangId=aProj[0].sLangId;
- for(var i=0;i<aProj.length;i++)
- {
- if(aProj[i].sFts&&aProj[i].sLangId==sLangId)
- {
- addFtsInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sFts);
- }
- }
- }
- loadFD();
-
- }
- }
-}
-
-function loadFD()
-{
- if(gnCLF<gaData.length)
- {
- gnLoadFts=1;
- loadData2(gaData[gnCLF].sPPath+gaData[gnCLF].sDPath+gaData[gnCLF].sFtsFile);
- }
- else
- {
- var oMsg = new whMessage(WH_MSG_BACKUPSEARCH, this, 1, null);
- if (SendMessage(oMsg))
- {
- if (oMsg.oParam)
- {
- gsSK=oMsg.oParam.toLowerCase();
- findFTSKey();
- }
- }
- RegisterListener2(this, WH_MSG_SEARCHFTSKEY);
- }
-}
-
-function loadData2(sFile)
-{
- if(gbXML)
- loadDataXML(sFile);
- else
- loadData(sFile);
-}
-
-function findFTSKey()
-{
- gaTI=new Array();
- gnCurrentOp=1;
- gbNot=false;
- displayMsg(gsSearchMsg);
- if(gsSK!="")
- {
- gbFirst=true;
- findOneKey();
- }
-}
-
-function findOneKey()
-{
- if(gsSK && gsSK!="")
- {
- var sInput=gsSK;
- var sCW="";
- var nS=-1;
- var nSep=-1;
- for(var nChar=0;nChar<gsFtsBreakChars.length;nChar++){
- var nFound=sInput.indexOf(gsFtsBreakChars.charAt(nChar));
- if((nFound!=-1)&&((nS==-1)||(nFound<nS))){
- nS=nFound;
- nSep=nChar;
- }
- }
- if(nS==-1){
- sCW=sInput;
- sInput="";
- }else{
- sCW=sInput.substring(0,nS);
- sInput=sInput.substring(nS+1);
- }
-
- gsSK=sInput;
-
- if((sCW=="or")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="|"))){
- gnCurrentOp=0;
- gbNot=false;
- }else if((sCW=="and")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="&"))){
- gnCurrentOp=1;
- gbNot=false;
- }else if((sCW=="not")||
- ((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="~"))){
- gbNot=!gbNot;
- }else if(sCW!=""&&!IsStopWord(sCW,gaFtsStop)){
- var sCurrentStem=GetStem(sCW);
- gsCW=sCurrentStem;
- ftsFindKeyword();
- return;
- }
- findOneKey();
- }
- else{
- displayTopics();
- checkAgain();
- }
-}
-
-function checkAgain()
-{
- gsCheckKey = "";
- gnIndexNum = 0;
- gsSK=gsSK2;
- gsSK2=null;
- if(gsSK!=null)
- setTimeout("findFTSKey();",1);
-}
-
-function displayTopics()
-{
- var sHTML="";
- var sLine="";
- for(var i=0;i<gaTI.length;i++){
- sLine+="<dt><nobr><a href='"+gaTI[i].sTopicURL+"'>"+_textToHtml(gaTI[i].sTopicTitle)+"</a></nobr></dt>";
- if(i>>4<<4==i)
- {
- sHTML+=sLine;
- sLine="";
- }
- }
- if(sLine.length>0)
- sHTML+=sLine;
-
- if(sHTML.length==0)
- sHTML="<P>"+gsNoTopics+"</P>"
- else
- sHTML="<dl>"+sHTML+"</dl>";
-
- var resultDiv=getElement(gsResultDivID);
- if(resultDiv)
- resultDiv.innerHTML=sHTML;
-}
-
-function displayMsg(sErrorMsg)
-{
- var sHTML="<P>"+sErrorMsg+"</P>";
-
- var resultDiv=getElement(gsResultDivID);
- if(resultDiv)
- resultDiv.innerHTML=sHTML;
-}
-
-function ftsFindKeyword()
-{
- var sKey=gsCW;
- var bNeedLoad=false;
- var aFtsContentsCon=null;
- var s=0;
- if(sKey==null) return;
- if(!gsCheckKey||sKey!=gsCheckKey||gnIndexNum==0)
- {
- aFtsContentsCon=new Array();
- gnCheck=0;
- gsCheckKey=sKey;
- gnTopicCheck=0;
- gaTopicCheckInfo=null;
- }
- else{
- s=gnIndexNum;
- aFtsContentsCon=gaFtsContentsCon;
- }
- for(var i=gnCheck;i<gaaFCD.length;i++)
- {
- var oCF=getChunkedFts(i,sKey);
- if(oCF)
- {
- if(!oCF.aFtsKeys&&oCF.sFileName!=null)
- {
- bNeedLoad=true;
- oCF.nProjId=i;
- goCF=oCF;
- gnIndexNum=s;
- gnCheck=i;
- gaFtsContentsCon=aFtsContentsCon;
- gnLoadFts=2;
- beginLoading();
- loadData2(gaData[i].sPPath+gaData[i].sDPath+oCF.sFileName);
- break;
- }
- else{
- aFtsContentsCon[s++]=oCF;
- }
- }
- }
- if(!bNeedLoad)
- {
- var aTI=gaTopicCheckInfo;
- for(var m=gnTopicCheck;m<aFtsContentsCon.length;m++)
- {
- var aTIPart=getTopics(aFtsContentsCon[m],sKey);
- if(aTIPart==null)
- {
- gnCheck=gaaFCD.length;
- gnTopicCheck=m;
- gaTopicCheckInfo=aTI;
- gaFtsContentsCon=aFtsContentsCon;
- return;
- }
- if(m==0)
- aTI=aTIPart;
- else
- aTI=mergeTopics(aTI,aTIPart);
- }
- if(mergewithPreviousResult(aTI))
- {
- gbFirst=false;
- findOneKey();
- }
- else
- checkAgain();
- }
-}
-
-function mergewithPreviousResult(aTI)
-{
- if(aTI!=null&&aTI.length!=0)
- {
- var nNumTopics=aTI.length;
- if(gnCurrentOp==0||gbFirst){
- if(gbNot){
- displayMsg(gsHelpCannotSearch);
- return false;
- }else{
- var aLS,aSS;
- if(gaTI.length>=aTI.length)
- {
- aLS=gaTI;
- aSS=aTI;
- }
- else
- {
- aLS=aTI;
- aSS=gaTI;
- }
- var s=0;
- for(var i=0;i<aSS.length;i++)
- {
- var bAlreadyThere=false;
- for(var j=s;j<aLS.length;j++)
- {
- if(aSS[i].equalTo(aLS[j]))
- {
- bAlreadyThere=true;
- s=j;
- break;
- }
- }
- if(!bAlreadyThere)
- {
- insertTopic(aLS,aSS[i]);
- }
- }
- gaTI=aLS;
- }
- }else if(gnCurrentOp==1){
- if(gbNot){
- var s=0;
- for(var i=0;i<aTI.length;i++)
- {
- for(var j=s;j<gaTI.length;j++)
- {
- if(aTI[i].equalTo(gaTI[j]))
- {
- removeItemFromArray(gaTI,j);
- s=j;
- break;
- }
- }
- }
- }else{
- var s=0;
- for(var i=0;i<gaTI.length;i++)
- {
- var bFound=false;
- for(var j=s;j<aTI.length;j++)
- {
- if(gaTI[i].equalTo(aTI[j]))
- {
- bFound=true;
- s=j;
- }
- }
- if(!bFound)
- {
- removeItemFromArray(gaTI,i);
- i--;
- }
- }
- }
- }
- }else{
- if((gnCurrentOp==1)&&(!gbNot)){
- gaTI.length=0;
- }else if((gnCurrentOp==0)&&(gbNot)){
- displayMsg(gsHelpCannotSearch);
- return false;
- }
- }
- return true;
-}
-
-function insertTopic(aTI,oTI)
-{
- var nB=0;
- var nE=aTI.length-1;
- if(nE>=0)
- {
- var nM;
- var bFound=false;
- do{
- nM=(nB+nE)>>1;
- if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)>0)
- nE=nM-1;
- else if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)
- nB=nM+1;
- else
- {
- bFound=true;
- break;
- }
- }while(nB<=nE);
- if(bFound)
- insertItemIntoArray(aTI,nM,oTI);
- else
- {
- if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)
- insertItemIntoArray(aTI,nM+1,oTI);
- else
- insertItemIntoArray(aTI,nM,oTI);
- }
- }
- else
- aTI[0]=oTI;
-}
-
-function mergeTopics(aTI1,aTI2)
-{
- var i1=0;
- var i2=0;
- var len1=aTI1.length;
- var len2=aTI2.length;
- var aTopicNew=new Array();
- var i=0;
- while(i1<len1||i2<len2)
- {
- if(i1<len1&&i2<len2)
- {
- if(compare(aTI1[i1].sTopicTitle,aTI2[i2].sTopicTitle)<0)
- aTopicNew[i++]=aTI1[i1++];
- else
- aTopicNew[i++]=aTI2[i2++];
- }
- else if(i1<len1)
- aTopicNew[i++]=aTI1[i1++];
- else if(i2<len2)
- aTopicNew[i++]=aTI2[i2++];
- }
- return aTopicNew;
-}
-
-function getTopics(oCF,sKey)
-{
- var aTIPart=new Array();
- if(oCF&&oCF.aFtsKeys)
- {
- var keys=oCF.aFtsKeys;
- var nB=0;
- var nE=keys.length-1;
- var nM=-1;
- var bFound=false;
- do{
- nM=(nB+nE)>>1;
- if(compare(keys[nM].sItemName,sKey)>0)
- nE=nM-1;
- else if(compare(keys[nM].sItemName,sKey)<0)
- nB=nM+1;
- else{
- bFound=true;
- break;
- }
- }while(nB<=nE);
- if(bFound)
- {
- if(keys[nM].aTopics)
- {
- for(var i=0;i<keys[nM].aTopics.length;i++)
- {
- var oTC=getTopicChunk(gaaFTCD[oCF.nProjId],keys[nM].aTopics[i]);
- if(oTC.aTopics)
- {
- aTIPart[aTIPart.length]=
- new topicInfo(oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicTitle,
- gaData[oCF.nProjId].sPPath+oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicURL);
- }
- else{
- goCTF=oTC;
- gnLoadFts=3;
- beginLoading();
- loadData2(gaData[oCF.nProjId].sPPath+gaData[oCF.nProjId].sDPath+oTC.sFileName);
- return null;
- }
- }
- }
- }
- }
- return aTIPart;
-}
-
-function getTopicChunk(aFTCD,nTopicId)
-{
- if(aFTCD&&aFTCD.length)
- {
- var nB=0;
- var nE=aFTCD.length-1;
- var nM=-1;
- var bFound=false;
- do{
- nM=(nB+nE)>>1;
- if(aFTCD[nM].nBegin>nTopicId)
- nE=nM-1;
- else if(aFTCD[nM].nEnd<nTopicId)
- nB=nM+1;
- else{
- bFound=true;
- break;
- }
- }while(nB<=nE);
- if(bFound)
- return aFTCD[nM];
- }
- return null;
-}
-
-function endLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(oDiv)
- oDiv.style.visibility="hidden";
-}
-
-function beginLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(!oDiv)
- {
- document.body.insertAdjacentHTML("afterBegin",writeLoadingDiv());
- oDiv=getElement(gsLoadingDivID);
- }
-
- if(oDiv)
- {
- oDiv.style.top=document.body.scrollTop;
- oDiv.style.visibility="visible";
- }
-}
-
-function writeLoadingDiv(nIIdx)
-{
- return "<div id=\""+gsLoadingDivID+"\" style=\"position:absolute;top:0;left:0;z-index:600;visibility:hidden;padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";
-}
-
-function topicInfo(sTopicTitle,sTopicURL)
-{
- this.sTopicTitle=sTopicTitle;
- this.sTopicURL=sTopicURL;
- this.equalTo=function(oTI)
- {
- return ((this.sTopicTitle==oTI.sTopicTitle)&&
- (this.sTopicURL==oTI.sTopicURL));
- }
-}
-
-function getChunkedFts(nIndex,sKey)
-{
- var oCF=null;
- if(nIndex<gaaFCD.length)
- {
- var len=gaaFCD[nIndex].length;
- if(len>0)
- {
- var nB=0;
- var nE=len-1;
- var bFound=false;
- do{
- var nM=(nB+nE)>>1;
- if(compare(sKey,gaaFCD[nIndex][nM].sEndKey)>0)
- {
- nB=nM+1;
- }
- else if(compare(sKey,gaaFCD[nIndex][nM].sStartKey)<0)
- {
- nE=nM-1;
- }
- else{
- bFound=true;
- break;
- }
- }while(nE>=nB);
- if(bFound)
- oCF=gaaFCD[nIndex][nM];
- }
- }
- return oCF;
-}
-
-function ftsReady(aFCD,aFTCD)
-{
- endLoading();
- gaaFTCD[gnCLF]=aFTCD;
- gaaFCD[gnCLF++]=aFCD;
- setTimeout("loadFD();",1);
-}
-
-function putFtsTData(aTopics)
-{
- endLoading();
- var oCTF=goCTF;
- if(oCTF)
- {
- oCTF.aTopics=aTopics;
- setTimeout("ftsFindKeyword();",1);
- }
-}
-
-function putFtsWData(aFtsContents)
-{
- endLoading();
- var oCF=goCF;
- if(oCF)
- {
- updateCache(oCF);
- oCF.aFtsKeys=aFtsContents;
- setTimeout("ftsFindKeyword();",1);
- }
-}
-
-function IsStopWord(sCW,aFtsStopArray)
-{
- var nStopArrayLen=aFtsStopArray.length;
- var nB=0;
- var nE=nStopArrayLen-1;
- var nM=0;
- var bFound=false;
- var sStopWord="";
- while(nB<=nE){
- nM=(nB+nE);
- nM>>=1;
- sStopWord=aFtsStopArray[nM];
- if(compare(sCW,sStopWord)>0){
- nB=(nB==nM)?nM+1:nM;
- }else{
- if(compare(sCW,sStopWord)<0){
- nE=(nE==nM)?nM-1:nM;
- }else{
- bFound=true;
- break;
- }
- }
- }
- return bFound;
-}
-
-function GetStem(szWord)
-{
- if(gaFtsStem==null||gaFtsStem.length==0)return szWord;
- var aStems=gaFtsStem;
-
- var nStemPos=0;
- var csStem="";
- for(var iStem=0;iStem<aStems.length;iStem++){
-
- if(aStems[iStem].length>=szWord.length-1) continue;
- nStemPos=szWord.lastIndexOf(aStems[iStem]);
- if(nStemPos>0){
- var cssub=szWord.substring(nStemPos);
- if(cssub==aStems[iStem]){
- csStem=szWord;
- if(szWord.charAt(nStemPos-2)==szWord.charAt(nStemPos-1)){
- csStem=csStem.substring(0,nStemPos-1);
- }else{
- csStem=csStem.substring(0,nStemPos);
- }
- return csStem;
- }
- }
- }
- return szWord;
-}
-
-function FtsWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="P {"+getFontStyle(goErrFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";
- sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsABgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this, WH_MSG_SEARCHFTSKEY);
-}
-
-
-function onSendMessage(oMsg)
-{
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SEARCHFTSKEY)
- {
- if(oMsg.oParam)
- {
- if(gsSK==null||gsSK=="")
- {
- gsSK=oMsg.oParam.toLowerCase();
- findFTSKey();
- }
- else
- gsSK2=oMsg.oParam.toLowerCase();
- }
- }
- else if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadFts();
- }
- return true;
-}
-
-if (window.gbWhUtil&&window.gbWhLang&&window.gbWhProxy&&window.gbWhVer&&window.gbWhMsg)
-{
- goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goErrFont=new whFont("Verdana","8pt","#000000","normal","bold","none");
- goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_Unload;
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- gbWhFHost=true;
-}
-else
- document.location.reload();
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.001
-var gfunLookUp;
-var gbInputEnable;
-var gfunInit;
-var gstrFormName= "";
-var gbWithButton = false;
-var gsTitle="";
-var gsOverImage = "";
-var gsOutImage = "";
-var gsClickImage = "";
-var gsText = "";
-var gsBgColor = "#c0c0c0";
-var gsBgImage = "";
-var gbInImage = 0;
-var gbInputEnable = 0;
-
-var goTitleFont=null;
-var goInputFont=null;
-var goNormalFont=null;
-var goHoverFont=null;
-var gnType=-1;
-var gbWhForm=false;
-
-function setBackground(sBgImage)
-{
- if (sBgImage != null && sBgImage.length > 0)
- gsBgImage = sBgImage;
-
- if (gsBgImage && gsBgImage .length > 0)
- {
- document.body.background = gsBgImage ;
- }
-}
-
-function setBackgroundcolor(sBgColor)
-{
- if (sBgColor != null && sBgColor.length > 0)
- gsBgColor = sBgColor;
-
- if (gsBgColor&& gsBgColor.length > 0)
- {
- document.body.bgColor = gsBgColor;
- }
-}
-
-function setBtnType(sType)
-{
- if (sType == "image")
- {
- gnType = 0;
- }
- else if (sType == "text")
- {
- gnType = 1;
- }
-}
-
-function setGoImage1(sImage1)
-{
- gsOutImage = sImage1;
- if (gsOutImage && gsOutImage.length > 0)
- gbWithButton = true;
-}
-
-function setGoImage2(sImage2)
-{
- gsOverImage = sImage2;
- if (gsOverImage && gsOverImage.length > 0)
- gbWithButton = true;
-}
-
-function setGoImage3(sImage3)
-{
- gsClickImage = sImage3;
- if (gsClickImage && gsClickImage.length > 0)
- gbWithButton = true;
-}
-
-function setGoText(sText)
-{
- gsText = sText;
- if (gsText.length > 0)
- gbWithButton = true;
-}
-
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)
-{
- var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);
- if (sType == "Title")
- {
- goTitleFont = vFont;
- var vFont1 = new whFont(sFontName, sFontSize, "black", sFontStyle, sFontWeight, sFontDecoration);
- goInputFont=vFont1;
- }
- else if (sType == "Normal")
- goNormalFont = vFont;
- else if (sType == "Hover")
- goHoverFont = vFont;
-}
-
-function writeFormStyle()
-{
- var sStyle = "<style type='text/css'>";
- sStyle += "p.title {" + getFontStyle(goTitleFont) + "margin-top:0;margin-bottom:0}\n";
- sStyle += ".inputfield {" + getFontStyle(goInputFont) +"width:100%; }\n";
- sStyle+="A:link {"+getFontStyle(goNormalFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goNormalFont)+"}\n";
- sStyle +="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+=".clsFormBackground{\n";
- if (gsBgImage)
- sStyle+="border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="border-top:black 1px solid;}\n";
-
- sStyle += "</style>";
- document.write(sStyle);
-}
-
-function lookupKeyDown()
-{
- if (gbInputEnable)
- {
- if (gbIE4)
- {
- if (event.keyCode == 13) //Enter key
- gfunLookUp(true);
- else
- gfunLookUp(false);
- }
- else
- gfunLookUp(false);
- }
-}
-
-function init()
-{
- if (gfunInit)
- gfunInit();
- if (!window.Array) return;
- document.onkeyup = lookupKeyDown;
-}
-
-function inputSubmit()
-{
- if ((gbInputEnable && !gbIE4)|| gbInImage)
- gfunLookUp(true);
-}
-
-function inputEnable(bEnable)
-{
- gbInputEnable = bEnable;
-}
-
-function inImage(bImage)
-{
- gbInImage = bImage;
-}
-
-function getFormHTML()
-{
- var sForm = "";
- sForm += "<table class=\"clsFormBackground\" width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\">";
- sForm += "<form name=\"" + gstrFormName + "\" method=\"POST\" action=\"javascript:inputSubmit()\" style=\"width:100%\">";
- sForm += "<tr>";
- sForm += "<td>";
- sForm += "<p class=title><nobr>" + gsTitle + "</nobr><br><table width=\"100%\"><tr valign=\"middle\"><td width=\"100%\"><input class=\"inputfield\" type=\"text\" name=\"keywordField\" onfocus=\"inputEnable(1);\" onblur=\"inputEnable(0);\"></td>";
- if (gbWithButton && gnType >= 0)
- {
- sForm += "<td><a title=\"submit button\" href=\"javascript:void(0);\" onclick=\"" + gstrFormName + ".submit(); return false;\" onfocus=\"inImage(1);\" onblur=\"inImage(0);\" onmouseup=\"onMouseUp();\" onmousedown=\"onMouseDown();\" onmouseover=\"onMouseOver();\" onmouseout=\"onMouseOut();\">"
- if (gnType == 0)
- {
- if (!gsText)
- gsText="Go";
- sForm += "<img alt=\""+gsText+"\" id=\"go\" border=\"0\" src=\"" + gsOutImage + "\">";
- }
- else
- sForm += gsText ;
- sForm += "</a></td>";
- }
- sForm += "</tr></table></p></td></tr></form></table>";
- return sForm;
-}
-
-function onMouseOver()
-{
- if (getElement("go") && gsOverImage)
- getElement("go").src = gsOverImage;
-}
-
-function onMouseDown()
-{
- if (getElement("go") && gsClickImage)
- getElement("go").src = gsClickImage;
-}
-
-function onMouseUp()
-{
- if (getElement("go") && gsOutImage)
- getElement("go").src = gsOutImage;
-}
-
-function onMouseOut()
-{
- if (getElement("go") && gsOutImage)
- getElement("go").src = gsOutImage;
-}
-
-if (window.gbWhUtil&&window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)
-{
- goTitleFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");
- goNormalFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");
- goHoverFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "underline");
- gbWhForm=true;
-}
-else
- document.location.reload();
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.001
-// this value should be identical to the value used in whproxy.js
-window.whname = "wh_stub";
-
-// this file will be used by Topic and NavBar and NavPane and other components
-// and this file is used in child frame html.
-// and the whstub.js will be used in the start page.
-// see reference in whstub.js.
-// Internal Area
-var gbInited = false;
-var gWndStubPage = null;
-function getStubPage()
-{
- if (!gbInited)
- {
- gWndStubPage = getStubPage_inter(window);
- gbInited = true;
- }
- return gWndStubPage;
-}
-
-function getStubPage_inter(wCurrent) {
- if (null == wCurrent.parent || wCurrent.parent == wCurrent)
- return null;
-
- if (wCurrent.parent.whname && "wh_stub" == wCurrent.parent.whname)
- return wCurrent.parent;
- else
- if (wCurrent.parent.frames.length != 0 && wCurrent.parent != wCurrent)
- return getStubPage_inter(wCurrent.parent);
- else
- return null;
-}
-
-// Public interface begin here................
-function RegisterListener(framename, nMessageId)
-{
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this) {
- return wStartPage.RegisterListener(framename, nMessageId);
- }
- else
- return false;
-}
-
-function RegisterListener2(oframe, nMessageId)
-{
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this) {
- return wStartPage.RegisterListener2(oframe, nMessageId);
- }
- else
- return false;
-}
-
-function UnRegisterListener2(oframe, nMessageId)
-{
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this && wStartPage.UnRegisterListener2) {
- return wStartPage.UnRegisterListener2(oframe, nMessageId);
- }
- else
- return false;
-}
-
-function SendMessage(oMessage)
-{
- var nMsgId = oMessage.nMessageId;
- if (nMsgId == WH_MSG_ISINFRAMESET && oMessage.wSender != this)
- return true;
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this && wStartPage.SendMessage)
- {
- return wStartPage.SendMessage(oMessage);
- }
- else
- return false;
-}
-var gbWhProxy=true;
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Glossary Term</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whlang.js"></script>
-<script language="javascript1.2" src="whhost.js"></script>
-<script language="javascript1.2" src="whghost.js"></script>
-<script language="javascript1.2">
-<!--
-if(window.gbWhGHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- GloWriteClassStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white">
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Glossary Definition</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goGloFont=null;
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWGLODEF);
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- document.body.background=gsBgImage;
- if(gsBgColor&&gsBgColor.length>0)
- document.body.bgColor=gsBgColor;
-}
-
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)
-{
- var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);
- if (sType == "Normal")
- goGloFont = vFont;
-}
-
-function textToHtml_nbsp_specialcare(sText)
-{
- if (sText == null) return null;
- var sHTML= sText;
- var re = new RegExp(" ","g");
- sHTML= sHTML.replace(re, " ");
- return sHTML;
-}
-
-function onSendMessage(oMsg)
-{
- var nMsgId = oMsg.nMessageId;
- if (nMsgId == WH_MSG_SHOWGLODEF)
- {
- document.body.innerHTML = sDefHead + textToHtml_nbsp_specialcare(oMsg.oParam.sDef) + sDefTail;
- return true;
- }
-}
-
-function GDefWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+=".definition {"+getFontStyle(goGloFont)+"margin:2;}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-if (window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer)
-{
- window.onload=window_OnLoad;
- window.onunload = window_Unload;
- goGloFont=new whFont("Verdana", "8pt", "#000000", "normal", "normal", "none");
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- GDefWriteClassStyle();
- RegisterListener2(this, WH_MSG_SHOWGLODEF);
- var sDefHead = "<p class=\"definition\">";
- var sDefTail = "</p>";
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body bgproperties="fixed" bgcolor="white">
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Glossary</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body bgcolor=#c0c0c0 scroll=no RIGHTMARGIN=0 BOTTOMMARGIN=0 TOPMARGIN=0 LEFTMARGIN=0>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2">
-<!--
-var gsBgImage="";
-var gsBgColor="";
-var goTitleFont=null;
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Title")
- goTitleFont=vFont;
-}
-
-function getTermText()
-{
- var strString="Term:";
-strString = "Term:";
- return strString;
-}
-
-function getDefinitionText()
-{
- var strString="Definition for:";
-strString = "Definition:";
- return strString;
-}
-
-function getHTML()
-{
- var sHTML="";
- sHTML+="<P class=title><nobr> " + getTermText() + "</nobr></p>";
- sHTML+="<iframe id=glossaryIFrame title=\"glossary term\" src=\"whgbody.htm\" width=100% height=200 MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";
- sHTML+="<P class=title><nobr> " + getDefinitionText() + " <b id=Name></b></nobr></p>";
- sHTML+="<iframe id=defIFrame title=\"glossary definition\" src=\"whgdef.htm\" width=100% height=100% MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";
- return sHTML;
-}
-
-function writeStyle()
-{
- var sStyle="<style type='text/css'>";
- sStyle+="p.title {" + getFontStyle(goTitleFont) + "margin-top:4;margin-bottom:4}\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="</style>";
- document.write(sStyle);
-}
-
-
-function window_OnResize()
-{
- setIFrameHeight();
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- document.body.background=gsBgImage;
- if(gsBgColor&&gsBgColor.length>0)
- document.body.bgColor=gsBgColor;
- setIFrameHeight();
-}
-
-function setIFrameHeight()
-{
- var tH=0;
- if(gbNav6)
- {
- tH=parseInt(window.innerHeight)-30;
- }
- else
- {
- tH=parseInt(document.body.clientHeight)-4;
- }
-
- var oEle=getElement("glossaryIFrame");
- if(oEle)
- {
- tH=tH-2*parseInt(oEle.offsetTop);
- if(tH>0)
- {
- oEle.style.height=Math.floor(tH*.6);
- var oEleDef=getElement("defIFrame");
- if(oEleDef)
- {
- oEleDef.style.height=tH-parseInt(oEle.style.height);
- }
- }
- }
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_SHOWGLODEF);
-}
-
-function onSendMessage(oMsg)
-{
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SHOWGLODEF)
- {
- if(getElement("Name"))
- getElement("Name").innerHTML=oMsg.oParam.sName;
- return true;
- }
-}
-
-if(window.gbWhVer&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy)
-{
- goTitleFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- setFont("Title", "Arial","9pt","#000000","normal","normal","none");
-
-
- window.onresize=window_OnResize;
- window.onload=window_OnLoad;
- window.onunload=window_Unload;
- RegisterListener2(this,WH_MSG_SHOWGLODEF);
- writeStyle();
- document.write(getHTML());
-}
-else
- document.location.reload();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.004
-var gbXML=false;
-var gaDef=new Array();
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goFont=null;
-var goHoverFont=null;
-var gsMargin="2pt";
-var gsIndent="2pt";
-var gsActiveBgColor="#cccccc";
-var gbWhGHost=false;
-var gbShowDef=true;
-var gsGloId="Glo_"
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal")
- goFont=vFont;
- else if(sType=="Hover")
- goHoverFont=vFont;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsActiveBgColor=sBgColor;
-}
-
-function setMargin(sMargin)
-{
- gsMargin=sMargin;
-}
-
-function setIndent(sIndent)
-{
- gsIndent=sIndent;
-}
-
-function insertDef(sKName,sDef)
-{
- var nLength=gaDef.length
- var oGlo=new nameDefPair(sKName,sDef);
- gaDef[nLength]=oGlo;
- return nLength;
-}
-
-function showDef(nDef)
-{
- if(nDef<gaDef.length)
- {
- HighLight(nDef);
- var oParam=gaDef[nDef];
- var oMsg=new whMessage(WH_MSG_SHOWGLODEF,this,1,oParam);
- SendMessage(oMsg);
- }
-}
-
-function nameDefPair(sName,sDef)
-{
- this.sName=sName;
- this.sDef=sDef;
-}
-
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)
-{
- var sHTML="";
- var nIdxSet=aCurIdxSet[0];
- var nIIdx=aPos[nIdxSet];
- var sRawKName = getItemName(aDataCon,nIdxSet,nIIdx);
- var sKName=_textToHtml(sRawKName);
- var sDText=_textToHtml_nonbsp(getDef(aDataCon,nIdxSet,nIIdx));
- var sDef=sDText;
- for(var i=1;i<nLength;i++)
- {
- var nIdxSeti=aCurIdxSet[i];
- var nIIdxi=aPos[nIdxSeti];
- var sRawKNamei = getItemName(aDataCon,nIdxSeti,nIIdxi);
- var sKNamei=_textToHtml(sRawKNamei);
- var sDTexti=_textToHtml_nonbsp(getDef(aDataCon,nIdxSeti,nIIdxi));
- if (compare(sKNamei,sKName)==0)
- {
- if (sDText!=sDTexti)
- sDef+="<br>"+sDTexti;
- }
- }
- var nIndex=insertDef(sKName,sDef);
- if(nLevel==1)
- {
- sHTML+="<p><nobr id=\""+getGloId(nIndex)+"\">";
- sHTML+="<a alt=\""+sKName+"\" href=\"javascript:void(0);\" onfocus=\"HighLight("+nIndex+");\" onclick=\"showDef("+nIndex+");return false;\">"+sKName+"</a></nobr></p>";
- oHTML.addHTML(sHTML,nLength,bDown,true,sRawKName);
- if(gbShowDef)
- {
- setTimeout("showDef(0);",100);
- gbShowDef = false;
- }
- }
-}
-
-function HighLight(nIndex)
-{
- var oObj=getElement(getGloId(nIndex));
- if(oObj)
- HighLightElement(oObj,gsActiveBgColor,"transparent");
-}
-
-function getGloId(nIndex)
-{
- return gsGloId+nIndex;
-}
-
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)
-{
- if(bDown)
- {
- for(var i=0;i<nLength;i++)
- aPos[aCurIdxSet[i]]++;
- }
- else{
- for(var i=0;i<nLength;i++)
- aPos[aCurIdxSet[i]]--;
- }
-}
-
-function getDef(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].sDef;
- else
- return null;
-}
-
-function getItemName(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].sName;
- else
- return null;
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- document.body.background=gsBgImage;
- if(gsBgColor&&gsBgColor.length>0)
- document.body.bgColor=gsBgColor;
- document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());
- loadGlo();
- var oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)
- SendMessage(oMsg);
-}
-
-function loadGlo()
-{
- if(!gbReady)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbReady=true;
- var oProj=oResMsg.oParam;
- var aProj=oProj.aProj;
- gbXML=oProj.bXML;
- if(aProj.length>0)
- {
- var sLangId=aProj[0].sLangId;
- for(var i=0;i<aProj.length;i++)
- {
- if(aProj[i].sGlo&&aProj[i].sLangId==sLangId)
- addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sGlo);
- }
- }
- writeDataIFrame();
- enEvt();
- }
- }
-}
-
-function findCKInDom()
-{
- return true;
-}
-
-function GloWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";margin-left:"+gsIndent+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsActiveBgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this,WH_MSG_SHOWGLO);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SHOWGLO)
- {
- if(!gbNav6)
- document.body.focus();
- }
- else if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadGlo();
- }
- }
- return true;
-}
-
-if (window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhHost)
-{
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- RegisterListener2(this,WH_MSG_SHOWGLO);
- goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_Unload;
- gbWhGHost=true;
-}
-else
- document.location.reload();
-
+++ /dev/null
-// WebHelp 5.10.002
-var gaChunks=new Array();
-var gaFakes=new Array();
-var gaDataCon=null;
-var gaData=new Array();
-
-var gbFindCK=false;;
-var gbNeedCalc=false;
-var gbScrl=false;
-var gbProcess=false;
-var gbReady=false;
-
-var gnCheck=0;
-var gnNum=0;
-var gnIns=-1;
-var gnLoad=0;
-var gnRef=-1;
-var gnMaxItems=0;
-var gnMaxMargin=32000;
-var gnNeeded=0;
-var gnNKI=-1;
-var gnRE=0;
-var gnScrlMgn=30;
-var gnSE=0;
-var gnVisible=0;
-var gnItems=0;
-var gnUHeight=1;
-
-var gsBCK=null;
-var gsChK=null;
-var gsCK=null;
-var gsLoadingDivID="LoadingDiv";
-var gsLoadingMsg="Loading data, please wait...";
-var gsSKA=null;
-var gsSKB=null;
-
-var gbLoadInfo=false;
-
-function onLoadXMLError()
-{
- if(gbLoadInfo)
- {
- var aChunk=new Array();
- projReady(aChunk);
- }
- else
- {
- var aData=new Array();
- putData(aData);
- }
-}
-
-function putDataXML(xmlDoc,sDocPath)
-{
- if(gbLoadInfo)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var nTotal=0
- var aChunk=new Array();
- var oC=node.firstChild;
- while(oC)
- {
- if(oC.nodeName=="chunkinfo")
- {
- var item=new Object();
- item.sBK=oC.getAttribute("first");
- item.sEK=oC.getAttribute("last");
- item.sFileName=oC.getAttribute("url");
- item.nNum=parseInt(oC.getAttribute("num"));
- nTotal+=item.nNum;
- item.nTotal=nTotal;
- aChunk[aChunk.length]=item;
- }
- oC=oC.nextSibling;
- }
- projReady(aChunk);
- }
- }
- else
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var aData=new Array();
- var nPrev=0;
- var nNext=0;
- var oC=node.firstChild;
- while(oC)
- {
- nPrev=nNext;
- if(oC.nodeName=="key")
- {
- var sName=oC.getAttribute("name");
- if(sName&&sName.length>0)
- {
- var sTarget=oC.getAttribute("target");
- var item=new Object();
- item.nType=2;
- item.sName=sName;
- if(sTarget)
- item.sTarget=sTarget;
- item.nPKOff=nPrev;
- aData[aData.length]=item;
- var nCurIndex=aData.length;
- processKey(oC,aData,item);
- nNext=aData.length-nCurIndex;
- item.nNKOff=nNext;
- }
- }
- else if(oC.nodeName=="letter")
- {
- var name=oC.getAttribute("name");
- if(name&&name.length>0)
- {
- var item=new Object();
- item.nType=1;
- item.sName=name;
- item.nPKOff=nPrev;
- nNext=0;
- item.nNKOff=nNext;
- aData[aData.length]=item;
- }
- }
- else if(oC.nodeName=="entry")
- {
- var name=oC.getAttribute("name");
- var def=oC.getAttribute("value");
- if(name&&name.length>0)
- {
- var item=new Object();
- item.sName=name;
- item.sDef=def;
- item.nPKOff=nPrev;
- nNext=0;
- item.nNKOff=nNext;
- aData[aData.length]=item;
- }
- }
- oC=oC.nextSibling;
- }
- putData(aData);
- }
- }
-}
-
-function processKey(element,aData,item)
-{
- var i=0;
- var nPrev=0;
- var nNext=0;
- var oC=element.firstChild;
- while(oC)
- {
- if(oC.nodeName=="topic")
- {
- var name=oC.getAttribute("name");
- var url=oC.getAttribute("url");
- if(url&&url.length!=0)
- {
- if(!name||name.length==0)
- name=url;
- var topic=new Object();
- topic.sName=name;
- topic.sURL=url;
- if(!item.aTopics)
- item.aTopics=new Array();
- item.aTopics[item.aTopics.length]=topic;
- }
- }
- else if(oC.nodeName=="key")
- {
- nPrev=nNext;
- var name=oC.getAttribute("name");
- if(name&&name.length!=0)
- {
- var subItem=new Object();
- subItem.sName=name;
- subItem.nType=3;
- subItem.nPKOff=nPrev;
- aData[aData.length]=subItem;
- var nCurIndex=aData.length;
- processKey(oC,aData,subItem);
- nNext=aData.length-nCurIndex;
- subItem.nNKOff=nNext;
- }
- }
- oC=oC.nextSibling;
- }
-}
-
-function putData(aData)
-{
- endLoading();
- var oCData=goCData;
- if(oCData)
- {
- oCData.aKs=aData;
- if(gnNKI==-1)
- setTimeout("checkReady();",1);
- else
- {
- gsSKA=getKByIdx(oCData,gnNKI);
- gbNeedCalc=true;
- gbScrl=true;
- gnNKI=-1;
- if(gsSKA)
- setTimeout("checkReady();",1);
- else
- {
- markEnd();
- setTimeout("checkAgain();",50);
- }
- }
- }
-}
-
-function markEnd()
-{
- if(gbProcess)
- gbProcess=false;
-}
-
-function endLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(oDiv)
- oDiv.style.visibility="hidden";
-}
-
-function markBegin()
-{
- gbProcess=true;
-}
-
-function beginLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(oDiv)
- {
- oDiv.style.top=document.body.scrollTop;
- oDiv.style.visibility="visible";
- }
-}
-
-function indexHTMLPart()
-{
- this.sHTML="";
- this.nNeeded=0;
- this.nCurrent=0;
- this.nConsumed=0;
- this.sFK=null;
- this.sLK=null;
- this.addHTML=function(sHTML,nConsumed,bDown,bK,sK){
- if(bDown)
- this.sHTML+=sHTML;
- else
- this.sHTML=sHTML+this.sHTML;
- this.nCurrent++;
- this.nConsumed+=nConsumed;
- if(bK)
- {
- if(!this.sFK)
- this.sFK=sK;
- if(!this.sLK)
- this.sLK=sK;
- if(bDown)
- this.sLK=sK;
- else
- this.sFK=sK;
- }
- }
- this.appendHTML=function(oHTML,bDown){
- this.addSubHTML(oHTML,bDown);
- if(!this.sFK)
- this.sFK=oHTML.sFK;
- if(!this.sLK)
- this.sLK=oHTML.sLK;
- if(bDown)
- this.sLK=oHTML.sLK;
- else
- this.sFK=oHTML.sFK;
- }
-
- this.addSubHTML=function(oHTML,bDown){
- if(bDown)
- this.sHTML+=oHTML.sHTML;
- else
- this.sHTML=oHTML.sHTML+this.sHTML;
- this.nCurrent+=oHTML.nCurrent;
- this.nConsumed+=oHTML.nConsumed;
- }
-}
-
-function getMaxUnits()
-{
- return Math.floor(gnMaxMargin/gnUHeight)+1;
-}
-
-function getFakeItemsHTMLbyCount(nB,nCount)
-{
- var nMU=getMaxUnits();
- var nNum=Math.floor(nCount/nMU);
- var sHTML="";
- for(var i=0;i<nNum;i++)
- sHTML+=getFakeItemHTML(nB,nMU-1);
-
- var nRest=nCount%nMU;
- sHTML+=getFakeItemHTML(nB,nRest-1);
- return sHTML;
-}
-
-function getFakeItemHTML(nB,nNum)
-{
- return "<h6 name=fk"+nB+" id=fk"+nB+" style=\"margin-top:"+gnUHeight*nNum+";margin-bottom:0\"> </h6>";
-}
-
-function fakeItemsArea(nB,n,sKA,sKB,obj)
-{
- this.nB=nB;
- this.nNum=n;
- this.sKA=sKA;
- this.sKB=sKB;
- this.obj=obj;
- this.nMargin=(n-1)*gnUHeight;
-
- this.setNum=function(n)
- {
- var nLastobj=-1;
- var nDelta=this.nMargin;
- this.nMargin=(n-1)*gnUHeight;
- nDelta=nDelta-this.nMargin;
- if(n>0)
- {
- this.nNum=n;
- var nMU=getMaxUnits();
- nLastobj=Math.floor((n-1)/nMU);
- if(this.obj.length)
- this.obj[nLastobj].style.marginTop=((n-1)%nMU)*gnUHeight;
- else
- this.obj.style.marginTop=((n-1)%nMU)*gnUHeight;
- }
- if(this.obj.length)
- {
- for(var i=this.obj.length-1;i>nLastobj;i--)
- removeThis(this.obj[i]);
- }
- else
- {
- if(nLastobj==-1)
- removeThis(this.obj);
- }
- return nDelta;
- }
- this.insertAdjacentHTML=function(sWhere,sHTML)
- {
- if(sWhere=="beforeBegin")
- {
- if(this.obj.length)
- this.obj[0].insertAdjacentHTML(sWhere,sHTML);
- else
- this.obj.insertAdjacentHTML(sWhere,sHTML);
- }
- else if(sWhere=="afterEnd")
- {
- if(this.obj.length)
- {
- if(gbMac&&gbIE5&&this.obj[this.obj.length-1].nextSibling)
- this.obj[this.obj.length-1].nextSibling.insertAdjacentHTML("beforeBegin",sHTML);
- else
- this.obj[this.obj.length-1].insertAdjacentHTML(sWhere,sHTML);
- }
- else
- {
- if(gbMac&&gbIE5&&this.obj.nextSibling)
- this.obj.nextSibling.insertAdjacentHTML("beforeBegin",sHTML);
- else
- this.obj.insertAdjacentHTML(sWhere,sHTML);
- }
- }
- }
- this.getBtm=function()
- {
- if(this.obj.length)
- return this.obj[this.obj.length-1].offsetTop;
- else
- return this.obj.offsetTop;
- }
- this.getTop=function()
- {
- return this.getBtm()-this.nMargin;
- }
-}
-
-function usedItems(nB,nE)
-{
- this.nB=nB;
- this.nE=nE;
- this.oN=null;
-}
-
-function checkReady()
-{
- var len=gaChunks.length;
- var bNeedLoad=false;
- var aDataCon;
- var s=0;
- var bDown=(gsSKB==null);
- var sK=bDown?gsSKA:gsSKB;
- if(sK==null)
- {
- markEnd();
- setTimeout("checkAgain();",50);
- return;
- }
- if(!gsChK||sK!=gsChK||gnNum==0)
- {
- gnCheck=0;
- gsChK=sK;
- aDataCon=new Array();
- }
- else{
- s=gnNum;
- aDataCon=gaDataCon;
- }
- for(var i=gnCheck;i<len;i++)
- {
- var oCData=getChunkedData(i,bDown,sK);
- if(oCData)
- {
- if(!oCData.aKs&&oCData.sFileName!=null)
- {
- bNeedLoad=true;
- goCData=oCData;
- gnNum=s;
- gnCheck=i;
- gaDataCon=aDataCon;
- oCData.nProjId=i;
- gbLoadInfo=false;
- beginLoading();
- loadData2(gaData[i].sPPath+gaData[i].sDPath+oCData.sFileName);
- return;
- }
- else{
- aDataCon[s++]=oCData;
- }
- }
- }
- if(!bNeedLoad)
- {
- gnNum=0;
- gsSKA=gsSKB=gsShowK=null;
-
- var oHTML=new indexHTMLPart();
- var aPos=new Array();
- var aOriPos=new Array();
- var aMaxPos=new Array();
- var aMinPos=new Array();
-
- if(gbNeedCalc||gbFindCK) gnIns=0;
- for(i=0;i<aDataCon.length;i++)
- {
- aPos[i]=getIdxPos(aDataCon[i],bDown,sK);
- if(gbNeedCalc||gbFindCK)
- {
- gnIns+=aPos[i]+aDataCon[i].nTotal-aDataCon[i].nNum;
- if(!bDown)
- {
- if(aPos[i]!=-1)
- {
- if(aDataCon[i].aKs)
- gnIns+=aDataCon[i].aKs[aPos[i]].nNKOff;
- else
- {
- var n=aPos[i]+1;
- while(n<aDataCon[i].aKsOnly.length&&!aDataCon[i].aKsOnly[n])
- n++;
- n=n-aPos[i]-1;
- gnIns+=n;
- }
- }
- }
- }
- aOriPos[i]=aPos[i];
- getLimit(aDataCon,aPos,aMaxPos,aMinPos,i);
- }
- if((gbNeedCalc||gbFindCK)&&!bDown&&gnIns!=-1)
- {
- gnIns+=(aDataCon.length-1)
- }
- if(gnIns!=-1||gbFindCK)
- {
- oHTML.nNeeded=gnNeeded;
- var bDone=writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,1);
- if(oHTML.nConsumed!=0)
- {
- var nB;
- if(!bDown)
- nB=gnIns-oHTML.nConsumed+1;
- else
- nB=gnIns;
-
- var oldScrollPos=document.body.scrollTop;
- if(insertIdxKs(nB,oHTML,gbScrl))
- {
- updateUsedK(aDataCon,aOriPos,aPos,bDown);
- if(!gbScrl&&gbMac)
- {
- while(document.body.scrollTop!=oldScrollPos)
- document.body.scrollTop=oldScrollPos;
- }
- gbScrl=false;
- }
- if(gbFindCK)
- {
- gbFindCK=false;
- gbNeedCalc=true;
- gsSKB=oHTML.sFK;
- gnIns=-1;
- setTimeout("checkReady();",50);
- return;
- }
- }
- else if(gbFindCK)
- {
- gbFindCK=false;
- gbNeedCalc=true;
- gsSKB=getFirstKeyFromPos(aDataCon,aPos);
- gnIns=-1;
- setTimeout("checkReady();",50);
- return;
- }
- if(!findCKInDom()) return;
-
- gnNeeded=gnNeeded-oHTML.nCurrent;
- gnIns=-1;
- markEnd();
- setTimeout("checkAgain();",50);
- gbNeedCalc=false;
- }
- else
- {
- if(!findCKInDom()) return;
- markEnd();
- setTimeout("checkAgain();",50);
- }
- }
-}
-
-function getFirstKeyFromPos(aDataCon,aPos)
-{
- var sCurrentK=getBiggestChar();
- for(var i=0;i<aPos.length;i++)
- {
- if(aDataCon[i].aKs&&aDataCon[i].aKs.length>0&&aPos[i]>=0&&aPos[i]<aDataCon[i].aKs.length)
- {
- if(sCurrentK==""||
- compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)
- {
- sCurrentK=aDataCon[i].aKs[aPos[i]].sName;
- }
- }
- }
- return sCurrentK;
-}
-
-function checkAgain()
-{
- if(!gbProcess)
- {
- if(gsBCK!=null)
- {
- gsCK=gsBCK;
- gsBCK=null;
- findCK();
- }
- else
- {
- markBegin();
- getUnitIdx(document.body.scrollTop,document.body.clientHeight);
- }
- }
- else
- setTimeout("checkAgain()",50);
-}
-
-function getLimit(aDataCon,aPos,aMaxPos,aMinPos,i)
-{
- aMaxPos[i]=aDataCon[i].nNum;
- aMinPos[i]=-1;
- var oPNode=null;
- if(aDataCon[i].oUsedItems)
- {
- var oUsedItems=aDataCon[i].oUsedItems;
- do{
- if(oUsedItems.nB>aPos[i])
- {
- aMaxPos[i]=oUsedItems.nB;
- break;
- }
- oPNode=oUsedItems;
- oUsedItems=oUsedItems.oN;
- }while(oUsedItems!=null);
- if(oPNode)
- aMinPos[i]=oPNode.nE;
- }
- else if(aDataCon[i].aKs==null)
- {
- aMaxPos[i]=aMinPos[i]=aPos[i];
- }
- if(aMinPos[i]>=aPos[i]||aMaxPos[i]<=aPos[i])
- {
- aMaxPos[i]=aMinPos[i]=aPos[i];
- }
-}
-
-function getIdxPos(oIdx,bDown,sK)
-{
- var aKs=oIdx.aKs;
- var nIdx;
- if(bDown)
- nIdx=oIdx.nNum;
- else
- nIdx=-1;
- if(aKs!=null)
- {
- for(var i=0;i<aKs.length;i++)
- {
- if(bDown)
- {
- if(compare(aKs[i].sName,sK)>0)
- {
- nIdx=i;
- break;
- }
- }
- else
- {
- if(compare(aKs[i].sName,sK)<0)
- nIdx=i;
- else
- break;
- }
- i+=aKs[i].nNKOff;
- }
- }
- else if(oIdx.aKsOnly)
- {
- var aKsOnly=oIdx.aKsOnly;
- for(var i=0;i<aKsOnly.length;i++)
- {
- if(aKsOnly[i])
- {
- if(bDown)
- {
- if(compare(aKsOnly[i],sK)>0)
- {
- nIdx=i;
- break;
- }
- }
- else
- {
- if(compare(aKsOnly[i],sK)<0)
- nIdx=i;
- else
- break;
- }
- }
- }
- }
- return nIdx;
-}
-
-function writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,nLevel)
-{
- var aOldPos=new Array();
- for(var i=0;i<aPos.length;i++)
- {
- aOldPos[i]=aPos[i];
- }
- var p;
- do{
- var sCurrentK="";
- var aCurIdxSet=new Array();
- p=0;
- for(i=0;i<aDataCon.length;i++)
- {
- if(aDataCon[i].aKs&&aDataCon[i].aKs.length&&aPos[i]!=-1&&
- (bDown&&aPos[i]<aMaxPos[i])||(!bDown&&aPos[i]>aMinPos[i]))
- {
- if(sCurrentK==""||
- (bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)||
- (!bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)<0))
- {
- sCurrentK=aDataCon[i].aKs[aPos[i]].sName;
- p=0;
- aCurIdxSet[p++]=i;
- }
- else if(compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)==0){
- aCurIdxSet[p++]=i;
- }
- }
- else if(nLevel==1&&aMaxPos[i]!=aMinPos[i]){
- if(bDown&&aPos[i]==aMaxPos[i])
- {
- if(aDataCon[i].aKs)
- {
- gsSKA=aDataCon[i].aKs[aOldPos[i]].sName;
- return false;
- }
- }
- else if(!bDown&&aPos[i]==aMinPos[i])
- {
- if(aDataCon[i].aKs)
- {
- gsSKB=aDataCon[i].aKs[aOldPos[i]].sName;
- return false;
- }
- }
- }
- }
- if(p>=1){
- for(var s=0;s<p;s++)
- {
- aOldPos[aCurIdxSet[s]]=aPos[aCurIdxSet[s]];
- }
- mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,p,aPos,nLevel);
- adjustPosition(bDown,aDataCon,aCurIdxSet,p,aPos);
-
- if(nLevel==1&&oHTML.nNeeded<=oHTML.nCurrent){
- return true;
- }
- }
- }while(p>0);
- return true;
-}
-
-function updateUsedK(aDataCon,aOriPos,aOldPos,bDown)
-{
- for(var i=0;i<aDataCon.length;i++)
- {
- if (aOldPos[i]!=aOriPos[i])
- {
- var nBP=0;
- var nEP=0;
- if(bDown)
- {
- nBP=aOriPos[i];
- nEP=aOldPos[i]-1;
- }
- else
- {
- if (aOldPos[i]!=-1)
- nBP=aOldPos[i]+aDataCon[i].aKs[aOldPos[i]].nNKOff+1;
- else
- nBP=0;
- nEP=aOriPos[i]+aDataCon[i].aKs[aOriPos[i]].nNKOff;
- }
- if(nBP<=nEP)
- {
- setContentsUsed(aDataCon[i],nBP,nEP);
-
- var oFirstPair=aDataCon[i].oUsedItems;
- if(oFirstPair.oN==null&&oFirstPair.nB==0&&oFirstPair.nE==aDataCon[i].nNum-1)
- {
- storeKeysOnly(aDataCon[i]);
- aDataCon[i].oUsedItems=aDataCon[i].aKs=aDataCon[i].sFileName=null;
- }
- }
- }
- }
-}
-
-function storeKeysOnly(oCData)
-{
- oCData.aKsOnly=new Array();
- for(var i=0;i<oCData.aKs.length;i++)
- {
- oCData.aKsOnly[i]=oCData.aKs[i].sName;
- i+=oCData.aKs[i].nNKOff;
- }
-}
-
-function setContentsUsed(oIdx,nB,nE)
-{
- if(!oIdx.oUsedItems)
- oIdx.oUsedItems=new usedItems(nB,nE);
- else
- {
- var oUsedItems=oIdx.oUsedItems;
- var oPNode=null;
- do{
- if(oUsedItems.nB>nB)
- {
- if(oUsedItems.nB==nE+1)
- {
- oUsedItems.nB=nB;
- }
- else{
- var oNewNode=new usedItems(oUsedItems.nB,oUsedItems.nE);
- oNewNode.oN=oUsedItems.oN;
- oUsedItems.nB=nB;
- oUsedItems.nE=nE;
- oUsedItems.oN=oNewNode;
- }
- break;
- }
- oPNode=oUsedItems;
- oUsedItems=oUsedItems.oN;
- }while(oUsedItems);
- if(!oUsedItems)
- {
- if(oPNode!=null)
- oPNode.oN=new usedItems(nB,nE);
- }
- if(oPNode!=null){
- if(oPNode.nE==oPNode.oN.nB-1)
- {
- oPNode.nE=oPNode.oN.nE;
- oPNode.oN=oPNode.oN.oN;
- }
- }
- }
-}
-
-function projInfo(sPPath,sDPath,sFile)
-{
- this.sPPath=sPPath;
- this.sDPath=sDPath;
- this.sFile=sFile;
-}
-
-function addProjInfo(sPPath,sDPath,sFile)
-{
- var oIdxInfo=new projInfo(sPPath,sDPath,sFile);
- gaData[gaData.length]=oIdxInfo;
- return oIdxInfo;
-}
-
-function writeDataIFrame()
-{
- if(gnLoad<gaData.length)
- {
- gbLoadInfo=true;
- loadData2(gaData[gnLoad].sPPath+gaData[gnLoad].sDPath+gaData[gnLoad].sFile);
- }
- else{
- if(gnItems!=0)
- {
- markBegin();
- writeFakeItems();
- gsSKA="";
- gnNeeded=gnVisible;
- gnIns=0;
- checkReady();
- }
- }
-}
-
-function getH6ById(nPos)
-{
- if(document.all)
- return document.all("fk"+nPos);
- else if(document.getElementsByName)
- return document.getElementsByName("fk"+nPos);
- return null;
-}
-
-function showItemsInEvaluation(nBP)
-{
- var bRtn=true;
- var fPer=nBP/gnItems;
- var nB=Math.floor(fPer*gnMaxItems);
- var oCData=getChunkByIdx(gnRef,nB);
- if(oCData)
- {
- if(!oCData.aKs&&oCData.sFileName!=null)
- {
- gnNKI=nB;
- goCData=oCData;
- oCData.nProjId=gnRef;
- gbLoadInfo=false;
- beginLoading();
- loadData2(gaData[gnRef].sPPath+gaData[gnRef].sDPath+oCData.sFileName);
- }
- else{
- gsSKA=getKByIdx(oCData,nB);
- if(gsSKA)
- {
- gsSKB=null;
- gbNeedCalc=true;
- gbScrl=true;
- checkReady()
- }
- else
- {
- markEnd();
- bRtn=false;
- }
- }
- }
- else
- {
- markEnd();
- bRtn=false;
- }
- return bRtn;
-}
-
-function isUsed(oCData,nPos)
-{
- var oUsed=oCData.oUsedItems;
- while(oUsed&&oUsed.nB<=nPos)
- {
- if(oUsed.nE>=nPos) return true;
- oUsed=oUsed.oN;
- }
- return false;
-}
-
-function getKByIdx(oCData,nB)
-{
- var nRelPos=nB-(oCData.nTotal-oCData.nNum);
- var aIKs=oCData.aKs;
- if(nRelPos>=0&&aIKs&&nRelPos<aIKs.length)
- {
- var oK=null;
- do{
- oK=aIKs[nRelPos++];
- }
- while((oK.nType==3||isUsed(oCData,nRelPos-1))&&nRelPos<aIKs.length);
- if(oK.nType!=3)
- {
- return oK.sName;
- }
- else{
- nRelPos=nB-(oCData.nTotal-oCData.nNum)-1;
- if(nRelPos>=0)
- {
- do{
- oK=aIKs[nRelPos--];
- }
- while((oK.nType==3||isUsed(oCData,nRelPos+1))&&nRelPos>=0);
- }
- if(oK.nType!=3)
- {
- return oK.sName;
- }
- }
- }
- return null;
-}
-
-function loadData2(sFileName)
-{
- disEvt();
- if(gbXML)
- loadDataXML(sFileName);
- else
- loadData(sFileName);
- enEvt();
-}
-
-function projReady(aChunk)
-{
- gaChunks[gnLoad++]=aChunk;
- var len=aChunk.length;
- var nTotal=0;
- if(len>0)
- nTotal=aChunk[len-1].nTotal;
- gnItems+=nTotal;
- if(nTotal>gnMaxItems)
- {
- gnMaxItems=nTotal;
- gnRef=gnLoad-1;
- }
- setTimeout("writeDataIFrame();",1);
-}
-
-function writeFakeItems()
-{
- disEvt();
- gnUHeight=15;
- var sHTML=getFakeItemsHTMLbyCount(0,gnItems);
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
- var obj=getH6ById(0);
- if (document.body != null)
- {
- gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);
- }
- gaFakes[0]=new fakeItemsArea(0,gnItems,"",getEndString(),obj);
- enEvt();
-}
-
-function getEndString()
-{
- var sBC=getBiggestChar();
- return sBC+sBC+sBC+sBC+sBC+sBC+sBC+sBC;
-}
-
-function getUnitIdx(nScrl,nHeight)
-{
- if(gaFakes.length==0)
- {
- markEnd();
- return;
- }
- var nB=0;
- var nE=gaFakes.length-1;
- var nM=-1;
- var nTop=0;
- var nBtm=0;
- var bF=false;
- do{
- nM=(nB+nE)>>1;
- nBtm=gaFakes[nM].getBtm();
- nTop=gaFakes[nM].getTop();
-
- if(nTop>=nScrl+nHeight)
- nE=nM-1;
- else if(nBtm<nScrl)
- nB=nM+1;
- else{
- bF=true;
- break;
- }
- }while(nE>=nB);
- if(bF)
- {
- if(nTop>=nScrl){
- gsSKA=gaFakes[nM].sKA;
- gsSKB=null;
- gnNeeded=Math.ceil((nHeight-nTop+nScrl)/gnUHeight);
- gnIns=gaFakes[nM].nB;
- checkReady();
- }
- else if(nBtm<=nScrl+nHeight){
- gsSKB=gaFakes[nM].sKB;
- gsSKA=null;
- gnNeeded=Math.ceil((nBtm-nScrl+gnScrlMgn)/gnUHeight);
- gbNeedCalc=true;
- checkReady();
- }
- else{
- gnNeeded=gnVisible;
- var nUnitIdx=gaFakes[nM].nB+Math.floor((nScrl-nTop)/gnUHeight);
- if (!showItemsInEvaluation(nUnitIdx))
- {
- gsSKA=gaFakes[nM].sKA;
- gsSKB=null;
- gnNeeded=Math.ceil(nHeight/gnUHeight);
- gnIns=gaFakes[nM].nB;
- checkReady();
- }
- }
- }
- else
- markEnd();
-}
-
-function disEvt()
-{
- window.onscroll=null;
- window.onresize=null;
-}
-
-function enEvt()
-{
- window.onscroll=window_OnScroll;
- window.onresize=window_OnResize;
-}
-
-function insertIdxKs(nIns,oHTML,bScrl)
-{
- var bRtn=true;
- disEvt();
- var nCount=oHTML.nConsumed;
- var nB=0;
- var nE=gaFakes.length-1;
- var nM=-1;
- var bF=false;
- do{
- nM=(nB+nE)>>1;
- if(gaFakes[nM].nB>nIns)
- nE=nM-1;
- else if(gaFakes[nM].nB+gaFakes[nM].nNum<=nIns)
- nB=nM+1;
- else{
- bF=true;
- break;
- }
- }while(nE>=nB);
- if(bF)
- {
- var oFIA=gaFakes[nM];
- var nOffsetTop=oFIA.getTop();
- var nOffsetBottom=oFIA.getBtm();
- var nDelta=0;
- var nHDiff=nIns-oFIA.nB;
- var nTDiff=oFIA.nNum+oFIA.nB-(nIns+nCount);
- if(nHDiff>0)
- {
- nDelta=oFIA.setNum(nHDiff);
- var sOldKBefore=oFIA.sKB;
- oFIA.sKB=oHTML.sFK;
- if(nTDiff>0)
- {
- var sHTML=getFakeItemsHTMLbyCount(nIns,nTDiff);
- oFIA.insertAdjacentHTML("afterEnd",sHTML);
- var obj=getH6ById(nIns);
- insertItemIntoArray(gaFakes,nM+1,new fakeItemsArea(nIns+nCount,nTDiff,oHTML.sLK,sOldKBefore,obj));
- }
- oFIA.insertAdjacentHTML("afterEnd",oHTML.sHTML);
- if(bScrl)
- {
- if(gbMac&&gbIE4)
- {
- var nScrollPos=nOffsetBottom-nDelta;
- while(document.body.scrollTop!=nScrollPos)
- document.body.scrollTop=nScrollPos;
- }
- else
- window.scrollTo(0,nOffsetBottom-nDelta);
- }
- }
- else{
- oFIA.insertAdjacentHTML("beforeBegin",oHTML.sHTML);
- if(bScrl){
- if(gbMac&&gbIE4)
- {
- var nScrollPos=nOffsetTop;
- while(document.body.scrollTop!=nScrollPos)
- document.body.scrollTop=nScrollPos;
- }
- else
- window.scrollTo(0,nOffsetTop);
- }
-
- if(nTDiff>0)
- {
- oFIA.nB=nIns+nCount;
- nDelta=oFIA.setNum(nTDiff);
- oFIA.sKA=oHTML.sLK;
- }
- else{
- gaFakes[nM].setNum(0);
- removeItemFromArray(gaFakes,nM);
- }
- }
- }
- else
- bRtn=false;
- enEvt();
- return bRtn;
-}
-
-function window_OnScroll()
-{
- gnSE++;
- setTimeout("procScroll();",50);
-}
-
-function procScroll()
-{
- if(gnSE==1&&!gbProcess)
- {
- markBegin();
- getUnitIdx(document.body.scrollTop,document.body.clientHeight);
- }
- gnSE--;
-}
-
-function window_OnResize()
-{
- gnRE++;
- setTimeout("procResize();",50);
-}
-
-function procResize()
-{
- if(gnRE==1&&!gbProcess)
- {
- markBegin();
- gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);
- if(gnIns==-1)
- getUnitIdx(document.body.scrollTop,document.body.clientHeight);
- }
- gnRE--;
-}
-
-function getChunkByIdx(nIdx,nPosition)
-{
- var oCData=null;
- if(nIdx<gaChunks.length)
- {
- var len=gaChunks[nIdx].length;
- if(len>0)
- {
- var nB=0;
- var nE=len-1;
- var bF=false;
- do{
- var nM=(nB+nE)>>1;
- if(nPosition<gaChunks[nIdx][nM].nTotal)
- {
- bF=true;
- nE=nM;
- }
- else
- nB=nM+1;
- }while(nE>nB);
- if(bF)
- oCData=gaChunks[nIdx][nE];
- else if(nPosition<gaChunks[nIdx][nB].nTotal)
- oCData=gaChunks[nIdx][nB];
- }
- }
- return oCData;
-}
-
-function getChunkedData(nIdx,bDown,sK)
-{
- var oCData=null;
- var nCandId=-1;
- if(nIdx<gaChunks.length)
- {
- var len=gaChunks[nIdx].length;
- if(len>0)
- {
- var nB=0;
- var nE=len-1;
- var bF=false;
- do{
- var nM=(nB+nE+(bDown?0:1))>>1;
- if(bDown)
- {
- if(compare(sK,gaChunks[nIdx][nM].sEK)<0)
- {
- bF=true;
- nE=nM;
- }
- else
- nB=nM+1;
- }
- else
- {
- if(compare(sK,gaChunks[nIdx][nM].sBK)>0)
- {
- bF=true;
- nB=nM;
- }
- else
- nE=nM-1;
- }
- }while(nE>nB);
- if(bF)
- {
- if(bDown)
- nCandId=nE;
- else
- nCandId=nB;
- }
- else
- {
- if(bDown)
- {
- if(gaChunks[nIdx].length>nB&&compare(sK,gaChunks[nIdx][nB].sEK)<0)
- nCandId=nB;
- else
- nCandId=gaChunks[nIdx].length-1;
- }
- else
- {
- if(0<=nE&&compare(sK,gaChunks[nIdx][nE].sBK)>0)
- nCandId=nE;
- else
- nCandId=0;
- }
- }
- return gaChunks[nIdx][nCandId];
- }
- }
- return null;
-}
-
-function findCK()
-{
- if(gsCK!=null)
- {
- gsSKA=gsCK;
- gbFindCK=true;
- gnNeeded=1;
- markBegin();
- checkReady();
- }
-}
-
-function writeLoadingDiv(nIIdx)
-{
- return "<div id=\""+gsLoadingDivID+"\" style=\"position:absolute;top:0;left:0;z-index:600;visibility:hidden;padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";
-}
-
-var gbWhHost=true;
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Index content</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<base target="bsscright">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whlang.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whhost.js"></script>
-<script language="javascript1.2" src="whihost.js"></script>
-<script language="javascript1.2">
-<!--
-var goPopup = null;
-var gbPopupMenuTimeoutExpired=false;
-var gBsClientWidth=640;
-var gBsClientHeight=480;
-var g_bIsPopupMenuInit=false;
-
-function WritePopupMenuLayer()
-{
- if (!g_bIsPopupMenuInit)
- {
- document.write("<DIV ID='PopupMenu' STYLE='position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;'></DIV>");
- document.write("<STYLE TYPE='text/css'>");
- if (gbMac && gbIE4) {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:10pt; text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:10pt; text-decoration:none;}");
- } else {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:8pt; text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");
- }
- document.write("</STYLE>");
- }
- g_bIsPopupMenuInit = true;
-}
-
-function PopupMenu_Invoke()
-{
- if (gbNav6)
- resetHighLight();
-
- if (!gbNav6 && document.readyState != "complete")
- return false;
- var fn_arguments = PopupMenu_Invoke.arguments;
- // Make sure we have reasonable arguments
- var argLen = fn_arguments.length;
- if (argLen < 3) {
- return false;
- }
-
- // Check to see if we only have one target
- var strTarget = "";
-
- strTarget = "TARGET='" + fn_arguments[1] + "'";
-
- if (argLen < 5) {
- // Get the place that we will be putting the topic into
- var strURL = fn_arguments[3];
-
- if (fn_arguments[1] != null && typeof(fn_arguments[1]) != "undefined")
- window.open(strURL, fn_arguments[1]);
- else
- window.open(strURL);
-
- return false;
- }
-
- var strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';
- if (gbMac && gbIE4) {
- strMenu += ' CELLPADDING=4';
- } else {
- strMenu += ' CELLPADDING=2';
- }
- strMenu += ' BGCOLOR=#c0c0c0>';
-
- // Add each of the items
- if (gbIE55)
- {
- var i = 2;
- while (i <= argLen - 1) {
- strMenu += '<TR><TD><NOBR>'
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A ';
- strMenu += ' onclick="parent.PopupMenu_2HandleClick(\'' + excapeSingleQuotandSlash(fn_arguments[i + 1]) + '\', \'' + fn_arguments[1] + '\');"';
- strMenu += ' onmouseover="parent.PopupMenu_Over(event);"';
- strMenu += ' onmouseout="parent.PopupMenu_Out(event);"';
- strMenu += '>';
- strMenu += '<SPAN CLASS="PopupNotOver">' + fn_arguments[i] + '</SPAN>';
- strMenu += '</A></DIV></NOBR></TD></TR>';
- i += 2;
- }
- }
- else
- {
- var i = 2;
- while (i <= argLen - 1) {
- strMenu += '<TR><TD><NOBR>'
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + fn_arguments[i + 1] + '" ' + strTarget;
- strMenu += ' onclick="PopupMenu_HandleClick(event);"';
- strMenu += ' onmouseover="PopupMenu_Over(event);"';
- strMenu += ' onmouseout="PopupMenu_Out(event);"';
- strMenu += '>';
- strMenu += '<SPAN CLASS="PopupNotOver">' + excapeSingleQuotandSlash(fn_arguments[i]) + '</SPAN>';
- strMenu += '</A></DIV></NOBR></TD></TR>';
- i += 2;
- }
- }
- strMenu += "</TABLE>";
-
- if (gbMac && gbIE4) {
- // ie5 in mac need something. </TABLE> is one of them.
- strMenu +="<TABLE></TABLE>";
- }
-
- var layerPopup = null;
- var stylePopup = null;
- var nEventX = 0;
- var nEventY = 0;
- var nWindowWidth = 0;
- if (gbIE4||gbOpera7)
- {
- layerPopup = document.all["PopupMenu"];
- layerPopup.innerHTML = strMenu;
- stylePopup = layerPopup.style;
-
- _BSPSGetClientSize();
-
- // Get the position of the item causing the event (relative to its parent)
- nEventX = window.event.clientX;
- nEventY = window.event.clientY;
-
- if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) {
- nEventY += document.body.scrollTop + 10;
- } else {
- nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20;
- }
- stylePopup.top = nEventY;
-
- if (nEventX + layerPopup.scrollWidth + 20 > gBsClientWidth) {
- if (gBsClientWidth - layerPopup.scrollWidth < 5) {
- stylePopup.left = 5;
- } else {
- stylePopup.left = gBsClientWidth - layerPopup.scrollWidth - 5;
- }
- } else {
- stylePopup.left = nEventX + document.body.scrollLeft + 20;
- }
-
- if (gbIE55) {
- var nPosX = window.event.clientX;
- var nPosY = window.event.clientY;
- if (window.event.srcElement)
- {
- nPosX = window.event.srcElement.offsetLeft + window.event.srcElement.offsetWidth - document.body.scrollLeft;
- nPosY = window.event.srcElement.offsetTop + window.event.srcElement.offsetHeight - document.body.scrollTop;
- }
- goPopup = window.createPopup();
- var oPopupBody = goPopup.document.body;
- goPopup.document.createStyleSheet();
- goPopup.document.styleSheets[0].addRule(".PopupOver", "{font-family:\"Arial\"; cursor: hand;color:white; background:navy; font-size:8pt; text-decoration:none;}");
- goPopup.document.styleSheets[0].addRule(".PopupNotOver", "{font-family:\"Arial\"; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");
- oPopupBody.insertAdjacentHTML("afterBegin", strMenu);
- goPopup.show(nPosX, nPosY, layerPopup.scrollWidth, layerPopup.scrollHeight, document.body);
- }
- else
- {
- stylePopup.visibility = "visible";
- document.onclick = PopupMenu_HandleClick;
- }
- } else if (gbNav6) {
- layerPopup = document.getElementById("PopupMenu");
- layerPopup.style.visibility = "hidden";
-
- var e = fn_arguments[0];
- nEventX = e.pageX;
- nEventY = e.pageY;
- _BSPSGetClientSize();
- layerPopup.innerHTML = strMenu;
-
- if (nEventY + layerPopup.offsetHeight + 20 < window.pageYOffset + gBsClientHeight) {
- nEventY += 20;
- } else {
- nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20;
- }
-
- if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) {
- if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) {
- nEventX = 5;
- } else {
- nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20;
- }
- } else {
- nEventX += 20;
- }
- layerPopup.style.top = nEventY;
- layerPopup.style.left = nEventX;
-
- // set again to avoid the frash in netscape 6.
- layerPopup.innerHTML = strMenu;
- layerPopup.style.visibility = "visible";
- window.onclick = PopupMenu_HandleClick;
- }
-
- window.gbPopupMenuTimeoutExpired = false;
- setTimeout("PopupMenu_Timeout();", 100);
- return false;
-}
-
-function PopupMenu_Timeout()
-{
- window.gbPopupMenuTimeoutExpired = true;
-}
-
-function PopupMenu_Over(e)
-{
- if (gbIE4||gbOpera7)
- e.srcElement.className = "PopupOver";
- else if (gbNav6)
- e.target.parentNode.className = "PopupOver";
-}
-
-function PopupMenu_Out(e)
-{
- if (gbIE4||gbOpera7)
- e.srcElement.className = "PopupNotOver";
- else if (gbNav6)
- e.target.parentNode.className = "PopupNotOver";
-}
-
-function PopupMenu_2HandleClick(surl, starget)
-{
- window.open(surl, starget);
- goPopup.hide();
-}
-
-function PopupMenu_HandleClick(e)
-{
- if (!window.gbPopupMenuTimeoutExpired) {
- return;
- }
-
- var layerPopup = getElement("PopupMenu");
- layerPopup.style.visibility = "hidden";
-
- return;
-}
-
-//Get client size info
-function _BSPSGetClientSize()
-{
- gBsClientWidth = document.body.clientWidth;
- gBsClientHeight = document.body.clientHeight;
-}
-
-if (window.gbWhIHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Empty", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- IndexWriteClassStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">
-<script languageE="JavaScript">
-<!--
-WritePopupMenuLayer();
-//-->
-</script>
-</body>
-</html>
-
+++ /dev/null
-<html>
-<head>
-<title>Index</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2">
-<!--
-var gbIndexLayerInit = false;
-if (window.gbWhProxy&&window.gbWhMsg&&window.gbWhVer)
-{
- var strWrite;
- if (gbMac)
- strWrite="<FRAMESET ROWS='45,100%' framespacing=0 frameborder=1>";
- else
- strWrite="<FRAMESET ROWS='60,100%' framespacing=0 frameborder=1>";
- strWrite +="<FRAME SRC='whiform.htm' title='index form frame' name='idxform' noresize='yes' scrolling='no'>";
- strWrite +="<FRAME SRC='whibody.htm' title='index content frame' name='idxbody' scrolling='yes'>";
- strWrite +="</FRAMESET>";
- document.write(strWrite);
-}
-else
- document.location.reload();
-//-->
-</script>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Index form</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<style>
-<!--
-body {margin:0;}
--->
-</style>
-<body bgcolor="#c0c0c0">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whform.js"></script>
-<script language="javascript1.2">
-<!--
-function indexLookup(bCR)
-{
- var strInput = document.IndexInputForm.keywordField.value.toUpperCase();
- if (strInput != "") {
- var oParam = new Object();
- oParam.sInput = strInput;
- oParam.bCR = bCR;
- var oMessage = new whMessage(WH_MSG_SEARCHINDEXKEY, this, 1, oParam);
- SendMessage(oMessage);
- }
- if (gbMac) {
- document.IndexInputForm.keywordField.focus();
- }
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWTOC);
- UnRegisterListener2(this, WH_MSG_SHOWIDX);
- UnRegisterListener2(this, WH_MSG_SHOWFTS);
- UnRegisterListener2(this, WH_MSG_SHOWGLO);
-}
-
-function onSendMessage(oMessage)
-{
- if (oMessage.nMessageId == WH_MSG_SHOWIDX)
- {
- document.IndexInputForm.keywordField.focus();
- }
- else if (oMessage.nMessageId == WH_MSG_SHOWFTS ||
- oMessage.nMessageId == WH_MSG_SHOWTOC ||
- oMessage.nMessageId == WH_MSG_SHOWGLO)
- {
- document.IndexInputForm.keywordField.blur();
- }
- return true;
-}
-
-if (window.gbWhForm)
-{
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- window.onunload=window_Unload;
- window.onload = init;
- gfunLookUp = indexLookup;
- gfunInit = null;
- gstrFormName = "IndexInputForm"
- gsTitle = "Type in the keyword to find:";
- gsTitle = "Type in the keyword to find:";
-
-
-
-
-
-
-
- setGoText("Go");
- setFont("Title", "Arial","9pt","#000000","normal","normal","none");
-
-
- document.write(getFormHTML());
- writeFormStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.002
-var gsDefaultTarget="bsscright";
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goIdxFont=null;
-var goIdxEmptyFont=null;
-var goIdxHoverFont=null;
-var gsIdxMargin="0pt";
-var gsIdxIndent="8pt";
-var gsIdxActiveBgColor="#cccccc";
-var gsCK = null;
-var gsBCK = null;
-var gbCR = false;
-var gbBCR = false;
-var gbWhIHost=true;
-
-function myEvent()
-{
- this.pageX = 0;
- this.pageY = 0;
-}
-var _event=new myEvent();
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal")
- goIdxFont=vFont;
- else if(sType=="Empty")
- goIdxEmptyFont=vFont;
- else if(sType=="Hover")
- goIdxHoverFont=vFont;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsIdxActiveBgColor=sBgColor;
-}
-
-function setMargin(sMargin)
-{
- gsIdxMargin=sMargin;
-}
-
-function setIndent(sIndent)
-{
- gsIdxIndent=sIndent;
-}
-
-function writeOneItem(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)
-{
- var sHTML="";
- var nIdxSet=aCurIdxSet[0];
- var nIIdx=aPos[nIdxSet];
- var sKOriName=getItemName(aDataCon,nIdxSet,nIIdx);
- var sKName=_textToHtml(sKOriName);
-
- var nIdxIndent=parseInt(gsIdxIndent);
- var sTopics="";
- if(nLevel==1){
- if(getItemType(aDataCon,nIdxSet,nIIdx)==1)
- {
- sHTML+="<H6><nobr>";
- sHTML+="<b>"+sKName+"</b></nobr></H6>";
- }
- else{
- for(var i=0;i<nLength;i++)
- sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- sHTML+="<p style=\"margin-left:"+gsIdxIndent+"\"><nobr>";
- sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";
- if(sTopics.length>0)
- sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></p>";
- else
- sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></p>";
- }
- }
- else if(nLevel>=2){
- var nIndent=nIdxIndent*nLevel;
- for(var i=0;i<nLength;i++)
- sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- if (nLevel==2)
- sHTML+="<h6 class=\"firstsub\" style=\"margin-left:"+nIndent+"pt\"><nobr>";
- else
- sHTML+="<h6 style=\"margin-left:"+nIndent+"pt\"><nobr>";
- sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";
- if(sTopics.length>0)
- sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></h6>";
- else
- sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></h6>";
- }
- oHTML.addHTML(sHTML,nLength,bDown,(nLevel==1),sKOriName);
-}
-
-function getTargetName(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- if(aDataCon[nIdxSet].aKs[nIIdx].sTarget)
- return aDataCon[nIdxSet].aKs[nIIdx].sTarget;
- return gsDefaultTarget;
-}
-
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)
-{
- var oLocalHTML=new indexHTMLPart();
- writeOneItem(oLocalHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel);
-
- var aLocalPos=new Array();
- var aMaxPos=new Array();
- for(var i=0;i<aPos.length;i++)
- {
- aLocalPos[i]=aPos[i];
- aMaxPos[i]=-1;
- }
-
- for(i=0;i<nLength;i++)
- {
- var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aLocalPos[aCurIdxSet[i]]);
- aLocalPos[aCurIdxSet[i]]++;
- if(nNKOff>0)
- aMaxPos[aCurIdxSet[i]]=aLocalPos[aCurIdxSet[i]]+nNKOff;
- }
- var oSubHTML=new indexHTMLPart();
- writeItems(oSubHTML,aDataCon,aLocalPos,null,aMaxPos,true,nLevel+1);
- oLocalHTML.addSubHTML(oSubHTML,true);
- oHTML.appendHTML(oLocalHTML,bDown);
-}
-
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)
-{
- if(bDown)
- {
- for(var i=0;i<nLength;i++)
- {
- var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- aPos[aCurIdxSet[i]]+=(1+nNKOff);
- }
- }
- else{
- for(var i=0;i<nLength;i++)
- {
- var nPKOff=getPKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- aPos[aCurIdxSet[i]]-=(1+nPKOff);
- }
- }
-}
-
-function getItemName(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].sName;
- else
- return null;
-}
-
-function getItemType(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].nType;
- else
- return 0;
-}
-
-function getNKOff(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].nNKOff;
- else
- return null;
-}
-
-function getPKOff(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].nPKOff;
- else
- return null;
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());
- loadIdx();
- var oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)
- SendMessage(oMsg);
-}
-
-function loadIdx()
-{
- if(!gbReady)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbReady=true;
- var oProj=oResMsg.oParam;
- var aProj=oProj.aProj;
- gbXML=oProj.bXML;
- if(aProj.length>0)
- {
- var sLangId=aProj[0].sLangId;
- for(var i=0;i<aProj.length;i++)
- {
- if(aProj[i].sIdx&&aProj[i].sLangId==sLangId)
- {
- addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sIdx);
- }
- }
- }
- writeDataIFrame();
- enEvt();
- }
- }
-}
-
-function getIdxTopics(aDataCon,nIdxSet,nIIdx)
-{
- var sTopics="";
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- {
- if(aDataCon[nIdxSet].aKs[nIIdx].aTopics)
- {
- var nLen=aDataCon[nIdxSet].aKs[nIIdx].aTopics.length;
- var nProj=aDataCon[nIdxSet].nProjId;
- var sPath=gaData[nProj].sPPath;
- for(var i=0;i<nLen;i++)
- {
- var sURL=aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sURL;
- var sFullPath=_getFullPath(sPath,sURL);
- sTopics+=",'"+excapeSingleQuotandSlash(_textToHtml(aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sName))+"','"+excapeSingleQuotandSlash(_textToHtml_nonbsp(sFullPath))+"'";
- }
- }
- }
- return sTopics;
-}
-
-function findCKInDom()
-{
- if(gsCK!=null)
- {
- var sK=gsCK;
- var oP=getElementsByTag(document,"P");
- if(!oP) return false;
- var len=oP.length;
- var nB=0;
- var nE=len-1;
- var nM=0;
- var sItem="";
- var bF=false;
- while(nB<nE){
- nM=(nB+nE+1)>>1;
- sItem=getInnerText(oP[nM]);
-
- if(compare(sItem,sK)==0)
- {
- bF=true;
- break;
- }
- else if(compare(sItem,sK)>0)
- nE=nM-1;
- else if(compare(sItem,sK)<0)
- nB=nM;
- }
- if(!bF)
- {
- if(nB==nE) nM=nB;
-
- if(nM+1<len)
- {
- sItem=getInnerText(oP[nM+1]);
- if(compare(sItem,sK)<=0) nM++;
- }
- if(nM+1<len)
- {
- sItem=getInnerText(oP[nM+1]);
- if(compare(sItem.substring(0,sK.length),sK)==0) nM++;
- }
- }
-
- var oMatch=oP[nM];
- if(oMatch)
- {
- window.scrollTo(0,oMatch.offsetTop);
- var tempColl=getElementsByTag(oMatch,"A");
- if(tempColl&&tempColl.length>0){
- var nbTag=getElementsByTag(oMatch,"NOBR");
- if(nbTag&&nbTag.length>0)
- HighLightElement(nbTag[0], gsIdxActiveBgColor, "transparent");
- if (gbCR)
- {
- if (gbIE4)
- tempColl(0).click();
- else
- {
- var strCommand = tempColl[0].getAttribute("onClick");
- var nstrCommand = strCommand.indexOf(";");
- strCommand = strCommand.substring(0, nstrCommand);
- strCommand = strCommand.replace("event", "_event");
- window._event.pageX = oMatch.offsetLeft ;
- window._event.pageY = oMatch.offsetTop + 20;
- window.setTimeout(strCommand, 100);
- }
- }
- }
- }
- gsCK=gsBCK;
- gbCR=gbBCR;
- if(gsBCK!=null)
- {
- gsBCK=null;
- gbBCR=false;
- findCK();
- return false;
- }
-
- }
- return true;
-}
-
-function clearHighLight()
-{
- resetHighLight(gsBgColor);
-}
-
-function IndexWriteClassStyle()
-{
- var sStyle="";
- sStyle+="<STYLE TYPE='text/css'>";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- if(gbIE4&&gbMac&&!gbIE5)
- {
- var nMargin=parseInt(gsIdxMargin);
- nMargin-=10;
- sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="H6.firstsub {"+getFontStyle(goIdxFont)+"margin-top:"+nMargin+"pt;margin-bottom:"+gsIdxMargin+";}\n";
- }
- else
- {
- sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- }
- sStyle+="DIV {margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="A:link {"+getFontStyle(goIdxFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goIdxFont)+"}\n";
- sStyle+="A:active {background-color:"+gsIdxActiveBgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goIdxHoverFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
- return;
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this,WH_MSG_SEARCHINDEXKEY);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SEARCHINDEXKEY)
- {
- if(oMsg.oParam && oMsg.oParam.sInput)
- {
- if(gsCK==null)
- {
- gsCK=oMsg.oParam.sInput;
- gbCR = oMsg.oParam.bCR;
- findCK();
- }
- else
- {
- gsBCK=oMsg.oParam.sInput;
- gbBCR = oMsg.oParam.bCR;
- }
- }
- }
- else if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadIdx();
- }
- }
- return true;
-}
-
-if(window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhHost&&window.gbWhProxy)
-{
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- RegisterListener2(this,WH_MSG_SEARCHINDEXKEY);
- goIdxFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goIdxEmptyFont=new whFont("Verdana","8pt","#666666","normal","normal","none");
- goIdxHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
-
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_Unload;
- gbWhIHost=true;
-}
-else
- document.location.reload();
-
+++ /dev/null
-// WebHelp 5.10.001
-var garrSortChar=new Array();
-var gaFtsStop=new Array();
-var gaFtsStem=new Array();
-var gbWhLang=false;
-
-garrSortChar[0] = 0;
-garrSortChar[1] = 1;
-garrSortChar[2] = 2;
-garrSortChar[3] = 3;
-garrSortChar[4] = 4;
-garrSortChar[5] = 5;
-garrSortChar[6] = 6;
-garrSortChar[7] = 7;
-garrSortChar[8] = 8;
-garrSortChar[9] = 40;
-garrSortChar[10] = 41;
-garrSortChar[11] = 42;
-garrSortChar[12] = 43;
-garrSortChar[13] = 44;
-garrSortChar[14] = 9;
-garrSortChar[15] = 10;
-garrSortChar[16] = 11;
-garrSortChar[17] = 12;
-garrSortChar[18] = 13;
-garrSortChar[19] = 14;
-garrSortChar[20] = 15;
-garrSortChar[21] = 16;
-garrSortChar[22] = 17;
-garrSortChar[23] = 18;
-garrSortChar[24] = 19;
-garrSortChar[25] = 20;
-garrSortChar[26] = 21;
-garrSortChar[27] = 22;
-garrSortChar[28] = 23;
-garrSortChar[29] = 24;
-garrSortChar[30] = 25;
-garrSortChar[31] = 26;
-garrSortChar[32] = 38;
-garrSortChar[33] = 45;
-garrSortChar[34] = 46;
-garrSortChar[35] = 47;
-garrSortChar[36] = 48;
-garrSortChar[37] = 49;
-garrSortChar[38] = 50;
-garrSortChar[39] = 33;
-garrSortChar[40] = 51;
-garrSortChar[41] = 52;
-garrSortChar[42] = 53;
-garrSortChar[43] = 88;
-garrSortChar[44] = 54;
-garrSortChar[45] = 34;
-garrSortChar[46] = 55;
-garrSortChar[47] = 56;
-garrSortChar[48] = 115;
-garrSortChar[49] = 119;
-garrSortChar[50] = 121;
-garrSortChar[51] = 123;
-garrSortChar[52] = 125;
-garrSortChar[53] = 126;
-garrSortChar[54] = 127;
-garrSortChar[55] = 128;
-garrSortChar[56] = 129;
-garrSortChar[57] = 130;
-garrSortChar[58] = 57;
-garrSortChar[59] = 58;
-garrSortChar[60] = 89;
-garrSortChar[61] = 90;
-garrSortChar[62] = 91;
-garrSortChar[63] = 59;
-garrSortChar[64] = 60;
-garrSortChar[65] = 131;
-garrSortChar[66] = 148;
-garrSortChar[67] = 150;
-garrSortChar[68] = 154;
-garrSortChar[69] = 158;
-garrSortChar[70] = 168;
-garrSortChar[71] = 171;
-garrSortChar[72] = 173;
-garrSortChar[73] = 175;
-garrSortChar[74] = 185;
-garrSortChar[75] = 187;
-garrSortChar[76] = 189;
-garrSortChar[77] = 191;
-garrSortChar[78] = 193;
-garrSortChar[79] = 197;
-garrSortChar[80] = 214;
-garrSortChar[81] = 216;
-garrSortChar[82] = 218;
-garrSortChar[83] = 220;
-garrSortChar[84] = 225;
-garrSortChar[85] = 230;
-garrSortChar[86] = 240;
-garrSortChar[87] = 242;
-garrSortChar[88] = 244;
-garrSortChar[89] = 246;
-garrSortChar[90] = 252;
-garrSortChar[91] = 61;
-garrSortChar[92] = 62;
-garrSortChar[93] = 63;
-garrSortChar[94] = 64;
-garrSortChar[95] = 66;
-garrSortChar[96] = 67;
-garrSortChar[97] = 131;
-garrSortChar[98] = 148;
-garrSortChar[99] = 150;
-garrSortChar[100] = 154;
-garrSortChar[101] = 158;
-garrSortChar[102] = 168;
-garrSortChar[103] = 171;
-garrSortChar[104] = 173;
-garrSortChar[105] = 175;
-garrSortChar[106] = 185;
-garrSortChar[107] = 187;
-garrSortChar[108] = 189;
-garrSortChar[109] = 191;
-garrSortChar[110] = 193;
-garrSortChar[111] = 197;
-garrSortChar[112] = 214;
-garrSortChar[113] = 216;
-garrSortChar[114] = 218;
-garrSortChar[115] = 220;
-garrSortChar[116] = 225;
-garrSortChar[117] = 230;
-garrSortChar[118] = 240;
-garrSortChar[119] = 242;
-garrSortChar[120] = 244;
-garrSortChar[121] = 246;
-garrSortChar[122] = 252;
-garrSortChar[123] = 68;
-garrSortChar[124] = 69;
-garrSortChar[125] = 70;
-garrSortChar[126] = 71;
-garrSortChar[127] = 27;
-garrSortChar[128] = 114;
-garrSortChar[129] = 28;
-garrSortChar[130] = 82;
-garrSortChar[131] = 170;
-garrSortChar[132] = 85;
-garrSortChar[133] = 112;
-garrSortChar[134] = 109;
-garrSortChar[135] = 110;
-garrSortChar[136] = 65;
-garrSortChar[137] = 113;
-garrSortChar[138] = 223;
-garrSortChar[139] = 86;
-garrSortChar[140] = 213;
-garrSortChar[141] = 29;
-garrSortChar[142] = 255;
-garrSortChar[143] = 30;
-garrSortChar[144] = 31;
-garrSortChar[145] = 80;
-garrSortChar[146] = 81;
-garrSortChar[147] = 83;
-garrSortChar[148] = 84;
-garrSortChar[149] = 111;
-garrSortChar[150] = 36;
-garrSortChar[151] = 37;
-garrSortChar[152] = 79;
-garrSortChar[153] = 229;
-garrSortChar[154] = 222;
-garrSortChar[155] = 87;
-garrSortChar[156] = 212;
-garrSortChar[157] = 32;
-garrSortChar[158] = 254;
-garrSortChar[159] = 251;
-garrSortChar[160] = 39;
-garrSortChar[161] = 72;
-garrSortChar[162] = 97;
-garrSortChar[163] = 98;
-garrSortChar[164] = 99;
-garrSortChar[165] = 100;
-garrSortChar[166] = 73;
-garrSortChar[167] = 101;
-garrSortChar[168] = 74;
-garrSortChar[169] = 102;
-garrSortChar[170] = 133;
-garrSortChar[171] = 93;
-garrSortChar[172] = 103;
-garrSortChar[173] = 35;
-garrSortChar[174] = 104;
-garrSortChar[175] = 75;
-garrSortChar[176] = 105;
-garrSortChar[177] = 92;
-garrSortChar[178] = 122;
-garrSortChar[179] = 124;
-garrSortChar[180] = 76;
-garrSortChar[181] = 106;
-garrSortChar[182] = 107;
-garrSortChar[183] = 108;
-garrSortChar[184] = 77;
-garrSortChar[185] = 120;
-garrSortChar[186] = 199;
-garrSortChar[187] = 94;
-garrSortChar[188] = 116;
-garrSortChar[189] = 117;
-garrSortChar[190] = 118;
-garrSortChar[191] = 78;
-garrSortChar[192] = 131;
-garrSortChar[193] = 131;
-garrSortChar[194] = 131;
-garrSortChar[195] = 131;
-garrSortChar[196] = 131;
-garrSortChar[197] = 131;
-garrSortChar[198] = 131;
-garrSortChar[199] = 150;
-garrSortChar[200] = 158;
-garrSortChar[201] = 158;
-garrSortChar[202] = 158;
-garrSortChar[203] = 158;
-garrSortChar[204] = 175;
-garrSortChar[205] = 175;
-garrSortChar[206] = 175;
-garrSortChar[207] = 175;
-garrSortChar[208] = 154;
-garrSortChar[209] = 193;
-garrSortChar[210] = 197;
-garrSortChar[211] = 197;
-garrSortChar[212] = 197;
-garrSortChar[213] = 197;
-garrSortChar[214] = 197;
-garrSortChar[215] = 95;
-garrSortChar[216] = 197;
-garrSortChar[217] = 230;
-garrSortChar[218] = 230;
-garrSortChar[219] = 230;
-garrSortChar[220] = 230;
-garrSortChar[221] = 246;
-garrSortChar[222] = 227;
-garrSortChar[223] = 224;
-garrSortChar[224] = 131;
-garrSortChar[225] = 131;
-garrSortChar[226] = 131;
-garrSortChar[227] = 131;
-garrSortChar[228] = 131;
-garrSortChar[229] = 131;
-garrSortChar[230] = 131;
-garrSortChar[231] = 150;
-garrSortChar[232] = 158;
-garrSortChar[233] = 158;
-garrSortChar[234] = 158;
-garrSortChar[235] = 158;
-garrSortChar[236] = 175;
-garrSortChar[237] = 175;
-garrSortChar[238] = 175;
-garrSortChar[239] = 175;
-garrSortChar[240] = 154;
-garrSortChar[241] = 193;
-garrSortChar[242] = 197;
-garrSortChar[243] = 197;
-garrSortChar[244] = 197;
-garrSortChar[245] = 197;
-garrSortChar[246] = 197;
-garrSortChar[247] = 96;
-garrSortChar[248] = 197;
-garrSortChar[249] = 230;
-garrSortChar[250] = 230;
-garrSortChar[251] = 230;
-garrSortChar[252] = 230;
-garrSortChar[253] = 246;
-garrSortChar[254] = 227;
-garrSortChar[255] = 250;
-
-gaFtsStop[0] = "a";
-gaFtsStop[1] = "about";
-gaFtsStop[2] = "after";
-gaFtsStop[3] = "against";
-gaFtsStop[4] = "all";
-gaFtsStop[5] = "also";
-gaFtsStop[6] = "among";
-gaFtsStop[7] = "an";
-gaFtsStop[8] = "and";
-gaFtsStop[9] = "are";
-gaFtsStop[10] = "as";
-gaFtsStop[11] = "at";
-gaFtsStop[12] = "be";
-gaFtsStop[13] = "became";
-gaFtsStop[14] = "because";
-gaFtsStop[15] = "been";
-gaFtsStop[16] = "between";
-gaFtsStop[17] = "but";
-gaFtsStop[18] = "by";
-gaFtsStop[19] = "can";
-gaFtsStop[20] = "come";
-gaFtsStop[21] = "do";
-gaFtsStop[22] = "during";
-gaFtsStop[23] = "each";
-gaFtsStop[24] = "early";
-gaFtsStop[25] = "for";
-gaFtsStop[26] = "form";
-gaFtsStop[27] = "found";
-gaFtsStop[28] = "from";
-gaFtsStop[29] = "had";
-gaFtsStop[30] = "has";
-gaFtsStop[31] = "have";
-gaFtsStop[32] = "he";
-gaFtsStop[33] = "her";
-gaFtsStop[34] = "his";
-gaFtsStop[35] = "however";
-gaFtsStop[36] = "in";
-gaFtsStop[37] = "include";
-gaFtsStop[38] = "into";
-gaFtsStop[39] = "is";
-gaFtsStop[40] = "it";
-gaFtsStop[41] = "its";
-gaFtsStop[42] = "late";
-gaFtsStop[43] = "later";
-gaFtsStop[44] = "made";
-gaFtsStop[45] = "many";
-gaFtsStop[46] = "may";
-gaFtsStop[47] = "me";
-gaFtsStop[48] = "med";
-gaFtsStop[49] = "more";
-gaFtsStop[50] = "most";
-gaFtsStop[51] = "near";
-gaFtsStop[52] = "no";
-gaFtsStop[53] = "non";
-gaFtsStop[54] = "not";
-gaFtsStop[55] = "of";
-gaFtsStop[56] = "on";
-gaFtsStop[57] = "only";
-gaFtsStop[58] = "or";
-gaFtsStop[59] = "other";
-gaFtsStop[60] = "over";
-gaFtsStop[61] = "several";
-gaFtsStop[62] = "she";
-gaFtsStop[63] = "some";
-gaFtsStop[64] = "such";
-gaFtsStop[65] = "than";
-gaFtsStop[66] = "that";
-gaFtsStop[67] = "the";
-gaFtsStop[68] = "their";
-gaFtsStop[69] = "then";
-gaFtsStop[70] = "there";
-gaFtsStop[71] = "these";
-gaFtsStop[72] = "they";
-gaFtsStop[73] = "this";
-gaFtsStop[74] = "through";
-gaFtsStop[75] = "to";
-gaFtsStop[76] = "under";
-gaFtsStop[77] = "until";
-gaFtsStop[78] = "use";
-gaFtsStop[79] = "was";
-gaFtsStop[80] = "we";
-gaFtsStop[81] = "were";
-gaFtsStop[82] = "when";
-gaFtsStop[83] = "where";
-gaFtsStop[84] = "which";
-gaFtsStop[85] = "who";
-gaFtsStop[86] = "with";
-gaFtsStop[87] = "you";
-
-gaFtsStem[0] = "ed";
-gaFtsStem[1] = "es";
-gaFtsStem[2] = "er";
-gaFtsStem[3] = "e";
-gaFtsStem[4] = "s";
-gaFtsStem[5] = "ingly";
-gaFtsStem[6] = "ing";
-gaFtsStem[7] = "ly";
-
-
-// as javascript 1.3 support unicode instead of ISO-Latin-1
-// need to transfer come code back to ISO-Latin-1 for compare purpose
-// Note: Different Language(Code page) maybe need different array:
-var gaUToC=new Array();
-gaUToC[8364]=128;
-gaUToC[8218]=130;
-gaUToC[402]=131;
-gaUToC[8222]=132;
-gaUToC[8230]=133;
-gaUToC[8224]=134;
-gaUToC[8225]=135;
-gaUToC[710]=136;
-gaUToC[8240]=137;
-gaUToC[352]=138;
-gaUToC[8249]=139;
-gaUToC[338]=140;
-gaUToC[381]=142;
-gaUToC[8216]=145;
-gaUToC[8217]=146;
-gaUToC[8220]=147;
-gaUToC[8221]=148;
-gaUToC[8226]=149;
-gaUToC[8211]=150;
-gaUToC[8212]=151;
-gaUToC[732]=152;
-gaUToC[8482]=153;
-gaUToC[353]=154;
-gaUToC[8250]=155;
-gaUToC[339]=156;
-gaUToC[382]=158;
-gaUToC[376]=159;
-
-var gsBiggestChar="";
-function getBiggestChar()
-{
- if(gsBiggestChar.length==0)
- {
- if(garrSortChar.length<256)
- gsBiggestChar=String.fromCharCode(255);
- else
- {
- var nBiggest=0;
- var nBigChar=0;
- for(var i=0;i<=255;i++)
- {
- if(garrSortChar[i]>nBiggest)
- {
- nBiggest=garrSortChar[i];
- nBigChar=i;
- }
- }
- gsBiggestChar=String.fromCharCode(nBigChar);
- }
-
- }
- return gsBiggestChar;
-}
-
-function getCharCode(str,i)
-{
- var code=str.charCodeAt(i)
- if(code>256)
- {
- code=gaUToC[code];
- }
- return code;
-}
-
-function compare(strText1,strText2)
-{
- if(garrSortChar.length<256)
- {
- var strt1=strText1.toLowerCase();
- var strt2=strText2.toLowerCase();
- if(strt1<strt2) return -1;
- if(strt1>strt2) return 1;
- return 0;
- }
- else
- {
- for(var i=0;i<strText1.length&&i<strText2.length;i++)
- {
- if(garrSortChar[getCharCode(strText1,i)]<garrSortChar[getCharCode(strText2,i)]) return -1;
- if(garrSortChar[getCharCode(strText1,i)]>garrSortChar[getCharCode(strText2,i)]) return 1;
- }
- if(strText1.length<strText2.length) return -1;
- if(strText1.length>strText2.length) return 1;
- return 0;
- }
-}
-gbWhLang=true;
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.002
-if (! window.gbIE4 && window.gbNav6 && !document.childNodes[0].insertAdjacentHTML){
-
-HTMLElement.prototype.insertAdjacentElement = function(where,parsedNode)
-{
- switch (where){
- case 'beforeBegin':
- this.parentNode.insertBefore(parsedNode,this);
- break;
- case 'afterBegin':
- this.insertBefore(parsedNode,this.firstChild);
- break;
- case 'beforeEnd':
- this.appendChild(parsedNode);
- break;
- case 'afterEnd':
- if (this.nextSibling){
- this.parentNode.insertBefore(parsedNode,this.nextSibling);
- } else {
- this.parentNode.appendChild(parsedNode);
- }
- break;
- }
-}
-
-HTMLElement.prototype.insertAdjacentHTML = function(where,htmlStr){
-
- var r = this.ownerDocument.createRange();
- r.setStartBefore(this);
- var parsedHTML = r.createContextualFragment(htmlStr);
- this.insertAdjacentElement(where,parsedHTML);
-}
-
-
-HTMLElement.prototype.insertAdjacentText = function(where,txtStr){
-
- var parsedText = document.createTextNode(txtStr);
- this.insertAdjacentElement(where,parsedText);
-}
-}
-
-function testScroll() {
- // Initialize scrollbar cache if necessary
- if (window._pageXOffset==null) {
- window._pageXOffset = window.pageXOffset;
- window._pageYOffset = window.pageYOffset;
- }
- // Expose Internet Explorer compatible object model
- document.scrollTop = window.pageYOffset;
- document.scrollLeft = window.pageXOffset;
- window.document.scrollHeight = document.height;
- window.document.scrollWidth = document.width;
- window.document.clientWidth = window.innerWidth;
- window.document.clientHeight = window.innerHeight;
-
- // If cache!=current values, call the onscroll event
- if (((window.pageXOffset!=window._pageXOffset) || (window.pageYOffset!=window._pageYOffset)) && (window.onscroll))
- window.onscroll();
- // Cache new values
- window._pageXOffset = window.pageXOffset;
- window._pageYOffset = window.pageYOffset;
- }
-
-// Create compatibility layer for Netscape
-if (window.gbNav6 && !window.gbNav7) {
- setInterval("testScroll()",50)
-}
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.002
-var WH_MSG_RESIZEPANE =0x0100;
-var WH_MSG_SHOWPANE =0x0101;
-var WH_MSG_HIDEPANE =0x0102;
-var WH_MSG_SYNCTOC =0x0103;
-var WH_MSG_NEXT =0x0104;
-var WH_MSG_PREV =0x0105;
-var WH_MSG_NOSEARCHINPUT =0x0106;
-var WH_MSG_NOSYNC =0x0107;
-var WH_MSG_ENABLEWEBSEARCH =0x0108;
-
-var WH_MSG_ISPANEVISIBLE =0x0109;
-var WH_MSG_PANESTATUE =0x010a;
-
-var WH_MSG_SYNCINFO =0x010b;
-var WH_MSG_PANEINFO =0x010c;
-var WH_MSG_WEBSEARCH =0x010d;
-
-var WH_MSG_SEARCHINDEXKEY =0x0201;
-
-var WH_MSG_SEARCHFTSKEY =0x020a;
-
-var WH_MSG_PROJECTREADY =0x0301;
-var WH_MSG_GETPROJINFO =0x0302;
-
-var WH_MSG_SHOWTOC =0x0401;
-var WH_MSG_SHOWIDX =0x0402;
-var WH_MSG_SHOWFTS =0x0403;
-var WH_MSG_SHOWGLO =0x0404;
-
-var WH_MSG_SHOWGLODEF =0x0500;
-
-var WH_MSG_GETTOCPATHS =0x0600;
-var WH_MSG_GETAVIAVENUES =0x0601;
-var WH_MSG_GETCURRENTAVENUE =0x0602;
-var WH_MSG_GETPANEINFO =0x0603;
-var WH_MSG_AVENUEINFO =0x0604;
-
-var WH_MSG_GETSTARTFRAME =0x0701;
-var WH_MSG_GETDEFAULTTOPIC =0x0702;
-
-var WH_MSG_SEARCHTHIS =0x0801;
-var WH_MSG_GETSEARCHS =0x0802;
-
-var WH_MSG_ISINFRAMESET =0x0900;
-
-var WH_MSG_TOOLBARORDER =0x0a00;
-var WH_MSG_MINIBARORDER =0x0a01;
-var WH_MSG_ISSYNCSSUPPORT =0x0a02;
-var WH_MSG_ISSEARCHSUPPORT =0x0a03;
-var WH_MSG_GETPANETYPE =0x0a04;
-var WH_MSG_BACKUPSEARCH =0x0a05;
-var WH_MSG_GETPANES =0x0a06;
-var WH_MSG_INITSEARCHSTRING =0x0a07;
-var WH_MSG_RELOADNS6 =0x0a08;
-var WH_MSG_ISAVENUESUPPORT =0x0a09;
-
-var WH_MSG_GETCMD =0x0b00;
-var WH_MSG_GETPANE =0x0b01;
-var WH_MSG_GETDEFPANE =0x0b02;
-
-function whMessage(nMessageId,wSender,nVersion,oParam)
-{
- this.nMessageId=nMessageId;
- this.wSender=wSender;
- this.nVersion=nVersion;
- this.oParam=oParam;
-}
-var gbWhMsg=true;
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whstub.js"></script>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whstart.js"></script>
-<script language="javascript1.2">
-<!--
-function window_Onload()
-{
- if (window.gsTopic)
- frames["bsscright"].document.location = window.gsTopic;
-}
-window.onload=window_Onload;
-//-->
-</script>
-</head>
-
-<frameset id="whPfset" cols="260,*"><noframes><p>Your browser does not support frames. We recommend that you update your browser to a version that supports frames.</p><p>To view the Help system without frames click on this<a href="whgdata/whnvp30.htm">hyperlink.</a></p></noframes><frame src="whgdata/whnvp30.htm" title="navigation pane" name="navigation pane" scrolling="no"><frame src="files/introduction.htm" title="topic pane" name="bsscright" scrolling="yes"></frameset>
-</html>
+++ /dev/null
-// WebHelp 5.10.005
-var gaProj=new Array();
-var gnChecked=0;
-var gsProjName="";
-var gbReady=false;
-var goMan=null;
-var gbXML=false;
-var gsFirstPane="";
-var gServerEnabled=false;
-var gsPath="";
-var gbWhPHost=false;
-var goDiv = null;
-var gsHTML = "";
-
-if (navigator.currentNavPen)
- gsFirstPane = navigator.currentNavPen;
-
-
-function delayLoad()
-{
- if (goDiv&&gsHTML)
- {
- goDiv.innerHTML=gsHTML;
- goDiv=null;
- gsHTML="";
- }
-}
-
-function whCom(sName,sComFile)
-{
- this.msName=sName;
- this.msDivId=sName+"Div";
- this.msIFrameId=sName+"IFrame";
- this.msComFile=sComFile;
- this.mbloaded=false;
- this.mbShow=false;
- this.show=function(bShow)
- {
- if(this.mbShow!=bShow)
- {
- if(bShow&&!this.mbloaded)
- {
- this.load();
- }
-
- var oDiv=getElement(this.msDivId);
- if(oDiv)
- {
- if(gbIE55||(gbIE5&&gbMac))
- {
- var oIframe=getElement(this.msIFrameId);
- if(oIframe)
- {
- if(bShow)
- {
- oDiv.style.zIndex=3;
- if(oIframe!=null)
- {
- oIframe.style.zIndex=3;
- if (!gbIE55)
- oIframe.style.visibility="visible";
- }
- }
- else
- {
- oDiv.style.zIndex=2;
- if(oIframe!=null)
- {
- oIframe.style.zIndex=2;
- if (!gbIE55)
- oIframe.style.visibility="hidden";
- }
- }
- }
- }
- if (!gbIE55)
- oDiv.style.visibility=(bShow==true)?'visible':'hidden';
- this.mbShow=bShow;
- }
-
- }
- }
- this.load=function()
- {
- if(!this.mbloaded)
- {
- if(this.msComFile.length>0){
- var strFile= _getFullPath(getPath(), this.msComFile);
- var oDiv=getElement(this.msDivId);
- if(oDiv){
- if(gbIE4||gbOpera7){
- var nIFrameHeight=oDiv.style.pixelHeight;
- var nIFrameWidth=oDiv.style.pixelWidth;
- var sHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";
- if(gbMac){
- sHTML+=nIFrameWidth+"px;height:"+nIFrameHeight+"px;\"></IFRAME>";
- }else{
- sHTML+="100%; height:100%;\"></IFRAME>";
- }
- oDiv.innerHTML=sHTML;
- }else if(gbNav6){
- gsHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:100%;border:0;height:100%;\"></IFRAME>";
- goDiv = oDiv;
- setTimeout("delayLoad()", 100);
- }
- this.mbloaded=true;
- }
- }
- }
- }
- this.unload=function()
- {
- var oDiv=getElement(this.msDivId);
- if(oDiv)
- oDiv.innerHTML="";
- }
- this.getDivHTML=function()
- {
- var sHTML="";
- if(gbMac&&gbIE4)
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;margin:0;padding:0;border:0;\">";
- else if(gbIE5)
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;\">";
- else if(gbIE4||gbWindows)
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;visibility:hidden\">";
- else
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;visibility:hidden\">";
- sHTML+="</DIV>";
- return sHTML;
- }
-}
-
-function whComMan()
-{
- this.sName="";
- this.maCom=new Array();
- this.addCom=function(sName,sComFile)
- {
- var owhCom=new whCom(sName,sComFile);
- this.maCom[this.maCom.length]=owhCom;
- }
- this.init=function()
- {
- var sHTML="";
- for(var i=0;i<this.maCom.length;i++)
- {
- sHTML+=this.maCom[i].getDivHTML();
- }
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
-
- }
- this.showById=function(nId)
- {
- for(var s=0;s<this.maCom.length;s++)
- {
- if(s!==nId)
- this.maCom[s].show(false);
- }
- this.maCom[nId].show(true);
- }
- this.show=function(sName)
- {
- navigator.currentNavPen = sName;
- var bFound=false;
- for(var i=0;i<this.maCom.length;i++)
- {
- if(sName==this.maCom[i].msName)
- {
- bFound=true;
- break;
- }
- }
- if(bFound)
- {
- this.showById(i);
- this.sName=sName;
- }
- }
- this.unload=function()
- {
- for(var i=0;i<this.maCom.length;i++)
- {
- this.maCom[i].unload();
- }
- }
- this.getCurrent=function()
- {
- return this.sName;
- }
-}
-
-function getPath()
-{
- if(gsPath=="")
- {
- gsPath=location.href;
- gsPath=_replaceSlash(gsPath);
- var nPosFile=gsPath.lastIndexOf("/");
- gsPath=gsPath.substring(0,nPosFile+1);
- }
- return gsPath;
-}
-
-goMan=new whComMan();
-function addPane(sName,sFileName)
-{
- var oParam=new Object();
- oParam.sName=sName;
- var oMsg=new whMessage(WH_MSG_GETPANE, this, 1, oParam);
- if (SendMessage(oMsg))
- {
- if (oMsg.oParam.bEnable)
- goMan.addCom(sName,sFileName);
- }
- else
- goMan.addCom(sName,sFileName);
-}
-
-function setShowPane(sName, bForce)
-{
- if ((gsFirstPane == "") || bForce)
- {
- var oMsg=new whMessage(WH_MSG_GETDEFPANE, this, 1, null);
- if (SendMessage(oMsg))
- {
- if (oMsg.oParam)
- gsFirstPane = oMsg.oParam;
- else
- gsFirstPane=sName;
- }
- else
- gsFirstPane=sName;
- }
-}
-
-function window_OnLoad()
-{
- var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);
- var bHidePane=false;
- if (SendMessage(oMsg))
- {
- if(oMsg.oParam>0)
- {
- if(oMsg.oParam==1)
- gsFirstPane="toc";
- else if(oMsg.oParam==2)
- gsFirstPane="idx";
- else if(oMsg.oParam==3)
- gsFirstPane="fts";
- else if(oMsg.oParam==4)
- gsFirstPane="glo";
- }
- else if(oMsg.oParam==0)
- {
- bHidePane=true;
- }
- }
- goMan.init();
- if(gsProjName!="")
- loadData2(gsProjName);
- if (bHidePane)
- {
- gsFirstPane="";
- var oMsg1=new whMessage(WH_MSG_HIDEPANE, this, 1, null)
- SendMessage(oMsg1);
- }
- else
- {
- if(gsFirstPane!="")
- goMan.show(gsFirstPane);
- else
- goMan.showById(0);
- }
-}
-
-function setServerEnabled()
-{
- gServerEnabled = true;
-}
-
-function loadData2(strFile)
-{
- if(gbXML)
- loadDataXML(strFile);
- else
- loadData(strFile);
-}
-
-function addProject(bPreferXML,sXMLName,sHTMLName)
-{
- var bLoadXML=bPreferXML;
- if(!gbIE4&&!gbNav6&&!gbOpera7)
- return;
- if(gbIE4&&!gbIE5)
- bLoadXML=false;
- if (gbIE5&&!gbMac)
- bLoadXML=true;
- if(gbIE55||gbNav6)
- bLoadXML=true;
- if(gbOpera7)
- bLoadXML=false;
- if(bLoadXML)
- addProjectXML(sXMLName);
- else
- addProjectHTML(sHTMLName);
-}
-
-function addProjectHTML(sName)
-{
- gbXML=false;
- gsProjName=sName;
-}
-
-function addProjectXML(sName)
-{
- gbXML=true;
- gsProjName=sName;
-}
-
-function window_MyBunload()
-{
- goMan.unload();
- window_BUnload();
-}
-
-function putDataXML(xmlDoc,sdocPath)
-{
- if(xmlDoc!=null)
- {
- var projectNode=xmlDoc.getElementsByTagName("project")[0];
- if(projectNode)
- {
- var aRProj=new Array();
- aRProj[0]=new Object();
- aRProj[0].sPPath=_getPath(sdocPath);
- var sLangId=projectNode.getAttribute("langid");
- if(sLangId)
- {
- aRProj[0].sLangId=sLangId;
- }
- var sDPath=projectNode.getAttribute("datapath");
- if(sDPath)
- {
- if(sDPath.lastIndexOf("/")!=sDPath.length-1)
- sDPath+="/";
- aRProj[0].sDPath=sDPath;
- }
- else
- aRProj[0].sDPath="";
- aRProj[0].sToc=projectNode.getAttribute("toc");
- aRProj[0].sIdx=projectNode.getAttribute("index");
- aRProj[0].sFts=projectNode.getAttribute("fts");
- aRProj[0].sGlo=projectNode.getAttribute("glossary");
- var RmtProject=projectNode.getElementsByTagName("remote");
- var nCount=1;
- for (var i=0;i<RmtProject.length;i++)
- {
- var sURL=RmtProject[i].getAttribute("url");
- if(sURL)
- {
- if(sURL.lastIndexOf("/")!=sURL.length-1)
- sURL+="/";
- aRProj[nCount]=new Object();
- aRProj[nCount++].sPPath=_getFullPath(aRProj[0].sPPath,sURL);
- }
- }
- putProjectInfo(aRProj);
- }
- else
- {
- // on Netscape 6.0 under some situation the xml file cannot be loaded.
- // so we use pure html instead.
- if (gnChecked == 0)
- setTimeout("redirectToList();",100);
- else
- {
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
- }
- }
- }
-}
-
-function onLoadXMLError()
-{
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
-}
-
-function redirectToList()
-{
- if(gbReDirectThis)
- document.location=gsNavReDirect;
- else
- parent.document.location=gsNavReDirect;
-}
-
-function putProjectInfo(aRProj)
-{
- if(gnChecked==0||isSamePath(gaProj[gnChecked].sPPath,aRProj[0].sPPath))
- {
- if(gnChecked!=0)
- {
- if(aRProj[0].sLangId!=gaProj[0].sLangId)
- alert("The merged Help system "+aRProj[0].sPPath+" is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system.");
- }
- gaProj[gnChecked]=aRProj[0];
- for(var i=1;i<aRProj.length;i++)
- {
- var bFound=false;
- for(var j=0;j<gaProj.length;j++)
- {
- if(isSamePath(gaProj[j].sPPath,aRProj[i].sPPath))
- {
- bFound=true;
- break;
- }
- }
- if(!bFound)
- {
- gaProj[gaProj.length]=aRProj[i];
- }
- }
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
- }
- else
- alert("Could not load correctly, please click Refresh.");
-}
-
-function isSamePath(sPath1,sPath2)
-{
- return (sPath1.toLowerCase()==sPath2.toLowerCase());
-}
-
-function checkRemoteProject()
-{
- if(gaProj.length!=gnChecked)
- {
- setTimeout("cancelProj("+gnChecked+");",10000);
- loadData2(gaProj[gnChecked].sPPath+gsProjName);
- }
- else{
- var oMsg=new whMessage(WH_MSG_PROJECTREADY,this,1,null);
- gbReady=true;
- SendMessage(oMsg);
- }
-}
-
-function cancelProj(i)
-{
- if(i==gnChecked)
- {
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
- }
-}
-
-function window_resize()
-{
- for(var i=0;i<goMan.maCom.length;i++)
- {
- var oFrame=getElement(goMan.maCom[i].msIFrameId);
- if(oFrame)
- {
- oFrame.style.height=document.body.clientHeight;
- oFrame.style.width=document.body.clientWidth;
- }
- }
- window_resize2();
-}
-
-function window_resize2()
-{
- if(document.body)
- {
- if(document.body.clientWidth > 1 && document.body.clientHeight>1)
- {
- var oMsg = new whMessage(WH_MSG_RESIZEPANE, this, 1, null);
- SendMessage(oMsg);
- }
- }
-}
-
-function window_unload()
-{
- UnRegisterListener2(this,WH_MSG_GETPROJINFO);
- UnRegisterListener2(this,WH_MSG_SHOWTOC);
- UnRegisterListener2(this,WH_MSG_SHOWIDX);
- UnRegisterListener2(this,WH_MSG_SHOWFTS);
- UnRegisterListener2(this,WH_MSG_SHOWGLO);
- UnRegisterListener2(this,WH_MSG_GETPANEINFO);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_GETPROJINFO)
- {
- if(gbReady)
- {
- var oProj=new Object();
- oProj.aProj=gaProj;
- oProj.bXML=gbXML;
- oMsg.oParam=oProj;
- }
- else
- return false;
- }
- else if(nMsgId==WH_MSG_SHOWTOC)
- {
- if(goMan)
- goMan.show("toc");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "toc");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_SHOWIDX)
- {
- if(goMan)
- goMan.show("idx");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "idx");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_SHOWFTS)
- {
- if(goMan)
- goMan.show("fts");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_SHOWGLO)
- {
- if(goMan)
- goMan.show("glo");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "glo");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_GETPANEINFO)
- {
- oMsg.oParam=goMan.getCurrent();
- return false;
- }
- }
- return true;
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- RegisterListener2(this,WH_MSG_GETPROJINFO);
- RegisterListener2(this,WH_MSG_SHOWTOC);
- RegisterListener2(this,WH_MSG_SHOWIDX);
- RegisterListener2(this,WH_MSG_SHOWFTS);
- RegisterListener2(this,WH_MSG_SHOWGLO);
- RegisterListener2(this,WH_MSG_GETPANEINFO);
-
- if((gbMac&&gbIE4)||(gbSunOS&&gbIE5)||gbOpera7)
- {
- window.onresize=window_resize;
- }
- else if(gbIE4)
- {
- window.onresize=window_resize2;
- }
- window.onload=window_OnLoad;
- window.onbeforeunload=window_MyBunload;
- window.onunload=window_unload;
- gbWhPHost=true;
-}
-else
- document.location.reload();
-
+++ /dev/null
-<html>
-<head>
-<title>project description</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whproj.js"></script>
-<script language="javascript1.2">
-<!--
- setLangId("1033");
- setDataPath("whdata");
- addToc("whtoc.htm");
-
- addFts("whfts.htm");
- addGlo("whglo.htm");
-
-//-->
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.001
-var gaProj=new Array();
-
-gaProj[0]=new project("");
-
-function setLangId(sLangId)
-{
- gaProj[0].sLangId=sLangId;
-}
-
-function setDataPath(sPath)
-{
- if(sPath.length!=0)
- {
- if(sPath.lastIndexOf("/")!=sPath.length-1)
- sPath+="/";
- gaProj[0].sDPath=sPath;
- }
- else
- gaProj[0].sDPath="";
-}
-
-function addToc(sFile)
-{
- gaProj[0].sToc=sFile;
-}
-
-function addIdx(sFile)
-{
- gaProj[0].sIdx=sFile;
-}
-
-function addFts(sFile)
-{
- gaProj[0].sFts=sFile;
-}
-
-function addGlo(sFile)
-{
- gaProj[0].sGlo=sFile;
-}
-
-function addRemoteProject(sProjRelPath)
-{
- if(sProjRelPath.lastIndexOf("/")!=sProjRelPath.length-1)
- sProjRelPath+="/";
- gaProj[gaProj.length]=new project(sProjRelPath);
-}
-
-function project(sPPath)
-{
- this.sPPath=sPPath;
- this.sLangId="";
- this.sDPath="";
- this.sToc="";
- this.sIdx="";
- this.sFts="";
- this.sGlo="";
-}
-
-window.onload=window_OnLoad;
-
-function window_OnLoad()
-{
- gsName=document.location.href;
- gsName=_replaceSlash(gsName);
- var nPos=gsName.lastIndexOf("/");
- if(nPos!=-1)
- gaProj[0].sPPath=gsName.substring(0,nPos+1);
- else
- alert("Error in Loading navigation component. Please regenerate WebHelp.");
- patchPath(gaProj);
- if(parent&&parent!=this&& typeof(parent.putProjectInfo)=="function")
- {
- parent.putProjectInfo(gaProj);
- }
-}
-
-function patchPath(aProj)
-{
- for(var i=1;i<aProj.length;i++)
- {
- aProj[i].sPPath=_getFullPath(gaProj[0].sPPath,aProj[i].sPPath);
- }
-}
\ No newline at end of file
+++ /dev/null
-<?xml version='1.0' encoding='windows-1252' ?>
-<project langid="1033" datapath="whxdata" toc="whtoc.xml" fts="whfts.xml" glossary="whglo.xml" >
-</project>
+++ /dev/null
-// WebHelp 5.10.001
-var gbInited=false;
-var gWndStubPage=null;
-function getStubPage()
-{
- if(!gbInited)
- {
- gWndStubPage=getStubPage_inter(window);
- gbInited=true;
- }
- return gWndStubPage;
-}
-
-function getStubPage_inter(wCurrent)
-{
- if(null==wCurrent.parent||wCurrent.parent==wCurrent)
- return null;
-
- if(typeof(wCurrent.parent.whname)=="string"&&"wh_stub"==wCurrent.parent.whname)
- return wCurrent.parent;
- else
- if(wCurrent.parent.frames.length!=0&&wCurrent.parent!=wCurrent)
- return getStubPage_inter(wCurrent.parent);
- else
- return null;
-}
-
-function RegisterListener(framename,nMessageId)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this)
- return wSP.RegisterListener(framename,nMessageId);
- else
- return false;
-}
-
-function RegisterListener2(oframe,nMessageId)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this)
- return wSP.RegisterListener2(oframe,nMessageId);
- else
- return false;
-}
-
-function UnRegisterListener2(oframe,nMessageId)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this&&wSP.UnRegisterListener2)
- return wSP.UnRegisterListener2(oframe,nMessageId);
- else
- return false;
-}
-
-function SendMessage(oMessage)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this&&wSP.SendMessage)
- return wSP.SendMessage(oMessage);
- else
- return false;
-}
-
-var gbWhProxy=true;
-
-var gbPreview=false;
-gbPreview=false;
-if (gbPreview)
- document.oncontextmenu=contextMenu;
-
-function contextMenu()
-{
- return false;
-}
+++ /dev/null
-<?xml version='1.0' encoding='windows-1252' ?>
-<resource>
-<item name="Prev" value="<<" />
-<item name="Hide" value="Hide" />
-<item name="SyncTocTooltip" value="Sync TOC" />
-<item name="InTopicSearchBtnText" value="Go" />
-<item name="FtsInputPrompt" value="Type in the word(s) to search for:" />
-<item name="Done" value="Done" />
-<item name="Logo/Author" value="Powered By" />
-<item name="MergeError1" value="The merged Help system" />
-<item name="JS_alert_cantLoadProject" value="Can't load project:" />
-<item name="Next" value=">>" />
-<item name="SyncToc" value="SyncToc" />
-<item name="MergeError2" value="is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system." />
-<item name="nls_body_instruction" value="Enter your question in the text box above, then click GO." />
-<item name="ToolBarSearchBtnText" value="Go" />
-<item name="SuggestViewNoFrameMessage" value="To view the Help system without frames click on this" />
-<item name="Hide_Navigation_Component" value="Hide Navigation Component" />
-<item name="FtsBtnText" value="Go" />
-<item name="TopicsFound" value="Topics Found" />
-<item name="LoadingContentsData" value="Loading, click here to cancel..." />
-<item name="Definition" value="Definition:" />
-<item name="CompletingContents" value="Completing Contents..." />
-<item name="Seperate" value="|" />
-<item name="GeneratedBy" value="Generated by" />
-<item name="PoweredBy" value="Powered by" />
-<item name="IndexAlphabetBookmarks" value="ABCDEFGHIJKLMNOPQRSTUVWXYZ" />
-<item name="Contents" value="Contents" />
-<item name="IndexSelectTopicLabel" value="Select a topic, then click Display" />
-<item name="Disabled Prev" value="<<" />
-<item name="Glossary" value="Glossary" />
-<item name="Search" value="Search" />
-<item name="CantSearch" value="Cannot search for that phrase." />
-<item name="LoadingIndex" value="Loading Index..." />
-<item name="LoadingData" value="Loading data, please wait..." />
-<item name="Show_Navigation_Component" value="Show Navigation Component" />
-<item name="Book" value="Book" />
-<item name="Disabled Next" value=">>" />
-<item name="nls_body_empty" value="Sorry, we were unable to find a good answer for your question." />
-<item name="nls_button_go_hint" value="Go Search" />
-<item name="Find" value="Find" />
-<item name="CantOpenURLorFile" value="Can't open URL or file" />
-<item name="Print" value="Print" />
-<item name="About" value="About" />
-<item name="Author" value="Author" />
-<item name="IndexSelectTopicTitle" value="Select a Topic" />
-<item name="Blank_topic_text" value="This topic was created by WinHelp Project Conversion Wizard, and is the destination of a missing topic or broken hyperlink." />
-<item name="BrowserLimitedMessage" value="Your browser does not support frames. We recommend that you update your browser to a version that supports frames." />
-<item name="LoadingTOCItem" value="Loading Table of Contents:" />
-<item name="Display" value="Display" />
-<item name="Cancel" value="Cancel" />
-<item name="IndexSelectTopicError" value="Please select a topic." />
-<item name="nls_edit_label" value="Type in your question:" />
-<item name="SearchLabel" value="Search" />
-<item name="RelateTopicListPrompt" value="Click a topic, then click Display." />
-<item name="NextTooltip" value="Next Topic" />
-<item name="JS_alert_colorlimitation" value="WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors." />
-<item name="TopicsNotFound" value="No Topics Found." />
-<item name="Show" value="Show" />
-<item name="PreTooltip" value="Previous Topic" />
-<item name="SearchPrompt" value="- Search -" />
-<item name="IndexBtnText" value="Go" />
-<item name="JS_alert_ProjectLoadingFail" value="Could not load correctly, please click Refresh." />
-<item name="LoadingContents" value="Loading contents, please wait..." />
-<item name="Term" value="Term:" />
-<item name="WebSearchButton" value="WebSearch" />
-<item name="Remote_Page" value="Remote Page" />
-<item name="WebSearch" value="WebSearch" />
-<item name="LoadingFTS" value="Reading Search Data..." />
-<item name="Index" value="Index" />
-<item name="JS_alert_ErrorInLoading" value="Error in Loading navigation component. Please regenerate WebHelp." />
-<item name="JS_alert_appletNotLoad" value="Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited." />
-<item name="IndexInputPrompt" value="Type in the keyword to find:" />
-<item name="Page" value="Page" />
-<item name="SuggestViewNoFrameMsg2" value="hyperlink." />
-<item name="nls_button_go_text" value="Go" />
-<item name="Searching" value="Searching..." />
-
- <item name="English" value="" />
- <item name="langorder" value="0,1,2,3,4,5,6,7,8,40,41,42,43,44,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,38,45,46,47,48,49,50,33,51,52,53,88,54,34,55,56,115,119,121,123,125,126,127,128,129,130,57,58,89,90,91,59,60,131,148,150,154,158,168,171,173,175,185,187,189,191,193,197,214,216,218,220,225,230,240,242,244,246,252,61,62,63,64,66,67,131,148,150,154,158,168,171,173,175,185,187,189,191,193,197,214,216,218,220,225,230,240,242,244,246,252,68,69,70,71,27,114,28,82,170,85,112,109,110,65,113,223,86,213,29,255,30,31,80,81,83,84,111,36,37,79,229,222,87,212,32,254,251,39,72,97,98,99,100,73,101,74,102,133,93,103,35,104,75,105,92,122,124,76,106,107,108,77,120,199,94,116,117,118,78,131,131,131,131,131,131,131,150,158,158,158,158,175,175,175,175,154,193,197,197,197,197,197,95,197,230,230,230,230,246,227,224,131,131,131,131,131,131,131,150,158,158,158,158,175,175,175,175,154,193,197,197,197,197,197,96,197,230,230,230,230,246,227,250," />
-
- <panes show="0">
- <toc />
- <fts />
- <glossary />
- </panes>
-
- <stopwords>
- <word name="a" />
- <word name="about" />
- <word name="after" />
- <word name="against" />
- <word name="all" />
- <word name="also" />
- <word name="among" />
- <word name="an" />
- <word name="and" />
- <word name="are" />
- <word name="as" />
- <word name="at" />
- <word name="be" />
- <word name="became" />
- <word name="because" />
- <word name="been" />
- <word name="between" />
- <word name="but" />
- <word name="by" />
- <word name="can" />
- <word name="come" />
- <word name="do" />
- <word name="during" />
- <word name="each" />
- <word name="early" />
- <word name="for" />
- <word name="form" />
- <word name="found" />
- <word name="from" />
- <word name="had" />
- <word name="has" />
- <word name="have" />
- <word name="he" />
- <word name="her" />
- <word name="his" />
- <word name="however" />
- <word name="in" />
- <word name="include" />
- <word name="into" />
- <word name="is" />
- <word name="it" />
- <word name="its" />
- <word name="late" />
- <word name="later" />
- <word name="made" />
- <word name="many" />
- <word name="may" />
- <word name="me" />
- <word name="med" />
- <word name="more" />
- <word name="most" />
- <word name="near" />
- <word name="no" />
- <word name="non" />
- <word name="not" />
- <word name="of" />
- <word name="on" />
- <word name="only" />
- <word name="or" />
- <word name="other" />
- <word name="over" />
- <word name="several" />
- <word name="she" />
- <word name="some" />
- <word name="such" />
- <word name="than" />
- <word name="that" />
- <word name="the" />
- <word name="their" />
- <word name="then" />
- <word name="there" />
- <word name="these" />
- <word name="they" />
- <word name="this" />
- <word name="through" />
- <word name="to" />
- <word name="under" />
- <word name="until" />
- <word name="use" />
- <word name="was" />
- <word name="we" />
- <word name="were" />
- <word name="when" />
- <word name="where" />
- <word name="which" />
- <word name="who" />
- <word name="with" />
- <word name="you" />
- </stopwords>
-
- <stems>
- <stem name="ed" />
- <stem name="es" />
- <stem name="er" />
- <stem name="e" />
- <stem name="s" />
- <stem name="ingly" />
- <stem name="ing" />
- <stem name="ly" />
- </stems>
-
- <paneskin>
- <background color="" img="" />
- <font name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <toc>
- <background color="" img="" />
- <icons>
- <book open="whd_toc2.gif" close="whd_toc1.gif" />
- <item local="whd_toc3.gif" remote="whd_toc4.gif" />
- <newbook open="whd_toc2.gif" close="whd_toc1.gif" />
- <newitem local="whd_toc3.gif" remote="whd_toc4.gif" />
- </icons>
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </toc>
- <index>
- <form>
- <fonts>
- <title name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- </fonts>
- <button normal="" hover="" />
- <editwith value="28" />
- </form>
- <background color="" img="" />
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- <empty name="Arial" size="9pt" color="#666666" style="normal" weight="normal" decoration="none" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </index>
- <fts>
- <form>
- <fonts>
- <title name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- </fonts>
- <button normal="" hover="" />
- <editwith value="28" />
- </form>
- <background color="" img="" />
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- <error name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </fts>
- <glossary>
- <background color="" img="" />
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </glossary>
- </paneskin>
-</resource>
+++ /dev/null
-<html>
-<head>
-<title>Blank Page</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Post-Pro Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whstub.js"></script><script language="javascript1.2" src="whstart.js"></script>
-<script language="javascript">
-<!--
-var strDefaultTopic = "about:blank";
-var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:Noframeset
-var bNoApplet = false;
-var strPaneDHTML = "whd_nvp10.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.
-var strPaneApplet = "whd_nvp20.htm";
-var strPaneList = "whgdata/whnvp30.htm";
-
-var strHTML = "";
-var strPane = "";
-var nViewFrameType = -1;
-
-function CMRServer()
-{
- this.m_cAgents = new Array;
-}
-var cMRServer = new CMRServer;
-
-//figure out which mode is the best
-if (!window.gAgent)
-{
- // low end browser, we don't even try to determine it.
- document.location = "whnjs.htm";
-}
-else
-{
- if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)
- document.location = "whnjs.htm";
- else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))
- document.location = "whnjs.htm";
- else if (gbMac && gbIE4 && !gbIE5)
- document.location = "whnjs.htm";
- //figure out which mode is the best
- else
- {
- nViewFrameType=nWebhelpNavPaneMode;
- if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)
- {
- var gbDHTML=(nWebhelpNavPaneMode==1);
- if (gbNav4) nViewFrameType = 2;
- if (gbNav4&&(gnVerMinor < 4.1)) nViewFrameType = 3;
- if (gbNav4&&(gnVerMinor == 4.6)) nViewFrameType = 3;
- if (gbIE4&&gbDHTML) nViewFrameType = 1;
- if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2) nViewFrameType = 3;
- if (gbNav6&&gbDHTML) nViewFrameType = 1;
- if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2) nViewFrameType = 3;
- if (gbMac) nViewFrameType = 3;
- if (gbOpera7&&nViewFrameType == 2) nViewFrameType = 3;
- if ((bNoApplet)&&(nViewFrameType == 2)) nViewFrameType = 3;
- }
- }
-}
-
-if (nViewFrameType!=-1)
-{
- var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
- //The colordepth of the 16 color on Windows is 1.
- if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))
- {
- alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");
- nViewFrameType = 3;
- }
-
- //figure out which one is navpane
- if (nViewFrameType == 1)
- strPane = strPaneDHTML;
- else if (nViewFrameType == 2)
- strPane = strPaneApplet;
- else
- strPane = strPaneList;
-
- var oParam = new Object();
- oParam.sTopic = "";
- var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, window, 1, oParam);
- if (SendMessage(oMsg) && oParam.sTopic != "")
- strDefaultTopic = oParam.sTopic;
-
-
- if (nViewFrameType == 1)
- {
- //DHTML (iframe or xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" frameborder=\"1\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane + "\" scrolling=\"no\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 2)
- {
- //applet (xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane+ "\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 3)
- {
- //generic html (pure html based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\">";
- strHTML += "<frame title=\"navigation frame\" src=\"" + strPane + "\" name=\"bsscleft\" scrolling=\"no\"></frame>";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" scrolling=\"auto\"></frame>";
- strHTML += "</frameset>";
- }
- else if (nViewFrameType == 4)
- {
- //no navipane at all
- strHTML += "<frameset id=\"whPfset\" border=\"0\" cols=\"100%,*\">";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";
- strHTML += "</frameset>";
- }
-
- document.write(strHTML);
-
- RegisterListener2(window, WH_MSG_SHOWPANE);
- RegisterListener2(window, WH_MSG_HIDEPANE);
- RegisterListener2(window, WH_MSG_ISPANEVISIBLE);
- window.onunload = window_unload;
-}
-
-function window_unload()
-{
- UnRegisterListener2(window, WH_MSG_SHOWPANE);
- UnRegisterListener2(window, WH_MSG_HIDEPANE);
- UnRegisterListener2(window, WH_MSG_ISPANEVISIBLE);
-}
-
-
-function onSendMessage(oMsg)
-{
- var nMsgId = oMsg.nMessageId;
- if (nMsgId == WH_MSG_SHOWPANE)
- {
- getElement("whPfset").cols = "260,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_GETPANEINFO, this, 1, "");
- if (SendMessage(onMsg))
- {
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, onMsg.oParam);
- SendMessage(onMsg);
- }
- return false;
- }
- else if (nMsgId == WH_MSG_HIDEPANE)
- {
- getElement("whPfset").cols = "0,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, "");
- SendMessage(onMsg);
- return false;
- }
- else if (nMsgId == WH_MSG_ISPANEVISIBLE)
- {
- var n = parseInt(getElement("whPfset").cols);
- if (n > 0)
- {
- oMsg.oParam.bVisible = true;
- }
- return false;
- }
- return true;
-}
-//-->
-</script>
-<body>
-<noscript>
- <p> It seems javascript is disabled in your browser, please enable it and reload again, or click <a href="whnjs.htm">here</a> to view without javascript</p>
-</noscript>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>WebHelp 5.50 </title>
-<meta name="description" content="output from robohelp">
-<meta name="keywords" content="robohelp,webhelp,webhelp enterprise,roboinfo">
-</head>
-<body>
-<h1> WebHelp 5.50 System Info </h1>
-<table>
-<tr><td> Start Page </td><td>index.htm</td></tr>
-<tr><td> Skin Name </td><td></td></tr>
-<tr><td> Generating Time </td><td>12:48 05/22/2006</td></tr>
-<tr><td> Language ID </td><td>1033</td></tr>
-<tr><td> Compile Script </td><td>webhelp5_compile_script.xml</td></tr>
-<tr><td> Compile Build Version </td><td>13.10.606</td></tr>
-<tr><td> Product Name </td><td>WebHelp 5.50</td></tr>
-<tr><td> Authoring Tool Name </td><td>RoboHelp X5</td></tr>
-<table>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Select a Topic </title>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript">
-<!--
-var gsBgColor = "#c0c0c0";
-var gsBgImage = "";
-var gsListBgColor = "white";
-var gsListBgImage = "";
-var gsMargin="0pt";
-var gsIndent="0pt";
-var gSelectedItem = -1;
-
-
-var goFont=null;
-var goHoverFont=null;
-var goTableFont=null;
-var gsABgColor="#cccccc";
-
-function setListBackground(sBgImage)
-{
- if (sBgImage != null && sBgImage.length > 0)
- gsListBgImage = sBgImage;
-}
-
-function setListBackgroundcolor(sBgColor)
-{
- if (sBgColor != null && sBgColor.length > 0)
- gsListBgColor = sBgColor;
-}
-
-function setBackground(sBgImage)
-{
- if (sBgImage != null && sBgImage.length > 0)
- gsBgImage = sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- if (sBgColor != null && sBgColor.length > 0)
- gsBgColor = sBgColor;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsABgColor=sBgColor;
-}
-
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if (sType == "Normal")
- goFont=vFont;
- if (sType == "Hover")
- goHoverFont=vFont;
- else if (sType == "Table")
- goTableFont=vFont;
-}
-
-function fnOnload()
-{
- if( window.dialogArguments != null )
- fnLoadOptions( window.dialogArguments );
- var items = getElementsByTag(document, "a");
- if (items.length > 0)
- items[0].focus();
-}
-
-var gaOpts = new Array();
-
-function selectOption(index)
-{
- gSelectedItem = index;
-}
-
-function displayOption(index)
-{
- if (index < gaOpts.length)
- {
- returnValue = new Object();
- returnValue.m_url = gaOpts[index];
- }
- else
- returnValue = null;
-
- window.close();
-}
-
-function fnLoadOptions( cList )
-{
- var sHTML = "<dl>";
- for( var i=0;i <cList.length; i++)
- {
- sHTML += "<dt><nobr><a href=\"javascript:void(0);\" onclick=\"return false;\" onfocus=\"selectOption(";
- sHTML += gaOpts.length + ");return false;\" ondblclick=\"displayOption(" + gaOpts.length;
- sHTML += ");return false;\">"+ _textToHtml(cList[i].m_sName) + "</a></nobr></dt>";
- gaOpts[gaOpts.length] = cList[i].m_sURL;
- }
- sHTML += "</dl>";
- var oDivCon=getElement("divlist");
- if(oDivCon)
- oDivCon.innerHTML=sHTML;
- return true;
-}
-
-function fnOK()
-{
- displayOption(gSelectedItem);
-}
-
-function fnCancel()
-{
- returnValue = null; window.close();
-}
-
-function fnOnKeypress()
-{
- switch( event.keyCode )
- {
- case 13: // enter key
- fnOK();
- break;
- case 27: // escape key
- fnCancel();
- break;
- }
-}
-
-function writeStyle(bMiniBar)
-{
- var sStyle="";
- sStyle+="<style type='text/css'>\n";
- sStyle+="<!--\n";
- sStyle+="body.clsbody\n";
- sStyle+="{\n";
- sStyle+="margin: 4px;\n";
- sStyle+=getFontStyle(goTableFont);
- sStyle+="background-attachment: fixed;\n";
- sStyle+="};\n";
- sStyle+="P.clsNDXTD\n";
- sStyle+="{\n";
- sStyle+="margin:0;\n";
- sStyle+=getFontStyle(goTableFont);
- sStyle+="};\n";
- sStyle+="div.clslist\n";
- sStyle+="{\n";
- if (gsListBgImage)
- sStyle+="background-image:url("+gsListBgImage+");\n";
- else if (gsListBgColor)
- sStyle+="background-color:"+gsListBgColor+";\n";
- sStyle+=getFontStyle(goFont);
- sStyle+="};\n";
- sStyle+="BUTTON.clsNDXButton\n";
- sStyle+="{\n";
- sStyle+=getFontStyle(goTableFont);
- sStyle+="background-color: transparent;\n";
- sStyle+="};\n";
- sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsABgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+="</style>\n";
- document.write(sStyle);
-}
-
-function window_OnLoad()
-{
- if(document.body)
- {
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- }
- fnOnload();
- window_onResize();
-}
-
-function window_onResize()
-{
- var oDiv = getElement("divlist");
- var oTitle = getElement("p_title");
- var oButton = getElement("tb_button");
- if (oDiv && oTitle && oButton)
- {
- oDiv.style.height = document.body.offsetHeight - oTitle.offsetHeight - oButton.offsetHeight - 8;
- }
-}
-goTableFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
-goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
-goHoverFont=new whFont("Verdana","8pt","#666666","normal","normal","none");
-
-
-
-
-setFont("Table", "Arial","9pt","#000000","normal","normal","none");
-
-
-setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
-setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
-setActiveBgColor("#cccccc");
-
-window.onload=window_OnLoad;
-window.onresize = window_onResize;
-writeStyle();
-//-->
-</script>
-</head>
-
-<body class="clsbody" scroll="no" onkeypress="fnOnKeypress()">
-<p id="p_title" class="clsNDXTD"><nobr>Select a topic, then click Display</nobr></p>
-<div id="divlist" class="clslist" style="margin:2px;position: relative;overflow:auto;width:100%;border-style:inset;border-width:2">
-</div>
-<table id="tb_button" width="100%">
- <tr>
- <td width="100%" align="center"><button class="clsNDXButton" name="btnOK" onclick="fnOK()">Display</button>   <button class="clsNDXButton" name="btnCancel" onclick="fnCancel()">Cancel</button></td>
- </tr>
-</table>
-
-</body>
-
-</html>
+++ /dev/null
-<html>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsTopic="";
-
-if (location.hash.length > 1)
-{
- var nPos = location.hash.indexOf(">>");
- if (nPos>1)
- {
- gsTopic = location.hash.substring(1, nPos);
- parseParam(location.hash.substring(nPos+2));
- }
- else
- gsTopic = location.hash.substring(1);
-}
-
-
- var strHtml="";
- strHtml+="<frameset rows=\'100%,*\'>";
- strHtml+="<frame name=\'topicwindow\' src=\'" + gsTopic +"\'></frame>";
- strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";
- strHtml+="</frameset>";
- document.write(strHtml);
-
-function parseParam(sParam)
-{
- if (sParam)
- {
- var nBPos=0;
- do
- {
- var nPos=sParam.indexOf(">>", nBPos);
- if (nPos!=-1)
- {
- if (nPos>0)
- {
- var sPart=sParam.substring(nBPos, nPos);
- parsePart(sPart);
- }
- nBPos = nPos + 2;
- }
- else
- {
- var sPart=sParam.substring(nBPos);
- parsePart(sPart);
- break;
- }
- } while(nBPos < sParam.length);
- }
-}
-
-function parsePart(sPart)
-{
- if(sPart.toLowerCase().indexOf("cap=")==0)
- {
- document.title=_browserStringToText(sPart.substring(4));
- }
-}
-//-->
-</script>
-</html>
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.003
-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);
-RegisterListener2(this, WH_MSG_GETCMD);
-RegisterListener2(this, WH_MSG_GETPANE);
-RegisterListener2(this, WH_MSG_GETDEFPANE);
-
-if (gbNav6)
-{
- var gnReload=0;
- setTimeout("delayReload();",5000);
-}
-
-function delayReload()
-{
- if (!(this.cMRServer && cMRServer.m_strVersion))
- {
- if(gnReload!=2)
- {
- if(nViewFrameType&&nViewFrameType==1)
- document.location=document.location;
- }
- }
-}
-
-var gsToolbarOrder = "";
-var gsMinibarOrder = "";
-
-var gsTopic = "files/introduction.htm";
-var PANE_OPT_SEARCH = 1;
-var PANE_OPT_BROWSESEQ = 2;
-var gnOpts=-1;
-var gnCmd=-1;
-var gnPans=2;
-var gsBtns="invalid";
-var gsDefaultBtn="invalid";
-var gbHasTitle=false;
-
-if (location.hash.length > 1)
-{
- var sParam = location.hash;
- if (sParam.indexOf("#<") == 0)
- {
- document.location = "whcsh_home.htm#" + sParam.substring(2);
- }
- else if (sParam.indexOf("#>>") == 0)
- {
- parseParam(sParam.substring(3));
- sParam = "#" + gsTopic + sParam.substring(1);
- }
- else
- {
- var nPos = sParam.indexOf(">>");
- if (nPos>1)
- {
- gsTopic = sParam.substring(1, nPos);
- parseParam(sParam.substring(nPos+2));
- }
- else
- gsTopic = sParam.substring(1);
- }
- if (gnPans == 1 && gsTopic)
- {
- var strURL=location.href;
- if (location.hash)
- {
- var nPos=location.href.indexOf(location.hash);
- strURL=strURL.substring(0, nPos);
- }
- if (gbHasTitle)
- document.location=_getPath(strURL)+ "whskin_tw.htm" + sParam;
- else
- document.location=_getPath(strURL)+ gsTopic;
- }
-}
-
-function parseParam(sParam)
-{
- if (sParam)
- {
- var nBPos=0;
- do
- {
- var nPos=sParam.indexOf(">>", nBPos);
- if (nPos!=-1)
- {
- if (nPos>0)
- {
- var sPart=sParam.substring(nBPos, nPos);
- parsePart(sPart);
- }
- nBPos = nPos + 2;
- }
- else
- {
- var sPart=sParam.substring(nBPos);
- parsePart(sPart);
- break;
- }
- } while(nBPos < sParam.length);
- }
-}
-
-function parsePart(sPart)
-{
- if(sPart.toLowerCase().indexOf("cmd=")==0)
- {
- gnCmd=parseInt(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("cap=")==0)
- {
- document.title=_browserStringToText(sPart.substring(4));
- gbHasTitle=true;
- }
- else if(sPart.toLowerCase().indexOf("pan=")==0)
- {
- gnPans=parseInt(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("pot=")==0)
- {
- gnOpts=parseInt(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("pbs=")==0)
- {
- var sRawBtns = sPart.substring(4);
- var aBtns = sRawBtns.split("|");
- for (var i=0;i<aBtns.length;i++)
- {
- aBtns[i] = transferAgentNameToPaneName(aBtns[i]);
- }
- gsRawBtns = aBtns.join("|");
- }
- else if(sPart.toLowerCase().indexOf("pdb=")==0)
- {
- gsDefaultBtn=transferAgentNameToPaneName(sPart.substring(4));
- }
-}
-
-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<aToolbarOrder.length;i++)
- aToolbarOrder[i]=transferANToPN2(aToolbarOrder[i]);
- aToolbarOrder[aToolbarOrder.length] = "blankblock";
- if (cMRServer.m_bShowSearchInput)
- {
- aToolbarOrder[aToolbarOrder.length] = "searchform";
- }
- aToolbarOrder[aToolbarOrder.length] = "banner";
- var aToolbarOrderNew = new Array();
- for (i=0;i<aToolbarOrder.length;i++)
- {
- if (isAPane(aToolbarOrder[i]))
- {
- if (oMsg1.oParam.aPanes && oMsg1.oParam.aPanes.length)
- {
- for (var j=0;j<oMsg1.oParam.aPanes.length;j++)
- {
- if (aToolbarOrder[i] == oMsg1.oParam.aPanes[j].sPaneName)
- {
- aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];
- break;
- }
- }
- }
- }
- else
- aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];
- }
- oMsg.oParam = aToolbarOrderNew.join("|");
- return false;
- }
- }
- }
- var sParam="";
- if (gsBtns!="invalid")
- sParam=gsBtns+"|blankblock|banner";
- else
- sParam = gsToolbarOrder;
-
- if (gnOpts!=-1)
- {
- var nPosForm=sParam.indexOf("|searchform|");
- if (gnOpts&PANE_OPT_SEARCH)
- {
- if (nPosForm == -1 && sParam.indexOf("|fts|") != -1)
- {
- var nPos=sParam.indexOf("banner");
- if (nPos!=-1)
- {
- sParam=sParam.substring(0, nPos) + "searchform|" + sParam.substring(nPos);
- }
- }
- }
- else
- {
- if (nPosForm!=-1)
- {
- sParam=sParam.substring(0,nPosForm) + sParam.substring(nPosForm+11);
- }
- }
- }
- oMsg.oParam=sParam;
- return false;
- }
- else if (nMsgId == WH_MSG_MINIBARORDER)
- {
- var sMinParam=gsMinibarOrder;
- if (gnOpts!=-1)
- {
- var nPosBro=gsMinibarOrder.indexOf("avprev|avnext");
- if (gnOpts&PANE_OPT_BROWSESEQ)
- {
- if (nPosBro==-1)
- {
- sMinParam ="avprev|avnext|" + gsMinibarOrder;
- }
- }
- else
- {
- if (nPosBro!=-1)
- {
- if (nPosBro!=0)
- sMinParam=gsMinibarOrder.substring(0, nPosBro) + gsMinibarOrder.substring(nPosBro+14);
- else
- sMinParam=gsMinibarOrder.substring(14);
- }
- }
- }
- oMsg.oParam = sMinParam;
- return false;
- }
- else if (nMsgId == WH_MSG_ISSYNCSSUPPORT)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- if (cMRServer.m_bShowSync)
- oMsg.oParam=true;
- else
- oMsg.oParam=false;
- return false;
- }
- else
- {
- if(typeof(nViewFrameType)!="undefined")
- {
- oMsg.oParam= (nViewFrameType < 3);
- return false;
- }
- }
- }
- else if (nMsgId == WH_MSG_ISAVENUESUPPORT)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- if (cMRServer.m_bShowBrowseSequences)
- oMsg.oParam=true;
- else
- oMsg.oParam=false;
- }
- else
- {
- oMsg.oParam=true;
- }
- return false;
- }
- else if (nMsgId == WH_MSG_ISSEARCHSUPPORT)
- {
- if(typeof(nViewFrameType)!="undefined")
- {
- oMsg.oParam= (nViewFrameType < 3);
- return false;
- }
- }
- else if (nMsgId == WH_MSG_GETPANETYPE)
- {
- if(typeof(nViewFrameType)!="undefined")
- {
- var oPaneInfo = new Object();
- oPaneInfo.nType = nViewFrameType;
- oPaneInfo.sPaneURL = strPane;
- oMsg.oParam = oPaneInfo;
- return false;
- }
- }
- else if (nMsgId == WH_MSG_GETPANES)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- var oPanes = new Object();
- var aAgentNames = null;
- if (cMRServer.m_strDefAgent)
- oPanes.sDefault = transferAgentNameToPaneName(cMRServer.m_strDefAgent);
-
- aPanes = new Array();
- for(var i=0; i< cMRServer.m_cAgents.length; i++)
- {
- var nCur = aPanes.length;
- aPanes[nCur] = new Object();
- aPanes[nCur].sPaneName = transferAgentNameToPaneName(cMRServer.m_cAgents[i].m_strID);
- aPanes[nCur].sPaneURL = cMRServer.m_cAgents[i].m_strURL;
- }
- oPanes.aPanes = aPanes;
- oMsg.oParam = oPanes;
- return false;
- }
- else
- {
- oMsg.oParam = null;
- return false;
- }
- }
- else if(nMsgId==WH_MSG_RELOADNS6)
- {
- if(gbNav6)
- gnReload++;
- return false;
- }
- else if(nMsgId==WH_MSG_GETCMD)
- {
- oMsg.oParam=gnCmd;
- return false;
- }
- else if(nMsgId==WH_MSG_GETPANE)
- {
- if (gsBtns!="invalid" && oMsg.oParam.sName)
- {
- if(gsBtns.indexOf(oMsg.oParam.sName) != -1)
- oMsg.oParam.bEnable=true;
- else
- oMsg.oParam.bEnable=false;
- }
- else
- oMsg.oParam.bEnable=true;
- return false;
- }
- else if(nMsgId==WH_MSG_GETDEFPANE)
- {
- if (gsDefaultBtn!="invalid")
- {
- oMsg.oParam=gsDefaultBtn;
- }
- return false;
- }
- return true;
-}
-
-function transferANToPN2(sAN)
-{
- if (sAN =="toc")
- return "toc";
- else if (sAN =="ndx")
- return "idx";
- else if (sAN =="nls")
- return "fts";
- else if (sAN =="gls")
- return "glo";
- else if (sAN =="WebSearch")
- return "websearch";
- else if (sAN.indexOf("custom_")==0);
- return "custom" + sAN.substring(7);
- return sAN;
-}
-
-function transferAgentNameToPaneName(sAgentName)
-{
- if (sAgentName =="toc")
- return "toc";
- else if (sAgentName =="ndx")
- return "idx";
- else if (sAgentName =="nls")
- return "fts";
- else if (sAgentName =="gls")
- return "glo";
- return "";
-}
-
-function isAPane(sPaneName)
-{
- if (sPaneName == "toc" || sPaneName == "idx" || sPaneName == "fts" || sPaneName == "glo")
- return true;
- else
- return false;
-}
+++ /dev/null
-// WebHelp 5.10.002
-window.whname="wh_stub";
-function getframehandle(frames,framename)
-{
- var frame=null;
- if(null==frames) return null;
- for(var i=0;i<frames.length;i++)
- {
- if(typeof(frames[i].name)!="unknown")
- {
- if(frames[i].name==framename)
- return frames[i];
- }
- if(frames[i].frames.length>0)
- {
- frame=getframehandle(frames[i].frames,framename);
- if(null!=frame)
- return frame;
- }
- }
- return frame;
-}
-
-function AddToArray(arr,obj)
-{
- var bFound=false;
- for(var i=0;i<arr.length;i++){
- if(arr[i]==obj){
- bFound=true;
- break;
- }
- else if(arr[i]==null){
- break;
- }
- }
- if(!bFound) arr[i]=obj;
-}
-
-var gArrayRegistedMessage=new Array();
-var gArrayCompoentsArray=new Array();
-
-function GetComponentsArray(nMessageId)
-{
- var len=gArrayRegistedMessage.length;
- for(var i=0;i<len;i++)
- {
- if(gArrayRegistedMessage[i]==nMessageId){
- if(gArrayCompoentsArray.length>i)
- return gArrayCompoentsArray[i];
- else
- return null;
- }
- }
- return null;
-}
-
-function CreateComponentsArray(nMessageId)
-{
- var len=gArrayRegistedMessage.length;
- gArrayRegistedMessage[len]=nMessageId;
- gArrayCompoentsArray[len]=new Array();
- return gArrayCompoentsArray[len];
-}
-
-function listener(sName,oWindow)
-{
- this.sName=sName;
- this.oWindow=oWindow;
-}
-
-function RegisterListener(windowName,nMessageId)
-{
- var arrayComponents=GetComponentsArray(nMessageId);
- if(arrayComponents==null)
- arrayComponents=CreateComponentsArray(nMessageId);
-
- if(arrayComponents!=null)
- {
- for (var i=0;i<arrayComponents.length;i++)
- {
- if (arrayComponents[i].sName == windowName)
- return false;
- }
- var oListener=new listener(windowName,null);
- AddToArray(arrayComponents,oListener);
- return true;
- }
- else
- return false;
-}
-
-function RegisterListener2(oWindow,nMessageId)
-{
- var arrayComponents=GetComponentsArray(nMessageId);
- if(arrayComponents==null)
- arrayComponents=CreateComponentsArray(nMessageId);
-
- if(arrayComponents!=null)
- {
- var oListener=new listener("",oWindow);
- AddToArray(arrayComponents,oListener);
- return true;
- }
- else
- return false;
-}
-
-function UnRegisterListener2(oWindow,nMessageId)
-{
- var arrayComponents=GetComponentsArray(nMessageId);
- if(arrayComponents!=null)
- {
- for(var i=0;i<arrayComponents.length;i++)
- {
- if(arrayComponents[i].oWindow==oWindow)
- {
- removeItemFromArray(arrayComponents,i);
- return true;
- }
- }
- }
- else
- return false;
-}
-
-function SendMessage(oMessage)
-{
- var bDelivered=false;
- var arrayComponents=GetComponentsArray(oMessage.nMessageId);
- if(arrayComponents!=null&&arrayComponents.length>0){
- for(var i=0;i<arrayComponents.length;i++)
- {
- if(null!=arrayComponents[i])
- {
- var pFrame;
- if(arrayComponents[i].oWindow==null)
- pFrame=getframehandle(frames,arrayComponents[i].sName);
- else
- pFrame=arrayComponents[i].oWindow;
- if(null!=pFrame)
- {
- if(pFrame.onSendMessageX)
- {
- bDelivered=true;
- if(!pFrame.onSendMessageX(oMessage))
- break;
- }
- if(pFrame.onSendMessage)
- {
- bDelivered=true;
- if(!pFrame.onSendMessage(oMessage))
- break;
- }
- }
- }
- }
- }
- return bDelivered;
-}
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Table of contents</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<base target="bsscright">
-</head>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whthost.js"></script>
-<script LANGUAGE="javascript1.2">
-<!--
-if (window.gbWhTHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- setIcon("BookOpen","whd_toc2.gif");
- setIcon("BookClose","whd_toc1.gif");
- setIcon("Item","whd_toc3.gif");
- setIcon("RemoteItem","whd_toc4.gif");
- setIcon("NewBookOpen","whd_toc2.gif");
- setIcon("NewBookClose","whd_toc1.gif");
- setIcon("NewItem","whd_toc3.gif");
- setIcon("NewRemoteItem","whd_toc4.gif");
- TocWriteClassStyle();
- TocWriteFixedWidth(true,400);
-}
-else
- document.location.reload();
-//-->
-</script>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white" scroll="auto">
-<script LANGUAGE="javascript1.2">
-<!--
-TocWriteFixedWidth(false,400);
-TocInitPage();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.007
-var gaHSLoad=new Array();
-var gnMinIdx=0;
-var gnInsIdx=-1;
-var gsLoadingDivID="LoadingDiv";
-var gsLoadingMsg="Loading, click here to cancel...";
-var gaProj=null;
-var gaTocs=new Array();
-var goChunk=null;
-var gbReady=false;
-var gbToc=false;
-var gbXML=false;
-var gaRoot=new Array();
-var gnCC=-1;
-var gsTP="";
-var gaBTPs="";
-var gsCTPath="";
-var gnLT=-1;
-var gsPathSplit="\n";
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goFont=null;
-var goHFont=null;
-
-var gsMargin="0pt";
-var gsIndent="15pt";
-var gsABgColor="#cccccc";
-
-var giBookClose="";
-var giBookOpen="";
-var giBookItem="";
-var giURLItem="";
-var giNewBookClose="";
-var giNewBookOpen="";
-var giNewBookItem="";
-var giNewURLItem="";
-var gnImages=0;
-var gnLoadedImages=0;
-var gaImgs=new Array();
-var gbLoadData=false;
-var gobj=null;
-var gaTocsNs61Fix=null;
-var gbWhTHost=false;
-var gBookItems=new Array();
-var gInSync=false;
-var gbLData=false;
-var gbNeedFillStub=false;
-var gbLoadToc=false;
-
-function chunkInfoQueue()
-{
- this.aContent=new Array();
- this.inQueue=function(cInfo)
- {
- this.aContent[this.aContent.length]=cInfo;
- }
- this.deQueue=function()
- {
- var cInfo=null;
- if(this.aContent.length>0)
- {
- cInfo=this.aContent[0];
- for(var i=1;i<this.aContent.length;i++)
- this.aContent[i-1]=this.aContent[i];
- this.aContent.length--;
- }
- return cInfo;
- }
- this.length=function()
- {
- return this.aContent.length;
- }
-}
-
-var gchunkRequestQueue=new chunkInfoQueue();
-
-function chunkInfo(nIdx, bLocal)
-{
- this.nIdx=nIdx;
- this.bLocal=bLocal;
-}
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal") goFont=vFont;
- else if(sType=="Hover") goHFont=vFont;
-}
-
-function setActiveBgColor(sBgColor){gsABgColor=sBgColor;}
-
-function setMargin(sMargin){gsMargin=sMargin;}
-
-function setIndent(sIndent){gsIndent=sIndent;}
-
-function setIcon(sType,sURL)
-{
- if(sType=="BookOpen")
- giBookOpen=sURL;
- else if(sType=="BookClose")
- giBookClose=sURL;
- else if(sType=="Item")
- giBookItem=sURL;
- else if(sType=="RemoteItem")
- giURLItem=sURL;
- else if(sType=="NewBookClose")
- giNewBookClose=sURL;
- else if(sType=="NewBookOpen")
- giNewBookOpen=sURL;
- else if(sType=="NewItem")
- giNewBookItem=sURL;
- else if(sType=="NewRemoteItem")
- giNewURLItem=sURL;
-}
-
-function bookItem(sTarget,sURL)
-{
- if(sTarget)
- this.sTarget=sTarget;
- else
- this.sTarget="bsscright";
- this.sURL=sURL;
-}
-
-function addBookItem(sBookId,sTarget,sURL)
-{
- gBookItems[sBookId]=new bookItem(sTarget,sURL);
-}
-
-function tocChunk(sPPath,sDPath)
-{
- this.sPPath=sPPath;
- this.sDPath=sDPath;
- this.nMI=-1;
- this.aTocs=null;
-}
-
-function addTocChunk(sPPath,sDPath)
-{
- var oChunk=new tocChunk(sPPath,sDPath);
- gaTocs[gaTocs.length]=oChunk;
- return oChunk;
-}
-
-function isHSLoad(nIdx)
-{
- for(var i=0;i<gaHSLoad.length;i++)
- if(gaHSLoad[i]==nIdx)
- return true;
- return false;
-}
-
-function setHSLoad(nIdx)
-{
- if(!isHSLoad(nIdx))
- {
- var len=gaHSLoad.length;
- for(var i=0;i<len;i++)
- if(gaHSLoad[i]==-1)
- {
- gaHSLoad[i]=nIdx;
- return;
- }
- gaHSLoad[len]=nIdx;
- }
-}
-
-function setHSUnLoad(nIdx)
-{
- if(isHSLoad(nIdx))
- {
- for(var i=0;i<gaHSLoad.length;i++)
- if(gaHSLoad[i]==nIdx)
- {
- gaHSLoad[i]=-1;
- return;
- }
- }
-}
-
-function removeLoadingDiv()
-{
- var eLoadingDiv=getElement(gsLoadingDivID);
- if(eLoadingDiv)
- removeThis(eLoadingDiv);
-}
-
-function checkBookItem(nIdx)
-{
- if(!gInSync)
- {
- var sBookId=getBookId(nIdx);
- if(gBookItems[sBookId])
- {
- window.open(gBookItems[sBookId].sURL,gBookItems[sBookId].sTarget);
- }
- }
-}
-
-function insertBookItems(nIdx,num)
-{
- checkBookItem(nIdx);
- var sChildBookId=getCBId(nIdx);
- var eChildDiv=getElement(sChildBookId);
- if(eChildDiv){
- if((eChildDiv.childNodes&&eChildDiv.childNodes.length==0)||
- (eChildDiv.all&&eChildDiv.all.length==0)){
- var sHTML=writeBookItems(nIdx,num);
- eChildDiv.innerHTML=sHTML;
- setTimeout("syncInit()",1);
- }
- }
- ExpandIt(nIdx);
-}
-
-function isBookEmpty(nIdx)
-{
- var num=getItemContentsNum(nIdx);
- if (num>0)
- {
- var nCIdx=0;
- do {
- nCIdx++;
- var i=nIdx+nCIdx;
- var nItemType=getItemType(i);
- if(nItemType==1){
- if (!isBookEmpty(i))
- return false;
- }
- else if(nItemType==4){
- var sSrc=getRefURL(i);
- var nProj=getProject(sSrc);
- if(nProj!=-1){
- sSrc=gaRoot[nProj].sToc;
- if(sSrc)
- return false;
- }
- }
- else if(nItemType==2||nItemType==16||nItemType==8)
- return false;
- } while(nCIdx<num);
- }
- return true;
-}
-
-function writeBook(nIdx)
-{
- var sIcon=getBookImage(nIdx,true);
- var sName=_textToHtml(getItemName(nIdx));
- sIcon=_textToHtml_nonbsp(sIcon);
-
- var nType=getItemType(nIdx);
- var bLocal=(nType==1);
- var bLocalProject=(nType!=4);
-
- var sHTML="<div id=\""+getPBId(nIdx)+"\" class=";
- if(bLocal)
- {
- if (!isBookEmpty(nIdx))
- {
- sHTML+="parent><p><nobr><a id=\""+getBookId(nIdx)+"\" href=\"javascript:void(0);\" onfocus=\"markBook("+nIdx+");\" onclick=\"";
- sHTML+="insertBookItems("+nIdx+", "+getItemContentsNum(nIdx);
- sHTML+=");return false;\" title=\""+sName+"\"><img alt=\"Book\" name=\""+getBId(nIdx)+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\">";
- sHTML+=" "+sName+"</a></nobr></p></div>";
- var sURL=_textToHtml_nonbsp(getItemURL(nIdx));
- if(sURL!="")
- addBookItem(getBookId(nIdx),_textToHtml_nonbsp(getTopicTarget(nIdx)),sURL);
- sHTML+="<div id=\""+getCBId(nIdx)+"\" class=child></div>";
- }
- else
- sHTML="";
- }
- else
- {
- sHTML+="stub></div>";
- gbNeedFillStub=true;
- setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);
- }
- return sHTML;
-}
-
-function checkFillStub()
-{
- if(!gbLData)
- {
- if(gchunkRequestQueue.length()>0)
- {
- var cInfo=gchunkRequestQueue.deQueue();
- if(cInfo)
- {
- fillStub(cInfo.nIdx,cInfo.bLocal);
- return;
- }
- }
- }
- if(gbNeedFillStub)
- {
- gbNeedFillStub=false;
- setTimeout("syncInit()",1);
- }
-}
-
-function fillStub(nIdx,bLocalProject)
-{
- if(!gbLData)
- {
- gbLData=true;
- var sObj=getElement(getPBId(nIdx));
- if(sObj!=null)
- {
- tocExpandHelpSet(nIdx,bLocalProject);
- gbNeedFillStub=false;
- setTimeout("syncInit()",1);
- }
- else
- setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);
- }
- else
- gchunkRequestQueue.inQueue(new chunkInfo(nIdx,bLocalProject));
-}
-
-function getBookId(nIdx){return "B_"+nIdx;}
-
-function getItemId(nIdx){return "I_"+nIdx;}
-
-function markBook(nIdx)
-{
- var obj=getElement(getItemId(nIdx));
- if(obj==null)
- obj=getElement(getBookId(nIdx));
- if(gbNav6)
- {
- gobj=obj;
- setTimeout("delayMarkObj();",1);
- }
- else
- markObj(obj);
-}
-
-function delayMarkObj()
-{
- if(gobj)
- {
- markObj(gobj);
- gobj=null;
- }
-}
-
-function markObj(obj)
-{
- if(obj!=null)
- {
- HighLightElement(obj,gsABgColor,"transparent");
- var sPath=calTocPath(obj);
- if(gsCTPath!=sPath)
- gsCTPath=sPath;
- }
-}
-
-function markItem(nIdx)
-{
- var obj=getElement(getItemId(nIdx));
- if(gbNav6)
- {
- gobj=obj;
- setTimeout("delayMarkObj();",1);
- }
- else
- markObj(getElement(getItemId(nIdx)));
-}
-
-function calTocPath(obj)
-{
- var sPath=getInnerText2(obj);
- var pObj=getParentNode(obj);
- do
- {
- while(pObj!=null&&!isCBId(pObj.id)) pObj=getParentNode(pObj);
- if(pObj!=null)
- {
- var nId=getIdByCBId(pObj.id);
- var sObj=getElement(getPBId(nId));
- if(sObj!=null)
- {
- var objs=getItemsByBook(sObj);
- for(var i=0;i<objs.length;i++)
- {
- var sText=getInnerText2(objs[i]);
- if(sText.length!=0)
- {
- sPath=sText+gsPathSplit+sPath;
- break;
- }
- }
- }
- pObj=getParentNode(pObj);
- }
- }while(pObj!=null);
- return sPath;
-}
-
-function writeAnItem(nIdx)
-{
- var sTarget=_textToHtml_nonbsp(getTopicTarget(nIdx));
- var sIcon=getItemIcon(nIdx,0);
- if(sIcon=="")
- {
- var nItemType=getItemType(nIdx);
- if(nItemType&2)
- sIcon=getItemImage(nIdx,false);
- else
- sIcon=getItemImage(nIdx,true);
- }
- sIcon=_textToHtml_nonbsp(sIcon);
- var sName=_textToHtml(getItemName(nIdx));
- var sHTML="<p><nobr><a id=\""+getItemId(nIdx)+"\" onfocus=\"markItem("+nIdx+");\""
- var sAltString="";
- if(nItemType&2)
- sAltString="Page";
- else
- sAltString="Remote Page";
- if(sTarget!="")
- sHTML+="target=\""+sTarget+"\" ";
- sHTML+="href=\""+_textToHtml_nonbsp(getItemURL(nIdx))+"\" title=\""+sName+"\"><img alt=\""+sAltString+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\"> "+sName+"</a></nobr></p>";
- return sHTML;
-}
-
-function writeBookItems(nIdx,num)
-{
- var sHTML="";
- if(num>0){
- var nCIdx=0;
- do{
- nCIdx++;
- var i=nIdx+nCIdx;
- var nItemType=getItemType(i);
- if(nItemType==1||nItemType==4||nItemType==8){
- sHTML+=writeBook(i);
- nCIdx+=getItemContentsNum(i);
- }
- else if(nItemType==2||nItemType==16){
- sHTML+=writeAnItem(i);
- }
- }
- while(nCIdx<num);
- }
- return sHTML;
-}
-
-function tocExpandHelpSet(nIdx,bLocal)
-{
- checkBookItem(nIdx);
- removeLoadingDiv();
- if(!isHSLoad(nIdx))
- {
- setHSLoad(nIdx);
- var sSrc="";
- if(bLocal){
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- goChunk=addTocChunk(oChunk.sPPath,oChunk.sDPath);
- sSrc=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;
- }
- }
- else{
- sSrc=getRefURL(nIdx);
- var nProj=getProject(sSrc);
- if(nProj!=-1)
- {
- sSrc=gaRoot[nProj].sToc;
- if(sSrc)
- goChunk=addTocChunk(gaProj[nProj].sPPath,gaProj[nProj].sDPath);
- else
- goChunk=null;
- }
- else
- goChunk=null;
- }
- if(goChunk)
- {
- PrepareLoading(nIdx);
- gbToc=false;
- loadData2(goChunk.sPPath+goChunk.sDPath+sSrc);
- }
- else
- {
- gbLData=false;
- checkFillStub();
- }
- }
-}
-
-function getProject(sSrc)
-{
- for(var i=0;i<gaProj.length;i++)
- if(isSamePath(getPath(sSrc),gaProj[i].sPPath))
- return i;
- return -1;
-}
-
-function getPath(sPath)
-{
- if(sPath!="")
- {
- sPath=_replaceSlash(sPath);
- var nPosFile=sPath.lastIndexOf("/");
- sPath=sPath.substring(0,nPosFile+1);
- }
- return sPath;
-}
-
-function isSamePath(sPath1,sPath2)
-{
- return (sPath1.toLowerCase()==sPath2.toLowerCase());
-}
-
-function PrepareLoading(nIdx)
-{
- gnInsIdx=nIdx;
- if(!gsTP)
- {
- var oObj=getElement(getPBId(gnInsIdx));
- if(oObj)
- oObj.insertAdjacentHTML("afterEnd",writeLoadingDiv(nIdx));
- }
-}
-
-function writeLoadingDiv(nIdx)
-{
- return"<div id=\""+gsLoadingDivID+"\" class=parent onclick=\"removeLoadingDiv();\" style=\"padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";
-}
-
-function getItemName(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- return oChunk.aTocs[nIdx-oChunk.nMI].sItemName;
- else
- return null;
-}
-
-function getItemContentsNum(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- return oChunk.aTocs[nIdx-oChunk.nMI].nContents;
- else
- return null;
-}
-
-function getItemType(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- return oChunk.aTocs[nIdx-oChunk.nMI].nType;
- else
- return 0;
-}
-
-function getItemURL(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sItemURL;
- if(!(sPath==null||sPath==""))
- {
- return _getFullPath(oChunk.sPPath,sPath);
- }
- }
- return "";
-}
-
-function getRefURL(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;
- if(!(sPath==null||sPath==""))
- {
- return _getFullPath(oChunk.sPPath,sPath)
- }
- }
- return "";
-}
-
-function getTopicTarget(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sTarget)!="undefined")
- return oChunk.aTocs[nIdx-oChunk.nMI].sTarget;
- }
- return "";
-}
-
-function getItemIcon(nIdx,nIconIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sIconRef)!="undefined")
- {
- var sIconRef=oChunk.aTocs[nIdx-oChunk.nMI].sIconRef;
- var nIndex=sIconRef.indexOf(";");
- while(nIconIdx-->0&&nIndex!=-1)
- {
- sIconRef=sIconRef.substring(nIndex+1);
- nIndex=sIconRef.indexOf(";");
- }
- if(nIconIdx<0)
- {
- if(nIndex!=-1)
- sIconRef=sIconRef.substring(0,nIndex);
- return _getFullPath(oChunk.sPPath,sIconRef)
- }
- }
- }
- return "";
-}
-
-function TocWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if(gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";
- sStyle+="DIV {margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";
- sStyle+=".parent {margin-left:0pt;}\n";
- sStyle+=".stub {margin-left:0pt;display:none}\n";
- sStyle+=".child {display:none;margin-left:"+gsIndent+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsABgColor+";}\n";
- sStyle +="A:hover {"+getFontStyle(goHFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function TocWriteFixedWidth(bBegin,nWidth)
-{
- if((gbIE4)&&(gbMac)&&(!gbIE5)){
- if(bBegin)
- document.write("<table width="+nWidth+" border=0><tr><td>");
- else
- document.write("</td></tr></table>");
- }
-}
-
-function TocInitPage()
-{
- var tempColl=getItemsByBook(document.body);
- if(tempColl.length>0)
- tempColl[0].focus();
-}
-
-function getItemsFromObj(obj)
-{
- var aAnchor=new Array();
- var tempColl=getChildrenByTag(obj,"P");
- if(tempColl&&tempColl.length>0)
- {
- var anobr=new Array();
- for(var i=0;i<tempColl.length;i++)
- {
- var tempNobr=getChildrenByTag(tempColl[i],"NOBR");
- if(tempNobr&&tempNobr.length>0)
- for(var j=0;j<tempNobr.length;j++)
- anobr[anobr.length]=tempNobr[j];
- }
- for(var s=0;s<anobr.length;s++)
- {
- var tempAnchor=getChildrenByTag(anobr[s],"A");
- if(tempAnchor&&tempAnchor.length>0)
- for(var u=0;u<tempAnchor.length;u++)
- aAnchor[aAnchor.length]=tempAnchor[u];
- }
- }
- return aAnchor;
-}
-
-function getItemsByBook(obj)
-{
- var aAnchor=new Array();
- var aTAnchor=getItemsFromObj(obj);
- for(var i=0;i<aTAnchor.length;i++)
- aAnchor[aAnchor.length]=aTAnchor[i];
- var tempBook=getChildrenByTag(obj,"DIV");
- if(tempBook&&tempBook.length>0)
- for(var j=0;j<tempBook.length;j++)
- {
- var aTAnchorDiv=getItemsFromObj(tempBook[j]);
- for(var s=0;s<aTAnchorDiv.length;s++)
- aAnchor[aAnchor.length]=aTAnchorDiv[s];
- }
- return aAnchor;
-}
-
-function ExpandIt(nId)
-{
- if(!gsTP)
- ExpandIt2(nId,false);
-}
-
-function ExpandIt2(nId,bForceOpen)
-{
- var oC=TocExpand(nId,true,bForceOpen);
- var nNewScroll=document.body.scrollTop;
- if(oC.style.display=="block"){
- var nTop=oC.offsetTop;
- var nBottom=nTop+oC.offsetHeight;
- if(document.body.scrollTop+document.body.clientHeight<nBottom){
- nNewScroll=nBottom-document.body.clientHeight;
- }
- if(nBottom-nTop>document.body.clientHeight){
- nNewScroll=nTop-20;
- }
- }
- document.body.scrollTop=nNewScroll;
-}
-
-function TocExpand(nId,bChangeImg,bForceOpen)
-{
- var oDiv=getElement(getCBId(nId));
- if(oDiv==null) return null;
-
- var whichIm=document.images[getBId(nId)];
- if((oDiv.style.display!="block")||bForceOpen){
- oDiv.style.display="block";
- if(bChangeImg){
- var sPath=getPath(whichIm.src);
- sPath=_getFullPath(sPath,getBookImage(nId,false));
- whichIm.src=sPath;
- }
- }else{
- oDiv.style.display="none";
- if(bChangeImg){
- var sPath=getPath(whichIm.src);
- sPath=_getFullPath(sPath,getBookImage(nId,true));
- whichIm.src=sPath;
- }
- if(gbMac&&gbIE5){
- this.parent.document.getElementById("tocIFrame").style.width="101%";
- this.parent.document.getElementById("tocIFrame").style.width="100%";
- }
- }
- return oDiv;
-}
-
-function getChunkId(n)
-{
- var nCan=-1;
- for(var i=0;i<gaTocs.length;i++)
- if(gaTocs[i].nMI<=n&&gaTocs[i].nMI!=-1)
- {
- if(nCan==-1)
- nCan=i;
- else
- if(gaTocs[i].nMI>=gaTocs[nCan].nMI)
- nCan=i;
- }
- if(nCan!=-1)
- return nCan;
- else
- return -1;
-}
-
-function getChunk(n)
-{
- if(gnCC!=-1&&gaTocs[gnCC].nMI<=n&&(gnCC==gaTocs.length-1||
- gaTocs[gnCC+1].nMI>n))
- {
- return gaTocs[gnCC];
- }
- else{
- gnCC=getChunkId(n);
- if(gnCC!=-1)
- return gaTocs[gnCC];
- else
- return null;
- }
-}
-
-function getBookImage(nIdx,bClosed)
-{
- var nIdx=bClosed?0:1;
- var sIcon=getItemIcon(nIdx,nIdx);
- if(sIcon=="")
- if(bClosed)
- sIcon=giBookClose;
- else
- sIcon=giBookOpen;
- return _getFullPath(gaProj[0].sPPath,sIcon);
-}
-
-function getItemImage(nIdx,bRemote)
-{
- var sIcon=getItemIcon(nIdx,0);
- if(sIcon=="")
- if(bRemote)
- sIcon=giURLItem;
- else
- sIcon=giBookItem;
- return _getFullPath(gaProj[0].sPPath,sIcon);
-}
-
-function getInnerText2(obj)
-{
- var sText=getInnerText(obj);
- if(sText.length>0&&!gbOpera7)
- sText=sText.substring(1);
- return sText;
-}
-
-function expandToc(oObj,sRest,aIdList)
-{
- var len=aIdList.length;
- var nPos=sRest.indexOf(gsPathSplit);
- if(nPos!=-1)
- {
- sPart=sRest.substring(0,nPos);
- sRest=sRest.substring(nPos+1);
- }
- else
- {
- sPart=sRest;
- var aTagAs=getItemsByBook(oObj);
- for(var s=0;s<aTagAs.length;s++)
- {
- var sText=getInnerText2(aTagAs[s]);
- if(sText==sPart)
- {
- aIdList[len]=aTagAs[s];
- return 1;
- }
- }
- return 0;
- }
-
- var aChildren=getChildrenByTag(oObj,"DIV");
- for(var i=0;i<aChildren.length;i++)
- {
- var sPId=aChildren[i].id;
- if(!isPBId(sPId))
- continue;
- var sText=getInnerText2(aChildren[i]);
- if(sText!=sPart)
- continue;
- aIdList[len]=getIdByPBId(sPId);
- var sCId=getCBId(aIdList[len]);
- var oCObj=getElement(sCId);
- if(oCObj)
- {
- if(oCObj.innerHTML=="")
- {
- var obj=getItemsByBook(aChildren[i]);
- if(obj.length>0)
- {
- if(gbNav6)
- {
- var sCommand=obj[0].getAttribute("onClick");
- var nCommand=sCommand.indexOf(";");
- sCommand=sCommand.substring(0,nCommand);
- setTimeout(sCommand,1);
- }
- else
- obj[0].click();
- }
- return -1;
- }
- var nRet=expandToc(oCObj,sRest,aIdList);
- if(nRet)
- return nRet;
- }
- }
- aIdList.length=len;
- return 0;
-}
-
-function getIdByPBId(sPId)
-{
- return parseInt(sPId.substring(2,sPId.length-1));
-}
-
-function getIdByCBId(sCId)
-{
- return parseInt(sCId.substring(2,sCId.length-1));
-}
-
-function isPBId(sId)
-{
- return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("P")==sId.length-1);
-}
-
-function isCBId(sId)
-{
- return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("C")==sId.length-1);
-}
-
-function getBId(nIdx)
-{
- return "B_"+nIdx;
-}
-
-function getPBId(nIdx)
-{
- return getBId(nIdx)+"P";
-}
-
-function getCBId(nIdx)
-{
- return getBId(nIdx)+"C";
-}
-
-function getClosestTocPath(aPaths)
-{
- var nMaxSimilarity=0;
- var nThatIndex=-1;
- var sPath=null;
- if(aPaths.length==0) return sPath;
- for(var i=0;i<aPaths.length;i++)
- {
- var nSimilarity=comparePath(gsCTPath,aPaths[i]);
- if(nSimilarity>nMaxSimilarity)
- {
- nMaxSimilarity=nSimilarity;
- nThatIndex=i;
- }
- }
- if(nThatIndex!=-1)
- sPath=aPaths[nThatIndex];
- else
- sPath=aPaths[0];
- return sPath;
-}
-
-function comparePath(sPath1,sPath2)
-{
- var nMaxSimilarity=0;
- var nStartPos1=0;
- var nPos1=-1;
- var nStartPos2=0;
- var nPos2=-1;
- do{
- var sCheck1=null;
- var sCheck2=null;
- nPos1=sPath1.indexOf(gsPathSplit,nStartPos1);
- if(nPos1!=-1)
- {
- sCheck1=sPath1.substring(nStartPos1,nPos1);
- nStartPos1=nPos1+1;
- }
- else
- {
- sCheck1=sPath1.substring(nStartPos1);
- nStartPos1=-1;
- }
- nPos2=sPath2.indexOf(gsPathSplit,nStartPos2);
- if(nPos1!=-1)
- {
- sCheck2=sPath2.substring(nStartPos2,nPos2);
- nStartPos2=nPos2+1;
- }
- else
- {
- sCheck2=sPath2.substring(nStartPos2);
- nStartPos2=-1;
- }
- if(sCheck1==sCheck2)
- nMaxSimilarity++;
- else
- break;
- }while(nStartPos1!=-1&&nStartPos2!=-1);
- return nMaxSimilarity;
-}
-
-function getTocPaths(oTopicParam)
-{
- var aRelTocPaths=oTopicParam.aPaths;
- var aPaths=new Array();
- for(var i=0;i<gaProj.length;i++)
- if(isSamePath(gaProj[i].sPPath,oTopicParam.sPPath))
- {
- for(var j=0;j<aRelTocPaths.length;j++)
- for (var k=0;k<gaRoot[i].aRPath.length;k++)
- {
- var sPath=gaRoot[i].aRPath[k]+aRelTocPaths[j];
- aPaths[aPaths.length]=sPath.substring(1);
- }
- break;
- }
- return aPaths;
-}
-
-function syncInit()
-{
- if(gsTP&&!gbNeedFillStub)
- {
- gInSync=true;
- var obj=document.body;
- var aIdList=new Array();
- var nRet=expandToc(obj,gsTP,aIdList);
- if(nRet!=-1)
- {
- if(nRet==1)
- {
- if(aIdList.length)
- for(var i=0;i<aIdList.length-1;i++)
- ExpandIt2(aIdList[i],true);
- gsCTPath=gsTP;
- if(!gbIE55)
- aIdList[aIdList.length-1].focus();
- else
- HighLightElement(aIdList[aIdList.length-1],gsABgColor,"transparent");
- }
- var aPaths=gaBTPs;
- gsTP=null;
- gaBTPs=null;
- if(aPaths!=null)
- {
- var sPath=getClosestTocPath(aPaths);
- if(sPath!=null)
- {
- gsTP=sPath;
- setTimeout("syncInit()",1);
- }
- }
- }
- gInSync=false;
- }
-}
-
-function loadToc()
-{
- if(!gbLoadToc)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbLoadToc=true;
- var oProj=oResMsg.oParam;
- gaProj=oProj.aProj;
- gbXML=oProj.bXML;
- load1B1();
- }
- }
-}
-
-function load1B1()
-{
- if(gnLT+1<gaProj.length)
- for(var i=gnLT+1;i<gaProj.length;i++)
- if(gaProj[i].sToc)
- {
- gbToc=true;
- gnLT=i;
- setTimeout("loadTocInfo()",1);
- return true;
- }
- return false;
-}
-
-function loadTocInfo()
-{
- loadData2(gaProj[gnLT].sPPath+gaProj[gnLT].sDPath+gaProj[gnLT].sToc);
-}
-
-function loadData2(sFile)
-{
- if(gbXML)
- loadDataXML(sFile);
- else
- loadData(sFile);
-}
-
-function projReady(sRoot,aProj)
-{
- if(gaRoot.length<=gnLT||!gaRoot[gnLT])
- gaRoot[gnLT]=new Object();
- gaRoot[gnLT].sToc=sRoot;
-
- if(gnLT==0)
- {
- gaRoot[gnLT].aRPath=new Array();
- gaRoot[gnLT].aRPath[0]=gsPathSplit;
- }
-
- updatePTPath(gnLT,aProj);
-
- if(!((gnLT+1<gaProj.length)&&load1B1()))
- {
- gbReady=true;
- if(gbIE4)
- setTimeout("loadImages();",1);
- else
- setTimeout("loadTData();",1);
- }
-}
-
-function loadTData()
-{
- if(gaProj[0].sToc!="")
- {
- gbLData=true;
- goChunk=addTocChunk(gaProj[0].sPPath,gaProj[0].sDPath);
- gbToc=false;
- loadData2(gaProj[0].sPPath+gaProj[0].sDPath+gaRoot[0].sToc);
- }
-}
-
-function updatePTPath(n,aProj)
-{
- if(aProj)
- for(var i=0;i<aProj.length;i++)
- {
- var sFullPath=_getFullPath(gaProj[n].sPPath,aProj[i].sPPath);
- for(var j=0;j<gaProj.length;j++)
- if(isSamePath(sFullPath,gaProj[j].sPPath))
- {
- if(gaRoot.length<=j||!gaRoot[j])
- gaRoot[j]=new Object();
- if(!gaRoot[j].aRPath)
- gaRoot[j].aRPath=new Array();
-
- if(gaRoot[n].aRPath)
- for(var k=0;k<gaRoot[n].aRPath.length;k++)
- {
- var bDup=false;
- var sTFPath=gaRoot[n].aRPath[k]+aProj[i].sRPath;
- for(var l=0;l<gaRoot[j].aRPath.length;l++)
- if(gaRoot[j].aRPath[l]==sTFPath)
- {
- bDup=true;
- break;
- }
- if(!bDup)
- gaRoot[j].aRPath[gaRoot[j].aRPath.length]=sTFPath;
- }
- else
- gaRoot[j].aRPath[gaRoot[j].aRPath.length]=aProj[i].sRPath;
- break;
- }
- }
-}
-
-function onLoadXMLError()
-{
- if(gbToc)
- {
- var sRoot="";
- var aRProj=new Array();
- projReady(sRoot,aRProj);
- }
- else
- {
- var aToc=new Array();
- putData(aToc)
- }
-}
-
-function putDataXML(xmlDoc,sDocPath)
-{
- if(gbToc)
- {
- var tocNode=xmlDoc.getElementsByTagName("toc")[0];
- if(tocNode)
- {
- var sRoot=tocNode.getAttribute("root");
- var rmtProject=tocNode.getElementsByTagName("project");
- var aRProj=new Array();
- if(rmtProject.length>0)
- {
- for(var i=0;i<rmtProject.length;i++)
- {
- aRProj[i]=new Object();
- var sURL=rmtProject[i].getAttribute("url");
- if(sURL)
- {
- if(sURL.lastIndexOf("/")!=sURL.length-1)
- sURL+="/";
- }
- aRProj[i].sPPath=sURL;
- aRProj[i].sRPath = "";
- var oSubPath = rmtProject[i].getElementsByTagName("subpath")[0];
- if (oSubPath)
- {
- while (oSubPath)
- {
- aRProj[i].sRPath += oSubPath.getAttribute("name") + "\n";
- oSubPath = oSubPath.getElementsByTagName("subpath")[0];
- }
- }
- else
- aRProj[i].sRPath=rmtProject[i].getAttribute("path");
- }
- }
- projReady(sRoot,aRProj);
- }
- }
- else
- {
- var chunkNode=xmlDoc.getElementsByTagName("tocdata")[0];
- if(chunkNode)
- {
- var aToc=new Array();
- processBook(chunkNode,aToc);
- putData(aToc);
- }
- }
-}
-
-function processBook(node,aToc)
-{
- var i=0;
- var entry=null;
- var prevEntry=null;
- var oChild=node.firstChild;
- do{
- if(oChild)
- {
- if(oChild.nodeName.indexOf("#")!=0)
- {
- var sName=oChild.getAttribute("name");
- var sURL=oChild.getAttribute("url");
- var sRef=oChild.getAttribute("ref");
- var sTarget=oChild.getAttribute("target");
- var sIcons=oChild.getAttribute("images");
- var item=new Object();
- item.sItemName=sName;
- if(sTarget)
- item.sTarget=sTarget;
- if(sIcons)
- item.sIconRef=sIcons;
- if(sURL==null) sURL="";
-
- item.sItemURL=sURL;
-
- if(oChild.nodeName=="book")
- {
- item.nType=1;
- aToc[aToc.length]=item;
- var nCurrPos=aToc.length;
- processBook(oChild,aToc);
- item.nContents=aToc.length-nCurrPos;
- }
- else if(oChild.nodeName=="item")
- {
- item.nType=2;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- else if(oChild.nodeName=="remoteitem")
- {
- item.nType=16;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- else if(oChild.nodeName=="project")
- {
- if(sRef)
- {
- if(sRef.lastIndexOf("/")!=sRef.length-1)
- sRef+="/";
- }
- item.nType=4;
- item.sRefURL=sRef;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- else if(oChild.nodeName=="chunk")
- {
- item.nType=8;
- item.sRefURL=sRef;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- }
- }
- else
- break;
- oChild=oChild.nextSibling;
- }while(true);
-}
-
-function putData(aTocs)
-{
- gaTocsNs61Fix=aTocs;
- setTimeout("realPutData();",1);
-}
-
-function realPutData()
-{
- removeLoadingDiv();
- var aTocs=gaTocsNs61Fix;
- if(!aTocs) return;
- if(goChunk)
- {
- var n=gnMinIdx;
- goChunk.nMI=gnMinIdx;
- goChunk.aTocs=aTocs;
- gnMinIdx+=aTocs.length;
- if(gnInsIdx!=-1)
- {
- var oObj=getElement(getPBId(gnInsIdx));
- if(oObj)
- {
- oObj.insertAdjacentHTML("afterEnd",writeBookItems(n-1,aTocs.length));
- setTimeout("syncInit()",1);
- }
- }
- else{
- document.body.insertAdjacentHTML("beforeEnd",writeBookItems(n-1,aTocs.length));
- var oParam=new Object();
- oParam.oTocInfo=null;
- var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);
- if(SendMessage(oMsg))
- {
- if(oMsg.oParam.oTocInfo)
- syncWithPaths(oMsg.oParam.oTocInfo);
- }
- }
- }
- gbLData=false;
- checkFillStub();
-}
-
-function syncWithPaths(oTopicParam)
-{
- var aPaths=getTocPaths(oTopicParam);
- if(gsTP)
- gaBTPs=aPaths;
- else{
- var sPath=getClosestTocPath(aPaths);
- if(sPath!=null)
- {
- gsTP=sPath;
- setTimeout("syncInit()",1);
- }
- }
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- loadToc();
- var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)
- SendMessage(oMsg);
-}
-
-function loadImages()
-{
- if(giBookClose)
- {
- gaImgs[gnImages]=giBookClose;
- gnImages++;
- }
- if(giBookOpen)
- {
- gaImgs[gnImages]=giBookOpen;
- gnImages++;
- }
- if(giBookItem)
- {
- gaImgs[gnImages]=giBookItem;
- gnImages++;
- }
- if(giURLItem)
- {
- gaImgs[gnImages]=giURLItem;
- gnImages++;
- }
- if(giNewBookClose)
- {
- gaImgs[gnImages]=giNewBookClose;
- gnImages++;
- }
- if(giNewBookOpen)
- {
- gaImgs[gnImages]=giNewBookOpen;
- gnImages++;
- }
- if(giNewBookItem)
- {
- gaImgs[gnImages]=giNewBookItem;
- gnImages++;
- }
- if(giNewURLItem)
- {
- gaImgs[gnImages]=giNewURLItem;
- gnImages++;
- }
- if(gnImages>0)
- {
- setTimeout("loadDataAfter();",1000);
- loadImage(gaImgs[0]);
- }
- else
- loadDataAfter();
-}
-
-function loadImage(sURL)
-{
- var oImg=new Image();
- oImg.onload=checkImageLoading;
- oImg.onerror=errorImageLoading;
- oImg.src=_getFullPath(gaProj[0].sPPath,sURL);
-}
-
-function loadDataAfter()
-{
- if(!gbLoadData)
- {
- gbLoadData=true;
- loadTData();
- }
-}
-
-function errorImageLoading()
-{
- gnLoadedImages++;
- if(gnImages==gnLoadedImages)
- loadDataAfter();
- else
- loadImage(gaImgs[gnLoadedImages]);
-}
-
-function checkImageLoading()
-{
- gnLoadedImages++;
- if(gnImages==gnLoadedImages)
- loadDataAfter();
- else
- loadImage(gaImgs[gnLoadedImages]);
-}
-
-function window_unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this,WH_MSG_SYNCTOC);
- UnRegisterListener2(this,WH_MSG_SHOWTOC);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadToc();
- }
- else if(nMsgId==WH_MSG_SYNCTOC)
- {
- if(gbReady)
- {
- syncWithPaths(oMsg.oParam);
- }
- }
- else if(nMsgId==WH_MSG_SHOWTOC)
- {
- if(!gbNav6)
- document.body.focus();
- }
- }
- return true;
-}
-
-if(window.gbWhUtil&&window.gbWhVer&&window.gbWhMsg&&window.gbWhProxy)
-{
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- RegisterListener2(this,WH_MSG_SYNCTOC);
- RegisterListener2(this,WH_MSG_SHOWTOC);
- goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goHFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
-
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_unload;
- gbWhTHost=true;
-}
-else
- document.location.reload();
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.005
-var gsPPath="";
-var gaPaths=new Array();
-var gaAvenues=new Array();
-
-var goFrame=null;
-var gsStartPage="";
-var gsRelCurPagePath="";
-var gsSearchFormHref="";
-var gnTopicOnly=-1;
-var gnOutmostTopic=-1;
-
-var BTN_TEXT=1;
-var BTN_IMG=2;
-
-var goSync=null;
-
-var goShow=null;
-var goHide=null;
-
-var goPrev=null;
-var goNext=null;
-var gnForm=0;
-var goShowNav=null;
-var goHideNav=null;
-
-var goWebSearch=null;
-
-var gsBtnStyle="";
-var gaButtons=new Array();
-var gaTypes=new Array();
-var whtopic_foldUnload=null;
-var gbWhTopic=false;
-var gbCheckSync=false;
-var gbSyncEnabled=false;
-
-function setButtonFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- gsBtnStyle+=".whtbtn"+sType+"{"+getFontStyle(vFont)+"}";
-}
-
-function writeBtnStyle()
-{
- if(gaButtons.length>0)
- {
- if(gsBtnStyle.length>0)
- {
- var sStyle="<style type='text/css'>";
- sStyle+=gsBtnStyle+"</style>";
- document.write(sStyle);
- }
- }
-}
-
-function button(sText,nWidth,nHeight)
-{
- this.sText=sText;
- this.nWidth=nWidth;
- this.nHeight=nHeight;
-
- this.aImgs=new Array();
- var i=0;
- while(button.arguments.length>i+3)
- {
- this.aImgs[i]=button.arguments[3+i];
- i++;
- }
-}
-
-//project info
-function setRelStartPage(sPath)
-{
- if(gsPPath.length==0)
- {
- gsPPath=_getFullPath(_getPath(document.location.href),_getPath(sPath));
- gsStartPage=_getFullPath(_getPath(document.location.href),sPath);
- gsRelCurPagePath=_getRelativeFileName(gsStartPage,document.location.href);
- }
-}
-
-function getImage(oImage,sType)
-{
- var sImg="";
- if(oImage&&oImage.aImgs&&(oImage.aImgs.length>0))
- {
- sImg+="<img alt=\""+sType+"\" src=\""+oImage.aImgs[0]+"\"";
- if(oImage.nWidth>0)
- sImg+=" width="+oImage.nWidth;
- if(oImage.nHeight>0)
- sImg+=" height="+oImage.nHeight;
- sImg+=" border=0>";
- }
- return sImg;
-}
-
-function addTocInfo(sTocPath)
-{
- gaPaths[gaPaths.length]=sTocPath;
-}
-
-function addAvenueInfo(sName,sPrev,sNext)
-{
- gaAvenues[gaAvenues.length]=new avenueInfo(sName,sPrev,sNext);
-}
-
-function addButton(sType,nStyle,sText,sHref,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sImg1,sImg2,sImg3)
-{
- var sButton="";
- var nBtn=gaButtons.length;
- if(sType=="prev")
- {
- if(canGo(false))
- {
- var sTitle="Previous Topic";
- goPrev=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnprev\" href=\"javascript:void(0);\" onclick=\"goAvenue(false);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goPrev.sText;
- else
- sButton+=getImage(goPrev,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="next")
- {
- if(canGo(true))
- {
- var sTitle="Next Topic";
- goNext=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnnext\" href=\"javascript:void(0);\" onclick=\"goAvenue(true);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goNext.sText;
- else
- sButton+=getImage(goNext,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="show")
- {
- if(isTopicOnly()&&(!gbOpera6||gbOpera7))
- {
- var sTitle="Show Navigation Component";
- goShow=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnshow\" href=\"javascript:void(0);\" onclick=\"show();return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goShow.sText;
- else
- sButton+=getImage(goShow,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="hide")
- {
- if(!isTopicOnly()&&!gbOpera6)
- {
- var sTitle="Hide Navigation Component";
- goHide=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnhide\" href=\"javascript:void(0);\" onclick=\"hide();return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goHide.sText;
- else
- sButton+=getImage(goHide,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="shownav")
- {
- if(isShowHideEnable())
- {
- var sTitle="Show Navigation Component";
- goShowNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnshownav\" href=\"javascript:void(0);\" onclick=\"showHidePane(true);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goShowNav.sText;
- else
- sButton+=getImage(goShowNav,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="hidenav")
- {
- if(isShowHideEnable())
- {
- var sTitle="Hide Navigation Component";
- goHideNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnhidenav\" href=\"javascript:void(0);\" onclick=\"showHidePane(false);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goHideNav.sText;
- else
- sButton+=getImage(goHideNav,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="synctoc")
- {
- if(gaPaths.length>0)
- {
- var sTitle="Sync TOC";
- goSync=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnsynctoc\" href=\"javascript:void(0);\" onclick=\"syncWithShow();return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goSync.sText;
- else
- sButton+=getImage(goSync,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="websearch")
- {
- if(gsSearchFormHref.length>0)
- {
- var sTitle="WebSearch";
- goWebSearch=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnwebsearch\" href=\""+gsSearchFormHref+"\">";
- if(nStyle==BTN_TEXT)
- sButton+=goWebSearch.sText;
- else
- sButton+=getImage(goWebSearch,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="searchform")
- {
- gaButtons[nBtn]="NeedSearchForm";
- gaTypes[nBtn]=sType;
- }
- if(sButton.length!=0)
- {
- if(nStyle==BTN_TEXT)
- sButton+=" ";
- gaButtons[nBtn]="<td>"+sButton+"</td>";
- gaTypes[nBtn]=sType;
- }
-}
-
-function isSyncEnabled()
-{
- if(!gbCheckSync)
- {
- var oMsg=new whMessage(WH_MSG_ISSYNCSSUPPORT,this,1,null);
- if(SendMessage(oMsg))
- {
- gbSyncEnabled=oMsg.oParam;
- }
- gbCheckSync=true;
- }
- return gbSyncEnabled;
-}
-
-function isInPopup()
-{
- return (window.name.indexOf("BSSCPopup")!=-1);
-}
-
-function getIntopicBar(sAlign)
-{
- var sHTML="";
- if(gaButtons.length>0)
- {
- sHTML+="<div align="+sAlign+">";
-
- sHTML+="<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\"><tr>";
- for(var i=0;i<gaButtons.length;i++)
- {
- if(gaTypes[i]!="synctoc"||isSyncEnabled())
- {
- if(gaButtons[i]=="NeedSearchForm")
- sHTML+=getSearchFormHTML();
- else
- sHTML+=gaButtons[i];
- }
- }
- sHTML+="</tr></table>";
-
- sHTML+="</div>";
- }
- return sHTML;
-}
-
-
-function writeIntopicBar(nAligns)
-{
- if(isInPopup()) return;
- if(gaButtons.length>0)
- {
- var sHTML="";
- if(nAligns!=0)
- {
- sHTML+="<table width=100%><tr>"
- if(nAligns&1)
- sHTML+="<td width=33%>"+getIntopicBar("left")+"</td>";
- if(nAligns&2)
- sHTML+="<td width=34%>"+getIntopicBar("center")+"</td>";
- if(nAligns&4)
- sHTML+="<td width=33%>"+getIntopicBar("right")+"</td>";
- sHTML+="</tr></table>";
- document.write(sHTML);
- }
- }
-}
-
-function sendAveInfoOut()
-{
- if(!isInPopup())
- setTimeout("sendAveInfo();",100);
-}
-
-function sendAveInfo()
-{
- var oMsg=new whMessage(WH_MSG_AVENUEINFO,this,1,gaAvenues);
- SendMessage(oMsg);
-}
-
-
-function onNext()
-{
- var oMsg=new whMessage(WH_MSG_NEXT,this,1,null);
- SendMessage(oMsg);
-}
-
-function onPrev()
-{
- var oMsg=new whMessage(WH_MSG_PREV,this,1,null);
- SendMessage(oMsg);
-}
-
-function createSyncInfo()
-{
- var oParam=new Object();
- if(gsPPath.length==0)
- gsPPath=_getPath(document.location.href);
- oParam.sPPath=gsPPath;
- oParam.sTPath=document.location.href;
- oParam.aPaths=gaPaths;
- return oParam;
-}
-
-function syncWithShow()
-{
- if(isTopicOnly())
- show();
- else
- {
- sync();
- showTocPane();
- }
-}
-
-function showTocPane()
-{
- var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null);
- SendMessage(oMsg);
-}
-
-function sendSyncInfo()
-{
- if(!isInPopup())
- {
- var oParam=null;
- if(gaPaths.length>0)
- {
- oParam=createSyncInfo();
- }
- var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,oParam);
- SendMessage(oMsg);
- }
-}
-
-function sendInvalidSyncInfo()
-{
- if(!isInPopup())
- {
- var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,null);
- SendMessage(oMsg);
- }
-}
-
-function enableWebSearch(bEnable)
-{
- if(!isInPopup())
- {
- var oMsg=new whMessage(WH_MSG_ENABLEWEBSEARCH,this,1,bEnable);
- SendMessage(oMsg);
- }
-}
-
-function autoSync(nSync)
-{
- if(nSync==0) return;
- if(isInPopup()) return;
- if(isOutMostTopic())
- sync();
-}
-
-function isOutMostTopic()
-{
- if(gnOutmostTopic==-1)
- {
- var oMessage=new whMessage(WH_MSG_ISINFRAMESET,this,1,null);
- if(SendMessage(oMessage))
- gnOutmostTopic=0;
- else
- gnOutmostTopic=1;
- }
- return (gnOutmostTopic==1);
-}
-
-function sync()
-{
- if(gaPaths.length>0)
- {
- var oParam=createSyncInfo();
- var oMessage=new whMessage(WH_MSG_SYNCTOC,this,1,oParam);
- SendMessage(oMessage);
- }
-}
-
-
-function avenueInfo(sName,sPrev,sNext)
-{
- this.sName=sName;
- this.sPrev=sPrev;
- this.sNext=sNext;
-}
-
-function getCurrentAvenue()
-{
- var oParam=new Object();
- oParam.sAvenue=null;
- var oMessage=new whMessage(WH_MSG_GETCURRENTAVENUE,this,1,oParam);
- SendMessage(oMessage);
- return oParam.sAvenue;
-}
-
-function unRegisterListener()
-{
- sendInvalidSyncInfo();
- enableWebSearch(false);
- if(whtopic_foldUnload)
- whtopic_foldUnload();
-}
-
-function onSendMessage(oMsg)
-{
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_GETAVIAVENUES)
- {
- oMsg.oParam.aAvenues=gaAvenues;
- return false;
- }
- else if(nMsgId==WH_MSG_GETTOCPATHS)
- {
- if(isOutMostTopic())
- {
- oMsg.oParam.oTocInfo=createSyncInfo();
- return false;
- }
- else
- return true;
- }
- else if(nMsgId==WH_MSG_NEXT)
- {
- goAvenue(true);
- }
- else if(nMsgId==WH_MSG_PREV)
- {
- goAvenue(false);
- }
- else if(nMsgId==WH_MSG_WEBSEARCH)
- {
- websearch();
- }
- return true;
-}
-
-function goAvenue(bNext)
-{
- var sTopic=null;
- var sAvenue=getCurrentAvenue();
- var nAvenue=-1;
- if(sAvenue!=null&&sAvenue!="")
- {
- for(var i=0;i<gaAvenues.length;i++)
- {
- if(gaAvenues[i].sName==sAvenue)
- {
- nAvenue=i;
- break;
- }
- }
- if(nAvenue!=-1)
- {
- if(bNext)
- sTopic=gaAvenues[nAvenue].sNext;
- else
- sTopic=gaAvenues[nAvenue].sPrev;
- }
- }
- else
- {
- for(var i=0;i<gaAvenues.length;i++)
- {
- if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)
- {
- sTopic=gaAvenues[i].sNext;
- break;
- }
- else if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext)
- {
- sTopic=gaAvenues[i].sPrev;
- break;
- }
- }
- }
-
- if(sTopic!=null&&sTopic!="")
- {
- if(gsPPath!=null&&gsPPath!="")
- {
- sFullTopicPath=_getFullPath(gsPPath,sTopic);
- document.location=sFullTopicPath;
- }
- }
-}
-
-function canGo(bNext)
-{
- for(var i=0;i<gaAvenues.length;i++)
- {
- if((gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)||
- (gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext))
- return true;
- }
- return false;
-}
-
-function show()
-{
- if(gsStartPage!="")
- window.location=gsStartPage+"#"+gsRelCurPagePath;
-}
-
-function hide()
-{
- if(goFrame!=null)
- {
- goFrame.location=window.location;
- }
-}
-
-function isTopicOnly()
-{
- if(gnTopicOnly==-1)
- {
- var oParam=new Object();
- oParam.oFrame=null;
- var oMsg=new whMessage(WH_MSG_GETSTARTFRAME,this,1,oParam);
- if(SendMessage(oMsg))
- {
- goFrame=oParam.oFrame;
- gnTopicOnly=0;
- }
- else
- gnTopicOnly=1;
- }
- if(gnTopicOnly==1)
- return true;
- else
- return false;
-}
-
-function websearch()
-{
- if(gbNav4)
- {
- if(document.ehelpform)
- document.ehelpform.submit();
- }
- else
- {
- if(window.ehelpform)
- window.ehelpform.submit();
- }
-}
-
-function addSearchFormHref(sHref)
-{
- gsSearchFormHref=sHref;
- enableWebSearch(true);
-}
-
-function searchB(nForm)
-{
- var sValue=eval("document.searchForm"+nForm+".searchString.value");
- var oMsg=new whMessage(WH_MSG_SEARCHTHIS,this,1,sValue);
- SendMessage(oMsg);
-}
-
-function getSearchFormHTML()
-{
- var sHTML="";
- gnForm++;
- var sFormName="searchForm"+gnForm;
- var sButton="<form name=\""+sFormName+"\" method=\"POST\" action=\"javascript:searchB("+gnForm+")\">"
- sButton+="<input type=\"text\" name=\"searchString\" value=\"- Full Text search -\" size=\"20\"/>";
- if(""=="text")
- {
- sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\"></a>";
- }
- else if(""=="image")
- {
- sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\">"
- sButton+="<img src=\"\" border=0></a>";
- }
- sButton+="</form>";
- sHTML="<td align=\"center\">"+sButton+"</td>";
- return sHTML;
-}
-
-function showHidePane(bShow)
-{
- var oMsg=null;
- if(bShow)
- oMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);
- else
- oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null);
- SendMessage(oMsg);
-}
-
-function isShowHideEnable()
-{
- if(gbIE4)
- return true;
- else
- return false;
-}
-
-
-function PickupDialog_Invoke()
-{
- if(!gbIE4||gbMac)
- {
- if(typeof(_PopupMenu_Invoke)=="function")
- return _PopupMenu_Invoke(PickupDialog_Invoke.arguments);
- }
- else
- {
- if(PickupDialog_Invoke.arguments.length>2)
- {
- var sPickup="whskin_pickup.htm";
- var sPickupPath=gsPPath+sPickup;
- if(gbIE4)
- {
- var sFrame=PickupDialog_Invoke.arguments[1];
- var aTopics=new Array();
- for(var i=2;i<PickupDialog_Invoke.arguments.length;i+=2)
- {
- var j=aTopics.length;
- aTopics[j]=new Object();
- aTopics[j].m_sName=PickupDialog_Invoke.arguments[i];
- aTopics[j].m_sURL=PickupDialog_Invoke.arguments[i+1];
- }
-
- if(aTopics.length>1)
- {
- var nWidth=300;
- var nHeight=180;
- var nScreenWidth=screen.width;
- var nScreenHeight=screen.height;
- var nLeft=(nScreenWidth-nWidth)/2;
- var nTop=(nScreenHeight-nHeight)/2;
- if(gbIE4)
- {
- var vRet=window.showModalDialog(sPickupPath,aTopics,"dialogHeight:"+nHeight+"px;dialogWidth:"+nWidth+"px;resizable:yes;status:no;scroll:no;help:no;center:yes;");
- if(vRet)
- {
- var sURL=vRet.m_url;
- if(sFrame)
- window.open(sURL,sFrame);
- else
- window.open(sURL,"_self");
- }
- }
- }
- else if(aTopics.length==1)
- {
- var sURL=aTopics[0].m_sURL
- if(sFrame)
- window.open(sURL,sFrame);
- else
- window.open(sURL,"_self");
- }
- }
- }
- }
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- RegisterListener("bsscright",WH_MSG_GETAVIAVENUES);
- RegisterListener("bsscright",WH_MSG_GETTOCPATHS);
- RegisterListener("bsscright",WH_MSG_NEXT);
- RegisterListener("bsscright",WH_MSG_PREV);
- RegisterListener("bsscright",WH_MSG_WEBSEARCH);
- if(gbMac&&gbIE4)
- {
- if(typeof(window.onunload)!="unknown")
- if(window.onunload.toString!=unRegisterListener.toString)
- whtopic_foldUnload=window.onunload;
- }
- else
- {
- if(window.onunload)
- if(window.onunload.toString!=unRegisterListener.toString)
- whtopic_foldUnload=window.onunload;
- }
- window.onunload=unRegisterListener;
- setButtonFont("show","","","","","","");
-setButtonFont("hide","","","","","","");
-
- gbWhTopic=true;
-}
-else
- document.location.reload();
+++ /dev/null
-// WebHelp 5.10.004
-var gsFileName="";
-var gsDivName="";
-var xmlDoc=null;
-var sdocPath=null;
-var gsInsertBeforeEndHTML="";
-var sReplaceStringsSrc=new Array();
-var gsDivName="dataDiv";
-var gnLoadDivNum=0;
-sReplaceStringsSrc[0]="&";
-sReplaceStringsSrc[1]=">";
-sReplaceStringsSrc[2]="<";
-sReplaceStringsSrc[3]=""";
-sReplaceStringsSrc[4]=String.fromCharCode(8364);
-sReplaceStringsSrc[5]=" ";
-
-var sReplaceStringsDst=new Array();
-sReplaceStringsDst[0]="&";
-sReplaceStringsDst[1]=">";
-sReplaceStringsDst[2]="<";
-sReplaceStringsDst[3]="\"";
-sReplaceStringsDst[4]=String.fromCharCode(128);
-sReplaceStringsDst[5]=" ";
-var goHighLighted=null;
-
-function _getRelativePath(strParentPath,strCurrentPath)
-{
- if(_isAbsPath(strCurrentPath)) return _getPath(strCurrentPath);
- strParentPath=_replaceSlash(strParentPath);
- strParentPath=_getPath(strParentPath);
- strCurrentPath=_replaceSlash(strCurrentPath);
- strCurrentPath=_getPath(strCurrentPath);
- for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)
- {
- if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))
- break;
- }
-
- strParentPath=strParentPath.substring(i);
- strCurrentPath=strCurrentPath.substring(i);
-
- var nPathPos=0;
- while(nPathPos!=-1)
- {
- nPathPos=strParentPath.indexOf("/");
- if(nPathPos!=-1)
- {
- strParentPath=strParentPath.substring(nPathPos+1);
- strCurrentPath="../"+strCurrentPath;
- }
- }
- return strCurrentPath;
-}
-
-function _getRelativeFileName(strParentPath,strCurrentPath)
-{
- strParentPath=_replaceSlash(strParentPath);
- strParentPath=_getPath(strParentPath);
- strCurrentPath=_replaceSlash(strCurrentPath);
- for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)
- {
- if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))
- break;
- }
-
- strParentPath=strParentPath.substring(i);
- strCurrentPath=strCurrentPath.substring(i);
-
- var nPathPos=0;
- while(nPathPos!=-1)
- {
- nPathPos=strParentPath.indexOf("/");
- if(nPathPos!=-1)
- {
- strParentPath=strParentPath.substring(nPathPos+1);
- strCurrentPath="../"+strCurrentPath;
- }
- }
- return strCurrentPath;
-}
-
-function _isAbsPathToHost(sPath)
-{
- return (sPath.indexOf("/")==0);
-}
-
-function _getHost(sPath)
-{
- var nPos=sPath.indexOf("//");
- if(nPos>0)
- {
- var nPosx=sPath.indexOf("/",nPos+2);
- if(nPosx>0)
- return sPath.substring(0,nPosx);
- else
- return sPath;
- }
- return sPath;
-}
-
-function _getFullPath(sPath,sRelPath)
-{
- if(_isAbsPath(sRelPath))
- return sRelPath;
- else if(_isAbsPathToHost(sRelPath))
- return _getHost(sPath)+sRelPath;
- else
- {
- var sFullPath=sPath;
- var nPathPos=0;
- while(nPathPos!=-1)
- {
- var nPathPos=sRelPath.indexOf("../");
- if(nPathPos!=-1)
- {
- sRelPath=sRelPath.substring(nPathPos+3);
- sFullPath=sFullPath.substring(0,sFullPath.length-1);
- var nPos2=sFullPath.lastIndexOf("/");
- if(nPos2!=-1)
- sFullPath=sFullPath.substring(0,nPos2+1);
- else
- break;
- }
- }
- sFullPath+=sRelPath;
- return sFullPath;
- }
-}
-
-function _isAbsPath(strPath)
-{
- var strUpper=strPath.toUpperCase();
- return (strUpper.indexOf(":")!=-1||strUpper.indexOf("\\\\")==0);
-}
-
-function _replaceSlash(strURL)
-{
- var re=new RegExp("\\\\","g");
- var strReplacedURL=strURL.replace(re,"/");
- return strReplacedURL;
-}
-
-function _getPath(strURL)
-{
- pathpos=strURL.lastIndexOf("/");
- if(pathpos>0)
- return strURL.substring(0,pathpos+1);
- else
- return "";
-}
-
-function removeItemFromArray(oArray,i)
-{
- if(oArray.length&&i>=0&&i<oArray.length)
- {
- var len=oArray.length;
- for(var s=i;s<len-1;s++)
- oArray[s]=oArray[s+1];
- oArray.length=len-1;
- }
-}
-
-function insertItemIntoArray(oArray,i,obj)
-{
- if(oArray.length&&i>=0&&i<=oArray.length)
- {
- var len=oArray.length;
- for(var s=len;s>i;s--)
- oArray[s]=oArray[s-1];
- oArray[i]=obj;
- }
-}
-
-function loadData(sFileName)
-{
- var i=gnLoadDivNum;
- var sName=gsDivName+gnLoadDivNum++;
- loadData_2(sFileName,sName);
-}
-
-function loadData_2(sFileName,sDivName)
-{
- if(!getElement(sDivName))
- {
- if(!insertDataDiv(sDivName))
- {
- gsFileName=sFileName;
- gsDivName=sDivName;
- return;
- }
- }
- var sHTML="";
- if(gbMac)
- sHTML+="<iframe src=\""+sFileName+"\"></iframe>";
- else
- sHTML+="<iframe style=\"visibility:hidden;width:0;height:0\" src=\""+sFileName+"\"></iframe>";
-
- var oDivCon=getElement(sDivName);
- if(oDivCon)
- {
- if(gbNav6)
- {
- if(oDivCon.getElementsByTagName&&oDivCon.getElementsByTagName("iFrame").length>0)
- {
- oDivCon.getElementsByTagName("iFrame")[0].src=sFileName;
- }
- else
- oDivCon.innerHTML=sHTML;
- }
- else
- oDivCon.innerHTML=sHTML;
- }
-}
-
-function loadDataXML(sFileName)
-{
- var sCurrentDocPath=_getPath(document.location.href);
- sdocPath=_getFullPath(sCurrentDocPath,sFileName);
- if(gbIE5)
- {
- xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
- xmlDoc.async=true;
- xmlDoc.onreadystatechange=checkState;
- if(document.body!=null)
- xmlDoc.load(sdocPath);
- }
- else if(gbNav6)
- {
- xmlDoc=document.implementation.createDocument("","",null);
- xmlDoc.addEventListener("load",initializeData,false);
- xmlDoc.load(sdocPath,"text/xml");
- }
-}
-
-function initializeData()
-{
- if(xmlDoc!=null)
- putDataXML(xmlDoc,sdocPath);
-}
-
-function checkState()
-{
- if(xmlDoc!=null)
- {
- var state=xmlDoc.readyState;
- if(state==4)
- {
- var err=xmlDoc.parseError;
- if(err.errorCode==0)
- putDataXML(xmlDoc,sdocPath);
- else
- onLoadXMLError();
- }
- }
-}
-
-function insertDataDiv(sName)
-{
- var sHTML="";
- if(gbMac)
- sHTML+="<div id="+sName+" style=\"display:none;\"></div>";
- else
- sHTML+="<div id="+sName+" style=\"visibility:hidden\"></div>";
- if((gbIE5||gbNav6)&&document.body)
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
- else
- {
- gsInsertBeforeEndHTML=sHTML;
- setTimeout("insertWhenBodyReady();",100);
- return false;
- }
- return true;
-}
-
-function insertWhenBodyReady()
-{
- if(gsInsertBeforeEndHTML=="") return;
- if(document.body)
- {
- document.body.insertAdjacentHTML("beforeEnd",gsInsertBeforeEndHTML);
- gsInsertBeforeEndHTML="";
- loadData_2(gsFileName,gsDivName);
- }
- else
- {
- setTimeout("insertWhenBodyReady();",100);
- }
-}
-
-function window_BUnload()
-{
- for(var i=0;i<gnLoadDivNum;i++)
- {
- var oDivCon=getElement(gsDivName+i);
- if(oDivCon)
- oDivCon.innerHTML="";
- }
-}
-
-function removeThis(obj)
-{
- if(obj.parentNode)
- obj.parentNode.removeChild(obj);
- else
- obj.outerHTML="";
-}
-
-function getParentNode(obj)
-{
- if(obj.parentNode)
- return obj.parentNode;
- else if(obj.parentElement)
- return obj.parentElement;
- return null;
-}
-
-function getElement(sID)
-{
- if(document.getElementById)
- return document.getElementById(sID);
- else if(document.all)
- return document.all(sID);
- return null;
-}
-
-function getChildrenByTag(obj,sTagName)
-{
- if(obj.getElementsByTagName)
- {
- var aChildren=new Array();
- var aElements=getElementsByTag(obj,sTagName);
- if(aElements!=null)
- {
- for(var i=0;i<aElements.length;i++)
- {
- if(aElements[i].parentNode==obj)
- aChildren[aChildren.length]=aElements[i];
- }
- return aChildren;
- }
- else
- return new Array();
- }
- else if(obj.children)
- return obj.children.tags(sTagName);
-}
-
-function getElementsByTag(obj,sTagName)
-{
- if(obj.getElementsByTagName)
- return obj.getElementsByTagName(sTagName);
- else if(obj.all)
- return obj.all.tags(sTagName);
- return null;
-}
-
-function _htmlToText(sHTML)
-{
- if(sHTML==null) return null;
- var sText=sHTML;
- for(var i=0;i<sReplaceStringsSrc.length;i++)
- {
- var re=new RegExp(sReplaceStringsSrc[i],"g");
- sText=sText.replace(re,sReplaceStringsDst[i]);
- }
- return sText;
-}
-
-function _textToHtml_nonbsp(sText)
-{
- if(sText==null) return null;
- var sHTML=sText;
- for(var i=0;i<sReplaceStringsSrc.length-1;i++)
- {
- var re=new RegExp(sReplaceStringsDst[i],"g");
- sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);
- }
- return sHTML;
-}
-
-function _textToHtml(sText)
-{
- if(sText==null) return null;
- var sHTML=sText;
- for(var i=0;i<sReplaceStringsSrc.length;i++)
- {
- var re=new RegExp(sReplaceStringsDst[i],"g");
- sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);
- }
- return sHTML;
-}
-
-
-function getInnerText(obj)
-{
- var renbsp2sp=new RegExp("\xa0","g");
- if(obj.innerText)
- {
- var sText=obj.innerText;
- sText=sText.replace(renbsp2sp," ");
- return sText;
- }
- else
- {
- if(obj.nodeValue)
- {
- var sValue=obj.nodeValue;
- sValue=sValue.replace(renbsp2sp," ");
- return sValue;
- }
- else
- {
- var sText="";
- var oChild=obj.firstChild;
- while(oChild!=null)
- {
- sText+=getInnerText(oChild);
- oChild=oChild.nextSibling;
- }
- return sText;
- }
- }
-
-}
-
-function HighLightElement(obj,sHighLightColor,sNormalColor)
-{
- if(obj!=null)
- {
- resetHighLight(sNormalColor);
- if (obj.style)
- obj.style.backgroundColor=sHighLightColor;
- goHighLighted=obj;
- }
-}
-
-function resetHighLight(sNormalColor)
-{
- if(goHighLighted!=null)
- {
- if (goHighLighted.style)
- goHighLighted.style.backgroundColor=sNormalColor;
- goHighLighted=null;
- }
-}
-
-function whFont(sName,sSize,sColor,sStyle,sWeight,sDecoration)
-{
- this.sName=sName;
- this.sSize=sSize;
- this.sColor=sColor;
- this.sStyle=sStyle;
- this.sWeight=sWeight;
- this.sDecoration=sDecoration;
-}
-
-function getFontStyle(oFont)
-{
- var sStyle="";
- if(oFont)
- {
- sStyle+="font-family:"+oFont.sName+";";
- if(gbMac)
- {
- var nSize=parseInt(oFont.sSize);
- if(gbIE5)
- nSize+=2;
- else
- nSize+=4;
- sStyle+="font-size:"+nSize+"pt;";
- }
- else
- sStyle+="font-size:"+oFont.sSize+";";
-
- sStyle+="font-style:"+oFont.sStyle+";";
- sStyle+="font-weight:"+oFont.sWeight+";";
- sStyle+="text-decoration:"+oFont.sDecoration+";";
- sStyle+="color:"+oFont.sColor+";";
- }
- return sStyle;
-}
-
-function _browserStringToText(sBStr)
-{
- var sText="";
- // change %xxx back to the real char.
- var nPos=sBStr.indexOf('%');
- while(nPos!=-1)
- {
- sText+=sBStr.substring(0,nPos);
- sBStr=sBStr.substring(nPos+1);
- var sNum="";
- var i=0;
- while(sBStr.charAt(i)>='0'&&sBStr.charAt(i)<='9')
- {
- sNum+=sBStr.charAt(i++);
- }
- if(sNum!=""){
- var nNum=parseInt(sNum,16);
- sText+=String.fromCharCode(nNum);
- sBStr=sBStr.substring(i);
- }
- nPos=sBStr.indexOf('%');
- }
- sText+=sBStr;
- return sText;
-}
-
-function excapeSingleQuotandSlash(str)
-{
- if(str==null) return null;
- var nPos=0;
- var sRes="";
- var nPosNew=str.indexOf("\\",nPos);
- while(nPosNew!=-1){
- sRes+=str.substring(nPos,nPosNew+1)+"\\";
- nPos=nPosNew+1;
- nPosNew=str.indexOf("\\",nPos);
- }
- if(nPos<str.length)
- sRes+=str.substring(nPos);
- var re=new RegExp("'","g");
- sRes=sRes.replace(re,"\\'");
- return sRes;
-}
-
-var gbWhUtil=true;
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.006
-var gbNav=false;
-var gbNav6=false;
-var gbNav61=false;
-var gbNav7=false;
-var gbNav4=false;
-var gbIE4=false;
-var gbIE=false;
-var gbIE5=false;
-var gbIE55=false;
-var gbOpera6=false;
-var gbOpera7=false;
-var gbKonqueror3=false;
-
-var gAgent=navigator.userAgent.toLowerCase();
-var gbMac=(gAgent.indexOf("mac")!=-1);
-var gbSunOS=(gAgent.indexOf("sunos")!=-1);
-var gbOpera=(gAgent.indexOf("opera")!=-1);
-var gbKonqueror=(gAgent.indexOf("konqueror")!= -1);
-var gbSafari=(gAgent.indexOf("safari")!= -1);
-var gbWindows=((gAgent.indexOf('win')!= -1)||(gAgent.indexOf('16bit')!= -1));
-var gbMozilla=((gAgent.indexOf('gecko')!=-1) && (gAgent.indexOf('netscape')==-1));
-
-
-var gVersion=navigator.appVersion.toLowerCase();
-
-var gnVerMajor=parseInt(gVersion);
-var gnVerMinor=parseFloat(gVersion);
-
-if(!gbOpera&&!gbKonqueror&&!gbSafari) // opera can mimic IE or Netscape by settings.
-{
- gbIE=(navigator.appName.indexOf("Microsoft")!=-1);
- gbNav=(gAgent.indexOf('mozilla')!=-1) && ((gAgent.indexOf('spoofer')==-1) && (gAgent.indexOf('compatible')==-1));
- if(gnVerMajor>=4)
- {
- if(navigator.appName=="Netscape")
- {
- gbNav4=true;
- if(gnVerMajor>=5)
- gbNav6=true;
- }
- gbIE4=(navigator.appName.indexOf("Microsoft")!=-1);
- }
- if(gbNav6)
- {
- var nPos=gAgent.indexOf("gecko");
- if(nPos!=-1)
- {
- var nPos2=gAgent.indexOf("/", nPos);
- if(nPos2!=-1)
- {
- var nVersion=parseFloat(gAgent.substring(nPos2+1));
- if(nVersion>=20010726)
- {
- gbNav61=true;
- if (nVersion>=20020823)
- gbNav7=true;
- }
- }
- }
- }else if(gbIE4)
- {
- var nPos=gAgent.indexOf("msie");
- if(nPos!=-1)
- {
- var nVersion=parseFloat(gAgent.substring(nPos+5));
- if(nVersion>=5)
- {
- gbIE5=true;
- if(nVersion>=5.5)
- gbIE55=true;
- }
- }
- }
-}
-else if (gbOpera)
-{
- var nPos = gAgent.indexOf("opera");
- if(nPos!=-1)
- {
- var nVersion=parseFloat(gAgent.substring(nPos+6));
- if(nVersion>=6)
- {
- gbOpera6=true;
- if(nVersion>=7)
- gbOpera7=true;
- }
- }
-}
-else if (gbKonqueror)
-{
- var nPos = gAgent.indexOf("konqueror");
- if(nPos!=-1)
- {
- var nVersion = parseFloat(gAgent.substring(nPos+10));
- if (nVersion >= 3)
- {
- gbKonqueror3=true;
- }
- }
-}
-
-var gbWhVer=true;
\ No newline at end of file