function writeApplet()
{
	output = "<applet code=itpxdemo.class  width=240 height=360 MAYSCRIPT> <param name=copyright value=\"Image Intelligence Ltd. (www.imint.com)\"> <param name=jwidth value=240> <param name=jheight value=360>   <!-- Configure search facility --> <param name=search value=on> <param name=text3 value=\"GO!\"> <param name=text7 value=\"No Data Found\"> <param name=searchboxX value=80> <param name=searchboxW value=10> <param name=searchtextsize value=11> <param name=searchtype value=0> <param name=searchURL value=\"search.pl?\">  <!-- Configure newsreel behaviour--> <param name=newsreelautoloop value=on> <param name=newsreeldelay value=1600> <param name=newsreelfadetime value=15>   <!-- Configure icons--> <param name=icons value=on> <!--param name=icon0 value=folder2.gif> <param name=icon1 value=folder1.gif> <param name=icon2 value=page.gif-->  <param name=bgimage1 value=woodbg.jpg> <param name=bgimage2 value=papyrus.jpg>  <param name=menuclosetrigger value=0> <param name=indexmaxsize value=2000> <!--param name=indexbytesize value=50000-->  <param name=text4 value=\"Search menu:\"> <param name=topbarheight value=24> <!--param name=onLoad value=\"alert('hello');\"--> <param name=tabbar value=on> <!--param name=startlevel value=2-->  <!-- Configure tab layout --> <param name=tabstart value=0> <param name=tabinset value=5> <param name=tabnumber value=3> <!--Define first tab --> <param name=tabsource0 value=\"1-\"> <param name=tabsourcetype0 value=\"0\"> <param name=tabname0 value=\"NEWSREEL\"> <param name=tabdisplaytype0 value=2> <!--Define second tab --> <param name=tabsource1 value=\"info.txt\"> <param name=tabsourcetype1 value=\"1\"> <param name=tabname1 value=\"ICON TREE\"> <param name=tabdisplaytype1 value=0> <!--Define third tab --> <param name=tabsource2 value=\"menu.zip\"> <param name=tabsourcetype2 value=\"2\"> <param name=tabname2 value=\"C-BOX TREE\"> <param name=tabdisplaytype2 value=1> <!--param name=tabwidth0 value=50-->  <param name=colourscheme value=2> <param name=textfont value=\"Helvetica\"> <param name=buttons value=1> <param name=scrollwidth value=11> <param name=topbar value=on> <param name=tvscreen value=0>  <!-- Configure checkbox behaviour --> <param name=push value=1> // values of 0,1,2 <param name=setlogic value=2> // values of 0,1,2 <param name=nodelogic value=1> // values of 0,1,2,3    <!-- Set colours -->  <param name=menu0colour value=\"aa8844\">	// border top left <param name=menu1colour value=\"ffccaa\"> // scrollbar background <param name=menu2colour value=\"442200\"> // scrollbar fill <param name=menu3colour value=\"000000\"> // border bottom right <param name=menu4colour value=\"442200\"> // border fill <param name=menu5colour value=\"d5bf90\"> // tree panel background <param name=menu6colour value=\"d5bf90\"> // preview panel background <param name=menu7colour value=\"aa8844\">	// border controls - text <param name=menu8colour value=\"ffffff\">	// border controls - highlighted text <param name=menu9colour value=\"ffffff\">	// border controls - highlighted background <param name=menu10colour value=\"884400\"> // preview panel text  <param name=text0colour0 value=\"884400\">	// standard	text	 <param name=text1colour0 value=\"442200\">	// standard	text		highlight <param name=text2colour0 value=\"d5bf90\">	// standard	underline	 <param name=text3colour0 value=\"442200\">	// standard	underline	highlight <param name=text4colour0 value=\"d5bf90\">	// standard	rectangle	 <param name=text5colour0 value=\"d5bf90\">	// standard	rectangle	highlight <param name=text6colour0 value=\"884400\">	// checkbox full tick <param name=text7colour0 value=\"aa8844\">	// checkbox semi-tick <param name=text8colour0 value=\"884400\">	// active	text	 <param name=text9colour0 value=\"442200\">	// active	text		highlight <param name=text10colour0 value=\"d5bf90\">	// active	underline	 <param name=text11colour0 value=\"442200\">	// active	underline	highlight <param name=text12colour0 value=\"d5bf90\">	// active	rectangle	 <param name=text13colour0 value=\"d5bf90\">	// active	rectangle	highlight <param name=text14colour0 value=\"884400\">	// visited	text	 <param name=text15colour0 value=\"442200\">	// visited	text		highlight <param name=text16colour0 value=\"d5bf90\">	// visited	underline	 <param name=text17colour0 value=\"442200\">	// visited	underline	highlight <param name=text18colour0 value=\"d5bf90\">	// visited	rectangle	 <param name=text19colour0 value=\"d5bf90\">	// visited	rectangle	highlight   <param name=iconcol1 value=\"d5bf90\"> <param name=iconcol2 value=\"aa8844\"> <param name=iconcol3 value=\"aa8844\"> <param name=iconcol4 value=\"884400\">  <PARAM NAME=\"entry1-0\"                   VALUE=\"text:NEWSREEL MENU|1|0| | \"> <PARAM NAME=\"entry1-1\"                   VALUE=\"text:A newsreel menu is a sequential menu. § § § A tree menu is a hierarchical menu.|1|0| | \"> <PARAM NAME=\"entry1-2\"                   VALUE=\"text:iTree Pro-X Powertree can combine any number of newsreel menus, multi-icon tree menus and checkbox tree menus.|1|0| | \"> <PARAM NAME=\"entry1-3\"                   VALUE=\"text:The other tabs on this sample menu show examples of a multi-icon tree and a checkbox tree.|1|0| | \"> <PARAM NAME=\"entry1-4\"                   VALUE=\"text:A newsreel menu cycles through the whole menu at a speed you choose. You can PAUSE the cycle by simply MOVING THE MOUSE ONTO THE APPLET. The cycle then continues once you have moved the mouse away again. § § Manually move your way backwards or forwards through the sequence by using the '<<<<<' and '>>>>>' buttons just below the menu.|1|0| | \"> <PARAM NAME=\"entry1-5\"                   VALUE=\"text:The newsreel menu has optional fade transitions. You can control the speed of the fade.|1|0| | \"> <PARAM NAME=\"entry1-6\"                   VALUE=\"text:Newsreel items are all fully functional menu items. A click on a newsreel item can trigger any sequence of commands you define, including multiple page loads, audio and user-defined scripts. New newsreels can also be loaded dynamically in response to such clicks, or the content of the newsreel changed.|1|0| | \"> <PARAM NAME=\"entry1-7\"                   VALUE=\"text:The newsreel menu can display images...|1|0| | \"> <PARAM NAME=\"entry1-8\"                   VALUE=\"img1:images/henge2.jpg|1|0| | \"> <PARAM NAME=\"entry1-9\"                   VALUE=\"text:The newsreel menu can also be searched using the search box.|1|0| | \"> <PARAM NAME=\"entry1-10\"                  VALUE=\"text:Type a search concept such as 'tree' or 'search' into the box and then press 'return' or click the 'find' button. The newsreel will jump to the next appropriate item. Click again and the search will move on to a further item.|1|0| | \"> <PARAM NAME=\"entry1-11\"                  VALUE=\"text:Now try some of the other menus in the powertree. Click on a tab to get there.|1|0| | \"> <PARAM NAME=\"entry1-12\"                  VALUE=\"text:Thank you for viewing this newsreel menu.|1|0| | \">   <!-- Enter code for non-java-enabled browsers here --> <p>You will need to activate java to view this menu.</p> </applet>";
	document.write(output);
}

