function printpage() {
	window.print();  
}


function mailpage()
{

	var visitorName = "";
	var myOldString = document.title;
	var myNewString = myOldString.replace("?", visitorName);

	mail_str = "mailto:?subject=Check out the " + myNewString;
	mail_str += "&body=I thought you might be interested in the " + myNewString;
	mail_str += ". You can view it at, " + location.href;

	location.href = mail_str;
}


var obj = null;

function checkHover() {
	if (obj) {
		obj.find('ul').hide();	
	} //if
} //checkHover




$(document).ready(function() {
	$('#Nav > li.mm').hover(function() {
		
		$(this).css({backgroundColor:"#063f6a"});
		
		if (obj) {
			obj.find('ul').hide();
			obj = null;
		}
		$(this).find('ul').show();

	}, function() {
		$(this).css({backgroundColor: ''});
		obj = $(this);
		setTimeout(
			"checkHover()",
			500);
	});
	
	$('#Nav > li').click(function() {
		$(this).find('ul').hide();	
	});
});