BLANK_IMAGE = 'd_menu/images/b.gif';

var STYLE_TOP = {
    border:0,              // items border width, pixels; zero means "none"
    shadow:0,              // items shadow size, pixels; zero means "none"
    color:{
        border:"#000000",  // color of the item border, if any;
        shadow:"#000000",  // color of the item shadow, if any;
        bgON:"",       // background color for the items;
        bgOVER:""   // background color for the item
                           // which is under mouse right now;
    },
    css:{
        ON:"",           // CSS class for items;
        OVER:""          // CSS class  for item which is under mouse;
    }
};

var STYLE_LEVEL1 = {
    border:1,              // items border width, pixels; zero means "none"
    shadow:1,              // items shadow size, pixels; zero means "none"
    color:{
        border:"#000000",  // color of the item border, if any;
        shadow:"#B4B3B1",  // color of the item shadow, if any;
        bgON:"#FFFFCC",      // background color for the items;
        bgOVER:"#FFFFCC"   // background color for the item
                           // which is under mouse right now;
    },
    css:{
        ON:"clsCMOn",           // CSS class for items;
        OVER:"clsCMOver"          // CSS class  for item which is under mouse;
    }
};

var MENU_ITEMS = [
	{pos:"relative", "leveloff":[0,140], "itemoff":[50,0], style:STYLE_TOP, "size":[22,130], exclusive:true},
	{code:'<img src="d_webimages/button_gallery.jpg"/>', ocode:'<img src="d_webimages/button_gallery-o.jpg"/>',
		sub:[
			{style:STYLE_LEVEL1, "size":[21,150], "itemoff":[25,0]},
			{code:"Internet Map Server", url:"ims.htm"},
			{code:"Static Maps", url:"static.htm"}
		
		]
	},
	{code:'<img src="d_webimages/button_download.jpg"/>', ocode:'<img src="d_webimages/button_download-o.jpg"/>',
		sub:[
			{style:STYLE_LEVEL1, "size":[21,100], "itemoff":[25,0]},
			{code:"Biological", url:"biological_data.htm"},
			{code:"Chemical", url:"chemical_data.htm"},
			{code:"Physical", url:"physical_data.htm"},
			{code:"Imagery", url:"http://ortho.edc.uri.edu/", target:"_blank"}
		
		]
	},
	{code:'<img src="d_webimages/button_projects.jpg"/>', ocode:'<img src="d_webimages/button_projects-o.jpg"/>',
		sub:[
			{style:STYLE_LEVEL1, "size":[21,100], "itemoff":[25,0]},
			{code:"NBEP Trends", url:"d_projects/NBEP_trends/default.htm"},
			{code:"Nu-Shuttle", url:"d_projects/nushuttle/shuttletree.htm"},
			{code:"OceanSAMP", url:"d_projects/OceanSAMP/default.htm"},
			//{code:"RIWINDS", url:"d_projects/riwinds/riwinds.htm"},
			{code:"WQ Buoys", url:"d_projects/buoy/buoydata.htm"}
		
		]
	},
	{code:'<img src="d_webimages/button_bay.jpg"/>', ocode:'<img src="d_webimages/button_bay-o.jpg"/>',
		sub:[
			{style:STYLE_LEVEL1, "size":[21,110], "itemoff":[25,0]},
			{code:"Bay Weather", url:"http://www.erh.noaa.gov/ifps/MapClick.php?CityName=Newport&state=RI&site=BOX", target:"_blank"},
			{code:"PORTS", url:"http://co-ops.nos.noaa.gov/nbports/nbAllMET.html", target:"_blank"},
			{code:"Stream Flow", url:"http://ma.water.usgs.gov/water/water_s.htm", target:"_blank"},
			{code:"Tide Charts", url:"http://www.maineharbors.com/ri/tideri.htm", target:"_blank"}
		
		]
	},
	{code:'<img src="d_webimages/button_links.jpg"/>', ocode:'<img src="d_webimages/button_links-o.jpg"/>',
		sub:[
			{style:STYLE_LEVEL1, "size":[21,150], "itemoff":[25,0]},
			{code:"Education/Research", url:"education.htm"
				//sub:[
				//	{},
				//	{code:"placeholder1"}
				//]
			},
			{code:"Regional GIS", url:"region.htm"
				//sub:[
				//	{},
				//	{code:"place1"}
				//]
			},
			{code:"Misc. GIS", url:"misc.htm"
				//sub:[
				//	{},
				//	{code:"place1"}
				//]
			}
		  ]
	},
	{code:'<img src="d_webimages/button_sponsors.jpg"/>', ocode:'<img src="d_webimages/button_sponsors-o.jpg"/>', url:"sponsors.htm", target:"_blank"		
	}
];
