function writeApplet()
{
	output = "<applet code=itpdemo.class  width=310 height=360 MAYSCRIPT> <param name=copyright value=\"Image Intelligence Ltd. (www.imint.com)\"> <param name=jwidth value=310> <param name=jheight value=360>  <param name=tabstart value=0> <param name=tabinset value=5> <param name=tabnumber value=4> <!--Define first tab --> <param name=tabcontent0 value=\"param1-\"> <param name=tabtype0 value=0> <param name=tabname0 value=\"INFO\"> <!--param name=tabwidth0 value=50--> <!--Define second tab --> <param name=tabcontent1 value=\"param2-\"> <param name=tabtype1 value=3> <param name=tabname1 value=\"BUTTONS\">  <!--param name=tabwidth1 value=50--> <!--Define third tab --> <param name=tabcontent2 value=\"ascii/sample.txt\"> <param name=tabtype2 value=1> <param name=tabname2 value=\"MESSAGE\">  <!--Define fourth tab --> <param name=tabcontent3 value=\"images/henge.jpg\"> <param name=tabtype3 value=2> <param name=tabname3 value=\"IMAGE\">  <param name=textcol1 value=\"333399\"> <param name=textcol3 value=\"ccccff\"> <param name=textcol4 value=\"993333\"> <param name=textcol5 value=\"cc6666\"> <param name=textcol6 value=\"ffcccc\"> <param name=textcol7 value=\"339933\"> <param name=textcol9 value=\"ccffcc\">  <param name=colourscheme value=8> <!--param name=startlevel value=2--> <param name=textfont value=\"Helvetica\"> <param name=buttons value=0> <param name=scrollwidth value=11> <param name=topbar value=on> <param name=tvscreen value=100>  <PARAM NAME=\"entry1-0\"                   VALUE=\"text:Information about iTree Pro|1|0|START_ONCE:;SCRIPT:alert('Welcome to a text menu tab!\n\nThis was triggered by the applet when it started - have a look at infomenu.txt to see how this was done.')| \"> <PARAM NAME=\"entry1-1\"                   VALUE=\"text:General Description|1|0| | \"> <PARAM NAME=\"entry1-2\"                   VALUE=\"text:iTree Pro is just a navigation menu...|2|0| |Well, not really just a navigation menu. For example, this thing down here is a projection screen with mouse-over changes involving both text and images. Keep your eyes down here for all sorts of additional information about iTree Pro\"> <PARAM NAME=\"entry1-3\"                   VALUE=\"text:...with a few extras|2|0| | \"> <PARAM NAME=\"entry1-4\"                   VALUE=\"text:Open me to find some extras|2|0| | \"> <PARAM NAME=\"entry1-5\"                   VALUE=\"text:Multi-tab display|3|0| |The multi-tab display is optional. You can have only one tab if you choose. Or you can have up to twenty.\"> <PARAM NAME=\"entry1-6\"                   VALUE=\"text:Multi-function tabs|3|0| |You can have as many of each tab type as you choose. For example, you can have 20 trees all with their own tabs, or none at all and use images and buttons instead. § § Tab functions are easy to assign - just use a parameter to assign a code number (0-3) to each tab, and the rest is done automatically.\"> <PARAM NAME=\"entry1-7\"                   VALUE=\"text:Type 0 tabs display normal tree menu displays - scrollable with up to 1000 line-wrapped entries each|4|0| |The tab currently active is an example of a tree display tab. The number of displayable entries may be memory-dependent. Tree display tabs read standard IMINT.COM index files.\"> <PARAM NAME=\"entry1-8\"                   VALUE=\"text:Type 1 tabs display text files - scrollable with line-wrapping|4|0| | \"> <PARAM NAME=\"entry1-9\"                   VALUE=\"text:Type 2 tabs display images|4|0| | \"> <PARAM NAME=\"entry1-10\"                  VALUE=\"text:Type 3 tabs display simple button menus - scrollable|4|0| | \"> <PARAM NAME=\"entry1-11\"                  VALUE=\"text:Projection screen|3|0| |The projection screen can be positioned: § § - at the bottom of the applet § - just above the tab panels § - or switched off completely\"> <PARAM NAME=\"entry1-12\"                  VALUE=\"text:Most of the entries in this menu use textual content for the projection screen...|4|0| | \"> <PARAM NAME=\"entry1-13\"                  VALUE=\"text:...but the following entries use images|4|0| | \"> <PARAM NAME=\"entry1-14\"                  VALUE=\"text:Image 1|4|0| |tv:images/desert.gif\"> <PARAM NAME=\"entry1-15\"                  VALUE=\"text:Image 2|4|0| |tv:images/winter.gif\"> <PARAM NAME=\"entry1-16\"                  VALUE=\"text:Image 3|4|0| |tv:images/lake.gif\"> <PARAM NAME=\"entry1-17\"                  VALUE=\"text:Photograph|4|0| |tv:images/kitten.jpg\"> <PARAM NAME=\"entry1-18\"                  VALUE=\"text:You can use this feature for thumbnails or even full image presentation - as the projection screen is resizable large images can be used as well.|4|0| | \"> <PARAM NAME=\"entry1-19\"                  VALUE=\"text:Script activation|3|0| |NB: script activation may not work with some version 3 browsers - i.e. the scripts will just be ignored.\"> <PARAM NAME=\"entry1-20\"                  VALUE=\"text:Alert box|4|0|SCRIPT:alert('This javascript box was launched by the applet.')|Click this entry for an example\"> <PARAM NAME=\"entry1-21\"                  VALUE=\"text:Change page background colour to cream|4|0|SCRIPT:document.bgColor='ffffee'|Click this entry for an example\"> <PARAM NAME=\"entry1-22\"                  VALUE=\"text:Change page background colour to white|4|0|SCRIPT:document.bgColor='ffffff'|Click this entry for an example\"> <PARAM NAME=\"entry1-23\"                  VALUE=\"text:Browser detector|4|0|SCRIPT:alert(navigator.appName + ' ' + navigator.appVersion)|Click this entry for an example\"> <PARAM NAME=\"entry1-24\"                  VALUE=\"text:User-definable layout options|3|0| |Decide what kind of elements your implementation of iTree Pro will have. § - optional title bar § - optional font and colour switching buttons on title bar § - optional and repositionable projection screen § - variable number of tabs § - variable applet height and width\"> <PARAM NAME=\"entry1-25\"                  VALUE=\"text:Dynamic tab content loading|3|0| |Menu entries can dynamically change the contents of their own tab or of other tabs. If a different tab is targetted, the applet automatically switches to that tab afterwards.\"> <PARAM NAME=\"entry1-26\"                  VALUE=\"text:Test the DRILL feature - load a new menu into this tab|4|0|DRILL:menu.txt,0| \"> <PARAM NAME=\"entry1-27\"                  VALUE=\"text:Test the DRILL feature - load a new image into tab 3|4|0|DRILL:images/wall.jpg,3| \"> <PARAM NAME=\"entry1-28\"                  VALUE=\"text:Test the DRILL feature - load the old image into tab 3|4|0|DRILL:images/henge.jpg,3| \"> <PARAM NAME=\"entry1-29\"                  VALUE=\"text:Switch commands|3|0| |NB: the multi-command trigger capacity of individual entries allows, for example, sequences of other commands (e.g. audio, link, scripts) to be accompanied by SWITCH commands which force a particular tab to display after other commands have been issued.\"> <PARAM NAME=\"entry1-30\"                  VALUE=\"text:Switch to tab 1|4|0|SWITCH:1| \"> <PARAM NAME=\"entry1-31\"                  VALUE=\"text:Switch to tab 2|4|0|SWITCH:2| \"> <PARAM NAME=\"entry1-32\"                  VALUE=\"text:Switch to tab 3|4|0|SWITCH:3| \"> <PARAM NAME=\"entry1-33\"                  VALUE=\"text:Timed command sequences (like slide shows)|3|0| |Any commands can have a timer attached. The examples shown here use LINK commands to display the results in a browser window, but DRILL commands and SCRIPT commands could equally be used for timed sequences of other kinds of event.\"> <PARAM NAME=\"entry1-34\"                  VALUE=\"text:World wonders sequence (6 graphics)|4|0|TIMER:2000;LINK:images/multi1.gif,show;LINK:images/multi2.gif,show;LINK:images/multi3.gif,show;LINK:images/multi4.gif,show;LINK:images/multi5.gif,show;LINK:images/multi6.gif,show|The world wonders sequence loads six graphics one after the other with time delays of a couple of seconds between each picture; the time delay can be user-defined and shortened or lengthened as required. Time should also always be allowed for the images to download from the server. § § Click to start.\">  <PARAM NAME=\"entry2-0\"                   VALUE=\"text:This is just a test menu...|1|0|START:;SCRIPT:alert('Welcome to a button menu!\n\nThis was triggered by the applet when it started - have a look at buttonmenu.txt to see how this was done.')| \"> <PARAM NAME=\"entry2-1\"                   VALUE=\"text:Up to 50 buttons|1|0| |The buttons are read from a standard imint.com index file - same kind of file as provides tree menus - the applet just interprets and visualises the data differently.\"> <PARAM NAME=\"entry2-2\"                   VALUE=\"text:Scrollable|1|0| |If the buttons tak up more space than is available on the applet, a scrollbar appears on the right allowing you to scroll down for more options.\"> <PARAM NAME=\"entry2-3\"                   VALUE=\"text:Full link functionality|1|0| |Full link functionality means that a click on the buttons can trigger any kind of events that a click on the standard tree display can trigger. e.g. simple page loads, complex multiple page loads, timed sequences of events, javascripts, new menu loading, audio, etc.\"> <PARAM NAME=\"entry2-4\"                   VALUE=\"text:Mouse over changes...|1|0| |...provide an enhanced interactive feel.\"> <PARAM NAME=\"entry2-5\"                   VALUE=\"text:Easy configurability|1|0| |To change a panel from a tree menu to a button menu, you only change a single number on a single parameter - change the 'tabtype' from 0 to 3 or vice versa, and everything automatically changes for you.\"> <PARAM NAME=\"entry2-6\"                   VALUE=\"text:Click here to auto-switch back|1|0|SWITCH:0|(This is an example of a SWITCH command)\">    <!-- Enter code for non-java-enabled browsers here --> <p>You will need to activate java to view this menu.</p> </applet>";
	document.write(output);
}


