<!--
var topPath = "/includes/index/navigators/top/images/";
var rightPath = "/includes/index/navigators/right/images/";
var rightPathuh = "/includes/usershub/navigators/right/images/";
var rightPathsd = "/includes/scientificdivisions/navigators/right/images/";
var rightPathmt = "/includes/magnettechnology/navigators/right/images/";
var rightPathmc = "/includes/mediacenter/navigators/right/images/";
var rightPathabout = "/includes/about/navigators/right/images/";
var leftPath = "/includes/index/navigators/left/images/";
var menutimeout = 2000;
var lasttopmenu = -1;var topnavtext = new Array();
topnavtext[0] = ['usershub', 'Users Hub.'];
topnavtext[1] = ['scientificdivisions', 'Scientific Divisions.'];
topnavtext[2] = ['magnettechnology', 'Magnet Technology.'];
topnavtext[3] = ['education', 'Education.'];
topnavtext[4] = ['mediacenter', 'Media Center.'];
topnavtext[5] = ['about', 'About.'];
topnavtext[6] = ['home', 'Home.'];var subMenu = new Array();for (var i = 0; i < topnavtext.length; i++)
{
	subMenu[i] = new Array();
}// The largest array in the following subMenu section needs to match the number of
// elements in the "mainnavbottom" div to properly work.subMenu[0][0] = new Array("Overview", "/usershub/");
subMenu[0][1] = new Array("Annual Reporting", "https://reporting.magnet.fsu.edu/");
subMenu[0][2] = new Array("Facilities", "/usershub/facilities.html");
subMenu[0][3] = new Array("Funding", "/usershub/funding/");
subMenu[0][4] = new Array("Proposal Procedures", "/usershub/proposals/");
subMenu[0][5] = new Array("Travel", "/usershub/travel/");subMenu[1][0] = new Array("ASC", "/scientificdivisions/asc/overview.html");
subMenu[1][1] = new Array("Condensed Matter", "/scientificdivisions/cms/overview.html");
subMenu[1][2] = new Array("Electron Magnetic Resonance", "/scientificdivisions/emr/overview.html");
subMenu[1][3] = new Array("Ion Cyclotron Resonance", "/scientificdivisions/icr/overview.html");
subMenu[1][4] = new Array("Nuclear Magnetic Resonance", "/scientificdivisions/nmr/overview.html");
subMenu[1][5] = new Array("Affiliated", "/scientificdivisions/affiliated/overview.html");subMenu[2][0] = new Array("Overview", "/magnettechnology/");
subMenu[2][1] = new Array("Facilities", "/magnettechnology/facilities/");
subMenu[2][2] = new Array("Group Members", "/magnettechnology/members.html");
subMenu[2][3] = new Array("Publications", "/magnettechnology/publications.html");
subMenu[2][4] = new Array("Research and Development", "/magnettechnology/research/");subMenu[3][0] = new Array("REU", "/education/reu/");
subMenu[3][1] = new Array("RET", "/education/ret/");
subMenu[3][2] = new Array("Graduate Students", "/education/gradstudents/");
subMenu[3][3] = new Array("Students", "/education/students/");
subMenu[3][4] = new Array("Teachers", "/education/teachers/");
subMenu[3][5] = new Array("Community", "/education/community/");
subMenu[3][6] = new Array("Magnet Academy", "/education/tutorials/magnetacademy/");
subMenu[3][7] = new Array("About CIRL", "/education/about.html");
subMenu[3][8] = new Array("Contact", "/education/contact.html");
subMenu[3][9] = new Array("Home", "/education/");subMenu[4][0] = new Array("Overview", "/mediacenter/");
subMenu[4][1] = new Array("News", "/mediacenter/news/");
subMenu[4][2] = new Array("Public Affairs Group", "/mediacenter/mediacontacts.html");
subMenu[4][3] = new Array("What's Happening", "/mediacenter/seminars/seminars.aspx");
subMenu[4][4] = new Array("Who's Visiting", "/mediacenter/visitors/visitors.aspx");
subMenu[4][5] = new Array("Fact Sheets", "/mediacenter/factsheets/overview.html");
subMenu[4][6] = new Array("Publications", "/mediacenter/publications/");subMenu[5][0] = new Array("Welcome", "/about/");
subMenu[5][1] = new Array("Overview", "/about/overview.html");
subMenu[5][2] = new Array("History", "/about/history.html");
subMenu[5][3] = new Array("Mission", "/about/mission.html");
subMenu[5][4] = new Array("Organization", "/about/organization.html");
subMenu[5][5] = new Array("Contact Us", "/about/contact.html");
subMenu[5][6] = new Array("UF", "/about/gainesville.html");
subMenu[5][7] = new Array("LANL", "/about/losalamos.html");
subMenu[5][8] = new Array("FSU", "/about/tallahassee.html");// Top Rotator - Random Image Arrayvar randomTopImages = new Array();randomTopImages[0] = "/includes/education/titleimages/alessandrovolta.jpg";
randomTopImages[1] = "/includes/education/titleimages/andremarieampere.jpg";
randomTopImages[2] = "/includes/education/titleimages/charlesaugustindecoulomb.jpg";
randomTopImages[3] = "/includes/education/titleimages/claudeshannon.jpg";
randomTopImages[4] = "/includes/education/titleimages/georgohm.jpg";
randomTopImages[5] = "/includes/education/titleimages/gerdbinnig.jpg";
randomTopImages[6] = "/includes/education/titleimages/hanschristianoersted.jpg";
randomTopImages[7] = "/includes/education/titleimages/heinrichhertz.jpg";
randomTopImages[8] = "/includes/education/titleimages/humphrydavy.jpg";
randomTopImages[9] = "/includes/education/titleimages/jamesclerkmaxwell.jpg";
randomTopImages[10] = "/includes/education/titleimages/jamesjohnthomson.jpg";
randomTopImages[11] = "/includes/education/titleimages/jamesjoule.jpg";
randomTopImages[12] = "/includes/education/titleimages/jameswatt.jpg";
randomTopImages[13] = "/includes/education/titleimages/johnbardeen.jpg";
randomTopImages[14] = "/includes/education/titleimages/josephhenry.jpg";
randomTopImages[15] = "/includes/education/titleimages/karljansky.jpg";
randomTopImages[16] = "/includes/education/titleimages/leedeforest.jpg";
randomTopImages[17] = "/includes/education/titleimages/luigigalvani.jpg";
randomTopImages[18] = "/includes/education/titleimages/nikolatesla.jpg";
randomTopImages[19] = "/includes/education/titleimages/theodoremaiman.jpg";
randomTopImages[20] = "/includes/education/titleimages/walterbrattain.jpg";
randomTopImages[21] = "/includes/education/titleimages/wernervonsiemens.jpg";
randomTopImages[22] = "/includes/education/titleimages/willemeinthoven.jpg";
randomTopImages[23] = "/includes/education/titleimages/williamcrookes.jpg";
randomTopImages[24] = "/includes/education/titleimages/williamshockley.jpg";function pickTopImage()
{
	document.getElementById("randomTopImage").src = randomTopImages[Math.min(randomTopImages.length - 1, Math.floor(Math.random() * randomTopImages.length))];}
