function GetText(code) {
txt = "Error. input code= "+code;
if (code == '') {
txt = ""
}
else
if (code == 'gof_overview') {
txt = "<div align='left'><p><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='What are Floys'><FONT  COLOR='#0000A0'>Game of Floys - Content</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div><div class='text_9_normal'><OL><LI><A HREF='#What are Floys?'>Floys are territorial Alife creatures</A><LI><A HREF='#Implementation in DHTML/VML'>Implementation in DHTML/VML</A><LI><A HREF='#System Requirements'>System Requirements</A><LI><A HREF='#VML Support is Required'>VML Support is Required</A><LI><A HREF='#Game Description'>Game Description</A><LI><A HREF='#User's Control'>User's Control</A><LI><A HREF='#Floys Attributes'>Floys Attributes</A></OL></div><p><div class='text_9_normal'><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='What are Floys?'><FONT  COLOR='#0000A0'>Floys are territorial Alife creatures</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div>Floys belong to the flocking Alife creatures variety, sharing with them the social tendency to stick together,  and the lifelike emergent behavior which is based on a few simple, local rules. They differ from most other Alife flocking (Boids-type) implementations by being territorial animals that defend their territory against intruders.<p><b><font color='#0000FF'>Floys behavior is governed by two rules:</font></b><OL><LI>A rule specifying how to relate to one's own kind.<LI>A rule specifying how to relate to strangers.</OL><p><b><font color='#0000FF'>1. How to relate to one's own kind</font></b><ul><li></li>Identify two members of your flock that are near to you and try to stay close to them, but not too close.</ul><p><b><font color='#0000FF'>2. How to relate to strangers</font></b><UL><LI>If you are in your territory: <br>When you spot a stranger go after him, if you are close enough - attack<LI>If you are not in your territory:<br> If local Floys chase you - run away.</UL><p></p><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='Implementation in DHTML/VML'><FONT  COLOR='#0000A0'>Implementation in DHTML/VML</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div><!-- <A NAME='Implementation'><FONT  COLOR='#0000A0'><H3>Implementation in DHTML/VML</H3></FONT></A> -->Previous version of <a href='http://www.arieldolan.com/ofiles/JavaFloys.html'>Floys</a> were written as Java applets. Game of Floys is a purely browser implemented version of the Floys alife program. It is written in DHTML and VML and does not require either Java or ActiveX. However, it does require MSIE 5.01 or later with the VML option installed (see <A HREF='#VML Support is Required'>VML Support is Required</A> below). This version is more user friendly than its Java predecessors, and enables easier interactivity and experimentation.<p></p><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='System Requirements'><FONT  COLOR='#0000A0'>System Requirements</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div>Game of Floys requires the following:<ul><li>Windows OS<li>Internet Explorer 5.01 (or higher) with VML option installed<li>Screen resolution 1024x768 (or higher)</ul><p></p><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='VML Support is Required'><FONT  COLOR='#0000A0'>VML Support is Required</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div>Game of Floys requires Microsoft Internet Explorer 5.01 or later with the VML option installed.<p></p>Vector Graphics Rendering (VML) has been a component of IE since version 5.01.  However, it is only installed on a 'Typical' (Default) and a 'Full' install of IE. If you selected a 'Minimal' install of IE, or if you selected a 'Custom' install and did not select VML Rendering, VML was not installed.<p></p>When VML is not installed the system often prompts for this component installation when you first visit a page using VML functionality. Threrefore you might be prompted to add the VML component. In any case, you can add VML manually:<p></p><b><font color='#0000FF'>To install the VML component:</font></b><ol><li>Go to Add/Remove in the Control Panel and highlight 'Microsoft Internet Explorer and Internet Tools'<li>Click on the Remove button and you will get a pop-up dialog box with three options.  Check mark the option'Add Components'.<li>When the Dialog box appears, scroll down to 'Multimedia' and put a check mark in 'VML Rendering'<li>This will add the component to IE for you.</ol><b><font color='#0000FF'>To check if VML is already installed:</font></b><p></p>Select the 'Add/Remove/Microsoft Internet Explorer and Internet Tools components' option from the Control Panel (see above), and check if the VML component is flaged as installed or not.<p></p><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='Game Description'><FONT  COLOR='#0000A0'>Game Description</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div>The Game of Floys is played by the Floys themselves. The user role in the game is limited to controlling the environment and the genetic makeup of the Floys. Once their attributes are set, Floys play independently in their own world.<p></p>This is how it goes:<br>A school of (local) Floys is swimming in its own territory. If they spot an intruder (stranger) they go after it. When they are close enough, they bite. For each bite of an intruder a local Floy gets one unit of energy. The bitten intruder loses one unit of energy. Strangers can replenish their energy by touching the Point of Attraction that simulates strangers' food. The Point of Attraction is by default hidden and located at the center. When a stranger Floy loses all its energy it dies and disappears from the scene.<p></p><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='User's Control'><FONT  COLOR='#0000A0'>User's Control</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div><strong><font color='#0000FF'>Description of top menu tree</font></strong><p></p><ul><li><strong>Files</strong>	<ul>	<li><strong>Print</strong> - Print the program screen	<li><strong>Home Page</strong> - Go to Artificial Life and other Experiments	<li><strong>Old Home Page</strong> - Go to Artificial Life on the Web	</ul><li><strong>Actions</strong>	<ul>	<li><strong>Play</strong> - Controlling Floys' play		<ul>		<li><strong>Initialize (Reset)</strong> - Initialize a new school of Floys		<li><strong>Start (Resume)</strong> - Let them move around		<li><strong>Stop (Pause)</strong> - Let them stand still		<li><strong>Single Step</strong> - Let them move step by step		</ul>		<li><strong>Add</strong>		<ul>		<li><strong>Add Local</strong> - Add a new local Floy to the current population		<li><strong>Add Stranger</strong> - Add a new stranger to the current population		</ul>		<li><strong>Remove</strong>		<ul>		<li><strong>Remove All</strong> - Delete all Floys (both locals and strangers)		<li><strong>Remove All Strangers</strong> - Delete all the strangers		<li><strong>Remove All Locals</strong> - Delete all the local Floys		</ul>		<li><strong>List</strong> - Opens list of Floys and enabling to perform various operations on a selected Floy	</ul><li><strong>Attributes</strong>	<ul>	<li><strong>Local Floys</strong>		<ul>		<li><strong>Personal Atributes</strong> - Individual local Floy attributes like speed or acceleration		<li><strong>Relational Attributes</strong> - Attributes inflencing how a local Floy relates to others		</ul>		<li><strong>Strangers</strong>		<ul>		<li><strong>Personal Atributes</strong> - Individual stranger attributes like speed or acceleration		<li><strong>Relational Attributes</strong> - Attributes inflencing how a strangers relates to others		</ul>			<li><strong>Restore Defaults</strong> - Restore all options and attributes to original settings	</ul><li><strong>Reports</strong>	<ul>	<li><strong>Attributes</strong>		<ul>		<li><strong>Local Floys</strong> - List of local Floys attributes		<li><strong>Strangers</strong> - List of stranger attributes		</ul>		<li><strong>Floys Status</strong> - A table showing current state of each Floy	</ul><li><strong>Options</strong>	<ul>	<li><strong>Preferences</strong> - Setting Global and GUI parameters	<li><strong>Layout</strong> - Modifying screen design	<li><strong>Background</strong> - Setting the background picture a color	</ul><li><strong>Misc</strong>	<ul>	<li><strong>Show Log</strong> - Display session log file	<li><strong>Reset Log</strong> - Delete log file content and start from scratch	<li><strong>Effects</strong> - Various graphic effects played on the backgound picture	</ul><li><strong>Help</strong>	<ul>	<li><strong>Documentation</strong> - Displays this help file	<li><strong>Guided Tour</strong> - Displays a viewlet walkthrough of the program	<li><strong>About</strong> - Displays About window	</ul></ul><p></p><strong><font color='#0000FF'>Description of Popup Windows</font></strong><p></p>Clicking mouse right button when thr cursor is over the scene displays a context dependent popup window. If the right button is clicked over a Floy, the Floy popup window is displayed. If clicked over a free point in the scene, the general popup window is displayed:<p></p><ul><li><strong>Floy popup window</strong>	<ul>	<li><strong>Start Tracking</strong> - Selected Floy is colored violet, and if logging is enabled all its actions are logged	<li><strong>Stop Tracking</strong> - Selected Floy original color is restored and logging applies to all Floys	<li><strong>Remove</strong> - Delete the selected Floy	<li><strong>Show Data</strong> - Display statr parameters of selected Floy	<li><strong>Close</strong> - Close the popup window	</ul><li><strong>General popup window</strong>	<ul>	<li><strong>Place Point of Attraction</strong> - Place the Point of Attraction at the clicked point	<li><strong>Close</strong> - Close the popup window	</ul></ul><p></p><strong><font color='#0000FF'>Description of right panel buttons and toggles</font></strong><p></p><ul><li><strong>Buttons</strong>	<ul>	<li><strong>Initialize (Reset)</strong> - Initialize a new school of Floys	<li><strong>Start (Resume)</strong> - Let them move around	<li><strong>Stop (Pause)</strong> - Let them stand still	<li><strong>Single Step</strong> - Let them move step by step	</ul>	<li><strong>Toggles</strong>	<ul>	<li><strong>Enable logging</strong> - When switched on (red color) all actions are logged. Creates a large log so use for a short time only	<li><strong>Show Names</strong> - Displays Floys names attached to Floys	<li><strong>Attraction Point</strong> - Displays (or hides) the attraction point	</ul></ul><p></p><strong><font color='#0000FF'>Right panel forms</font></strong><p></p>When user input is required a form is displayed in the right panel. The labels on the forms are self descriptive. Otherwise, play with various inputs and settings to understand the meanings.<p></p><div class='text_12_bold'><br><img src='images/dot.jpg' width='1' height='5' border='0' alt=''><br><A NAME='Floys Attributes'><FONT  COLOR='#0000A0'>Floys Attributes</FONT></A><br><img src='images/dot.jpg' width='1' height='10' border='0' alt=''><br></div>Floys attributes define the genetic makeup of Floys. They can be modified and experimented with.<ul><li><strong>Personal attributes</strong> - Attributes of the individual Floy and group	<ul>	<li><strong>Number of Floys</strong> - Number of members in the group (locals or strangers)	<li><strong>Max. velocity</strong> - The maximum number of pixels to be passed in a single move	<li><strong>Acceleration</strong> - Amount of velocity change (dependent on other factors)	<li><strong>Attraction to Center</strong> - Strength of attraction to the center or to the Attraction Point	<li><strong>Size</strong> - Size of Floy (in pixels)	<li><strong>Color</strong> - Color of Floy	<li><strong>Shape</strong> - Shape of Floy	</ul></ul><ul><li><strong>Relational Attributes</strong> - Attributes relating to behavior with others	<ul>	<li><strong>Personal Distance</strong> - Distance in pixels below which the other seems close	<li><strong>Approaching velocity</strong> - Velocity of approaching a Floy of the same group	<li><strong>Backoff Speed</strong> - Velocity of backing of from a Floy of the same group when distance is too close	<li><strong>Chasing velocity</strong> - Velocity of local chasing a stranger when stranget is distant	<li><strong>Avoiding velocity</strong> - Velocity of stranger moving away from a local when local is distant	<li><strong>Attackibg velocity</strong> - Velocity of local chasing a stranger when stranget is close	<li><strong>Fleeing velocity</strong> - Velocity of stranger fleeing from a local when local is close	</ul></ul></div></div>"}
return txt;
}

