	function MM_findObj(n, d) { //v3.0
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
	}
	
	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}
	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}
	
	function fwLoadMenus() {
	
		var MENU_HEIGHT = 18;
		var MENU_FONT = "Verdana, Arial, Helvetica, sans-serif";
		var FONT_SIZE = 11;
		var FOREGROUND_COLOR = "#000000";
		var FOREGROUND_HIGHLIGHT_COLOR = "#ffffff";
		var BACKGROUND_COLOR = "#ACA387";
		var BACKGROUND_HIGHLIGHT_COLOR = "#013658";
		var H_ALIGN = "left";
		var V_ALIGN = "middle";
		var PAD = 5;
		var INDENT = 8;
		var SPACE = 1;
		
		var locationPrefix = "";
		var	hostname = location.host.toLowerCase();
		var ALWAYS_USE_LOCATION_PREFIX = false;	// set this to true only for debugging
		
		// add in the fully qualified URL if it isn't the main server, and isn't
		// a staging server
		
		if ((hostname == "store.minnesotafolkfestival.org")  ||
			(hostname == "search.minnesotafolkfestival.org") ||
			ALWAYS_USE_LOCATION_PREFIX)
		{
			locationPrefix = "";
		}
		
		if (0 == location.href.indexOf('file:/'))
		{
			locationPrefix = "";
		}
		
		function makeLocation(s)
		{
			var locationStr = s;
			var	hasProtocol = false;
			var	currentLocationPrefix = locationPrefix;
			
			// only add the location prefix if there isn't already a protocol
			
			if (0 == locationStr.indexOf('http://'))
				hasProtocol = true;

			if (0 == locationStr.indexOf('https://'))
				hasProtocol = true;
			
			if (hasProtocol)
				currentLocationPrefix = '';
				
			locationStr = "location='" + currentLocationPrefix + s + "'";
			
			return locationStr;
		}
	
		if (window.fw_menu_0) return;
		
		window.fw_menu_0 = new Menu("root", 220, MENU_HEIGHT, MENU_FONT, FONT_SIZE, FOREGROUND_COLOR, FOREGROUND_HIGHLIGHT_COLOR, BACKGROUND_COLOR, BACKGROUND_HIGHLIGHT_COLOR, H_ALIGN, V_ALIGN, PAD, INDENT, SPACE);
		fw_menu_0.addMenuItem("St. Patrick's Day Dance", makeLocation('pats.html'));
		fw_menu_0.addMenuItem("Liz Carroll & John Doyle", makeLocation('concert.html'));
		fw_menu_0.hideOnMouseOut=true;

		window.fw_menu_1 = new Menu("root", 129, MENU_HEIGHT, MENU_FONT, FONT_SIZE, FOREGROUND_COLOR, FOREGROUND_HIGHLIGHT_COLOR, BACKGROUND_COLOR, BACKGROUND_HIGHLIGHT_COLOR, H_ALIGN, V_ALIGN, PAD, INDENT, SPACE);
		fw_menu_1.addMenuItem("Schedule", makeLocation('gallery/mff05/songwriting2005.html'));
		fw_menu_1.addMenuItem("Application", makeLocation('songwritingappl.html'));
		fw_menu_1.addMenuItem("Past Winners", makeLocation('songwriting.html'));
		fw_menu_1.hideOnMouseOut=true;
		
		window.fw_menu_2 = new Menu("root", 135, MENU_HEIGHT, MENU_FONT, FONT_SIZE, FOREGROUND_COLOR, FOREGROUND_HIGHLIGHT_COLOR, BACKGROUND_COLOR, BACKGROUND_HIGHLIGHT_COLOR, H_ALIGN, V_ALIGN, PAD, INDENT, SPACE);
		fw_menu_2.addMenuItem("Sign Up", makeLocation('volunteersignup.html'));
		fw_menu_2.addMenuItem("Volunteer Events", makeLocation('volevents.html'));
		fw_menu_2.hideOnMouseOut=true;
		
		window.fw_menu_4 = new Menu("root", 141, MENU_HEIGHT, MENU_FONT, FONT_SIZE, FOREGROUND_COLOR, FOREGROUND_HIGHLIGHT_COLOR, BACKGROUND_COLOR, BACKGROUND_HIGHLIGHT_COLOR, H_ALIGN, V_ALIGN, PAD, INDENT, SPACE);
		fw_menu_4.addMenuItem("Press Release", makeLocation('press.html'));
		fw_menu_4.addMenuItem("Performer Photos", makeLocation('pressphotos.html'));
		fw_menu_4.hideOnMouseOut=true;
		
		window.fw_menu_5 = new Menu("root", 180, MENU_HEIGHT, MENU_FONT, FONT_SIZE, FOREGROUND_COLOR, FOREGROUND_HIGHLIGHT_COLOR, BACKGROUND_COLOR, BACKGROUND_HIGHLIGHT_COLOR, H_ALIGN, V_ALIGN, PAD, INDENT, SPACE);
		fw_menu_5.addMenuItem("Become a Member", makeLocation('support.html'));
		fw_menu_5.addMenuItem("Silent Auction Donations", makeLocation('support.html'));
		fw_menu_5.addMenuItem("Sponsorships", makeLocation('support.html'));
		fw_menu_5.addMenuItem("Advertise", makeLocation('support.html'));
		fw_menu_5.addMenuItem("Donations", makeLocation('support.html'));
		fw_menu_5.hideOnMouseOut=true;
		
		window.fw_menu_3 = new Menu("root", 190, MENU_HEIGHT, MENU_FONT, FONT_SIZE, FOREGROUND_COLOR, FOREGROUND_HIGHLIGHT_COLOR, BACKGROUND_COLOR, BACKGROUND_HIGHLIGHT_COLOR, H_ALIGN, V_ALIGN, PAD, INDENT, SPACE);
		fw_menu_3.addMenuItem("Order Tickets Online", makeLocation('tickets.html'));
		fw_menu_3.addMenuItem("Apply to Perform", makeLocation('applyperf.html'));
		fw_menu_3.addMenuItem("Mailing List", makeLocation('mailing.html'));
		fw_menu_3.addMenuItem("Take Our Survey", makeLocation('survey.html'));
		fw_menu_3.addMenuItem("Contact Us", makeLocation('contact.html'));
		fw_menu_3.addMenuItem("Links", makeLocation('links.html'));
		fw_menu_3.addMenuItem("About Us", makeLocation('aboutus.html'));
		fw_menu_3.addMenuItem("Photo Gallery", makeLocation('gallery.html'));
		fw_menu_3.addMenuItem("Employment Opportunites", makeLocation('empl.html'));
		fw_menu_3.hideOnMouseOut=true;
		
		fw_menu_3.writeMenus();
	}
	
	if (document.images) {
		nav_events2 = new Image(109 ,40); nav_events2.src = "images/nav_events2.gif";
		nav_events_f1 = new Image(109 ,40); nav_events_f1.src = "images/nav_events.gif";
		nav_songwriting2 = new Image(215 ,40); nav_songwriting2.src = "images/nav_songwriting2.gif";
		nav_songwriting_f1 = new Image(215 ,40); nav_songwriting_f1.src = "images/nav_songwriting.gif";
		nav_volunteer2 = new Image(116 ,40); nav_volunteer2.src = "images/nav_volunteer2.gif";
		nav_volunteer_f1 = new Image(116 ,40); nav_volunteer_f1.src = "images/nav_volunteer.gif";
		nav_media2 = new Image(71 ,40); nav_media2.src = "images/nav_media2.gif";
		nav_media_f1 = new Image(71 ,40); nav_media_f1.src = "images/nav_media.gif";
		nav_support2 = new Image(94 ,40); nav_support2.src = "images/nav_support2.gif";
		nav_support_f1 = new Image(94 ,40); nav_support_f1.src = "images/nav_support.gif";
		nav_festinfo2 = new Image(96 ,40); nav_festinfo2.src = "images/nav_festinfo2.gif";
		nav_festinfo_f1 = new Image(96 ,40); nav_festinfo_f1.src = "images/nav_festinfo.gif";
	}
