/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=7;			// Number of first level items
	var LowBgColor='white';			// Background color when mouse is not over
	var LowSubBgColor='white';			// Background color when mouse is not over on subs
	var HighBgColor='#cccccc';			// Background color when mouse is over
	var HighSubBgColor='#cccccc';			// Background color when mouse is over on subs
	var FontLowColor='#666666';			// Font color when mouse is not over
	var FontSubLowColor='#000000';			// Font color subs when mouse is not over
	var FontHighColor='#990000';			// Font color when mouse is over
	var FontSubHighColor='#990000';			// Font color subs when mouse is over
	var BorderColor='';			// Border color
	var BorderSubColor='#FFFFFF';			// Border color for subs
	var BorderWidth=0;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="verdana"	// Font family menu items
	var FontSize=7;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.0;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=5;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='MenuPos';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['',9,9,'',9,9,'',9,9];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"


// Home
Menu1=new Array("rollover:images/links_02.gif:images/links_out_02.gif","index.htm","",0,25,41);


// Our Company			
Menu2=new Array("rollover:images/links_03.gif:images/links_out_03.gif","company.htm","",5,25,85);

	Menu2_1=new Array("About Us","company.htm","",0,20,160);	
	Menu2_2=new Array("Investor Information","company.htm","",0);	
	Menu2_3=new Array("News Releases","news.htm","",0);	
	Menu2_4=new Array("Corporate Governance","governance.htm","",0);	
	Menu2_5=new Array("Advertisement","advertising.htm","",0);	


// Products		
Menu3=new Array("rollover:images/links_04.gif:images/links_out_04.gif","product.htm","",10,25,75);

	Menu3_1=new Array("Overview","product.htm","",0,20,190);
	Menu3_2=new Array("Energizer® Energi To Go","product_togo.htm","",0);
	Menu3_3=new Array("Energizer Max","product_max.htm","",0); 
	Menu3_4=new Array("High Performance Batteries","product_performance.htm","",0);
	Menu3_5=new Array("&nbsp;&nbsp;Energizer® e<sup>2</sup> Photo","product_e2photo.htm","",0);
	Menu3_6=new Array("Rechargeables","product_rechargeable.htm","",0);
	Menu3_7=new Array("Hearing Aids","product_hearing.htm","",0);	
	Menu3_8=new Array("Watch/Electronics Batteries","product_watch.htm","",0);	
	Menu3_9=new Array("Flashlights","product_flashlight.asp","",0);	
	Menu3_10=new Array("F.A.Qs","product_faq.htm","",0);	

// Learning Centre
Menu4=new Array("rollover:images/links_05.gif:images/links_out_05.gif","lc_care.htm","",7,25,102);

	Menu4_1=new Array("Battery Care","lc_care.htm","",0,20,180);
	Menu4_2=new Array("Battery System Comparisons","lc_compare.htm","",0);
	Menu4_3=new Array("History of Batteries","lc_history_main.htm","",0);
	Menu4_4=new Array("How Flashlights Work","lc_flashworks.htm","",0);
	Menu4_5=new Array("History of Flashlights","lc_history_flash.htm","",0);
	Menu4_6=new Array("Energizer & The Environment","lc_environment.htm","",0);
	Menu4_7=new Array("Science Project","lc_project_electric.htm","",0);
	
		
// Guarantee
Menu5=new Array("rollover:images/links_06.gif:images/links_out_06.gif","gis.htm","",0,25,71);

// News & Promotions
Menu6=new Array("rollover:images/links_07.gif:images/links_out_07.gif","newnpromo.htm","",0,25,121);


// Never say die club
Menu7=new Array("rollover:images/links_08.gif:images/links_out_08.gif","nsd.htm","",0,25,118);



/***********************************************
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var defaultMenuWidth="150px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<a href="http://www.chickyclub.com.sg/home.asp" target="_blank">Chicky Club</a><img src="images/whiteline.gif" width="150" height="1">'
linkset[0]+='<a href="http://www.chickyclub.com.sg/secondary_kidsmeal_promo.asp" target="_blank">Chicky Meal</a><img src="images/whiteline.gif" width="150" height="1">'
linkset[0]+='<a href="kidscorner/birthdayparty.asp">Birthday Party</a>'



////No need to edit beyond here

var ie5=document.all && !window.opera
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu
