 /***********************************************
*	(c) Ger Versluis 2000 version 13.20 October 12, 2005    *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=8;	
	var LowBgColor="#5B5B5B";			// Background color when mouse is not over
	var HighBgColor="#5B5B5B";			// Background color when mouse is over
	var FontLowColor="#ffffff";			// Font color when mouse is not over
	var FontHighColor="#8e8e8e";			// Font color when mouse is over 
	var BorderColor="#ffffff";			// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=0;			// Border width between elements main items
	var BorderBtwnSub=1;			// Border width between elements sub items
	var FontFamily="Verdana,Arial,Helvetica,sans-serif";	// Font family menu items
	var FontSize=10;				// Font size menu items
	var FontBold=0;				// 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 can be: left, center, 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=0;				// 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 DistFrmFrameBrdr=0;			// Distance between main menu and frame border
	var LeftPaddng=12;				// Left padding
	var TopPaddng=4;				// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=1;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=100;			// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="MenuPos";			// 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="http://www.bcdgeo.com/";         // BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"images/interface/arrows/tri.gif",5,10,BaseHref+"images/interface/arrows/tridown.gif",10,5,BaseHref+"images/interface/arrows/trileft.gif",5,10,BaseHref+"images/interface/arrows/triup.gif",10,5];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

	var BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting
	var OverFormElements=0;			// Set this to 0 when the menu does not need to cover form elements.

	var HooverBold=0;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var MenuSlide="";
	
	var MenuShadow="";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

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

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("Main","index.php","",0,19,50,"","","","","","",-1,-1,-1,"","Main");                                                                             
Menu2=new Array("Practice Areas","index.php/geotechnical_engineering","",3,19,105,"","","","","","",-1,-1,-1,"","Practice Areas");     
Menu2_1=new Array("Geotechnical Engineering","index.php/geotechnical_engineering","",4,19,210,"","","","","","",-1,-1,-1,"","Geotechnical Engineering");
    Menu2_1_1=new Array("Field Instrumentation","index.php/field_instrumentation","",0,19,170,"","","","","","",-1,-1,-1,"","Field Instrumentation");
	Menu2_1_2=new Array("Laboratory Testing","index.php/laboratory_testing","",0,19,170,"","","","","","",-1,-1,-1,"","Laboratory Testing");
    Menu2_1_3=new Array("Pile Driving/Analyzer (PDA)","index.php/pile_driving_analyzer","",0,19,170,"","","","","","",-1,-1,-1,"","Pile Driving/Analyzer (PDA)");
	Menu2_1_4=new Array("Subsurface Investigation","index.php/subsurface_investigation","",0,19,170,"","","","","","",-1,-1,-1,"","Subsurface Investigation");
	
	
	
	
Menu2_2=new Array("Construction Materials Testing","index.php/cm_testing","",5,19,210,"","","","","","",-1,-1,-1,"","Materials Testing");
    Menu2_2_1=new Array("Earthwork Laboratory","index.php/earth_lab","",0,19,190,"","","","","","",-1,-1,-1,"","Earthwork Laboratory");
	Menu2_2_2=new Array("Asphalt Materials Laboratory","index.php/aml","",0,19,190,"","","","","","",-1,-1,-1,"","Asphalt Materials Laboratory");
	Menu2_2_3=new Array("Concrete Materials Laboratory","index.php/cm_lab","",0,19,190,"","","","","","",-1,-1,-1,"","Concrete Materials Laboratory");
	Menu2_2_4=new Array("Equipment for Field Evaluations","index.php/efe","",0,19,190,"","","","","","",-1,-1,-1,"","Equipment for Field Evaluations");
	Menu2_2_5=new Array("Computing Capabilities","index.php/computing","",0,19,190,"","","","","","",-1,-1,-1,"","Computing Capabilities");

Menu2_3=new Array("Pavement Engineering","index.php/pavement_engineering","",3,19,210,"","","","","","",-1,-1,-1,"","Pavement Engineering");
    Menu2_3_1=new Array("Pavement Design","index.php/pavement_design","",0,19,155,"","","","","","",-1,-1,-1,"","Pavement Design");
    Menu2_3_2=new Array("Pavement Evaluation","index.php/pavement_evaluation","",0,19,155,"","","","","","",-1,-1,-1,"","Pavement Evaluation");
	Menu2_3_3=new Array("Pavement Management","index.php/pavement_management","",0,19,155,"","","","","","",-1,-1,-1,"","Pavement Management"); 
	
	
	
Menu3=new Array("News/Archives","index.php/news","",5,19,105,"","","","","","",-1,-1,-1,"","News/Archives");    
          Menu3_1=new Array("2010 Archives","index.php/news/2010","",0,19,100,"","","","","","",-1,-1,-1,"","News/Archives");  
          Menu3_2=new Array("2009 Archives","index.php/news/2009","",0,19,100,"","","","","","",-1,-1,-1,"","News/Archives");  
          Menu3_3=new Array("2008 Archives","index.php/news/2008","",0,19,100,"","","","","","",-1,-1,-1,"","News/Archives");  
          Menu3_4=new Array("2007 Archives","index.php/news/2007","",0,19,100,"","","","","","",-1,-1,-1,"","News/Archives");  
          Menu3_5=new Array("2006 Archives","index.php/news/2006","",0,19,100,"","","","","","",-1,-1,-1,"","News/Archives");  
          Menu3_6=new Array("2005 Archives","index.php/news/2005","",0,19,100,"","","","","","",-1,-1,-1,"","News/Archives"); 
          Menu3_7=new Array("2004 Archives","index.php/news/2004","",0,19,100,"","","","","","",-1,-1,-1,"","News/Archives"); 


Menu4=new Array("Careers","index.php/careers","",0,19,75,"","","","","","",-1,-1,-1,"","Careers");  

Menu5=new Array("Projects","index.php/projects/airports","",8,19,75,"","","","","","",-1,-1,-1,"","Projects");
    Menu5_1=new Array("Airports","index.php/projects/airports","",0,19,190,"","","","","","",-1,-1,-1,"","Airport");
    Menu5_2=new Array("Bridges","index.php/projects/bridges","",0,19,190,"","","","","","",-1,-1,-1,"","Bridges");
    Menu5_3=new Array("Dams and Levees","index.php/projects/dams","",0,19,190,"","","","","","",-1,-1,-1,"","Dams");
    Menu5_4=new Array("Big Box Stores","index.php/projects/bigbox","",0,19,190,"","","","","","",-1,-1,-1,"","Big Box Stores");
    Menu5_5=new Array("Multi-story Buildings/Casinos","index.php/projects/multistory","",0,19,190,"","","","","","",-1,-1,-1,"","Multi-story Buildings");
    Menu5_6=new Array("Industrial Sites/Economic Development","index.php/projects/industrial","",0,19,190,"","","","","","",-1,-1,-1,"","Industrial Sites / Economic Development");
    Menu5_7=new Array("Pavement and Materials Research","index.php/projects/pavement_material","",0,19,190,"","","","","","",-1,-1,-1,"","Pavement and Materials Research");
    Menu5_8=new Array("Pavements","index.php/projects/pavements","",0,19,190,"","","","","","",-1,-1,-1,"","Pavements");


Menu6=new Array("Awards","index.php/awards","",0,19,75,"","","","","","",-1,-1,-1,"","Awards");

     
Menu7=new Array("About Us","index.php/history","",4,19,75,"","","","","","",-1,-1,-1,"","About Us");
	Menu7_1=new Array("History","index.php/history","",0,19,115,"","","","","","",-1,-1,-1,"","History");    
	Menu7_2=new Array("Office Locations","index.php/office_location","",0,19,115,"","","","","","",-1,-1,-1,"","Office Locations");  
	Menu7_3=new Array("GEOINFO","index.php/geo_info","",0,19,115,"","","","","","",-1,-1,-1,"","GEO Info");    
	Menu7_4=new Array("Staff","index.php/staff","",0,19,115,"","","","","","",-1,-1,-1,"","Staff");
	
	
Menu8=new Array("Contact Us","index.php/contact","",0,19,75,"","","","","","",-1,-1,-1,"","Contact Us");
                                  
