var selected = '';
$(function() {
	selected = $("#top-nav li.selected");
	$("#top-nav a").mouseover(navover);
	$("#top-nav a").mouseout(navout);
})

function navover() {
	$("#top-nav li").attr('class','');
}
function navout() {
	selected.attr('class','selected');
}

function popUpMailWindow(pageUrl) {
	var iWidth = 400;
	var iHeight = 280;
	var iTop = (window.screen.availHeight-30-iHeight)/2;
	var iLeft = (window.screen.availWidth-10-iWidth)/2;
	window.open(pageUrl, "mailTo",'height='+iHeight+',,innerHeight='+iHeight+',width='+iWidth+',innerWidth='+iWidth+',top='+iTop+',left='+iLeft+',toolbar=no,menubar=no,scrollbars=no,resizeable=no,location=no,status=no');
}