var x = 1;	 //menuObj.length
var y = 1;	 //subMenuObj.length

var menuObj = new Array();
var subMenuObj = new Array();

/********************* Variable defined for generate the top menu *********************/
var arTopMenu = new Array()
	arTopMenu[1] = new Array()
	arTopMenu[1][0] = "Kam Hing International Holdings Limited";
	arTopMenu[1][1] = "Home";
	arTopMenu[1][2] = "Traditional Chinese Version";
	arTopMenu[1][3] = "Simplified Chinese Version";
	arTopMenu[1][4] = tcFolder;
	arTopMenu[1][5] = scFolder;
	arTopMenu[1][6] = "tc";
	arTopMenu[1][7] = "sc";
	arTopMenu[1][8] = "home";
	arTopMenu[1][9] = "top";
	arTopMenu[1][10] = "back";
	
	arTopMenu[2] = new Array()
	arTopMenu[2][0] = "錦興國際控股有限公司";
	arTopMenu[2][1] = "主頁";
	arTopMenu[2][2] = "英文版";
	arTopMenu[2][3] = "簡體中文版";
	arTopMenu[2][4] = enFolder;
	arTopMenu[2][5] = scFolder;
	arTopMenu[2][6] = "en";
	arTopMenu[2][7] = "sc";
	arTopMenu[2][8] = "home";
	arTopMenu[2][9] = "top";
	arTopMenu[2][10] = "back";
	
	arTopMenu[3] = new Array()
	arTopMenu[2][0] = "锦兴国际控股有限公司";
	arTopMenu[2][1] = "主页";
	arTopMenu[2][2] = "英文版";
	arTopMenu[2][3] = "繁体中文版";
	arTopMenu[3][4] = enFolder;
	arTopMenu[3][5] = tcFolder;
	arTopMenu[3][6] = "en";
	arTopMenu[3][7] = "tc";
	arTopMenu[3][8] = "home";
	arTopMenu[3][9] = "top";
	arTopMenu[3][10] = "back";

/********************* End of Variable defined for generate the top menu *********************/

/***** Add Section Start *****/
addMenu(1, "About Us", "關 於 我 們", "关 於 我 们", "aboutus/index.htm","01", true, true, true);
addMenu(2, "Product", "產 品", "产 品", "product/index.htm", "02", true, true, true);
addMenu(3, "Production", "生 產", "生 产", "production/index.htm", "03", true, true, true);
addMenu(4, "Client Portfolio", "主 要 客 戶", "主 要 客 户", "portfolio/index.htm", "04", false, true, true);
addMenu(5, "Investor Relations", "投 資 者 關 係", "投 资 者 关 系", "investor/index.htm", "05", true, true, true);
addMenu(6, "What's New", "最 新 消 息", "最 新 消 息", "whatsnew/index.htm", "06", true, true, true);
//addMenu(7, "Annual Reports", "年 報", "年 报", "annual/index.htm", "07", true, true, true);
addMenu(7, "Career", "招 聘", "招 聘", "career/index.htm", "07", true, true, true);
addMenu(8, "FAQ", "常 見 問 題", "常 见 问 题", "faq/index.htm", "08", false, true, true);
addMenu(9, "Contact Us", "聯 絡 我 們", "联 络 我 们", "contactus/index.htm", "09", false, true, true);
addMenu(10, "Web Mail", "網 上 電 郵", "网 上 电 邮", "http://mail.kamhingintl.com", "10", false, true, true);

/***** Add Section End *****/

