function bests(type, css, see, nosee1, nosee2, ajax_call, ajax_target) {
	
	$.ajax({
		type: "POST",
		url: "/g2/module/member_rankings/ajax_call.php",
    	cache: "true",
		data: "c_name=" + ajax_call,
		success: function(html){
			$("#" + ajax_target).html(html);
		}
	}); 

	$("#" + type + nosee1).hide();
	$("#" + type + nosee1 + "_btn").removeClass(css);
	$("#" + type + nosee1 + "_btn").addClass(css + "2");
	$("#" + type + nosee2).hide();
	$("#" + type + nosee2 + "_btn").removeClass(css);
	$("#" + type + nosee2 + "_btn").addClass(css + "2");

	$("#" + type + see).fadeIn('fast');
	$("#" + type + see + "_btn").removeClass(css + "2");
	$("#" + type + see + "_btn").addClass(css);

	
}
function follow(mb_id, type){

	var params = "author=" + mb_id;
	$.ajax({
		type: "POST",
		url: "/g2/module/follow/" + type + "_update.php",
		data: params,
		dataType: "html",
		success: function(html){
			$("#manias").html(html);
			if(type == 'follow') {
				$("#unfollow").show();
				$("#follow").hide();
			} else if(type == 'unfollow') {
				$("#unfollow").hide();
				$("#follow").show();
			}
		}
	})

}

$(document).ready(function(){
	
	$("ul#best_in_mania_row_ul li.best_in_mania_row").each(function(){
		$(this).hover(function(){
			$(this).find("div.rc_best_bo").show();
		},function(){
			$(this).find("div.rc_best_bo").hide();
		});
	});
	$("div.rc_review_pic").each(function(){
		$(this).hover(function(){
			$(this).find(".hidden").show();
		},function(){
			$(this).find(".hidden").hide();
		});
	});

})
