/* menu_top.js */



document.write("<DIV id=\"headerbg\" style=\"z-index: 1500;\">");

document.write("<UL id=\"nav\">");

/* begin menu */

document.write("<LI class=toplevel><A href=\"index.php\" class=top>Home</A>");

document.write("<UL>");

document.write("<LI><A href=\"about_een.php\">About GOMAEEN</A>");

document.write("<LI><span style=\"vertical-align: middle\"><A href=\"about_partners.php\">Partners</A></span></LI>");

document.write("</UL></LI>");



document.write("<LI class=toplevel><A href=\"een_digital_library.php\" class=top>GOMAEEN Digital Library</A>");

document.write("<UL>");

document.write("<LI><A href=\"edl_water_quality.php\">Water Quality for Healthy Beaches and Shellfish Beds</A></LI>");

document.write("<LI><A href=\"edl_conservation.php\">Habitat Conservation and Restoration</A></LI>");

document.write("<LI><A href=\"edl_ecosystem_integration.php\">Ecosystem Integration and Assessment</A></LI>");

document.write("<LI><A href=\"edl_reducing_nutrient.php\">Reducing Nutrient Inputs to Coastal Ecosystems</A></LI>");

document.write("<LI><A href=\"edl_community_resilience.php\">Coastal Community Resillience</A></LI>");

document.write("</UL></LI>");



document.write("<LI class=toplevel><A href=\"cool_projects.php\" class=top>Cool Projects</A>");

document.write("<UL>");

document.write("<LI><A href=\"projects_regional.php\">Regional Areas</A></LI>");

document.write("<LI><A href=\"projects_us_states_AL.php\">Alabama</A></LI>");

document.write("<LI><A href=\"projects_us_states_FL.php\">Florida</A></LI>");

document.write("<LI><A href=\"projects_us_states_LA.php\">Louisiana</A></LI>");

document.write("<LI><A href=\"projects_us_states_MS.php\">Mississippi</A></LI>");

document.write("<LI><A href=\"projects_us_states_TX.php\">Texas</A></LI>");

document.write("<LI><A href=\"projects_mexican_states.php\">Mexican Gulf States</A></LI>");

document.write("</UL></LI>");



document.write("<LI class=toplevel><A href=\"gomaeen_announcements.php\" class=top>Announcements</A>");

document.write("<UL>");

document.write("<LI><A href=\"announcements_funding_opportunities.php\">Funding Opportunities</A></LI>");

document.write("<LI><A href=\"announcements_job_openings.php\">Job Openings</A></LI>");

document.write("<LI><A href=\"announcements_volunteer_opportunities.php\">Volunteer Opportunities</A></LI>");

document.write("<LI><A href=\"announcements_events.php\">Events</A></LI>");

document.write("<LI><A href=\"announcements_continuing_learning.php\">Continuing Learning</A></LI>");

document.write("<LI><A href=\"announcements_blogs.php\">Blogs & Listservs</A></LI>");

document.write("</UL></LI>");

 

document.write("<LI class=toplevel><A href=\"educator_resources.php\" class=top>Educator Resources</A>");

document.write("<UL>");

document.write("<LI><A href=\"educatorresources_bytopic.php\">Lessons By Topic</A></LI>");

document.write("<LI><A href=\"educatorresources_bygrade.php\">Lessons By Grade</A></LI>");

document.write("<LI><A href=\"educatorresources_data.php\">Data</A></LI>");

document.write("<LI><A href=\"educatorresources_maps.php\">Maps</A></LI>");

document.write("<LI><A href=\"educatorresources_mediacenter.php\">Media Center</A></LI>");

document.write("</UL></LI>");


document.write("</UL></DIV></DIV>");


var BrowserDetect = {

	init: function () {

		this.browser = this.searchString(this.dataBrowser) || "An unknown browser";

		this.version = this.searchVersion(navigator.userAgent)

			|| this.searchVersion(navigator.appVersion)

			|| "an unknown version";

		this.OS = this.searchString(this.dataOS) || "an unknown OS";

	},

	searchString: function (data) {

		for (var i=0;i<data.length;i++)	{

			var dataString = data[i].string;

			var dataProp = data[i].prop;

			this.versionSearchString = data[i].versionSearch || data[i].identity;

			if (dataString) {

				if (dataString.indexOf(data[i].subString) != -1)

					return data[i].identity;

			}

			else if (dataProp)

				return data[i].identity;

		}

	},

	searchVersion: function (dataString) {

		var index = dataString.indexOf(this.versionSearchString);

		if (index == -1) return;

		return parseFloat(dataString.substring(index+this.versionSearchString.length+1));

	},

	dataBrowser: [

		{

			string: navigator.userAgent,

			subString: "Chrome",

			identity: "Chrome"

		},

		{ 	string: navigator.userAgent,

			subString: "OmniWeb",

			versionSearch: "OmniWeb/",

			identity: "OmniWeb"

		},

		{

			string: navigator.vendor,

			subString: "Apple",

			identity: "Safari",

			versionSearch: "Version"

		},

		{

			prop: window.opera,

			identity: "Opera"

		},

		{

			string: navigator.vendor,

			subString: "iCab",

			identity: "iCab"

		},

		{

			string: navigator.vendor,

			subString: "KDE",

			identity: "Konqueror"

		},

		{

			string: navigator.userAgent,

			subString: "Firefox",

			identity: "Firefox"

		},

		{

			string: navigator.vendor,

			subString: "Camino",

			identity: "Camino"

		},

		{		// for newer Netscapes (6+)

			string: navigator.userAgent,

			subString: "Netscape",

			identity: "Netscape"

		},

		{

			string: navigator.userAgent,

			subString: "MSIE",

			identity: "Explorer",

			versionSearch: "MSIE"

		},

		{

			string: navigator.userAgent,

			subString: "Gecko",

			identity: "Mozilla",

			versionSearch: "rv"

		},

		{ 		// for older Netscapes (4-)

			string: navigator.userAgent,

			subString: "Mozilla",

			identity: "Netscape",

			versionSearch: "Mozilla"

		}

	],

	dataOS : [

		{

			string: navigator.platform,

			subString: "Win",

			identity: "Windows"

		},

		{

			string: navigator.platform,

			subString: "Mac",

			identity: "Mac"

		},

		{

			string: navigator.platform,

			subString: "Linux",

			identity: "Linux"

		}

	]



};

BrowserDetect.init();



//if((BrowserDetect.browser == 'Explorer') && (BrowserDetect.version != 6)  && (BrowserDetect.version != 8))

	//document.write("<table width='100%' style='background-color: #40727b;'><tr><td height='30px'>&nbsp;</td></tr></table>");