/***** Add Sub Section Start *****/
addSubMenu(1, 1, "Corporate Profile", "集 團 簡 介", "集 团 简 介", "aboutus/index.htm", "011", false, true, true);
addSubMenu(1, 2, "Vision and Statement", "集 團 目 標", "集 团 目 标", "aboutus/vision.htm", "012", false, true, true);
addSubMenu(1, 3, "Our Business", "業 務 概 覽", "业 务 概 览", "aboutus/business.htm", "013", false, true, true);
addSubMenu(1, 4, "Our Management", "管 理 層", "管 理 层", "aboutus/management.htm", "014", false, true, true);
addSubMenu(1, 5, "Corporate Structure", "集 團 架 構", "集 团 架 构", "aboutus/structure.htm", "015", false, true, true);
addSubMenu(1, 6, "Group History", "集 團 歷 史", "集 团 历 史", "aboutus/history.htm", "016", false, true, true);

addSubMenu(2, 1, "Product Introduction", "產 品 介 紹", "产 品 介 绍", "product/index.htm", "021", false, true, true);
addSubMenu(2, 2, "Dyed Yarn and Sewing Threads", "染 紗 及 紗 線", "染 纱 及 纱 线", "product/yarn.htm", "022", false, true, true);
addSubMenu(2, 3, "Knitted and Dyed Fabrics", "針 織 及 染 色 布 料", "针 织 及 染 色 布 料", "product/fabric.htm", "023", false, true, true);
addSubMenu(2, 4, "Garments", "成 衣", "成 衣", "product/garment.htm", "024", false, true, true);

addSubMenu(3, 1, "Production Capacity", "生 產 能 力", "生 产 能 力", "production/index.htm", "031", false, true, true);
addSubMenu(3, 2, "Production Process", "生 產 流 程", "生 产 流 程", "production/process.htm", "032", false, true, true);
//addSubMenu(3, 3, "Yarn Dyeing QA Process", "染 紗 流 程", "染 纱 流 程", "production/dyeing.htm", "033", false, true, true);
//addSubMenu(3, 3, "Advanced Machinery", "高 科 技 先 進 生 產 設 備", "高 科 技 先 进 生 产 设 备", "production/advanced.htm", "034", false, true, true);
addSubMenu(3, 4, "Quality Control", "品 質 控 制", "品 质 控 制", "production/quality.htm", "035", false, true, true);
addSubMenu(3, 5, "Environmental Control", "環 境 監 察", "环 境 监 察", "production/environmental.htm", "036", false, true, true);
addSubMenu(3, 6, "Research and Development", "研 究 及 開 發", "研 究 及 开 发", "production/research.htm", "037", false, true, true);

addSubMenu(5, 1, "Stock Quote", "股 票 報 價", "股 票 报 价", "investor/index.htm", "051", false, true, true);
addSubMenu(5, 2, "Financial Reports", "財 務 業 績 報 告", "财 务 业 绩 报 告", "investor/reports.htm", "052", false, true, true);
addSubMenu(5, 3, "Announcements", "公 佈", "公 布", "investor/announcements.htm", "053", false, true, true);
addSubMenu(5, 5, "Return", "報 表", "报 表", "investor/monthly.htm", "055", false, true, true);
addSubMenu(5, 4, "Corporate Governance", "企 業 管 治", "企 业 管 治", "investor/governance.htm", "054", false, true, true);
//addSubMenu(5, 4, "Corporate Governance", "企 業 管 治", "企 业 管 治", "images/content/pdf/2007/Corporate_Governance.pdf", "054", false, true, true);
//addSubMenu(5, 4, "Annual Reports", "年 報", "年 报", "investor/annual.htm", "054", false, true, true);

addSubMenu(6, 1, "Events/News", "活 動 / 新 聞", "活 动 / 新 闻", "whatsnew/index.htm", "061", false, true, true);

//addSubMenu(7, 1, "2004 Annual Reports", "2004 年 年 報", "2004 年 年 报", "annual/index.htm", "071", false, true, true);

addSubMenu(7, 1, "Employment Philosophy", "僱 用 宗 旨", "雇 用 宗 旨", "career/index.htm", "071", false, true, true);
addSubMenu(7, 2, "Job Opportunities", "職 位 空 缺", "职 位 空 缺", "career/job.htm", "072", false, true, true);

/***** Add Sub Section End *****/