/***********************************************
*	(c) Ger Versluis 2000 version 9.10 2 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=16;				// Number of main menu  items

	var LowBgColor="#eeeeee";				// Background color when mouse is not over
	var HighBgColor="#ffff99";				// Background color when mouse is over
	var FontLowColor="#000066";				// Font color when mouse is not over
	var FontHighColor="blue";				// Font color when mouse is over
	var BorderColor="999999";				// Border color
	var BorderWidthMain=1;					// Border width main items
	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="comic sans ms,technical,arial";		// Font family menu items
	var FontSize=8;						// Font size menu items
	var FontBold=0;						// Bold menu items 1 or 0
	var FontItalic=0;					// Italic menu items 1 or 0
	var MenuTextCentered="center";				// Item text position left, center or right
	var MenuCentered="center";				// Menu horizontal position can be: left, center, right, justify,leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	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=4;						// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	var StartLeft=0;					// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	var VerCorrect=0;					// Multiple frames y correction
	var HorCorrect=0;					// Multiple frames x correction
	var LeftPaddng=0;					// Left padding
	var TopPaddng=4;					// Top padding
	var FirstLineHorizontal=0;				// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;				// 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=0;					// Menu frame takes over background color subitem frame
	var FirstLineFrame="navig";				// Frame where first level appears
	var SecLineFrame="space";				// Frame where sub levels appear (navig or space)
	var DocTargetFrame="space";				// 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. 
	var Arrws=[BaseHref+"tri.gif",5,10,BaseHref+"tridown.gif",10,5,BaseHref+"trileft.gif",5,10,BaseHref+"triup.gif",10,5];
	var MenuUsesFrames=1;					// MenuUsesFrames is only 0 when Main menu, submenus,
	var RememberStatus=0;					// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
	var PartOfWindow=.8;					// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to
	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=100)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

	
	
	// (ItemText, Link, Background Image, Number of Sub Elements, Height, Width, bgcolor, bghighcolor, fontcolor, fonthighcolor, bordercolor, fontsize, fontbold, fontitalic, textalign, statustext)

 	
	Menu1=		new Array("<img src='./images/fair_logo.jpg'>",		"main.htm",	"",0,106,140,"","","","","","",-1,-1,-1,"","");

	Menu2=		new Array("About the Fair",		"history.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");
		
	Menu3=		new Array("Fairest of Fair",			"",			"",4,22,140,"","","","","","",-1,-1,-1,"","");
	Menu3_1=		new Array("History",			"fof_history.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu3_2=		new Array("Banquet",			"fof_banquet.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");	
	Menu3_3=		new Array("Winners",			"fof_current.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu3_4=		new Array("Entry Packet",		"fof_entrypacket.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	
	Menu4=		new Array("Senior of Distinction",		"seniors_activities.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");

	Menu5=		new Array("Daily Events Calendar",			"events_calendar.htm",			"",0,22,140,"","","","","","",-1,-1,-1,"","");
		
	Menu6=		new Array("Fair Events",			"",			"",6,22,140,"","","","","","",-1,-1,-1,"","");
	Menu6_1=		new Array("Harness Racing",		"harness.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu6_2=		new Array("Draft Horse",		"drafthorse.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu6_3=		new Array("Little Britches",		"littlebritches.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu6_4=		new Array("Come judge a cow",		"judgeacow.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu6_5=		new Array("Farm Tractor Pull",		"tractorpull.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu6_6=		new Array("Demolition Derby",		"demoderby.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	
	Menu7=		new Array("Free Stage Info",			"",			"",2,22,140,"","","","","","",-1,-1,-1,"","");
	Menu7_1=		new Array("Main Acts",			"freestage_acts.htm",	"",0,22,180,"","","","","","",-1,-1,-1,"","");
	Menu7_2=		new Array("Free Stage Schedule",	"freestage_schedule.htm","",0,22,180,"","","","","","",-1,-1,-1,"","");
	
	Menu8=		new Array("Commercial Exhibits",		"commercial.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");

	Menu9=		new Array("Foods Stands",				"",			"",6,22,140,"","","","","","",-1,-1,-1,"","");
	Menu9_1=		new Array("Vernon County 4-H",			"fs_4h.htm",		"",0,22,200,"","","","","","",-1,-1,-1,"","");
	Menu9_2=		new Array("Cornerstone Christian Academy",	"fs_cornerstone.htm",	"",0,22,200,"","","","","","",-1,-1,-1,"","");
	Menu9_3=		new Array("Viroqua Athletic Boosters",		"fs_boosters.htm",	"",0,22,200,"","","","","","",-1,-1,-1,"","");
	Menu9_4=		new Array("Viroqua Lions Club",			"fs_lions.htm",		"",0,22,200,"","","","","","",-1,-1,-1,"","");
	Menu9_5=		new Array("Vernon County Cooperative Partners",	"fs_cooppartners.htm",	"",0,22,200,"","","","","","",-1,-1,-1,"","");
	Menu9_6=		new Array("Performing Arts Boosters",		"fs_pab.htm",	"",0,22,200,"","","","","","",-1,-1,-1,"","");

	Menu10=		new Array("Premium Book Info",			"",			"",2,22,140,"","","","","","",-1,-1,-1,"","");
	Menu10_1=		new Array("Premium Book",		"premiumbook.htm",	"",0,22,180,"","","","","","",-1,-1,-1,"","");
	Menu10_2=		new Array("Sponsors",			"premiumbook_sponsors.htm","",0,22,180,"","","","","","",-1,-1,-1,"","");
		
	Menu11=		new Array("Forms/Rules",			"forms_rules.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");
	
	Menu12=		new Array("Non Fair Schedule",			"",			"",3,22,140,"","","","","","",-1,-1,-1,"","");
	Menu12_1=		new Array("Fairground Calendar",	"fairground_calendar.htm",	"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu12_2=		new Array("Camping Info",		"camping.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");
	Menu12_3=		new Array("Storage Info",		"storage.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");

	Menu13=		new Array("Fair Board",				"fairboard.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");

	Menu14=		new Array("Youth Organizations",	"",				"",8,22,140,"","","","","","",-1,-1,-1,"","");
	Menu14_1=		new Array("4-H (Vernon County)",	"javascript:NewWin=window.open(\"http://www.uwex.edu/ces/cty/vernon/4h/index.html\",\"NWin\");window[\"NewWin\"].focus()",		"",0,22,160,"","","","","","",-1,-1,-1,"","");
	Menu14_2=		new Array("4-H (Wisconsin)",		"javascript:NewWin=window.open(\"http://www.uwex.edu/ces/4h\",\"NWin\");window[\"NewWin\"].focus()",		"",0,22,160,"","","","","","",-1,-1,-1,"","");
	Menu14_3=		new Array("4-H (National)",		"javascript:NewWin=window.open(\"http://www.fourhcouncil.edu\",\"NWin\");window[\"NewWin\"].focus()",		"",0,22,160,"","","","","","",-1,-1,-1,"","");
	Menu14_4=		new Array("FFA (National)",		"javascript:NewWin=window.open(\"http://www.ffa.org\",\"NWin\");window[\"NewWin\"].focus()",			"",0,22,160,"","","","","","",-1,-1,-1,"","");
	Menu14_5=		new Array("FCCLA (National)",		"javascript:NewWin=window.open(\"http://www.fcclainc.org\",\"NWin\");window[\"NewWin\"].focus()",			"",0,22,160,"","","","","","",-1,-1,-1,"","");
	Menu14_6=		new Array("Boy Scouts (National)",	"javascript:NewWin=window.open(\"http://www.scouting.org\",\"NWin\");window[\"NewWin\"].focus()",		"",0,22,160,"","","","","","",-1,-1,-1,"","");
	Menu14_7=		new Array("Girl Scouts (Wisconsin)",	"javascript:NewWin=window.open(\"http://www.gsriverland.com\",\"NWin\");window[\"NewWin\"].focus()",		"",0,22,160,"","","","","","",-1,-1,-1,"","");
	Menu14_8=		new Array("Girl Scouts (National)",	"javascript:NewWin=window.open(\"http://www.girlscouts.org\",\"NWin\");window[\"NewWin\"].focus()",		"",0,22,160,"","","","","","",-1,-1,-1,"","");
	
	Menu15=		new Array("Directions",				"directions.htm",		"",0,22,140,"","","","","","",-1,-1,-1,"","");
		
	Menu16=		new Array("FAQ",				"faq.htm",			"",0,22,140,"","","","","","",-1,-1,-1,"","");


