	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (TransMenu.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		var mnuHome = ms.addMenu(document.getElementById("home"));
		mnuHome.addItem("GreenCollarInnovations.com", "index.shtml");

		var mnuProducts = ms.addMenu(document.getElementById("products"));

		<!--- Products Main Menu --->
		mnuProducts.addItem("Controllers", "");
		mnuProducts.addItem("Servo Motors", "servomotors.shtml");
		mnuProducts.addItem("Integrated Motors", "");
		mnuProducts.addItem("Servo Drives", "servodrives.shtml");
		mnuProducts.addItem("Encoders", "");
		mnuProducts.addItem("Couplings", "couplings.shtml");
		mnuProducts.addItem("Gearboxes", "gearboxes.shtml");
		mnuProducts.addItem("Cool Waterproof Products", "waterproof.shtml");
		mnuProducts.addItem("PLC's", "miceli.shtml");
		mnuProducts.addItem("Stepper Drives", "stepperdrives.shtml");
		mnuProducts.addItem("Stepper Motors", "contact.shtml");
		mnuProducts.addItem("HMI's", "");
		mnuProducts.addItem("AC Motors", "contact.shtml");
		mnuProducts.addItem("Sensors", "contact.shtml");
		mnuProducts.addItem("Safety Automation", "contact.shtml");
		mnuProducts.addItem("AC Drives, VFD's & Invertors", "contact.shtml");

		<!--- Controllers(old) --->
		/*var mnuControllers = mnuProducts.addMenu(mnuProducts.items[0]);
		mnuControllers.addItem("Single Axis Controllers", "singleaxis.shtml");
		mnuControllers.addItem("Multi-Axis Controllers", "multiaxis.shtml");

		var mnuSubSingleAxis = mnuControllers.addMenu(mnuControllers.items[0]);
		mnuSubSingleAxis.addItem("NS600 Sigma II", "ns600.shtml");
		mnuSubSingleAxis.addItem("LEGEND SMC-3010", "smc3010.shtml");
		mnuSubSingleAxis.addItem("NS500 Profibus", "ns500.shtml");
		mnuSubSingleAxis.addItem("MP940 Sigma II", "mp940.shtml");
		mnuSubSingleAxis.addItem("MP940D Sigma II", "mp940d.shtml");
		mnuSubSingleAxis.addItem("NS300 DeviceNet", "ns300.shtml");
		mnuSubSingleAxis.addItem("SMC-2000", "smc2000s.shtml");

		var mnuSubMultiAxis = mnuControllers.addMenu(mnuControllers.items[1]);
		mnuSubMultiAxis.addItem("SMC-4000", "smc4000.shtml");
		mnuSubMultiAxis.addItem("MP-2300", "mp2300.shtml");
		mnuSubMultiAxis.addItem("SMC-2000", "smc2000m.shtml");*/

		<!--- Controllers --->
		var mnuControllers = mnuProducts.addMenu(mnuProducts.items[0]);
		mnuControllers.addItem("Controller Selection", "controllerselection.shtml");
		mnuControllers.addItem("Controller Software", "controllersoftware.shtml");
		mnuControllers.addItem("Management Software", "managementsoftware.shtml");

		var mnuSubControllerSelection = mnuControllers.addMenu(mnuControllers.items[0]);
		mnuSubControllerSelection.addItem("Model 5100", "controller5100.shtml");
		mnuSubControllerSelection.addItem("Model 5200", "controller5200.shtml");
		mnuSubControllerSelection.addItem("Model 5300", "controller5300.shtml");

		<!--- Servo Motors --->
		var mnuMotors = mnuProducts.addMenu(mnuProducts.items[1]);
		mnuMotors.addItem("Rotary Servo Motors", "rotarymotor.shtml");
		mnuMotors.addItem("Linear Servo Motors", "linearmotor.shtml");
		mnuMotors.addItem("Direct Drive Servo Motors", "directdrive.shtml");

		<!--- Integrated Motors --->
		var mnuIntegrated = mnuProducts.addMenu(mnuProducts.items[2]);
		mnuIntegrated.addItem("Integrated AC Servo System", "pdf/Integrated_AC_Servo_System.pdf");
		mnuIntegrated.addItem("Integrated Vector Servo System", "pdf/Integrated_Vector_Servo_System.pdf");
		mnuIntegrated.addItem("Integrated Actuator System", "pdf/Integrated_Actuator_System.pdf");

		<!--- Servo Drives --->
		var mnuServo = mnuProducts.addMenu(mnuProducts.items[3]);
		mnuServo.addItem("Analog Servo Amplifier", "analogservo.shtml");
		mnuServo.addItem("Digital Servo Amplifier", "");

		<!--- Digital Servo Amplifiers --->
		var mnuDigitalServo = mnuServo.addMenu(mnuServo.items[1]);
		mnuDigitalServo.addItem("Digital Brushless/Brush DC Amplifier", "digitaldc.shtml");
		mnuDigitalServo.addItem("Digital Brushless/Brush AC Amplifier", "digitalac.shtml");
		mnuDigitalServo.addItem("Digital Brush Drive Amplifier", "digitalbrush.shtml");

		<!--- Digital Servo Amplifiers --->
		var mnuDigitalDC = mnuDigitalServo.addMenu(mnuDigitalServo.items[0]);
		mnuDigitalDC.addItem("Accelnet", "accelnet.shtml");
		mnuDigitalDC.addItem("Accelus Drive", "accelus.shtml");

		<!--- Encoders --->
		var mnuEncoders = mnuProducts.addMenu(mnuProducts.items[4]);
		mnuEncoders.addItem("Incremental", "");
		mnuEncoders.addItem("Absolute Encoders", "");
		mnuEncoders.addItem("Linear Encoders", "");
		mnuEncoders.addItem("Hand-Wheel", "");
		mnuEncoders.addItem("Handheld Pendant", "");

		var mnuSubIncremental = mnuEncoders.addMenu(mnuEncoders.items[0]);
		mnuSubIncremental.addItem("Size 12", "size12.shtml");
		mnuSubIncremental.addItem("Size 15", "size15.shtml");
		mnuSubIncremental.addItem("Size 20", "size20.shtml");
		mnuSubIncremental.addItem("Size 25", "size25.shtml");
		mnuSubIncremental.addItem("Metric OEM Solid Shaft", "solidshaft.shtml");
		mnuSubIncremental.addItem("Metric Spindle for CNC", "metricspindle.shtml");
		mnuSubIncremental.addItem("Cube 2.25inch", "cube225.shtml");
		mnuSubIncremental.addItem("Size 30 Wheeled", "size30wheeled.shtml");
		mnuSubIncremental.addItem("Hollow Shaft 1.5inch Thickness", "hollowshaft.shtml");
		mnuSubIncremental.addItem("Fully Enclosed w/Hollow Shaft", "enclosedhollow.shtml");
		mnuSubIncremental.addItem("Size 20 Hollow Shaft-Thru-Hub", "size20hollow.shtml");
		mnuSubIncremental.addItem("Size 25 Solid Shaft", "size25solidshaft.shtml");

		var mnuSubAbsolute = mnuEncoders.addMenu(mnuEncoders.items[1]);
		mnuSubAbsolute.addItem("Single Turn", "singleturn.shtml");

		var mnuSubLinear = mnuEncoders.addMenu(mnuEncoders.items[2]);
		mnuSubLinear.addItem("Module&Strips", "modulestrips.shtml");
		mnuSubLinear.addItem("Fully Enclosed", "fullyenclosed.shtml");

		var mnuSubHandWheel = mnuEncoders.addMenu(mnuEncoders.items[3]);
		mnuSubHandWheel.addItem("Size 30", "size30.shtml");

		var mnuSubHandheld = mnuEncoders.addMenu(mnuEncoders.items[4]);
		mnuSubHandheld.addItem("CNC Applications w/E-Stop", "cncestop.shtml");
		mnuSubHandheld.addItem("CNC Applications w/o E-Stop", "cncnoestop.shtml");

		<!--- HMI's --->
		var mnuHMI = mnuProducts.addMenu(mnuProducts.items[11]);
		mnuHMI.addItem("iPanel", "ipanel.shtml");
		mnuHMI.addItem("4200 TouchPanel", "touchpanel.shtml");
		mnuHMI.addItem("MGT Mini", "mgtmini.shtml");
		mnuHMI.addItem("webHMI Software", "hmiweb.shtml");

		<!--- Remote Monitoring Main Menu --->
		var mnuRemote = ms.addMenu(document.getElementById("remote"));
		mnuRemote.addItem("Special Offers", "pdf/sensorsoft_specialoffers.pdf");
		mnuRemote.addItem("Standalone Appliance", "standalone.shtml");
		mnuRemote.addItem("Software", "");
		mnuRemote.addItem("Technical Support Packages", "tech.shtml");
		mnuRemote.addItem("Accessories", "accessories.shtml");
		mnuRemote.addItem("Demo", "");

		var mnuSoftware = mnuRemote.addMenu(mnuRemote.items[2]);
		mnuSoftware.addItem("Watchman - Windows", "watchwindows.shtml");
		mnuSoftware.addItem("Watchman - Linux/UNIX", "watchunix.shtml");
		mnuSoftware.addItem("Watchman - Upgrades", "watchupgrades.shtml");

		var mnuAccessories = mnuRemote.addMenu(mnuRemote.items[4]);
		mnuAccessories.addItem("AC/DC Power Supplies", "acdcpower.shtml");
		mnuAccessories.addItem("Cables", "cables.shtml");
		mnuAccessories.addItem("Power Control Adapters", "powercontrol.shtml");
		mnuAccessories.addItem("IP Device Servers", "ipdeviceservers.shtml");
		mnuAccessories.addItem("Protocol-Based Devices", "protocol.shtml");
		mnuAccessories.addItem("Fasteners", "fasteners.shtml");
		mnuAccessories.addItem("Network Cameras", "networkcameras.shtml");
		mnuAccessories.addItem("Intrusion/Safety Detectors", "intrusion.shtml");
		mnuAccessories.addItem("Wireless Device Server", "wireless.shtml");

		var mnuDemo = mnuRemote.addMenu(mnuRemote.items[5]);
		mnuDemo.addItem("Sensorsoft Remote Watchman Enterprise", "http://206.47.188.19/RWME1000001.html?Username=ruser&Password=begin");
		mnuDemo.addItem("Temperature Monitoring with Sensorsoft Alert", "http://206.47.188.20/goform/CheckLogin?url=/read/main.asp&path=/read/main.asp&login=ruser&password=begin");

		<!--- Packaging Menu --->
		var mnuPackaging = ms.addMenu(document.getElementById("packaging"));
		mnuPackaging.addItem("Capmatic", "capmatic.shtml");
		mnuPackaging.addItem("Horizontal Packaging Systems", "horizontal.shtml");
		mnuPackaging.addItem("Vertical Packaging Systems", "vertical.shtml");
		mnuPackaging.addItem("Sealers", "sealers.shtml");

		var mnuCapmatic = mnuPackaging.addMenu(mnuPackaging.items[0]);
		mnuCapmatic.addItem("Automatic", "http://www.capmatic.com/automatic.html");
		mnuCapmatic.addItem("Semi-Automatic", "http://www.capmatic.com/semi-automatic.html");
		mnuCapmatic.addItem("Accessories", "http://www.capmatic.com/accessories.html");

		var mnuHorizontal = mnuPackaging.addMenu(mnuPackaging.items[1]);
		mnuHorizontal.addItem("VR8 BASIC", "vr8basic.shtml");
		mnuHorizontal.addItem("VR8 MASTER", "vr8master.shtml");
		mnuHorizontal.addItem("VR-1 BIS G", "vr1bisg.shtml");
		mnuHorizontal.addItem("VR-1 BIS S.4 Versatile", "vr1biss4.shtml");
		mnuHorizontal.addItem("VR-1 BIS TR", "vr1bistr.shtml");
		mnuHorizontal.addItem("VR-1 BIS Versatile", "vr1bis.shtml");
		mnuHorizontal.addItem("VR-1 BIS S.5 Horizontal Flow", "vr1biss5.shtml");
		mnuHorizontal.addItem("VR-2 PG E Electronic", "vr2pge.shtml");
		mnuHorizontal.addItem("VR-7 BLITZ", "vr7blitz.shtml");
		mnuHorizontal.addItem("VR-7 BLITZ Transfer Type", "vr7blitztt.shtml");
		mnuHorizontal.addItem("VR-7", "vr7.shtml");
		mnuHorizontal.addItem("VR-7 Transfer Type", "vr7tt.shtml");
		mnuHorizontal.addItem("VR-7 Millenium", "vr7mil.shtml");
		mnuHorizontal.addItem("VR-8 BOX Electronic", "vr8box.shtml");
		mnuHorizontal.addItem("VR-7 Millenium Transfer Type", "vr7miltt.shtml");

		var mnuVertical = mnuPackaging.addMenu(mnuPackaging.items[2]);
		mnuVertical.addItem("VR15 PLUS Vertical", "vr15plus.shtml");
		mnuVertical.addItem("VR-13 Inclined", "vr13in.shtml");
		mnuVertical.addItem("VR-13 Electro Pneumatic", "vr13.shtml");
		mnuVertical.addItem("VR-15 Vertical", "vr15.shtml");
		mnuVertical.addItem("VR-15 Inclined", "vr15in.shtml");
		mnuVertical.addItem("VR-15 Magnifica", "vr15mag.shtml");

		var mnuSealers = mnuPackaging.addMenu(mnuPackaging.items[3]);
		mnuSealers.addItem("LM 45 COMPAT", "lm45compat.shtml");
		mnuSealers.addItem("LM 45", "lm45.shtml");
		mnuSealers.addItem("LM 50 SC", "lm50sc.shtml");
		mnuSealers.addItem("LM 50 SX", "lm50sx.shtml");
		mnuSealers.addItem("LM 6060", "lm6060.shtml");
		mnuSealers.addItem("LM 6060 COMPAT", "lm6060compat.shtml");

		<!--- Suppliers Main Menu --->
		var mnuSuppliers = ms.addMenu(document.getElementById("suppliers"));
		mnuSuppliers.addItem("Sensorsoft", "sensorsoft.shtml");
		mnuSuppliers.addItem("Capmatic", "capmatic.shtml");
		mnuSuppliers.addItem("CoolMuscle/Myostat", "coolmuscle.shtml");
		mnuSuppliers.addItem("Copley", "copley.shtml");
		mnuSuppliers.addItem("RSF Electronics", "rsf.shtml");
		mnuSuppliers.addItem("Neugart USA", "neugart.shtml");
		mnuSuppliers.addItem("MicroMo Electronics", "micromo.shtml");
		mnuSuppliers.addItem("Contrex", "contrex.shtml");
		mnuSuppliers.addItem("R+W Coupling", "rw.shtml");
		mnuSuppliers.addItem("Koyo Encoders", "koyo.shtml");
		mnuSuppliers.addItem("Rocom Corp", "rocom.shtml");
		mnuSuppliers.addItem("Elmo Motion Control", "elmo.shtml");
		mnuSuppliers.addItem("Pilz", "pilz.shtml");
		mnuSuppliers.addItem("Miceli Technologies", "miceli.shtml");
		mnuSuppliers.addItem("Control Technologies", "controltech.shtml");
		mnuSuppliers.addItem("Data Sensor", "datasensor.shtml");

		<!--- About Menu --->
		var mnuAbout = ms.addMenu(document.getElementById("about"));
		mnuAbout.addItem("About Green Collar Innovations", "about.shtml");
		mnuAbout.addItem("Automation Services", "automation.shtml");
		mnuAbout.addItem("Friends of Green Collar Innovations", "links.shtml");
		mnuAbout.addItem("Contact Us", "contact.shtml");

		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		TransMenu.renderAll();
	}