$(function() { 
$("#forumlist .normal, #forumlist .alt").hover( function () { $(this).addClass("hover");}, function () {$(this).removeClass("hover");});
$("#topiclist .alt, #topiclist .normal").hover( function () { $(this).addClass("hover");}, function () { $(this).removeClass("hover");});
$(".post_result_normal").hover(function () {$(this).addClass("post_result_normal_hover");}, function () {$(this).removeClass("post_result_normal_hover");});
$(".topic_result_normal").hover(function () {$(this).addClass("topic_result_normal_hover");}, function () {$(this).removeClass("topic_result_normal_hover");});
	
	$(".singlepost").hover(
      function () {
        $(this).addClass("singlepost_hover");
		$(".singlepost_forum_name").addClass("singlepost_forum_name_hover");
		$(".singlepost_post_author").addClass("singlepost_post_author_hover");
      }, 
      function () {
        $(this).removeClass("singlepost_hover");
		$(".singlepost_forum_name").removeClass("singlepost_forum_name_hover");
		$(".singlepost_post_author").removeClass("singlepost_post_author_hover");
      }
    );
	
	$(".normal, .alt, .singlepost, .topic_title_link, .post_result_normal,.topic_result_normal").click(function(){
    	window.location=$(this).find("a").attr("href");return false;
	});	
	
});
