$(document).ready(function() {
	$(".ourname").bind("mouseenter", function(e) {
		$(".ourname a").css("color", "#880000");
		$(this).animate({
			top: "0"
		}, 750);
	})
	$(".ourname").bind("mouseleave", function(e) {
		$(".ourname a").css("color", "#222")
		$(this).animate({
			top: "-97px"
		}, 500);
	})
	
	$(".rss-block a").hover(
		function() {
	        $(this).next().show()	
		},
		function() {
			$(this).next(".popup").hide()						
		}
	);

	$(".rss-block .popup").hover(
		function() {
    	    $(this).show()	
		},
		function() {
			$(this).hide()						
		}
	);
	
	// Remove as soon as unnecessary, duplicated functionality.
	show = function(id) {
		document.getElementById(id).style.display = 'block';
	}
	
	hide = function(id) {
		document.getElementById(id).style.display = 'none';
	}
	
	$('#dailyLQ').hover(
		function() {
			$('#dailyLQBox').fadeIn('fast');
		},
		function() {
			$('#dailyLQBox').hide();
		}
	);

	$('#dailyLQBox').hover(
		function() {
			$('#dailyLQBox').show();
		},
		function() {
			$('#dailyLQBox').fadeOut('fast');
		}
	);
});