menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0){
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)"
}

timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"000000",			// Mouse Off Font Color
"FED001",			// Mouse Off Background Color
"000000",			// Mouse On Font Color
"ffffff",			// Mouse On Background Color
"FFFFFF",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial",			// Font Name
2,					// Menu Item Padding
"images/ArrowsRight.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
,			// 3D High Color
,			// 3D Low Color
"000000",			// Current Page Item Font Color (leave this blank to disable)
"",			// Current Page Item Background Color (leave this blank to disable)
,					// Top Bar image (Leave this blank to disable)
"000000",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
,			// Menu Item Separator Color
]

style2=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"000000",			// Mouse Off Font Color
"ffffff",			// Mouse Off Background Color
"000000",			// Mouse On Font Color
"FED001",			// Mouse On Background Color
"cccccc",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Verdana,Helvetica",	// Font Name
3,					// Menu Item Padding
"images/ArrowsRight.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
,			// 3D High Color
,			// 3D Low Color
"000000",			// Current Page Item Font Color (leave this blank to disable)
"",			// Current Page Item Background Color (leave this blank to disable)
,					// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"E9E5E5",			// Menu Item Separator Color
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
-50,					// Menu Top - The Top position of the menu in pixels
100,					// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
1,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use

,"&nbsp;&nbsp;company&nbsp;profile&nbsp;&nbsp;","show-menu=CompProf","default.asp?action=1","company profile",10// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;investor&nbsp;relations&nbsp;&nbsp;","show-menu=InvInfo","default.asp?action=InterimResults08","investor Info",10
,"&nbsp;&nbsp;annual&nbsp;report&nbsp;&nbsp;&nbsp;","show-menu=Fannual","default.asp?action=AnnualReport08","annual report",10
,"&nbsp;&nbsp;financial&nbsp;services&nbsp;charter&nbsp;&nbsp;","show-menu=Charter","default.asp?action=18","financial services charter",10
,"&nbsp;&nbsp;news&nbsp;&nbsp;&nbsp;","show-menu=News","default.asp?action=20","news",10
,"&nbsp;&nbsp;csi&nbsp;&nbsp;&nbsp;","show-menu=csi","default.asp?action=25","social investment",10
,"&nbsp;&nbsp;contact&nbsp;us&nbsp;&nbsp;","default.asp?action=28","default.asp?action=28","social investment",0
])

	addmenu(menu=["CompProf",
	,,160,1,"",style2,,"left",effect,,,,,,,,,,,,	
	,"History","default.asp?action=1",,"Overview",1
	,"FirstRand's unique proposition","default.asp?action=4",,"FirstRand Differentiators",1
	,"Key facts","default.asp?action=3",,"Key Facts",1
	,"International strategy","default.asp?action=5",,"Internal Strategy",1
	,"People","show-menu=People",,"People",1
	,"Training","default.asp?action=62",,"Training",1
	])
	
	addmenu(menu=["People",
	,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Board of directors","default.asp?action=6",,"Board of Directors",1
	,"Executive committee","default.asp?action=7",,"Executive Committee",1
	])
	
	addmenu(menu=["Fannual",
	,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
    ,"2009 FirstRand Limited annual report ","default.asp?action=AnnualReport09",,"Latest FirstRand Annual Report",1
	<!--,"2005 FirstRand annual report ","default.asp?action=annualreport07",,"Latest FirstRand Annual Report",1-->
	,"FirstRand Limited annual reports archive","default.asp?action=15",,"Annual report archive",1
    ,"2009 FirstRand Bank annual report ","default.asp?action=BankingGroup2009",,"Latest FirstRand Annual Report",1
	,"FirstRand Bank annual reports archive","default.asp?action=59",,"FirstRand Bank Annual Report Archive",1
<!--,"2007 FirstRand Bank annual report","default.asp?action=firstrandbank2007",,"Latest FirstRand Bank Annual Report ",1-->

	])
	
	addmenu(menu=["InvInfo",
	,,180,1,"",style2,,"left",effect,,,,,,,,,,,,
	//,"Annual report","show-menu=Fannual",,"Annual Report",1
	//,"Interim results","default.asp?action=40",,"Interim Results",1
	,"Interim results","show-menu=Interim",,"Interim Results",1
	,"Year End results","show-menu=Yearend",,"Interim Results",1
	,"Presentations","show-menu=Presentations",,"Presentations",1
	,"Credit ratings","default.asp?action=11",,"Credit Rating",1
	,"SENS announcements","default.asp?action=80",,"SENS Announcements",1
	,"Share information","show-menu=ShareInfo",,"Share Information",1
	<!--,"Shareholders register","default.asp?action=12",,"Shareholders Register",1-->
	,"Sustainability report","default.asp?action=13",,"Sustainability Report",1
	,"SARB Basel II Q&amp;A","show-menu=Basel",,"SARB Basel II Q&amp;A",1
    ,"Calendar","default.asp?action=14",,"Calendar",1
	,"Preference share issue","default.asp?action=61",,"Pre-listing Statement",1
	,"Investor archive","show-menu=Investor",,"Investor Archive",1
	,"Governance & compliance","default.asp?action=19",,"Governance & Compliance",1
	,"Subscribe","default.asp?action=55",,"Subscribe",1
	,"Contacts","default.asp?action=28","default.asp?action=28","Contacts",1
	])


	
	addmenu(menu=["Presentations",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Group presentations","default.asp?action=41",,"Group Presentations",1
	,"Year End presentations","default.asp?action=42",,"Year End presentations",1
	,"Interim presentations","default.asp?action=43",,"Interim Presentations",1
	,"Presentations archive","default.asp?action=17",,"Presentstions",1
	])
		
	addmenu(menu=["Interim",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"2009 Interim results","default.asp?action=InterimResults09",,"Latest Interim Results",1
	,"Interim results archive","default.asp?action=44",,"Interim Results Archive",1
	])
	
	addmenu(menu=["Yearend",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"2009 Year End results","default.asp?action=firYE09",,"Group Presentations",1
	,"Year End results archive","default.asp?action=16",,"IAS Presentations",1
	])
	
	addmenu(menu=["ShareInfo",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Share Information","default.asp?action=79",,"Share Information",1
	,"Historical Share Price","default.asp?action=101",,"Historical Share Price",1
	])	
	
	addmenu(menu=["Investor",
	,,180,1,"",style2,,"left",effect,,,,,,,,,,,,
	//,"Annual Report FirstRand","default.asp?action=15",,"Annual Report FirstRand",1
	//,"Annual Report FirstRand Bank","default.asp?action=59",,"Annual Report FirstRand Bank",1
	//,"Interim Results","default.asp?action=44",,"Interim Results",1
	//,"Year End Results","default.asp?action=16",,"Year End Results",1
	//,"Presentations","default.asp?action=17",,"Presentstions",1
	,"Other","default.asp?action=64",,"Other",1
	])
	
	addmenu(menu=["Basel",
	,,180,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Banks &amp; Banking","default.asp?action=66",,"Bank &amp; Banking",1
	,"Basel I","default.asp?action=67",,"Basel I",1
	,"Basel I vs. Basel II","default.asp?action=68",,"Basel I vs. Basel II",1
	,"Basel II","default.asp?action=69",,"Basel II",1
	,"Supervisory practices &amp; processes","default.asp?action=70",,"Supervisory Practices &amp; Processes",1
	,"Basel committee on banking supervision","default.asp?action=71",,"Basel Committee on Banking Supervision",1
	,"Key concerns about the impact of Basel II","default.asp?action=76",,"Key Concerns about the impact of Basel II",1
	,"Basel II &amp; South Africa","default.asp?action=73",,"Basel II &amp; South Africa",1
	,"Bank supervision","default.asp?action=74",,"Bank Supervision",1
	,"Bank regulation","default.asp?action=75",,"Bank Regulation",1

	])	
	
	addmenu(menu=["Charter",
	,,100,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Overview","default.asp?action=18",,"Overview",1
	])
	
	addmenu(menu=["Governance",
	,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Governance & compliance","default.asp?action=19",,"Governance & Compliance",1
	])
	
	addmenu(menu=["News",
	,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Latest news","default.asp?action=20",,"Latest News",1
	,"Archive","default.asp?action=23",,"Archive",1
	])
	
	addmenu(menu=["csi",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"FirstRand Foundation","http://www.firstrandfoundation.org.za/",,"FirstRand Foundation",1
	,"The Business Trust","default.asp?action=26",,"The Business Trust",1
	,"CSI brochure","default.asp?action=27",,"CSI Brochure",1
	,"The Volunteer Programme","default.asp?action=77",,"The Volunteer Programme",1
	])

dumpmenus()