var myNavBar1 = new NavBar(0,"eng");
var Menu;
  
Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("Information Centre", "sitemap_info.htm"));
Menu.addItem(new NavBarMenuItem("Introduction ", "introd/introd.htm"));
Menu.addItem(new NavBarMenuItem("Fair Details", "fair_dtl/detail.htm"));
//Menu.addItem(new NavBarMenuItem("List of Exhibitors", "exh_list/exh_list.htm"));
Menu.addItem(new NavBarMenuItem("List of Exhibitors", "http://emsweb2.hktdcfairs.com/spebms/ebms.asp?ebmsfile=oep/oep_all_exhibitors.asp&oc=03&cc=LOGI05OEP"));
Menu.addItem(new NavBarMenuItem("Location Map & Hall Plan", "hallplan/map.htm"));
Menu.addItem(new NavBarMenuItem("Event Schedule", "event_sch/event_sch.htm"));
Menu.addItem(new NavBarMenuItem("Guangdong-Hong Kong Logistics Co-operation Symposium", "con_pro/con_pro.htm"));
Menu.addItem(new NavBarMenuItem("Open Forum", "open_for/open_for.htm"));
Menu.addItem(new NavBarMenuItem("Hong Kong Services Pavilion", "introd/servicepav.htm"));
Menu.addItem(new NavBarMenuItem("Previous Event", "javascript:window.open('2004/index.htm')"));
Menu.addItem(new NavBarMenuItem("Photo Gallery", "photo/photo.htm"));
Menu.addItem(new NavBarMenuItem("Enquiries", "enquiries/enquiries.htm"));
Menu.addItem(new NavBarMenuItem("Contact Us", "contact/contact.htm"));
myNavBar1.addMenu(Menu);

Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("Exhibitors' Centre", "sitemap_exh.htm"));
Menu.addItem(new NavBarMenuItem("Participation Fee and Format", "part_dtl/part_dtl.htm"));
Menu.addItem(new NavBarMenuItem("Extra Benefit", "exh_center/benefit.htm"));
Menu.addItem(new NavBarMenuItem("Application Form", "app_form/app_form.htm"));
Menu.addItem(new NavBarMenuItem("Advertising", "exh_center/advertising.htm"));
Menu.addItem(new NavBarMenuItem("Exhibitor's Manual", "exh_center/manual.htm"));
Menu.addItem(new NavBarMenuItem("Exhibitor's Circular", "exh_center/circular.htm"));
Menu.addItem(new NavBarMenuItem("Accommodation & Travel Information", "exh_center/travel.htm"));
Menu.addItem(new NavBarMenuItem("Rules & Regulations", "exh_center/rule.htm"));
Menu.addItem(new NavBarMenuItem("SME Export Marketing Fund", "exh_center/smefund.htm"));
myNavBar1.addMenu(Menu);

Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("Visitors' Centre", "sitemap_ons.htm"));
//Menu.addItem(new NavBarMenuItem("Visitor Information", "vis_infor/vis_infor.htm"));
Menu.addItem(new NavBarMenuItem("Visitor Pre-registration", "pre_reg/pre_reg.htm"));
myNavBar1.addMenu(Menu);

Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("Media Centre", "sitemap_med.htm"));
Menu.addItem(new NavBarMenuItem("Press Releases", "press_re/Press_re.htm"));
Menu.addItem(new NavBarMenuItem("Profile of Hong Kong Logistics Development", "javascript:window.open('http://logistics.tdctrade.com/')"));
//Menu.addItem(new NavBarMenuItem("Feature Stories", "fe_story/fe_story.htm"));
//Menu.addItem(new NavBarMenuItem("Enquiries", "med_eng/med_eng.htm"));
myNavBar1.addMenu(Menu);

//set menu colors
myNavBar1.setColors("#ffffff", "#ffffff", "#000000", "#cae1ff", "#000000", "#000000", "#cccccc", "#ffffff", "#777777")

//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")

var fullWidth;

function init() {

  // Get width of window, need to account for scrollbar width in Netscape.

  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);

//  myNavBar1.resize(fullWidth);
    myNavBar1.resize(760);

  myNavBar1.create();
  myNavBar1.setzIndex(2);
  //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 50 pixels
  myNavBar1.moveTo(0, 54);
}

//*****************************************************************************
//  Link to other fair websites in pull down menu
//*****************************************************************************

function GoURL(s, restore) {
	if (s.selectedIndex == 1)
		parent.location.href = document.location;	
	else
		parent.location = s.options[s.selectedIndex].value;
	if (restore) s.selectedIndex=0;
}

//*****************************************************************************
// Make a new window
//*****************************************************************************

function openWindow(url,w,h)
{
    feature = 'scrollbars=1,menubar=0,location=0,toolbar=0,resizable=1,width=' + w + ',height=' + h;
    newWindow = window.open(url, 'HKTDC', feature);
}