var myNavBar1 = new NavBar(0,"chi");
var Menu;
  
Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("資訊中心", "sitemap_info.htm"));
Menu.addItem(new NavBarMenuItem("展覽會簡介", "introd/introd.htm"));
Menu.addItem(new NavBarMenuItem("展覽會資料", "fair_dtl/fair_dtl.htm"));
//Menu.addItem(new NavBarMenuItem("參展商名單", "exh_list/exh_list.htm"));
Menu.addItem(new NavBarMenuItem("參展商名單", "http://emsweb2.hktdcfairs.com/spebms/ebms.asp?ebmsfile=oep/oep_all_exhibitors.asp&oc=03&cc=CLOGI05OEP"));
Menu.addItem(new NavBarMenuItem("專題故事", "http://brandname.tdctrade.com/logexpo2005/"));
Menu.addItem(new NavBarMenuItem("展覽館位置圖及展覽廳平面圖", "hallplan/map.htm"));
Menu.addItem(new NavBarMenuItem("活動程序表", "event_sch/event_sch.htm"));
Menu.addItem(new NavBarMenuItem("粵港物流合作洽談會", "con_pro/con_pro.htm"));
Menu.addItem(new NavBarMenuItem("專題講座", "open_for/open_for.htm"));
Menu.addItem(new NavBarMenuItem("香港服務業展館", "introd/servicepav.htm"));
Menu.addItem(new NavBarMenuItem("上屆博覽會", "javascript:window.open('../2004/chi/index.htm')"));
Menu.addItem(new NavBarMenuItem("照片廊", "photo/photo.htm"));
Menu.addItem(new NavBarMenuItem("查詢", "enquiries/enquiries.htm"));
Menu.addItem(new NavBarMenuItem("聯絡我們", "contact/contact.htm"));
myNavBar1.addMenu(Menu);

Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("參展商中心", "sitemap_exh.htm"));
Menu.addItem(new NavBarMenuItem("參展費用及形式", "part_dtl/part_dtl.htm"));
Menu.addItem(new NavBarMenuItem("額外優惠", "exh_center/benefit.htm"));
Menu.addItem(new NavBarMenuItem("參加表格", "app_form/app_form.htm"));
Menu.addItem(new NavBarMenuItem("宣傳機會", "exh_center/advertising.htm"));
Menu.addItem(new NavBarMenuItem("參展商手冊", "exh_center/manual.htm"));
Menu.addItem(new NavBarMenuItem("參展商通告", "exh_center/circular.htm"));
Menu.addItem(new NavBarMenuItem("住宿交通資料", "exh_center/travel.htm"));
Menu.addItem(new NavBarMenuItem("展覽會規則", "exh_center/rule.htm"));
Menu.addItem(new NavBarMenuItem("中小企業市場推廣基金", "exh_center/smefund.htm"));
myNavBar1.addMenu(Menu);

Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("參觀人士中心", "sitemap_ons.htm"));
//Menu.addItem(new NavBarMenuItem("參觀人士資料", "vis_infor/vis_infor.htm"));
Menu.addItem(new NavBarMenuItem("參觀人士預先登記", "pre_reg/pre_reg.htm"));
myNavBar1.addMenu(Menu);

Menu = new NavBarMenu(152, 0);
Menu.addItem(new NavBarMenuItem("傳媒中心", "sitemap_med.htm"));
Menu.addItem(new NavBarMenuItem("新聞稿", "press_re/press_re.htm"));
Menu.addItem(new NavBarMenuItem("香港物流發展概覽", "javascript:window.open('http://logistics.tdctrade.com/index_c.htm')"));
//Menu.addItem(new NavBarMenuItem("物流服務業概覽", "fe_story/fe_story.htm"));
//Menu.addItem(new NavBarMenuItem("傳媒查詢", "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);
}