sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
			hideSelects();
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" over\\b"), "");
			showSelects();
		}
	}
}
if (window.attachEvent) window.attachEvent('onload', sfHover);


// Newsletter form functionality
$(document).ready(function() {
	$('#join').click(function () {
		$('#formTable').fadeOut(1000, function() {
			$('#msg').html('<p class="message">Thank you!  Your request has been received.</p><p><a href="/">Go back to the home page.</a></p>');
			$('#msg').fadeIn(1000);
		});
	});
});