		//Used to determine when the top navigation has been reset to the current page	var TrackMouse = "N";		/*	Tabs Menu (mouseover)- By Dynamic Drive	For full source code and more DHTML scripts, visit http://www.dynamicdrive.com	This credit MUST stay intact for use	*/	var submenu = new Array();	//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.	submenu[0] = '<a href="/research_framework.php" class="second">Research Framework</a>&nbsp;&nbsp;--&nbsp;&nbsp;<a href="/research_associates.php" class="second">Research Associate Program</a>&nbsp;&nbsp;--&nbsp;&nbsp;<a href="/ResearchInProgress.php" class="second">Research in Progress</a>';//alert(submenu[0]);	submenu[1] = '<IMG SRC="/images/dot_clear.gif" border="0" HEIGHT="1" WIDTH="150" HSPACE="1" VSPACE="1"><a href="/dp_overview.php" class="second">Overview</a>&nbsp;&nbsp;--&nbsp;&nbsp;<a href="/curriculum_course_resources.php" class="second">Course Materials</a>&nbsp;&nbsp;--&nbsp;&nbsp;<a href="/dp_contact.php" class="second">Contact Information</a>';//alert(submenu[1]);	submenu[2] = '<IMG SRC="/images/dot_clear.gif" border="0" HEIGHT="1" WIDTH="160" HSPACE="1" VSPACE="1"><a href="/sp_overview.php" class="second">Overview</a>&nbsp;&nbsp;--&nbsp;&nbsp;<a href="/sp_MSU_GLPS.php" class="second">MSU/GLPS</a>&nbsp;&nbsp;--&nbsp;&nbsp;<a href="/sp_MU_CPS.php" class="second">MU/CPS</a>&nbsp;&nbsp;--&nbsp;&nbsp;<a href="/sp_WMU_KPS.php" class="second">WMU/KPS</a>';//alert(submenu[2]);	submenu[3] = '';//alert(submenu[3]);	var menuobj = document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : "";	function showit(which)	{		var arrayindex; 		switch (which)		{			case "Research":				SwitchGif('doc_but5','but5_on'); 				SwitchGif('doc_but6','but6_off'); 				SwitchGif('doc_but7','but7_off'); 				arrayindex = 0;				break;			case "DoctoralProgram":				SwitchGif('doc_but6','but6_on'); 				SwitchGif('doc_but5','but5_off'); 				SwitchGif('doc_but7','but7_off'); 				arrayindex = 1; 				break;			case "Partnerships":				SwitchGif('doc_but7','but7_on'); 				SwitchGif('doc_but5','but5_off'); 				SwitchGif('doc_but6','but6_off'); 				arrayindex = 2; 				break;			default :				arrayindex = 3;		}		thecontent = (arrayindex == -1)? "" : submenu[arrayindex]		if (document.getElementById || document.all)			menuobj.innerHTML = thecontent		else if (document.layers)		{			menuobj.document.write(thecontent)			menuobj.document.close()		}		TrackMouse = "Y";	}	function contains_ns6(a, b)	{		while (b.parentNode)			if ((b = b.parentNode) == a)				return true;		return false;	}	//Determines coordinates of the mouse to know when to reset the top navigation to the current page	function trackmouse(e)	{		var xpos;		var ypos;		var text = "Coordinates";		var switchedback;		if (document.layers) 		{			xpos = e.pageX;			ypos = e.pageY;			text +=  e.pageX + ',' + e.pageY		} 		else		{						//	xpos = event.x;			//	ypos = event.y;			//	text +=  xpos + ',' + ypos;					}		//Set Menu back to Current Page if above, below, left or right of all menus		if (TrackMouse == "Y" && (ypos > (105) || ypos < 47 || xpos < 150 || xpos > 758)){			switch (CurrentPage)			{				case  "Research":					SwitchGif('doc_but5','but5_on'); 					SwitchGif('doc_but6','but6_off'); 					SwitchGif('doc_but7','but7_off'); 					break;				case "DoctoralProgram":					SwitchGif('doc_but5','but5_off'); 					SwitchGif('doc_but6','but6_on'); 					SwitchGif('doc_but7','but7_off'); 					break;									case "Partnerships":					SwitchGif('doc_but5','but5_off'); 					SwitchGif('doc_but6','but6_off'); 					SwitchGif('doc_but7','but7_on'); 					break;												case "Home":					SwitchGif('doc_but5','but5_off'); 					SwitchGif('doc_but6','but6_off'); 					SwitchGif('doc_but7','but7_off'); 					break;						default :					PageName = '';			}			showit(CurrentPage);			TrackMouse = "N";		}	}	function checkMenu(){		if (document.layers)		{			document.captureEvents(Event.MOUSEMOVE);		}		document.onmousemove = trackmouse;	}