/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.41 24 December 2001	          *
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/
	
	var NoOffFirstLineMenus=6;			// Number of first level items
	var LowBgColor='#000000';			// Background color when mouse is not over
	var LowSubBgColor='#000000';			// Background color when mouse is not over on subs
	var HighBgColor='#0060f0';		// Background color when mouse is over
	var HighSubBgColor='#0060f0';			// Background color when mouse is over on subs
	var FontLowColor='d6d6d6';			// Font color when mouse is not over
	var FontSubLowColor='#ffffff';			// Font color subs when mouse is not over
	var FontHighColor='white';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	var BorderColor='black';			// Border color
	var BorderSubColor='black';			// Border color for subs
	var BorderWidth=0;				// Border width
	var BorderBtwnElmnts=0;				// Border between elements 1 or 0
	var FontFamily="arial,verdana,helvetica"	// Font family menu items
	var FontSize=10;					// Font size menu items
	var FontBold=1;					// 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=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=72;				// Menu offset y coordinate
	var StartLeft=0;				// Menu offset x coordinate
	
		
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=5;				// Left padding
	var TopPaddng=3;				// 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=200;				// 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=1;					// 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=['/images/tri.gif',5,10,'/images/tridown.gif',10,5,'/images/trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){ 
BrowserDetect.init();
 	if (BrowserDetect.browser == "Firefox") {
 		StartLeft = -8;
 	}	
}


function AfterBuild(){ 
	BrowserDetect.init();
 	if (BrowserDetect.browser == "Firefox") {
 		StartLeft = -8;
 	}
 }
 
function BeforeFirstOpen(){
	BrowserDetect.init();
 	if (BrowserDetect.browser == "Firefox") {
 		StartLeft = -8;
 	}
}
function AfterCloseAll(){return}


// 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("About CWP","","",6,21, 120);
Menu1_1=	new Array("Directions to CWP", "directions.php", "", 0, 20, 180);
Menu1_2=	new Array("CWP History","history.php","",0,20,180);
Menu1_3=	new Array("Previous Seasons", "", "", 3, 20, 180);
Menu1_3_1=	new Array("2007-2008", "0708_season.php", "", 0, 20, 180);
Menu1_3_2=	new Array("2008-2009", "0809_season.php", "", 0, 20, 180);
Menu1_3_3=	new Array("2009-2010", "0910_season.php", "", 0, 20, 180);
Menu1_4=	new Array("NANCY Awards", "nancy.php", "", 0, 20, 180);
Menu1_5=	new Array("Board of Directors", "board.php", "", 0, 20, 180);
Menu1_6=	new Array("Sponsors", "sponsors.php", "", 0, 20, 180);

Menu2=	new Array("See a Show", "", "", 3, 21, 145);
Menu2_1=	new Array("2010-2011 Season", "show.php?season=2010", "", 0, 20, 180);
// Menu2_2=	new Array("Order Tickets Online", "ordertickets.php", "", 0, 20, 180);
Menu2_2=	new Array("Make a Reservation", "reservation.php", "", 0, 20, 180);
Menu2_3=	new Array("Season Tickets", "seasontickets.php", "", 0, 20, 180);

Menu3= new Array("Youth Theatre", "", "", 2, 21, 130);
Menu3_1=	new Array("CPT by Young People", "youngpeople.php", "", 0, 20, 210);
Menu3_2=	new Array("Harry Frain Scholarship", "scholarship.php", "", 0, 20, 210);

Menu4=	new Array("Get Involved","","",5,21,130);
Menu4_1=	new Array("Upcoming Auditions", "auditions.php", "", 0, 20, 180);
Menu4_2=	new Array("Volunteer at CWP", "volunteer.php", "", 0, 20, 180);
Menu4_3=	new Array("Submit One-Act Play", "oneact.php", "", 0, 20, 180);
Menu4_4=	new Array("Suggest a Production", "suggest.php", "", 0, 20, 180);
Menu4_5=	new Array("Mailing List", "mailinglist.php", "", 0, 20, 180);
//Menu4_6=	new Array("RSS Feed", "carrollwood.xml", "", 0, 20, 180);

Menu5=	new Array("Support", "", "", 4, 21, 110);
Menu5_1=	new Array("Theatre Membership", "membership.php", "", 0, 20, 180);
Menu5_2=	new Array("Donations", "donations.php", "", 0, 20, 180);
Menu5_3=	new Array("Show Sponsorship", "sponsorship.php", "", 0, 20, 180);
Menu5_4=	new Array("Playbill Advertising", "advertising.php", "", 0, 20, 180);
 
Menu6=	new Array("Links", "", "", 4, 21, 110);
Menu6_1=	new Array("CWP on MySpace", "http://www.myspace.com/CarrollwoodPlayers", "", 0, 20, 150);
Menu6_2=	new Array("CWP on Facebook", "http://www.facebook.com/#!/group.php?gid=35611437277", "", 0, 20, 150);
Menu6_3=	new Array("Other Local Theatres", "localtheaters.php", "", 0, 20, 150);
Menu6_4=	new Array("Fun Theatre Links", "funlinks.php", "", 0, 20, 150);
