$(document).ready(function() {
	$(".vogelvlucht").scrollerScroll();
	
	$(".map area").hover(function () {
		showMap(this);
	}, function () {
		hideMap(this);
	});
	
	//$("#map_list a").hover(function () {
	//	showMap(this);
	//}, function () {
	//	hideMap(this);
	//});
	//
	//$("div.dot").hover( function () {
	//	$(this).find("div").css("zIndex", 100);
	//	$(this).find("div").show();
	//}, function () {
	//	$(this).find("div").hide();
	//});
	
	$(".closepop").click(function() {
		$(".pop_up").hide();
	});
});
function showMap(who) {
	m = $(who).attr("rel");
	$("." + m).show();
	
	relid = $(who).attr("relid");
	$("#" + relid).hide();
	
	//$(".pop_up_continent div").hide();
	//$(".pop_up_continent").show();
	//$("#pop" + m).show();
	
}
function hideMap(who) {
	m = $(who).attr("rel");
	$("." + m).hide();
	
	relid = $(who).attr("relid");
	$("#" + relid).show();
	//$(".pop_up").hide();
}
