////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500					// The time delay for menus to remain visible on mouse off
followspeed=5				// Follow Scrolling speed (higher number makes the scrolling smoother but slower)
followrate=40				// Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
suboffset_top=6;			// Sub menu offset Top position 
suboffset_left=12;			// Sub menu offset Left position

//Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)
//Shadow(color='#777777', Direction=135, Strength=5)
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)"
}

menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}


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.
"ffffff",					// Mouse Off Font Color
"324A94",					// Mouse Off Background Color
"030366",					// Mouse On Font Color
"ffffff",					// Mouse On Background Color
"ffffff",					// Menu Border Color 
11,							// Font Size in pixels
"normal",					// Font Style (italic or normal)
"bold",						// Font Weight (bold or normal)
"Arial, Verdana, sans-serif;",	// Font Name
4,							// Menu Item Padding
"images/icon_arrow0n.gif",	// Sub Menu Image (Leave this blank if not needed)
,							// 3D Border & Separator bar (1=on/0=off)
,							// 3D High Color
,							// 3D Low Color
,							// Referer Item Font Color (leave this blank to disable)
,							// Referer Item Background Color (leave this blank to disable)
,							// Top Bar image (Leave this blank to disable)
,							// Menu Header Font Color (Leave blank if headers are not needed)
,							// Menu Header Background Color (Leave blank if headers are not needed)
]


addmenu(menu=[ 	// This is the array that contains your menu properties and details
"sidemenu",		// Menu Name - This is needed in order for the menu to be called
162,				// Menu Top - The Top position of the menu in pixels
120,			// Menu Left - The Left position of the menu in pixels
,				// Menu Width - Menus width in pixels
,				// 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)
,				// 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
0,				// 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)
,				// 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
,				// ..Now Obsolete..
,				// 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)
,				// Reserved for future use
,				// Reserved for future use
,				// Reserved for future use
,"Voter Information","show-menu=voter","#",,1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Pollworker Information","show-menu=pollworker","#",,1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Election Results","show-menu=results","#",,1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Election Updates","show-menu=updates","#",,1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Candidate Tools","show-menu=tools","#",,1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Elected Officials","show-menu=officials","#",,1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
])
	addmenu(menu=["voter",,,200,1,,style1,,"left",effect,,,,,,,,,,,,
	//,"Frequently Asked Questions","index.cfm?page=faq offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Voter Search","index.cfm?page=voterSearch offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Locate Your Polling Place","index.cfm?page=streetSearch offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Absentee Request","index.cfm?page=absenteeRequest offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Absentee Request Report","index.cfm?page=absenteeRequestRpt offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Voter Registration","index.cfm?page=voterReg offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Voter Guide","index.cfm?page=Voter_Guide offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Provisional Ballot Voting","index.cfm?page=provisionVoting offbackcolor=324A94; offfontcolor=ffffff;",,,1
	])
	
	addmenu(menu=["pollworker",,,200,1,,style1,,"left",effect,,,,,,,,,,,,
	,"General Information","index.cfm?page=pollWorkers offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Training Materials","index.cfm?page=primMaterials offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"High School Student Program","index.cfm?page=HSStudentProg offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Fundraising","index.cfm?page=fundraising offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Pollworker News","index.cfm?page=pollWorkNews offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Pollworker Application","index.cfm?page=pollWorkerAp offbackcolor=324A94; offfontcolor=ffffff;",,,1
	])
	
	addmenu(menu=["results",,,200,1,,style1,,"left",effect,,,,,,,,,,,,
	,"Live Election Results","index.cfm?page=liveResults offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Precinct by Precinct","index.cfm?page=electCanvas offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Archives","index.cfm?page=archives offbackcolor=324A94; offfontcolor=ffffff;",,,1
	])
	
	addmenu(menu=["updates",,,200,1,,style1,,"left",effect,,,,,,,,,,,,
	,"Announcements","index.cfm?page=announcements offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Candidates Nov. 2, 2010","index.cfm?page=candidates10 offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Elected Offices","pdf/2010Offices.xls target=_blank",,,1
	,"Issues Nov. 2, 2010","index.cfm?page=issuesMay2010 offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Statistics","index.cfm?page=electStats offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Photos","index.cfm?page=photos offbackcolor=324A94; offfontcolor=ffffff;",,,1
	])

	addmenu(menu=["tools",,,200,1,,style1,,"left",effect,,,,,,,,,,,,
	,"Election Tools","index.cfm?page=tools offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Polling Places","index.cfm?page=pollingPlaces offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Campaign Finance","index.cfm?page=campaignFinanceForms offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Calendar","index.cfm?page=candidateCalendar offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Requirements","index.cfm?page=candidateReq offbackcolor=324A94; offfontcolor=ffffff;",,,1
	])

	addmenu(menu=["officials",,,200,1,,style1,,"left",effect,,,,,,,,,,,,
	,"County","index.cfm?page=countyOfficials offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Judicial","index.cfm?page=JudicialOfficials offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Municipal","index.cfm?page=municipalOfficials offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"School","index.cfm?page=schoolOfficials offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Township","index.cfm?page=townshipOfficials offbackcolor=324A94; offfontcolor=ffffff;",,,1
	,"Villages","index.cfm?page=villageOfficials offbackcolor=324A94; offfontcolor=ffffff;",,,1	
	,"Federal/State","index.cfm?page=candidates_FedState offbackcolor=324A94; offfontcolor=ffffff;",,,1	
	])
dumpmenus();