var CLASSID = "";
function init()
{
	var URL = unescape(location.href);
	var xstart = URL.lastIndexOf("/") + 1;
	var xend = URL.length;
	CLASSID = URL.substring(xstart,xend);
	if(CLASSID=='') CLASSID = 'index.html';
	
	//menu(size, orientation, x, y, offsetX, offsetY, bgOut, bgOver, fontFace, fontSize, 
	//	fontStyleOut, fontStyleOver, textColorOut, textColorOver, borderSize, borderColor, margin, showChar, 
	//	showOnClick, sepItems, isMainMenu, hasAnimations, animationType, hasShadow, sOffX, sOffY, shadowColor)
	//
	// bgOut,bgOver - transparent background color, opacity:[HTMLCOLOR]:[0-100]
	//
	//additem(link, target, iSize, alignment, content, menuToShow)
	//
	// content - rollover image (supports png), rollover:[URLROLLOVER]:[URLROLLOUT]:[WIDTH]:[HEIGHT]
	//
	//floatMenu(scrWidth, scrHeight, mrgLeft, adjustNum)
		
	// bottom menu bar
		menus[0] = new menu(26, "horizontal", 200,40, 0, 3, "", "", "Arial", 8, 
		"normal", "normal", "", "", 0, "", 0, "", false, false, true, false, 5, false, 0, 0, "black");
		menus[0].addItem("about-colonels-story.html", "", 100, "left", "rollover:i/butt-about-n.png:i/butt-about-o.png:97:26", 1);
		menus[0].addItem("colonels-latest.html", "", 138, "left", "rollover:i/butt-colonelmenu-n.png:i/butt-colonelmenu-o.png:135:26", 2);	
		menus[0].addItem("breakfast-card.html", "", 103, "left", "rollover:i/butt-breakfast-n.png:i/butt-breakfast-o.png:100:26", 3);
		menus[0].addItem("family-feast.html", "", 77, "left", "rollover:i/butt-family-n.png:i/butt-family-o.png:74:26", 4);
		menus[0].addItem("teens-xmeal.html", "", 72, "left", "rollover:i/butt-teens-n.png:i/butt-teens-o.png:69:26", 5);
		menus[0].addItem("kids/chicky.html", "", 61, "left", "rollover:i/butt-kids-n.png:i/butt-kids-o.png:58:26", 6);
		menus[0].addItem("catering-voucher.html", "", 92, "left", "rollover:i/butt-catering-n.png:i/butt-catering-o.png:89:26", 7);
		menus[0].addItem("ecraving.html", "_blank", 134, "left", "rollover:i/butt-ecraving-n.png:i/butt-ecraving-o.png:131:26", 0);
		menus[0].addItem("jom-kfc-perlis.html", "", 82, "left", "rollover:i/butt-jom-n.png:i/butt-jom-o.png:79:26", 12);
		menus[0].floatMenu(1280, 1024, 0, 0);
		
		menus[1] = new menu(130, "vertical", 0, 0, 7, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");	
		menus[1].addItem("about-colonels-story.html", "", 25 , "center", "Colonel&rsquo;s Story", 0);
		menus[1].addItem("about-kfc-malaysia.html", "", 25 , "center", "KFC Malaysia", 0);
		menus[1].addItem("about-quality-assurance.html", "", 25 , "center", "Quality Assurance", 0);
		menus[1].addItem("about-halal-policy.html", "", 25 , "center", "Halal Policy", 0);
		menus[1].addItem("about-milestone.html", "", 25 , "center", "Milestone", 0);
		menus[1].addItem("contact.html", "", 25 , "center", "Contact Us", 0);
		
		menus[2] = new menu(145, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");	
		menus[2].addItem("colonels-latest.html", "", 25 , "center", "Colonel&rsquo;s Latest", 0);
		menus[2].addItem("colonels-combo-meals.html", "", 25 , "center", "Combo Meals", 0);
		menus[2].addItem("colonels-family-meals.html", "", 42 , "center", "Individual and Family Meals", 0);
		menus[2].addItem("colonels-chicky-meals.html", "", 25 , "center", "Chicky Meal", 0);
		menus[2].addItem("colonels-snacks-burgers.html", "", 25 , "center", "Snacks & Burgers", 0);
		menus[2].addItem("colonels-side-orders.html", "", 25 , "center", "Side Orders", 0);
		menus[2].addItem("colonels-thirst-quenchers.html", "", 25 , "center", "Thirst Quenchers", 0);
		menus[2].addItem("colonels-desserts.html", "", 25 , "center", "Desserts", 0);			
		menus[2].addItem("colonels-salad.html", "", 25 , "center", "Salad", 0);
		menus[2].addItem("colonels-nutritional-value.html", "", 25 , "center", "Nutritional Values", 0);
		
		
		menus[3] = new menu(115, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");	
		menus[3].addItem("breakfast-card.html", "", 25 , "center", "Sunriser Card", 0);
		menus[3].addItem("breakfast-menu.html", "", 25 , "center", "Breakfast Menu", 0);
		menus[3].addItem("breakfast-breakfast.html", "", 42 , "center", "Breakfast Outlets", 0);
		menus[3].addItem("breakfast-latenight.html", "", 25 , "center", "Late Night", 0);
		menus[3].addItem("breakfast-24hours.html", "", 25 , "center", "KFC 24 Hours", 0);
		
		
		menus[4] = new menu(110, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");	
		menus[4].addItem("family-feast.html", "", 25 , "center", "Family Feast", 0);
		menus[4].addItem("family-mini-bucket.html", "", 25 , "center", "Mini Bucket", 0);
		menus[4].addItem("family-variety-bucket.html", "", 25 , "center", "Variety Bucket", 0);

		menus[5] = new menu(110, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");	
		menus[5].addItem("teens-xmeal.html", "", 25 , "center", "X-meal", 0);
		menus[5].addItem("teens-snackbox.html", "", 25 , "center", "Snack Box", 0);
		menus[5].addItem("teens-krushers.html", "", 25 , "center", "Krushers", 0);
		menus[5].addItem("teens-wraps.html", "", 25 , "center", "Wraps", 0);
		menus[5].addItem("teens-snax.html", "", 25 , "center", "KFC SNAX Card", 0);
		
		
		menus[6] = new menu(120, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[6].addItem("kids/chicky.html", "", 25 , "center", "Overview", 0);
		menus[6].addItem("kids/chicky-meal.html", "", 25 , "center", "Chicky Meal", 0);
		menus[6].addItem("kids/chicky-club.html", "", 25 , "center", "Chicky Club", 8);
		menus[6].addItem("kids/chicky-birthday.html", "", 25 , "center", "Chicky Birthday", 9);
		menus[6].addItem("kids/chicky-corner.html", "", 25 , "center", "Chicky Corner", 0);		
		menus[6].addItem("kids/chicky-carnival.html", "", 25 , "center", "Chicky Carnival", 10);		
		menus[6].addItem("kids/chicky-school.html", "", 42 , "center", "Chicky Goes to School", 0);
		menus[6].addItem("kids/chicky-fren.html", "", 25 , "center", "Chicky & Friends", 11);
		menus[6].addItem("kids/chicky-game.html", "", 25 , "center", "Chicky E-Games", 0);
		menus[6].addItem("kids/chicky-mail.html", "_blank", 25 , "center", "E-Chicky Mail", 0);

		menus[7] = new menu(120, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[7].addItem("catering-voucher.html", "", 42 , "center", "Meal Voucher / Gift Certificates", 0);
		menus[7].addItem("catering-event.html", "", 42 , "center", "Catering for Events", 0);
	
		menus[8] = new menu(180, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[8].addItem("kids/chicky-club.html", "", 25 , "left", "&nbsp;&nbsp;Introduction", 0);
		menus[8].addItem("kids/chicky-club2.html", "", 25 , "left", "&nbsp;&nbsp;Members Benefits", 0);
		menus[8].addItem("kids/pdf/ChickyClub_app3.pdf", "_blank", 25 , "left", "&nbsp;&nbsp;Join Now!", 0);
		menus[8].addItem("kids/pop/cc-memberdetail.html", "_blank", 25 , "left", "&nbsp;&nbsp;Update Member&rsquo;s Detail", 0);

		menus[9] = new menu(235, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[9].addItem("kids/chicky-birthday.html", "", 25 , "left", "&nbsp;&nbsp;Introduction", 0);
		menus[9].addItem("kids/chicky-birthday2.html", "", 25 , "left", "&nbsp;&nbsp;View Our Party Packages", 0);
		menus[9].addItem("kids/chicky-birthday3.html", "", 25 , "left", "&nbsp;&nbsp;Choose Nearest KFC Restaurant", 0);	

		menus[10] = new menu(154, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[10].addItem("kids/chicky-carnival.html", "", 25 , "left", "&nbsp;&nbsp;Chicky Carnival 2010", 0);
		menus[10].addItem("kids/chicky-carnival-09.html", "", 25 , "left", "&nbsp;&nbsp;Chicky Carnival 2009", 0);
		menus[10].addItem("kids/chicky-carnival-08.html", "", 25 , "left", "&nbsp;&nbsp;Chicky Carnival 2008", 0);
		menus[10].addItem("kids/chicky-carnival-07.html", "", 25 , "left", "&nbsp;&nbsp;Chicky Carnival 2007", 0);
		menus[10].addItem("kids/chicky-carnival-06.html", "", 25 , "left", "&nbsp;&nbsp;Chicky Carnival 2006", 0);
		menus[10].addItem("kids/chicky-carnival-05.html", "", 25 , "left", "&nbsp;&nbsp;Chicky Carnival 2005", 0);
		menus[10].addItem("kids/chicky-carnival-04.html", "", 25 , "left", "&nbsp;&nbsp;Chicky Carnival 2004", 0);		
		
		menus[11] = new menu(180, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[11].addItem("kids/chicky-fren.html", "", 25 , "left", "&nbsp;&nbsp;The Chicky Story", 0);
		menus[11].addItem("kids/chicky-fren2.html", "", 25 , "left", "&nbsp;&nbsp;Meet Chicky&rsquo;s Friends", 0);
		menus[11].addItem("kids/chicky-fren3.html", "", 25 , "left", "&nbsp;&nbsp;Chicky&rsquo;s Friends Activities", 0);
		
		menus[12] = new menu(120, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[12].addItem("jom-kfc-perlis.html", "", 25 , "center", "Perlis ", 0);
		menus[12].addItem("jom-kfc-kedah.html", "", 25 , "center", "Kedah", 0);
		menus[12].addItem("jom-kfc-penang.html", "", 25 , "center", "Penang ", 0);
		menus[12].addItem("jom-kfc-perak.html", "", 25 , "center", "Perak ", 0);
		menus[12].addItem("jom-kfc-selangor.html", "", 25 , "center", "Selangor ", 0);
		menus[12].addItem("jom-kfc-kl.html", "", 25 , "center", "Kuala Lumpur  ", 0);
		menus[12].addItem("jom-kfc-wp.html", "", 25 , "center", "WP Putrajaya  ", 0);
		menus[12].addItem("jom-kfc-negerisembilan.html", "", 25 , "center", "Negeri Sembilan", 0);
		menus[12].addItem("jom-kfc-melaka.html", "", 25 , "center", "Melaka ", 0);
		menus[12].addItem("jom-kfc-kelantan.html", "", 25 , "center", "Kelantan ", 0);
		menus[12].addItem("jom-kfc-terengganu.html", "", 25 , "center", "Terengganu ", 0);
		menus[12].addItem("jom-kfc-pahang.html", "", 25 , "center", "Pahang", 0);
		menus[12].addItem("jom-kfc-johor.html", "", 25 , "center", "Johor", 0);
		menus[12].addItem("jom-kfc-sabah.html", "", 25 , "center", "Sabah", 0);
		menus[12].addItem("jom-kfc-sarawak.html", "", 25 , "center", "Sarawak ", 0);
		menus[12].addItem("jom-kfc-brunei.html", "", 25 , "center", "Brunei ", 0);
		
		menus[13] = new menu(18, "horizontal", 150,13, -10, 0, "", "", "Verdana", 9, 
		"normal", "normal", "", "", 0, "", 0, "", false, false, true, false, 5, false, 0, 0, "black");
		menus[13].addItem("index.html", "", 68, "left", "rollover:i/butt-home-n.png:i/butt-home-o.png:59:18", 0);
		menus[13].addItem("contact.html", "", 95, "left", "rollover:i/butt-contact-n.png:i/butt-contact-o.png:92:18", 0);	
		menus[13].floatMenu(1280, 1024, 0, 0);
		
		menus[14] = new menu(120, "vertical", 0, 0, 0, 0, "opacity:#c41230:100", "opacity:#ffea56:95", "Verdana", 9, 
		"normal", "normal", "#ffffff", "#2e2500", 1, "#ffffff", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[14].addItem("colonels-latest.html", "", 42 , "center", "KFC Hot & Spicy Shrimp", 0);
		menus[14].addItem("colonels-latest2.html", "", 25 , "center", "KFC Snack Box", 0);
} //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.

