<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<PRE></PRE>
<PRE>	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. </PRE>
<PRE>	// but you can experiment with effect on loadtime.

</PRE>
<PRE>	if (mtDropDown.isSupported()) {

</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// create a set of dropdowns</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// the first param should always be down, as it is here</PRE>
<PRE>		//</PRE>
<PRE>		// The second and third param are the top and left offset positions of the menus from their actuators</PRE>
<PRE>		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use</PRE>
<PRE>		// something like -5, 5</PRE>
<PRE>		//</PRE>
<PRE>		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner</PRE>
<PRE>		// of the actuator from which to measure the offset positions above. Here we are saying we want the </PRE>
<PRE>		// menu to appear directly below the bottom left corner of the actuator</PRE>
<PRE>		//==================================================================================================

</PRE>
<PRE>		var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft);

</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// create a dropdown menu</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// the first parameter should be the HTML element which will act actuator for the menu</PRE>
<PRE>		//==================================================================================================


</PRE>
<PRE>//==================================================================================================

</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// add a sub-menu</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from</PRE>
<PRE>		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu</PRE>
<PRE>		// called &quot;theMenu&quot;, you would do theMenu.addMenu(theMenu.items[3])</PRE>
<PRE>		//==================================================================================================



</PRE>
<PRE>		// menu</PRE>
<PRE>		var menu4 = ms.addMenu(document.getElementById(&quot;menu4&quot;));</PRE>
<PRE>		menu4.addItem(&quot;- The Classsiques&quot;, &quot;hm_theclassiques.asp&quot;);</PRE>
<PRE>                menu4.addItem(&quot;- The Masterpieces&quot;, &quot;hm_themasterpieces.asp&quot;);</PRE>
<PRE>		menu4.addItem(&quot;- The Townhomes&quot;, &quot;hm_townhomes.asp&quot;);

</PRE>
<PRE>		var subMenu0 = menu4.addMenu(menu4.items[0]);</PRE>
<PRE>		subMenu0.addItem(&quot;· Kassandra&quot;, &quot;hm_kassandra.asp&quot;);</PRE>
<PRE>		subMenu0.addItem(&quot;· Alexandria&quot;, &quot;hm_alexandria.asp&quot;);</PRE>
<PRE>		subMenu0.addItem(&quot;· Larissa&quot;, &quot;hm_larissa.asp&quot;);</PRE>
<PRE>&nbsp;</PRE>
<PRE>		var subMenu1 = menu4.addMenu(menu4.items[1]);</PRE>
<PRE>		subMenu1.addItem(&quot;· Madonna&quot;, &quot;hm_madonna.asp&quot;);</PRE>
<PRE>		subMenu1.addItem(&quot;· Monalisa&quot;, &quot;hm_monalisa.asp&quot;);</PRE>
<PRE>&nbsp;</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// write drop downs into page</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		// this method writes all the HTML for the menus into the page with document.write(). It must be</PRE>
<PRE>		// called within the body of the HTML page.</PRE>
<PRE>		//==================================================================================================</PRE>
<PRE>		mtDropDown.renderAll();</PRE>
<PRE>	}</PRE>