$(document).ready(function() {
	
	$("#share_message").hide();
	$("#navigation #share ul li a#facebook")
		.mouseenter(function(){
			$("#navigation #share").stop().animate({height:68}, 200, "linear");
			$("#share_message").text("Become a fan on Facebook.").fadeIn(175);
		}
	);
	$("#navigation #share ul li a#twitter")
		.mouseenter(function(){
			$("#navigation #share").stop().animate({height:68}, 200, "linear");
			$("#share_message").text("Follow us on Twitter.").fadeIn(175);
		}
	);
	$("#navigation #share ul li a#rss")
		.mouseenter(function(){
			$("#navigation #share").stop().animate({height:68}, 200, "linear");
			$("#share_message").text("Subscribe to our RSS feed.").fadeIn(175);
		}
	);
	$("#navigation #share ul li a#enews")
		.mouseenter(function(){
			$("#navigation #share").stop().animate({height:68}, 200, "linear");
			$("#share_message").text("Subscribe to our E-News list.").fadeIn(175);
		}
	);
	$("#navigation #share")
		.mouseleave(function(){
			$("#share_message").fadeOut(175);
			$("#navigation #share").stop().animate({height:45}, 200, "linear");
		}
	);
	
});

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);