/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=8;			// Number of first level items
	var LowBgColor='#2c6e27';			// Background color when mouse is not over - Dark Green
//	var LowBgColor='#669c25';			// Background color when mouse is not over - Light Green
	var LowSubBgColor='#669c25';			// Background color when mouse is not over on subs
	var HighBgColor='#000000';			// Background color when mouse is over
	var HighSubBgColor='#777777';			// Background color when mouse is over on subs
	var FontLowColor='#FFFFFF';			// Font color when mouse is not over
	var FontSubLowColor='#FFFFFF';			// Font color subs when mouse is not over
	var FontHighColor='#FFFFFF';			// Font color when mouse is over
	var FontSubHighColor='#FFFFFF';			// Font color subs when mouse is over
  	var BorderColor='#2c6e27';			// Border color - Dark Green
//	var BorderColor='#669c25';			// Border color - Light Greeen
	var BorderSubColor='black';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Arial, Helvetica, sans-serif"	// Font family menu items
	var FontSize=11;				// Font size menu items
	var FontBold=1;				// 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 'left', 'center' or 'right'
	var MenuVerticalCentered='top';	// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=218;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=4;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=0;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

////////////////////////////////////////////////////////////////////////////////////
//
// ADDED FOLLOWING FUNCTION TO INCLUDE CART_ID COOKIE VALUE IN LINKS
// REF: http://www.quirksmode.org/js/cookies.html
//
////////////////////////////////////////////////////////////////////////////////////

function readCookie(name)
{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++)
	{
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
//	return null;
}

var cart_id_cookie_value = readCookie('cart_id');
   if (cart_id_cookie_value == "null")
   {
      var cart_id_cookie_value = "2";
   }
// return cart_id_cookie_value;

////////////////////////////////////////////////////////////////////////////////////
//
// END FUNCTION TO INCLUDE CART_ID COOKIE VALUE IN LINKS
//
////////////////////////////////////////////////////////////////////////////////////


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("Shows","","",3,22,80);
	Menu1_1=new Array("Swamp Gravy","http://www.swampgravy.com/swamp_gravy.php","",0,22,140);
	Menu1_2=new Array("May-Haw","http://www.swampgravy.com/mayhaw.php","",0);
	Menu1_3=new Array("Summer Show","http://www.swampgravy.com/summer_show.php","",0);
	
Menu2=new Array("Schedule","","",1,22,80);
	Menu2_1=new Array("Upcoming Events","http://www.swampgravy.com/upcoming_shows.php","",0,22,145);

Menu3=new Array("Tickets","https://www.etix.com/ticket/online/venueSearch.jsp?venue_id=6385&displayType=calendar&cobrand=swampgravy","",4,22,105);
	Menu3_1=new Array("Buy Tickets","https://www.etix.com/ticket/online/venueSearch.jsp?venue_id=6385&displayType=calendar&cobrand=swampgravy","",0,22,165);
	Menu3_2=new Array("Group Tickets","http://www.swampgravy.com/group_tickets.php","",0);
	Menu3_3=new Array("Ticket Policies","http://www.swampgravy.com/ticket_policies.php","",0);
	Menu3_4=new Array("Box Office Locations","http://www.swampgravy.com/box_office_locations.php","",0);

Menu4=new Array("CMAC Projects","http://www.swampgravy.com/circle_of_services.php","",11,22,140);
	Menu4_1=new Array("CMAC History","http://www.swampgravy.com/CMAC_history.php","",0,22,225);
	Menu4_2=new Array("Swamp Gravy","http://www.swampgravy.com/swamp_gravy.php","",0,22,225);
	Menu4_3=new Array("Storytelling Museum","http://www.swampgravy.com/storytelling_museum.php","",0);
	Menu4_4=new Array("May-Haw","http://www.swampgravy.com/mayhaw.php","",0);
	Menu4_5=new Array("Global Mural Conference","http://www.swampgravy.com/global_mural_conference.php","",0);
	Menu4_6=new Array("Mural Project","http://www.swampgravy.com/mural_project.php","",0);
	Menu4_7=new Array("New Life Learning","http://www.swampgravy.com/new_life_learning.php","",0);
	Menu4_8=new Array("What is Swamp Gravy?","http://www.swampgravy.com/swamp_gravy_history.php","",0);
	Menu4_9=new Array("Swamp Gravy Institute","http://www.swampgravy.com/swamp_gravy_institute.php","",0);
	Menu4_10=new Array("Market on the Square","http://www.swampgravy.com/market_on_the_square.php","",0);
	Menu4_11=new Array("Youth Theater","http://www.swampgravy.com/youth_theater.php","",0);

Menu5=new Array("Cotton Hall","","",2,17,125);
	Menu5_1=new Array("Theater Info","http://www.swampgravy.com/theater_info.php","",0,20,125);
	Menu5_2=new Array("Theater Rental","http://www.swampgravy.com/theater_rental.php","",0,20,125);

Menu6=new Array("Get Involved","get_involved.php","",3,17,111);
	Menu6_1=new Array("CMAC Membership","http://www.swampgravy.com/CMAC_membership.php","",0,22,150);
	Menu6_2=new Array("Contribute","http://www.swampgravy.com/contribute.php","",0);
	Menu6_3=new Array("Cast Info","http://www.swampgravy.com/cast_info.php","",0);

Menu7=new Array("Galleries","","",3,19,120);
	Menu7_1=new Array("Swamp Gravy Photos","http://www.swampgravy.com/galleries_swampgravy.php","",0,22,160);
	Menu7_2=new Array("May-Haw Photos","http://www.swampgravy.com/galleries_mayhaw.php","",0);
	Menu7_3=new Array("Youth Theater Photos","http://www.swampgravy.com/galleries_youth_theater.php","",0);
	
	
Menu8=new Array("Directions","directions.php","",0,22,125);
	

	