// Education Gallery Rotator - Random Image Arrayvar randomLeftImages = new Array();randomLeftImages[0] = "/includes/education/navigators/left/images/randomgallery/figure1-thinfilm.jpg";
randomLeftImages[1] = "/includes/education/navigators/left/images/randomgallery/figure2-thinfilm.jpg";
randomLeftImages[2] = "/includes/education/navigators/left/images/randomgallery/figure3-superlattice.jpg";
randomLeftImages[3] = "/includes/education/navigators/left/images/randomgallery/figure4-superlattice.jpg";
randomLeftImages[4] = "/includes/education/navigators/left/images/randomgallery/figure5-scwire.jpg";
randomLeftImages[5] = "/includes/education/navigators/left/images/randomgallery/figure6-scorganic.jpg";
randomLeftImages[6] = "/includes/education/navigators/left/images/randomgallery/figure7-superconductors.jpg";
randomLeftImages[7] = "/includes/education/navigators/left/images/randomgallery/figure8-lao.jpg";
randomLeftImages[8] = "/includes/education/navigators/left/images/randomgallery/figure9-lao.jpg";function pickLeftImage()
{
	document.getElementById("randomLeftImage").src = randomLeftImages[Math.min(randomLeftImages.length - 1, Math.floor(Math.random() * randomLeftImages.length))];
}
var maxelements = 0;
for (var i = 0; i < subMenu.length - 1; i++)
{
	if (subMenu[i].length > maxelements)
	{
		maxelements = subMenu[i].length;
	}
}
for (var i = 0; i < maxelements; i++)
{
	subMenu[6][i] = new Array("", "");
}function isNull(a)
{
	return typeof a == 'object' && !a;
}function turnOn(imgName, statText, path)
{
	document[imgName].src = path + imgName + 'on.gif';
	window.status = statText;
	return true;
}function turnOff(imgName, path)
{
	document[imgName].src = path + imgName + 'off.gif';
	window.status = "";
	return true;
}var intopmenu = false, inbotmenu = false;function turnOffMainNavTop(imgName, path)
{
	if (!(intopmenu || inbotmenu))
	{
		turnOff(imgName, path);
		subMenuSwap(6);
		lasttopmenu = -1;
	}
}function checkTurnOffMainNavTop()
{
	if (lasttopmenu != -1 && !(intopmenu || inbotmenu))
	{
		turnOffMainNavTop(topnavtext[lasttopmenu][0], topPath);
	}
}setInterval(checkTurnOffMainNavTop, menutimeout);function turnOnMainNavTop(index)
{
	if (index != -1)
	{
		for (var i = 0; i < index; i++)
		{
			turnOff(topnavtext[i][0], topPath);
		}
		turnOn(topnavtext[index][0], topnavtext[index][1], topPath);
		for (var i = index + 1; i < topnavtext.length; i++)
		{
			turnOff(topnavtext[i][0], topPath);
		}
	}
}function subMenuSwap(index)
{
	var objects = document.getElementsByTagName("a");
	for (var i = 0; i < objects.length; i++)
	{
		if (objects[i].name.indexOf("mainnavbottomtext") != -1)
		{
			var name = objects[i].name;
			var subindex = name.charAt(name.length - 1);
			if (subindex >= subMenu[index].length)
			{
				objects[i].innerHTML = "";
				objects[i].href = "";
				objects[i].id = "mainnavbottomlinkempty";	//This keeps the subMenu options centered in the subMenu area.
			}
			else
			{
				objects[i].innerHTML = subMenu[index][subindex][0];
				objects[i].href = subMenu[index][subindex][1];
				objects[i].id = "mainnavbottomlink" + (index == subMenu.length - 1 ? "empty" : "");	//index has to be that of home, which has no subelements.
			}
		}
	}
}function land(selection, target)
{
	lowtarget = target.toLowerCase();
	if (lowtarget == "_self")
	{
		window.location = loc;
	}
	else
	{
		if (lowtarget == "_top")
		{
			top.location = loc;
		}
		else
		{
			if (lowtarget == "_blank")
			{
				window.open(loc);
			}
			else
			{
				if (lowtarget == "_parent")
				{
					parent.location = loc;
				}
				else
				{
					parent.frames[target].location = loc;
				}
			}
		}
	}
}function jump(menu)
{
	selection = menu.dropdown.options[menu.dropdown.selectedIndex].value;
	splitc = selection.lastIndexOf("*");
	target = "";
	if (splitc != -1)
	{
		loc = selection.substring(0, splitc);
		target = selection.substring(splitc + 1, 1000);
	}
	else
	{
		loc = selection;
		target = "_self";
	}
	if (selection != "")
	{
		land(loc, target);
	}
}function openwindowchromeless(url, w, h)
{
	var top = (screen.availHeight - h) / 2;
	var left = (screen.availWidth - w) / 2;
	window.open(url, '', 'dependent = 0, toolbar = 0, location = 0, status = 0, menubar = 0, scrollbars = 0, directories = 0, top = ' + top + ', left = ' + left + ', resizable = 0, width = ' + w + ', height = ' + h + '');
}
//-->