/***********************************************************************************
*	(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='white';			// Background color when mouse is not over
	var LowSubBgColor='white';			// Background color when mouse is not over on subs
	var HighBgColor='#59aeff';			// Background color when mouse is over
	var HighSubBgColor='#59aeff';			// Background color when mouse is over on subs
	var FontLowColor='#333399';			// Font color when mouse is not over
	var FontSubLowColor='#333399';			// Font color subs when mouse is not over
	var FontHighColor='#333399';			// Font color when mouse is over
	var FontSubHighColor='#333399';			// Font color subs when mouse is over
	var BorderColor='#c0c0c0';			// Border color
	var BorderSubColor='#c0c0c0';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Tahoma,Trebuchet MS,verdana"	// Font family menu items
	var FontSize=8;				// 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 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=0.0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0.0;			// 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 LeftPaddng=8;				// Left padding
	var TopPaddng=1;				// 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='MenuPos';				// 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=1;				// 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}

function openWindow(url) {
  popupWin = window.open(url,'remote','menubar=no,toolbar=no,location=no,directories=no,status,scrollbars=yes,resizable,dependent,width=500,height=400,left=50,top=50')
}
function openStat(url) {
  popupWin = window.open(url,'remote','menubar=no,toolbar=no,location=no,directories=no,status,scrollbars=yes,resizable,dependent,width=800,height=400,left=50,top=100')
}
function openModel(url) {
  popupWin = window.open(url,'remote','menubar=no,toolbar=no,location=no,directories=no,status,scrollbars=yes,resizable,dependent,width=800,height=700,left=100,top=100')
}

// 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("Home","index.php","",0,22,60);
Menu2=new Array("About Us","","",2,20,80);
	Menu2_2=new Array("PowerPoint Poster","lisi_poster.php","",0,20,120);
	Menu2_1=new Array("About LISICOS","lisi_about.php","",0,20,120);
Menu3=new Array("Data: FORECASTS","","",2,20,125);
	Menu3_1=new Array("Model Tide Forecasts","http://lisweb.dms.uconn.edu/website/sw%5Fmodel/viewer.htm","",0,20,120);
	Menu3_2=new Array("About the Model","javascript:openModel('aboutModel/lisi_mod.html');","",0,20,120);
Menu4=new Array("Data: CODAR","","",3,20,115);
	Menu4_1=new Array("Real-Time Block Island Sound","http://lisweb.dms.uconn.edu/website/bis_codar/viewer.htm","",0,20,175);
	Menu4_2=new Array("Real-Time Western Sound","http://lisweb.dms.uconn.edu/website/wlis_codar/viewer.htm","",0,20,175);	
	Menu4_3=new Array("About CODAR","javascript:openModel('lisi_codar.html');","",0,20,120);
Menu5=new Array("Data: REALTIME","index.php","",4,20,120);
	Menu5_1=new Array("Station Status","javascript:openStat('stn_stat.php');","",0,20,120);
	Menu5_2=new Array("Location Map","lisi_map.php","",0,20,120);
	Menu5_3=new Array("All Stations","","",8,20,120);
	    Menu5_3_1=new Array("Ledge Light Wx","about_ledg.php","",0,20,150);
		Menu5_3_2=new Array("Eastern Sound Station","about_nlds.php","",0,20,130);
		Menu5_3_3=new Array("Central Sound Station","about_clis.php","",0,20,130);
		Menu5_3_4=new Array("Western Sound Station","about_wlis.php","",0,20,130);
		Menu5_3_5=new Array("Execution Rocks Station","about_exrx.php","",0,20,130);								
		Menu5_3_6=new Array("Norwalk Harbor","about_nwkh.php","",0,20,125);
		Menu5_3_7=new Array("Thames River","about_lotr.php","",0,20,125);
		Menu5_3_8=new Array("Connecticut River","http://waterdata.usgs.gov/nwis/uv?01194796","",0,20,125);
	Menu5_4=new Array("SoundView","map_view.php","",0,20,110);
Menu6=new Array("Data: HISTORICAL","data_stn.php","",0,20,125);
	//Menu6_1=new Array("Data Inventory","data_inventory.php","",0,20,120);
	//Menu6_1=new Array("Data By Station","","",7,20,120);
	  //  Menu6_1_1=new Array("Ledge Light Wx","about_ledg.php","",0,20,150);
		//Menu6_1_2=new Array("Eastern Sound Station","about_nlds.php","",0,20,130);
		//Menu6_1_3=new Array("Central Sound Station","data_map.php?id=data_Plot12&station=clis","",0,20,130);
		//Menu6_1_4=new Array("Western Sound Station","about_wlis.php","",0,20,130);
		//Menu6_1_5=new Array("Execution Rocks Station","about_exrx.php","",0,20,130);								
		//Menu6_1_6=new Array("Norwalk Harbor","about_nwkh.php","",0,20,125);
		//Menu6_1_7=new Array("Thames River","about_lotr.php","",0,20,125);
	//Menu6_2=new Array("Data By Type","","",3,20,110);	
		//Menu6_2_1=new Array("Weather Data","data_wx.php","",0,20,150);
		//Menu6_2_2=new Array("Water Quality Data","data_wq.php","",0,20,130);
		//Menu6_2_3=new Array("CT DEP Survey Data","data_dep.php","",0,20,130);
Menu7=new Array("WebCam","","",1,20,90);
	Menu7_1=new Array("New London Ledge Light","javascript:openWindow('http://nopp.dms.uconn.edu/web_cam/Ledge_Light/ledgelight.html');","",0,20,160);	
//Menu7=new Array("Data: RV/CT Cruises","","",2,20,139);
	//	Menu7_1=new Array("May '05 - not yet avail","","",0,20,139);
	//	Menu7_2=new Array("July '05 - not yet avail","","",0,20,139);
Menu8=new Array("Admin","lisi_login.php","",0,20,78);