//========================= JavaScript File Include =============
function IncludeExJavaScript(exJsFile)
{
	document.write("<scr" + "ipt type=\"text/javascript\" src=\"" + exJsFile + "\" language=\"JavaScript\"></scr" + "ipt>");
}
//========================= JavaScript File Include =============

function WriteHeaderBar(paraLevel) {
	var ImageLevel, LinkLevel, LinkLevel2;
	switch (paraLevel) {
		case "0" :
			ImageLevel="images/";
			LinkLevel = "";
			LinkLevel2 = "../main/";
			break;
		case "1" :
			ImageLevel="../images/";
			LinkLevel = "../";
			LinkLevel2 = "../../main/";
			break;
		case "2" :
			ImageLevel="../../images/";
			LinkLevel = "../../";
			LinkLevel2 = "../../../main/";
			break;
		case "3" :
			ImageLevel="../../../images/";
			LinkLevel = "../../../";
			LinkLevel2 = "../../../../main/";
			break;
		default :
			ImageLevel="images/";
			LinkLevel = "";
			LinkLevel2 = "../main/";
	}
	
	IncludeExJavaScript(LinkLevel + "includes/scripts/niftycube.js");

	document.write("<table width=\"770\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"" + ImageLevel + "common/header_main_bk.png\"><tr><td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td width=\"200\" align=\"center\"><a href=\"" + LinkLevel2 + "index.html\"><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"www.singersl.com...\" title=\"www.singersl.com...\" width=\"200\" height=\"85\" border=\"0\"></a></td><td valign=\"top\"><table width=\"545\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\"><tr><td align=\"right\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"2\"><tr><td><div id=\"DivChangeArea\"><strong><a href=\"" + LinkLevel + "reservation_box/df_res_view1.asp\" class=\"LinkStyle02\"><img src=\"" + ImageLevel + "common/view_res_box.gif\" alt=\"View Duty Free Reservations...\" width=\"16\" height=\"16\" hspace=\"3\" border=\"0\" align=\"absbottom\">Duty Free Reservations </a> | <a href=\"" + LinkLevel + "shopping_cart/cart_view1.asp\" class=\"LinkStyle02\"><img src=\"" + ImageLevel + "common/view_shopping_cart.gif\" alt=\"View Shopping Cart...\" width=\"16\" height=\"16\" hspace=\"3\" border=\"0\" align=\"absbottom\">Shopping Cart</a></strong></div><script type=\"text/JavaScript\">doRequest(\"" + LinkLevel + "shopping_cart/cart_view4.asp\",\"?HeaderCartInfo=Y&paraLevel=" + paraLevel + "&isFrom=\",\"<div align=center><img src='" + ImageLevel + "common/loading_02.gif' alt=''>&nbsp;&nbsp;Please Wait... Loading Header Icons...<br><br></div>\",\"DivChangeArea\");</script></td></tr></table></td></tr></table></td></tr></table><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td height=\"10\"><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"10\" height=\"10\"></td></tr><tr><td align=\"center\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"5\" height=\"5\"></td></tr><tr><td><!--========== QuickMenu Stucture ==========--><div id=\"qm0\" class=\"qmmc\"><a href=\"" + LinkLevel2 + "index.html\"> Home</a> <a href=\"javascript:void(0);\"> Products</a> <div><a href=\"javascript:void(0);\">&nbsp;</a> <a href=\"" + LinkLevel2 + "products.html\"><img src=\"" + ImageLevel + "common/arrow_02.gif\" alt=\"\" width=\"4\" height=\"7\" border=\"0\"> Products Main</a> <div></div><a href=\"javascript:void(0);\">&nbsp;</a> <a href=\"" + LinkLevel + "products/show.asp?PC=air_conditioners\">&bull; Air Conditioners</a> <a href=\"" + LinkLevel + "products/show.asp?PC=audios\">&bull; Audios [Portable/Hi-Fi]</a> <a href=\"" + LinkLevel + "products/show.asp?PC=bicycles\">&bull; Bicycles</a> <a href=\"" + LinkLevel + "products/show.asp?PC=camcorders_cameras\">&bull; Camcorders &amp; Cameras</a> <a href=\"" + LinkLevel + "products/show.asp?PC=chest_freezers\">&bull; Chest Freezers</a> <a href=\"" + LinkLevel + "products/show.asp?PC=computers\">&bull; Computers</a> <a href=\"" + LinkLevel + "products/show.asp?PC=cooker_hoods_hobs\">&bull; Cooker Hoods/Hobs</a> <a href=\"" + LinkLevel + "products/show.asp?PC=dialog_tv\">&bull; Dialog TV (Satellite TV Broadcasting) </a> <a href=\"" + LinkLevel + "products/show.asp?PC=dvd_vcd_vcr\">&bull; DVDs/VCDs/VCRs</a> <a href=\"" + LinkLevel + "products/show.asp?PC=electric_ovens\">&bull; Electric Ovens</a> <a href=\"" + LinkLevel + "products/show.asp?PC=fans\">&bull; Fans</a> <a href=\"" + LinkLevel + "products/show.asp?PC=furniture\">&bull; Furniture</a> <a href=\"" + LinkLevel + "products/show.asp?PC=gas_burners\">&bull; Gas Burners &amp; Ovens</a> <a href=\"" + LinkLevel + "products/show.asp?PC=generators\">&bull; Generators</a> <a href=\"" + LinkLevel + "products/show.asp?PC=home_theatre_systems\">&bull; Home Theatre Systems</a> <a href=\"" + LinkLevel + "products/show.asp?PC=industrial_machines\">&bull; Industrial Machines</a> <a href=\"" + LinkLevel + "products/show.asp?PC=irons\">&bull; Irons</a> <a href=\"" + LinkLevel + "products/show.asp?PC=kitchen_appliances\">&bull; Kitchen Appliances</a> <a href=\"" + LinkLevel + "products/show.asp?PC=cdma\">&bull; CDMA Phone Connections</a> <a href=\"" + LinkLevel + "products/show.asp?PC=microwave_ovens\">&bull; Microwave Ovens</a> <a href=\"" + LinkLevel + "products/show.asp?PC=motor_bicycles\">&bull; Motor Bicycles</a> <a href=\"" + LinkLevel + "products/show.asp?PC=others\">&bull; Other Products</a> <a href=\"" + LinkLevel + "products/show.asp?PC=quantum\">&bull; Quantum Products</a> <a href=\"" + LinkLevel + "products/show.asp?PC=refrigerators\">&bull; Refrigerators</a> <a href=\"" + LinkLevel + "products/show.asp?PC=security_systems\">&bull; Security Systems</a> <a href=\"" + LinkLevel + "products/show.asp?PC=sewing_machines\">&bull; Sewing Machines</a> <a href=\"" + LinkLevel + "products/show.asp?PC=televisions\">&bull; Televisions</a> <a href=\"" + LinkLevel + "products/show.asp?PC=washing_machines\">&bull; Washing Machines</a> <a href=\"" + LinkLevel + "products/show.asp?PC=water_pumps\">&bull; Water Pumps</a> </div><a href=\"" + LinkLevel2 + "promotions.html\"> Promotions</a> <a href=\"" + LinkLevel + "duty_free/index.html\"> Duty Free</a> <a href=\"javascript:void(0);\"> Profile</a> <div><a href=\"javascript:void(0);\">&nbsp;</a> <a href=\"" + LinkLevel2 + "profile.html\"><img src=\"" + ImageLevel + "common/arrow_02.gif\" alt=\"\" width=\"4\" height=\"7\" border=\"0\"> Profile Main</a> <div></div><a href=\"javascript:void(0);\">&nbsp;</a> <a href=\"" + LinkLevel + "events/history.html\">&bull; History</a> <a href=\"" + LinkLevel + "annual/board.html\">&bull; Chairman &amp; Directors</a> <a href=\"" + LinkLevel + "annual/management.html\">&bull; Senior Management</a> <a href=\"" + LinkLevel + "annual/index.html\">&bull; Annual Report 2008</a> </div><a href=\"" + LinkLevel + "jobs/index.html\"> Jobs</a> <a href=\"javascript:void(0);\"> Contact Us</a> <div><a href=\"javascript:void(0);\">&nbsp;</a> <a href=\"" + LinkLevel + "contact_us/index.html\"><img src=\"" + ImageLevel + "common/arrow_02.gif\" alt=\"\" width=\"4\" height=\"7\" border=\"0\"> Contact Us Main</a> <div></div><a href=\"javascript:void(0);\">&nbsp;</a> <a href=\"" + LinkLevel + "contact_us/shops.html\">&bull; Retail Outlets</a> <a href=\"" + LinkLevel + "mega/index.html\">&bull; Mega Shops</a> <a href=\"" + LinkLevel + "singer_homes/index.html\">&bull; SINGER Homes Shops</a> <a href=\"" + LinkLevel + "sisil/index.asp\">&bull; Sisil Shops</a> <a href=\"" + LinkLevel + "service/index.html\">&bull; Service Centres</a> <a href=\"" + LinkLevel + "fashion_academy/index.html\">&bull; Fashion Academies</a> </div><span class=\"qmclear\">&nbsp;&nbsp;&nbsp;</span></div> <!--========== QuickMenu Create Menu (menu id, is vertical, show timer (ms), hide timer (ms), on click) ==========--><script type=\"text/JavaScript\">qm_create(0,false,10,100,false);</script></td></tr></table></td></tr></table></td></tr></table> <table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td align=\"center\" background=\"" + ImageLevel + "common/menu_row_bk_01.gif\"><table width=\"740\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"center\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"4\"><tr><td><table border=\"0\" cellspacing=\"0\" cellpadding=\"4\"><tr><td class=\"Fnt11Pix\"><img src=\"" + ImageLevel + "common/prod_lookup_thum.gif\" alt=\"Product Lookup...\" width=\"16\" height=\"16\"></td><td class=\"Fnt11Pix\"><strong><a href=\"" + LinkLevel + "products/_product_lookup/index.asp\" class=\"MenuMain\">Product Lookup</a></strong></td><td><a href=\"" + LinkLevel + "products/_product_lookup/index.asp\"></a></td></tr></table></td><td><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"10\" height=\"10\"></td><td class=\"Fnt11Pix\"><span class=\"MenuMain\">Search</span></td> <td><form action=\"" + LinkLevel + "products/search.asp\" method=\"post\" name=\"frmSearchForm\" id=\"frmSearchForm\" onSubmit=\"return SearchProductValidation()\"><table border=\"0\" cellspacing=\"2\" cellpadding=\"0\"><tr><td><input name=\"txtSearchString\" type=\"text\" class=\"TextBox01\" id=\"txtSearchString\" size=\"30\" maxlength=\"50\"></td><td><input name=\"imageField\" type=\"image\" class=\"CursorHand\" src=\"" + ImageLevel + "common/go_01.gif\" alt=\"Search...\" width=\"15\" height=\"15\" border=\"0\"></td></tr></table></form></td><td><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"10\" height=\"3\"></td></tr></table></td></tr></table></td></tr><tr><td height=\"3\" class=\"ColrBk01\"><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"3\" height=\"3\"></td></tr></table>");

	document.write("<table width=\"770\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"10\" height=\"10\"></td></tr></table><table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td height=\"1\" background=\"" + ImageLevel + "common/dot_line_hr_01.gif\"><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"1\" height=\"1\"></td></tr></table>");

	//document.write("<table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td><a href=\"javascript:MegaSeasonalCatalogue('"+paraLevel+"');\"><img src=\"" + ImageLevel + "mega/mega_catalogue.gif\" width=\"770\" height=\"30\" border=\"0\" alt=\"Mega Seasonal Catalogue 2009...\" title=\"Mega Seasonal Catalogue 2009...\"></a></td></tr></table>");

	//document.write("<table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td height=\"1\" background=\"" + ImageLevel + "common/dot_line_hr_01.gif\"><img src=\"images/pix_trans.gif\" alt=\"\" width=\"1\" height=\"1\"></td></tr></table>");

//========== Delay Of Delivery ==========
	//document.write("<table width=\"770\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"10\" height=\"10\"></td></tr></table><table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td height=\"1\" background=\"" + ImageLevel + "common/dot_line_hr_01.gif\"><img src=\"images/pix_trans.gif\" alt=\"\" width=\"1\" height=\"1\"></td></tr></table>");

	//document.write("<table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td><img src=\"" + ImageLevel + "events/delay_delivery_msg_strip.gif\" width=\"770\" height=\"50\" border=\"0\" alt=\"MSG: Delay Of Delivery...\" title=\"MSG: Delay Of Delivery...\"></td></tr></table>");

	//document.write("<table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td height=\"1\" background=\"" + ImageLevel + "common/dot_line_hr_01.gif\"><img src=\"images/pix_trans.gif\" alt=\"\" width=\"1\" height=\"1\"></td></tr></table>");

	//document.write("<table width=\"770\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"" + ImageLevel + "common/pix_trans.gif\" alt=\"\" width=\"10\" height=\"10\"></td></tr></table><table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td height=\"1\" background=\"" + ImageLevel + "common/dot_line_hr_01.gif\"><img src=\"images/pix_trans.gif\" alt=\"\" width=\"1\" height=\"1\"></td></tr></table>");
//========== Delay Of Delivery ==========

}
//===== © 2008 Singer (Sri Lanka) PLC. All Rights Reserved.