/*
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]='<link rel="stylesheet" href="kellogg_css.css" type="text/css"><font size="1" face="Verdana" font color="#FFFFFF"><a href="/about/history.html" class="link">History</a> | <a href="/about/location.html" class="link">Location</a> | <a href="/about/contact.php" class="link">Contact Us</a> | <a href="/tours/" class="link">Virtual Tours</a> | <a href="/about/employment.html" class="link">Employment</a></font>';

submenu[1]='<link rel="stylesheet" href="kellogg_css.css" type="text/css"><font size="1" face="Verdana" font color="#FFFFFF"><a href="/accommodations/rooms.html" class="link">Rooms & Suites</a> | <a href="/accommodations/groups.html" class="link">Requests</a> | <a href="https://www.myfidelio.net/webui/AvailabilitySearch.aspx?chain=IQ&property=USMS" onclick="javascript:pageTracker._trackPageview("/G1/reservation.com");" class="link">Reservations</a></font>';

submenu[2]='<link rel="stylesheet" href="kellogg_css.css" type="text/css"><font size="1" face="Verdana" font color="#FFFFFF"><a href="/events/meetings.html" class="link">Meetings and Conferences</a> | <a href="/events/weddings.html" class="link">Weddings</a> | <a href="/events/special.html" class="link">Special Occasions</a> | <a href="/events/facilities.html"class="link">Facilities</a> | <a href="/menus/"class="link">Banquet Menus</a></font>';

submenu[3]='<link rel="stylesheet" href="kellogg_css.css" type="text/css"><font size="1" face="Verdana" font color="#FFFFFF"></font>';

submenu[4]='<link rel="stylesheet" href="kellogg_css.css" type="text/css"><font size="1" face="Verdana" font color="#FFFFFF"><a href="http://stateroomrestaurant.com/" class="link">The State Room</a> | <a href="/dining/private.html" class="link">Private Dining</a> | <a href="/dining/room_service.html" class="link">Room Service</a></font>';


//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide = 500;

/////No need to edit beyond here


function showit(which)
{
	thecontent = (which==-1) ? "" : submenu[which];
	if (document.getElementById||document.all)
	{
		document.getElementById("describe").innerHTML = thecontent;
	}
	else if (document.layers)
	{
		document.getElementById("describe").document.write(thecontent)
		document.getElementById("describe").document.close()
	}
}

function resetit(e)
{
	if (document.all&&!document.getElementById("describe").contains(e.toElement))
	{
		delayhide=setTimeout("showit(-1)",delay_hide)
	}
	else if (document.getElementById
		&& e.currentTarget!= e.relatedTarget
		&& !contains_ns6(e.currentTarget, e.relatedTarget))
	{
		delayhide=setTimeout("showit(-1)",delay_hide)
	}
}

function clear_delayhide()
{
	if (window.delayhide)
	{
		clearTimeout(delayhide)
	}
}

function contains_ns6(a, b)
{
	while (b.parentNode)
	{
		if ((b = b.parentNode) == a)
		{
			return true;
		}
		return false;
	}
}

