/***********************************************************************************
*	(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	          *		
***********************************************************************************/

	/*  
		Path calculation, inserts the right amount of ../'s, so the menus work fine 
		no matter how deep you go in the site.
		(c) 2003 Ashish Tonse - ashish@tonsetech.com
	*/
	var path = "http://www.aals.org/am2004/";
	var awpath = "http://aalsweb.aals.org/am2004/";
	var relPath = "../";
	numSlashes = 0;
	pos = 0;
	pos = window.location.href.indexOf("/");
	while (pos > -1)
	{
		numSlashes++;
		pos = window.location.href.indexOf("/",pos + 1);
	}

	for (x = 6; x < numSlashes; x++) { path += "../"; }
//	for (x = 5; x < numSlashes; x++) { relPath += "../"; }
	relPath = "/am2004/";

	var NoOffFirstLineMenus=5;			// Number of first level items
	var LowBgColor='4A8EDE';			// Background color when mouse is not over
	var LowSubBgColor='4A8EDE';			// Background color when mouse is not over on subs
	var HighBgColor='';			// Background color when mouse is over
	var HighSubBgColor='73A6E7';			// Background color when mouse is over on subs
	var FontLowColor='';			// Font color when mouse is not over
	var FontSubLowColor='white';			// 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='';			// Border color
	var BorderSubColor='39517B';			// Border color for subs
	var BorderWidth = 1;				// Border width
	var BorderBtwnElmnts = 0;			// Border between elements 1 or 0
	var FontFamily="Arial,comic sans ms,technical"	// Font family menu items
	var FontSize=9;				// 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='left';			// Menu horizontal position 'left', 'center' or 'right'
	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=82;				// Menu offset x coordinate
	var StartLeft=-1;				// Menu offset y coordinate
	var VerCorrect=50;				// Multiple frames y correction
	var HorCorrect=20;				// Multiple frames x correction
	var LeftPaddng=12;				// 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=1;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=[path + 'tri.gif',5,10,'',10,5,'',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
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("rollover:" + relPath + "images/menu_program.gif:" + relPath + "images/menu_program.gif","","",3,22,82);
	Menu1_1=new Array("Daily Programs","","",5,22,160);	
		Menu1_1_1=new Array("Friday, Jan 2, 2004",path + "programs/gen.jan2.html","",0,22,150);
		Menu1_1_2=new Array("Saturday, Jan 3, 2004",path + "programs/gen.jan3.html","",0,22,150);
		Menu1_1_3=new Array("Sunday, Jan 4, 2004",path + "programs/gen.jan4.html","",0,22,150);
		Menu1_1_4=new Array("Monday, Jan 5, 2004",path + "programs/gen.jan5.html","",0,22,150);
		Menu1_1_5=new Array("Tuesday, Jan 6, 2004",path + "programs/gen.jan6.html","",0,22,150);
	Menu1_2=new Array("Download Program [pdf]",path + "pdf/webprepro.pdf","",0,22,150);
	Menu1_3=new Array("Meeting at a Glance [pdf]",path + "pdf/glance.pdf","",0,22,150);
Menu2=new Array("rollover:" + relPath + "images/menu_workshops.gif:" + relPath + "images/menu_workshops.gif","","",2,22,103);
	Menu2_1=new Array("Islamic Law",path + "islamiclaw/","",0,22,200);	
	Menu2_2=new Array("Technology and Pedagogy",path + "technology/","",0);

Menu3=new Array("rollover:" + relPath + "images/menu_exhibits.gif:" + relPath + "images/menu_exhibits.gif","http://aalsweb.aals.org/am2004/exhibitors.php","",0,22,83);

Menu4=new Array("rollover:" + relPath + "images/menu_plenary.gif:" + relPath + "images/menu_plenary.gif","","",5,22,143);
	Menu4_1=new Array("I: Good Work in the Law: The Challenge of Integrating Excellence and Ethics",awpath + "programs/eventDetail.php?session_id=5300","",0,36,280);
	Menu4_2=new Array("II: Research Trends in Ethnic and Racial Studies",awpath + "programs/eventDetail.php?session_id=5310","",0);
	Menu4_3=new Array("III: Nothing New Under the Sun? The Bearing of History Upon Human Affairs as Viewed from the Antebellum South",awpath + "programs/eventDetail.php?session_id=5320","",0,52,250);
	Menu4_4=new Array("IV: The Discrimination System: Race, Social Structures, and Social Policy",awpath + "programs/eventDetail.php?session_id=5330","",0);
	Menu4_5=new Array("V: Human Rights: Is Minimalism All We Can Expect?",awpath + "programs/eventDetail.php?session_id=5335","",0);

Menu5=new Array("rollover:" + relPath + "images/menu_info.gif:" + relPath + "images/menu_info.gif","","",6,22,99);
	Menu5_1=new Array("Housing","","",2,22,140);
		Menu5_1_1=new Array("Housing Information",path + "housing/index.html","",0,22,140);
		Menu5_1_2=new Array("Hotel Reservations",path + "housing/hotelres.html","",0,22,140);
	Menu5_2=new Array("Travel","","",4,22,140);
		Menu5_2_1=new Array("Airline Discounts",path + "travel/airlinediscounts.html","",0,22,140);
		Menu5_2_2=new Array("Airport and City Transportation",path + "travel/airportcitytrans.html","",0,36,140);
		Menu5_2_3=new Array("Car Rental (Discount)",path + "travel/carrental.html","",0,22,140);
		Menu5_2_4=new Array("Local Attractions",path + "travel/localatt.html","",0,22,140);
	Menu5_3=new Array("Child Care",path + "childcare.html","",0,22,140);
	Menu5_4=new Array("Parking",path + "parking.html","",0,22,140);
	Menu5_5=new Array("Disability Related Accomodations",path + "disability.html","",0,36,140);
	Menu5_6=new Array("Weather",path + "weather.html","",0,22,140);

