// JavaScript Document
sniffBrowsers();
myMenu = new menuBar('myMenu',867, 'horizontal', 'null', 'null');

var path="", img1="";

if(menuid == 1)
{
	path="";
	img1="images/nav_aboutHaierElec_over.gif";
}
else
{
	path=prefix+"about/";
	img1="images/nav_aboutHaierElec.gif";
}

topMenuImg_1 = new bulletPoint(prefix+img1, prefix+"images/nav_aboutHaierElec_over.gif", "About Haier Electronics");
myMenu.addLabel("topMenuImg_1", "", 1, 74, "", "", path+"index_en.html", "left", "0");

menus[1] = new menu("", "vertical", "", "");
menus[1].addItem(null, "Corporate Profile", null, "167", "#fce4fa", "", path+"index_en.html", "left");
menus[1].addItem(null, "Corporate Development", null, "175", "#fce4fa", "", path+"coporate_dev_en.html", "left");
menus[1].addItem(null, "Corporate Structure", null, "167", "#fce4fa", "", path+"structure_en.html", "left");
menus[1].addItem(null, "Corporate Governance", null, "167", "#fce4fa", "", path+"coporate_gov_en.html", "left");
menus[1].addItem(null, "General Information", null, "175", "#fce4fa", "", path+"coporate_info_en.html", "left");
menus[1].addItem(null, "Directors and Senior Management", null, "167", "#fce4fa", "", path+"directors_en.html", "left");

menus[1].writeMenu();

if(menuid == 2)
{
	path="";
	img1 = "images/nav_coreBusiness_over.gif";
}
else
{
	path=prefix+"productinfo/";
	img1 = "images/nav_coreBusiness.gif";
}

topMenuImg_2 = new bulletPoint(prefix+img1, prefix+"images/nav_coreBusiness_over.gif", "Core Businesses");
myMenu.addLabel("topMenuImg_2", "", 2, 74, "", "", path+"index_en.html", "left", "0");

menus[2] = new menu("", "vertical", "", "");

menus[2].addItem(null, "Washing Machines", null, "167", "#fce4fa", "", path+"index_en.html", "left");
menus[2].addItem(null, "Water Heaters", null, "167", "#fce4fa", "", path+"product3_en.html", "left");

menus[2].writeMenu();

if(menuid == 3)
{
	path="";
	img1="images/nav_newsroom_over.gif";
}
else
{
	path=prefix+"investorrelations/";
	img1="images/nav_newsroom.gif";
}

topMenuImg_3 = new bulletPoint(prefix+img1, prefix+"images/nav_newsroom_over.gif", "Newsroom");

myMenu.addLabel("topMenuImg_3", "", 3, 74, "", "", path+"index_en.html", "left", "0");

menus[3] = new menu("168", "vertical", "", "");

menus[3].addItem(null, "Stock Quote", null, "", "#fce4fa", "", path+"index_en.html", "left");
menus[3].addItem(null, "Annual / Interim Reports", null, "167", "#fce4fa", "", path+"financialreports_en.php", "left");
menus[3].addItem(null, "Notices / Announcements", null, "167", "#fce4fa", "", path+"notices_en.php", "left");
menus[3].addItem(null, "Circulars", null, "167", "#fce4fa", "", path+"circulars_en.php", "left");
menus[3].addItem(null, "Press Releases", null, "167", "#fce4fa", "", path+"press_en.php", "left");

menus[3].writeMenu();

if(menuid == 4)
{
	path="";
	img1="images/nav_contactus_over.gif";
}
else
{
	path=prefix+"";
	img1="images/nav_contactus.gif";
}

topMenuImg_4 = new bulletPoint(prefix+img1, prefix+"images/nav_contactus_over.gif", "Contact Us");
myMenu.addLabel("topMenuImg_4", "", 4, 74, "", "", path+"contactus_en.html", "left", "0");

menus[4] = new menu("", "vertical", "", "");

menus[4].writeMenu();


myMenu.writeMenuBar();

