	// 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 menu1 = ms.addMenu(document.getElementById("aboutus"));
		menu1.addItem("Company Profile", "company_profile.html"); 
                menu1.addItem("Company Activities", ""); 
                
                var submenu2 = menu1.addMenu(menu1.items[1]);
		submenu2.addItem("MIFF2010", "activities.html");
		submenu2.addItem("Never Miss The Trend & Design 2010 ", "trend2010.html");
                //menu1.addItem("MIFF2010", "activities.html"); 
                // send no URL if nothing should happen onclick

		//==================================================================================================
                 
		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("products"));
		menu2.addItem("Medium Density Fiberboard", "mdf.html");
		menu2.addItem("Particle Board", "particle_board.html");
		menu2.addItem("Melamine Faced Chipboard (MFC)", "melamine_faced_board.html");
		menu2.addItem("Moulded Door", "moulded_door.html");
		//sub2.addItem("Primed Finish Doorskin/Primed", "moulded_door_skin.html");
		menu2.addItem("Fancy Veneer", "fancy_veneer.html");
		//sub2.addItem("Moulded Doorskin/Moulded Doors", "moulded_door_skin.html");
		menu2.addItem("Flush Door", "");
		menu2.addItem("Plywood", "plywood.html");
		menu2.addItem("White Primed MDF", "white_primed_mdf.html");
		
		var ssmenu3 = menu2.addMenu(menu2.items[5]);
		ssmenu3.addItem("Primed Finish Doorskin/Primed Finish Door","primed_finish.html");
		ssmenu3.addItem("Veneer Overlayed MDF Door (NAPOLI  FLAT)","flush_door.html");		
		
		
		//menu2.addItem("Products", "");
		//menu2.addItem("Value-added Products", "");
		
		//var submenu1 = menu2.addMenu(menu2.items[0]);
		//submenu1.addItem("Particle Board", "particle_board.html");
		//submenu1.addItem("MDF", "mdf.html");
			
		
		//submenu1.addItem("Plywood", "plywood.html");
		//submenu1.addItem("Sawn Timber", "sawn_timber.html");
		//submenu1.addItem("Teak Product", "teak_product.html");
		
		//var ssmenu1 = submenu1.addMenu(submenu1.items[3]);
		//ssmenu1.addItem("Rubber Wood","rubber_wood.html");
		
		
		//var ssmenu2 = submenu1.addMenu(submenu1.items[4]);
		//ssmenu2.addItem("Teak Veneer","teak_veneer.html");
		//ssmenu2.addItem("Teak Lumber","teak_lumber.html");
	/*	
		var sub2 = menu2.addMenu(menu2.items[1]);
		sub2.addItem("Melamine Faced Board", "melamine_faced_board.html");
		sub2.addItem("Veneered on Board", "veneered_on_board.html");
		//sub2.addItem("Moulded Doorskin/Moulded Doors", "moulded_door_skin.html");
		sub2.addItem("Door", "");
		
		var ssmenu3 = sub2.addMenu(sub2.items[2]);
		ssmenu3.addItem("Moulded Doorskin/Moulded Doors","moulded_door.html");
		ssmenu3.addItem("Primed Finish Doorskin/Primed Finish Door","primed_finish.html");
		ssmenu3.addItem("Veneer Overlayed MDF Door (NAPOLI  FLAT)","mdf_door.html");
	*/	
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("certificate"));
		menu3.addItem("Quality Management","");
		<!----menu3.addItem("Environmental Friendly","");--->
		menu3.addItem("FSC Certification ","fsc.html");
                menu3.addItem("CARB Certification","carb.html");



		var submenu2 = menu3.addMenu(menu3.items[0]);
		<!--var submenu3 = menu3.addMenu(menu3.items[1]);-->

		submenu2.addItem("ISO 9001", "iso_9001.html");

		<!-----submenu3.addItem("FSC and COC", "fsc_coc.html");--->
		
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("career"));
		menu4.addItem("Job Interest", "job.html");
		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("contact"));
		menu5.addItem("Contact us", "contact_us.html");

		//==================================================================================================

		//==================================================================================================
		// 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();
	}
	
	if (window.addEventListener) {
		window.addEventListener('load', initTransMenu, false);
	} else if (window.attachEvent) {
		var tmev = window.attachEvent('onload', initTransMenu);
	} else {
		initTransMenu();
	}