/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=7;			// Number of first level items
	var LowBgColor='';			// Background color when mouse is not over
	var LowSubBgColor='#EAEAEA';			// Background color when mouse is not over on subs
	var HighBgColor='';			// Background color when mouse is over
	var HighSubBgColor='#FBFBFB';			// Background color when mouse is over on subs
	var FontLowColor='#155178';			// Font color when mouse is not over
	var FontSubLowColor='#155178';			// Font color subs when mouse is not over
	var FontHighColor='#155178';			// Font color when mouse is over
	var FontSubHighColor='#155178';			// Font color subs when mouse is over
	var BorderColor='';			// Border color
	var BorderSubColor='#FFFFFF';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Verdana"; // Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBoldPapa=1;				// Bold menu items 1 or 0
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCenteredPaPa='center';			// Item text position 'left', 'center' or 'right' (parent)
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right' (children)
	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='middle';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=0;				// horizontal overlap child/ parent e.g. .3
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent e.g. .3
	var StartTop=163;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate          ((screen.width-738)/2)+14;
	var VerCorrect=100;				// Multiple frames y correction -  119
	var HorCorrect=100;				// Multiple frames x correction
	var LeftPaddng=5;				// Left padding
	var TopPaddng=4;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['images/common/tri.gif',5,10,'images/common/spacer.gif',1,1,'images/common/spacer.gif',1,1];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
function getLeft() {
	var cW = parseInt(document.body.clientWidth);
	var startPos = (cW - 1000) / 2;
	startPos = (startPos <= 0) ? 10 : startPos + 10;
	var left = startPos + 0;

	return left;
}
function getTop() {
	var cH = parseInt(document.body.clientHeight);
	var startPos = 119;
	startPos = (startPos <= 0) ? 0 : startPos;
	var top = startPos + 0;

	return top;
}
function adjustBottomMenu() {
	if (document.getElementById('bottomMenu') != null) {
		var cW = parseInt(document.body.clientWidth);
		var startPos = (cW - 1000) / 2;
		startPos = (startPos <= 0) ? 0 : startPos;
		var left = startPos + 0;

		document.getElementById('bottomMenu').style.left = left;
		document.getElementById('bottomMenu').style.top = 513;
	}
}

StartLeft = getLeft();
StartTop = getTop();
adjustBottomMenu();
	
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("rollover:images/common/hmtm1.png:images/common/hmtm1.png", "", "", 14, 30, 145);
	Menu1_1=new Array('China Market', 'exi-china.php', '', 0, 20, 200);
	Menu1_2=new Array('Event Programme', 'exi-event.php', '', 0, 20, 200);
	Menu1_3=new Array('Show Facts', 'exi-fact.php', '', 0, 20, 200);
	Menu1_4=new Array('Exhibit Profile', 'exi-profile.php', '', 0, 20, 200);
	Menu1_5=new Array('Floor Plans', 'exi-floorplan.php', '', 0, 20, 200);
	Menu1_6=new Array('Cost of Participation', 'exi-cost.php', '', 0, 20, 200);
	Menu1_7=new Array('Visitor Statistics - Facts & Figures', 'exi-stat.php', '', 0, 20, 200);
	Menu1_8=new Array('Feedbacks from Past Exhibitors', 'exi-past.php', '', 0, 20, 200);
	Menu1_9=new Array('List of Exhibitors', 'exi-list.php', '', 0, 20, 200);
	Menu1_10=new Array('Sponsorship Opportunities', 'exi-sponopp.php', '', 0, 20, 200);
	Menu1_11=new Array('Tips for a Successful Show', 'exi-tips.php', '', 0, 20, 200);
	Menu1_12=new Array('Exhibiting Enquiry', 'exi-enquiry.php', '', 0, 20, 200);
	Menu1_13=new Array('Brochure Download', 'exi-download.php', '', 0, 20, 200);
	// Menu1_14=new Array('Exhibitor Manual', 'javascript:window.open("http://www.cmpasia.com/eems/Login.aspx?sid=11", "", "")', '', 0, 20, 200);
	Menu1_14=new Array('Exhibitor Manual', 'exi-manual.php', '', 0, 20, 200);

Menu2=new Array("rollover:images/common/hmtm2.png:images/common/hmtm2.png", "" ,"", 6, 30, 101);
	Menu2_1=new Array('Visitor Profile', 'vfo-profile.php', '', 0, 20, 200);
	Menu2_2=new Array('Opening Hours & Venue Details', 'vfo-hour.php', '', 0, 20, 200);
	Menu2_3=new Array('List of Exhibitors', 'exi-list.php', '', 0, 20, 200);
	Menu2_4=new Array('Visitor Pre-registration', 'pre-register.php', '', 0, 20, 200);
	Menu2_5=new Array('Visa Assistance', 'vfo-visa.php', '', 0, 20, 200);
	Menu2_6=new Array('Brochure Download', 'vfo-download.php', '', 0, 20, 200);

Menu3=new Array("rollover:images/common/hmtm3.png:images/common/hmtm3.png", "", "", 3, 30, 136);
	Menu3_1=new Array('Information', 'conf-info.php', '', 0, 20, 200);
	Menu3_2=new Array('Programme', 'conf-program.php', '', 0, 20, 200);
	Menu3_3=new Array('Booking Form', 'conf-reg.php', '', 0, 20, 200);

Menu4=new Array("rollover:images/common/hmtm4.png:images/common/hmtm4.png", "", "", 1, 30, 107);
	Menu4_1=new Array('2009 Post Show Press Release', 'press-postshow.php', '', 0, 20, 200);
	
Menu5=new Array("rollover:images/common/hmtm5.png:images/common/hmtm5.png", "", "", 3, 30, 95);
	/*
	Menu5_1=new Array('CNTA Science & Technology Co Ltd (CNTA)', 'javascript:window.open("http://www.chinanonwovens.com/cnta/news/default.asp", "", "")', '', 0, 35, 200);
	Menu5_2=new Array('UBM Asia Trade Fairs Pte Ltd', 'javascript:window.open("http://www.ubmasia.com.sg/", "", "");', '', 0, 20, 200);
	Menu5_3=new Array('Shanghai Technology Convention & Exhibition Co Ltd (STCEC)', 'org-stcec.php', '', 0, 35, 200);
	*/
	Menu5_1=new Array('CNTA Science & Technology Co Ltd', 'org-cnta.php', '', 0, 20, 225);
	Menu5_2=new Array('Shanghai Technology Convention & Exihibition Co Ltd', 'org-stce.php', '', 0, 35, 225);
	Menu5_3=new Array('UBM Asia Trade Fairs Pte Ltd', 'coorg-sspcs.php', '', 0, 20, 225);

Menu6=new Array("rollover:images/common/hmtm6.png:images/common/hmtm6.png", "supp-org.php", "", 0, 30, 187);

Menu7=new Array("rollover:images/common/hmtm7.png:images/common/hmtm7.png", "", "", 2, 30, 199);
	Menu7_1=new Array('Hotel & Accommodation', 'trv-hotel.php', '', 0, 20, 200);
	Menu7_2=new Array('Description of Hotels', 'trv-desc.php', '', 0, 20, 200);