$(document).ready(function(){
	if ($.browser.msie == true) {
		$(".points a").mouseover(function(){
			$(this).parent().find(".content").show();
			$(this).parent().find("a").stop(true,true).css("background-position","bottom");
		});
		$(".points a").mouseout(function(){
			$(this).parent().find(".content").hide();
			$(this).parent().find("a").stop(true,true).css("background-position","top");
		});
		$(".icon").hover(function(){
			var container = $(this).attr("id").replace("-icon","");
			$("#"+container+" .content").show();
			$("#"+container+" a").css("background-position","bottom");
		}, function(){
			var container = $(this).attr("id").replace("-icon","");
			$("#"+container+" .content").hide();
			$("#"+container+" a").css("background-position","top");
		});
	} else {				
		$(".points a").hover(function(){
			$(this).parent().find(".content").stop(true,true).fadeIn();
			$(this).parent().find("a").stop(true,true).css("background-position","bottom");
			$("#"+$(this).parent().attr("id")+"-icon").css("background-position","bottom");
		}, function(){
			$(this).parent().find(".content").stop(true,true).fadeOut("slow");
			$(this).parent().find("a").stop(true,true).css("background-position","top");
			$("#"+$(this).parent().attr("id")+"-icon").css("background-position","top");
		});
		$(".icon").hover(function(){
			var container = $(this).attr("id").replace("-icon","");
			$("#"+container+" .content").stop(true,true).fadeIn();
			$("#"+container+" a").css("background-position","bottom");
			$(this).css("background-position","bottom");
		}, function(){
			var container = $(this).attr("id").replace("-icon","");
			$("#"+container+" .content").stop(true,true).fadeOut("slow");
			$("#"+container+" a").css("background-position","top");
			$(this).css("background-position","top");
		});
	}
	$(".points .content").mouseover(function(){
		$(this).hide();
	});
});