$(function(){
    $("#map-selection-area a").hover(function(){
        var imgHref = $(this).attr('rel');                      //get the src of the thumbnail was 'href'
        $("#map-selection-area a").removeClass("selected");     //remove .selected class from all other links
        $(this).addClass("selected");                           //add .selected class to current link
        $(".big").stop();
        $(".big").stop().fadeTo(200, 0, function() {            //fade image out
            $('.big').attr('src',imgHref);                      //give new image a src attribute
        }).fadeTo(300, 1);                                      //fade the image in
        },function(){                                           //for onmouseout not used here
    });
});

$(document).ready(function(){
 
	$(".btn-slide").click(function(){
		$("#drop-map").slideToggle("slow");
		$(this).toggleClass("btn-active"); return false;
	});
	 
});