 /***********************************************
*	(c) Ger Versluis 2000 version 9.10 14 October 2002        *
*	You may use this script on non commercial sites.	          *
*	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='#9999CC';		// Background color when mouse is not over
	var LowSubBgColor='#9999CC';		// Background color when mouse is not over on subs
	var HighBgColor='#FFCC00';		// Background color when mouse is over
	var HighSubBgColor='#FFCC00';		// Background color when mouse is over on subs
	var FontLowColor='White';		// Font color when mouse is not over
	var FontSubLowColor='White';		// Font color subs when mouse is not over
	var FontHighColor='#0000CC';		// Font color when mouse is over
	var FontSubHighColor='#0000CC';	// Font color subs when mouse is over
	var BorderColor='#0000CC';		// Border color
	var BorderSubColor='#0000CC';		// Border color for subs
	var BorderWidthMain=1;				// Border width
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Border between elements main items 1 or 0
	var BorderBtwnSub=1;			// Border between elements sub items 1 or 0
	var FontFamily="Verdana, Arial, Helvetica"	// Font family menu items
	var FontSize=11;				// 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='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';	// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=75;				// Menu offset x coordinate (75)
	var StartLeft=0;				// Menu offset y coordinate (20)
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;		// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=0;		// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='mainFrame';	// Frame where first level appears --Tariq: 'mainFrame' is the County's Frame name
	var SecLineFrame='mainFrame';		// Frame where sub levels appear
	var DocTargetFrame='mainFrame';	// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=["modules/tri.gif",5,10,"modules/tridown.gif",10,5,"modules/trileft.gif",5,10,"modules/triup.gif",10,5];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......
	var PartOfWindow=.8;	// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to
						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";

	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=95)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Custom Function for Benefits Calculator - By Tariq
function openCalc() 
{
	popupWin = window.open("bencalc.html", 
     				   "Benefits_Calculator", 
					   "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=700,height=550,left=25,top=25")
}
// End of Custom Function

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("Home","index.html","",0,20,60,"","","","","","",-1,1,-1,"","");
Menu2=new Array("About","","",7,20,70,"","","","","","",-1,1,-1,"","");
	Menu2_1=new Array("Board","board.html","",4,20,150,"","","","","","",-1,-1,-1,"","");
		Menu2_1_1=new Array("Regulations","pdf/RegsAmendComments.pdf","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_1_2=new Array("Meeting Agenda","pdf/boardagenda.pdf","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_1_3=new Array("Meeting Minutes","minutes.html","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_1_4=new Array("Trustee Manual","trustee.html","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");
	Menu2_2=new Array("Contact","contact.html","",2,20,125,"","","","","","",-1,-1,-1,"","");
		Menu2_2_1=new Array("Contact Us","contact.html","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_2_2=new Array("Directions","directions.html","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");
	Menu2_3=new Array("Employment","http://agency.governmentjobs.com/sanmateo/jobs.cfm","",0,20,125,"","","","","","",-1,-1,-1,"","");
	Menu2_4=new Array("Glossary","glossary.html","",0,20,200,"","","","","","",-1,-1,-1,"","");
	Menu2_5=new Array("Investments","investments.html","",3,20,125,"","","","","","",-1,-1,-1,"","");
		Menu2_5_1=new Array("Investment Policy","investmentplan.html","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_5_2=new Array("Meeting Agenda","pdf/invest_agenda.pdf","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_5_3=new Array("Portfolio Summaries","portsumm.html","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
	Menu2_6=new Array("Organization Chart","orgchart.html","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu2_7=new Array("SamCERA","about.html","",5,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_7_1=new Array("Funding","funding.html","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_7_2=new Array("Mission & Goals","mission.html","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_7_3=new Array("Reports","reports.html","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_7_4=new Array("Strategic Services","strategicserv.html","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu2_7_5=new Array("History","history.html","",0,20,150,"#8888CC","","","","","",-1,-1,-1,"","");
Menu3=new Array("Member Services","","",18,20,160,"","","","","","",-1,1,-1,"","");
	Menu3_1=new Array("ARC Estimator","arccalc.htm","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_2=new Array("Benefits Estimator","bencalc.htm","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_3=new Array("Changing Beneficiary","faq_yourrights5.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_4=new Array("Divorce","faq_yourrights6.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_5=new Array("Domestic Partner","javascript:window.open('dompartmemo.htm')","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_6=new Array("Education","education.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_7=new Array("Frequently Asked Questions (FAQ)","faq.html","",10,20,275,"","","","","","",-1,-1,-1,"","");
		Menu3_7_1=new Array("1099R","faq_1099R.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_2=new Array("Retirement Planning","faq_retireplanning.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_3=new Array("Retirement Benefits","faq_retirebenefits.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_4=new Array("Cost of Benefits","faq_costofbenefits.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_5=new Array("Retirement Extras","faq_retireextras.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_6=new Array("Your Rights","faq_yourrights.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_7=new Array("Disability & Death Benefits","faq_disab-deathbenefits.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_8=new Array("Retirement Process","faq_retireprocess.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_9=new Array("Ready to Retire (General)","faq_rtr_gen.html","",0,20,250,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_7_10=new Array("Ready to Retire (Safety & Probation)","faq_rtr_ps.html","",0,35,250,"#8888CC","","","","","",-1,-1,-1,"","");
	Menu3_8=new Array("Glossary","glossary.html","",0,20,275,"","","","","","",-1,-1,-1,"","");
	Menu3_9=new Array("Health","faq_retireprocess5.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_10=new Array("Linking Service (Reciprocity)","faq_yourrights3.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_11=new Array("Membership","membership.html","",0,20,275,"","","","","","",-1,-1,-1,"","");
	Menu3_12=new Array("New Member Rates (PDF)","pdf/ContribRates.pdf","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_13=new Array("Retirement","","",3,20,275,"","","","","","",-1,-1,-1,"","");	
		Menu3_13_1=new Array("Deferred","faq_yourrights2.html","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");	
		Menu3_13_2=new Array("Disability","faq_disab-deathbenefits.html","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");	
		Menu3_13_3=new Array("Service","faq_retireprocess.html","",0,20,125,"#8888CC","","","","","",-1,-1,-1,"","");	
	Menu3_14=new Array("Retirement Planning","faq_retireplanning.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_15=new Array("Survivor Benefits","faq_disab-deathbenefits3.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_16=new Array("Terminating","faq_yourrights.html","",2,20,275,"","","","","","",-1,-1,-1,"","");	
		Menu3_16_1=new Array("Quitting","faq_yourrights2.html","",0,20,180,"#8888CC","","","","","",-1,-1,-1,"","");
		Menu3_16_2=new Array("Returning to County Employment","faq_yourrights4.html","",0,35,180,"#8888CC","","","","","",-1,-1,-1,"","");
	Menu3_17=new Array("Vesting","faq_yourrights1.html","",0,20,275,"","","","","","",-1,-1,-1,"","");	
	Menu3_18=new Array("Web Member Services","javascript:window.open('https://retweb.co.sanmateo.ca.us')","",0,20,275,"","","","","","",-1,-1,-1,"","");	
Menu4=new Array("Communications","","",7,20,155,"","","","","","",-1,1,-1,"","");
	Menu4_1=new Array("Board Meeting Agenda","pdf/boardagenda.pdf","",0,20,200,"","","","","","",-1,-1,-1,"","");	
	Menu4_2=new Array("Board Meeting Minutes","minutes.html","",0,20,200,"","","","","","",-1,-1,-1,"","");	
	Menu4_3=new Array("COLA Notice","cola.html","",0,20,200,"","","","","","",-1,-1,-1,"","");
	Menu4_4=new Array("Pamphlets","pamphlets.html","",7,20,200,"","","","","","",-1,-1,-1,"","");
		Menu4_4_1=new Array("Divorce","javascript:window.open('divorce.html')","",0,40,245,"","","","","","",-1,-1,-1,"","This link will open a new window");	
		Menu4_4_2=new Array("First Things First - General Members (PDF 1,173K)","javascript:window.open('pdf/First_Things_FirstG.pdf')","",0,40,245,"","","","","","",-1,-1,-1,"","This link will open a new window for the PDF document");	
		Menu4_4_3=new Array("First Things First - Safety Members (PDF 1,076K)","javascript:window.open('pdf/First_Things_FirstS.pdf')","",0,40,245,"","","","","","",-1,-1,-1,"","This link will open a new window for the PDF document");	
		Menu4_4_4=new Array("Ready to Retire - General Members (PDF 356K)","javascript:window.open('pdf/ReadyGeneral.pdf')","",0,40,245,"","","","","","",-1,-1,-1,"","This link will open a new window for the PDF document");	
		Menu4_4_5=new Array("Ready to Retire - Safety Members (PDF 345K)","javascript:window.open('pdf/ReadySafety.pdf')","",0,40,245,"","","","","","",-1,-1,-1,"","This link will open a new window for the PDF document");	
		Menu4_4_6=new Array("Reciprocity (PDF 230K)","javascript:window.open('pdf/reciprocity.pdf')","",0,40,245,"","","","","","",-1,-1,-1,"","This link will open a new window for the PDF document");	
		Menu4_4_7=new Array("Termination Options (PDF 120K)","javascript:window.open('pdf/terminated_options.pdf')","",0,40,245,"","","","","","",-1,-1,-1,"","This link will open a new window for the PDF document");	
	Menu4_5=new Array("Newsletters","newsletters.html","",0,20,200,"","","","","","",-1,-1,-1,"","");
	Menu4_6=new Array("Reports","reports.html","",0,20,200,"","","","","","",-1,-1,-1,"","");
	Menu4_7=new Array("Ventura","ventura.html","",0,20,200,"","","","","","",-1,-1,-1,"","");
Menu5=new Array("Search","search.html","",0,20,65,"","","","","","",-1,1,-1,"","");
Menu6=new Array("Links","links.html","",0,20,50,"","","","","","",-1,1,-1,"","");
Menu7=new Array("Forms","forms.html","",0,20,60,"","","","","","",-1,1,-1,"","");

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
