
$(document).ready(function(){

		
var thisPlace = document.location.toString(); /*going to use this to get the location and change the menu bg */

$(".menu a").hover(
function(){$(this).parent('div').addClass("hovered");},
function(){$(this).parent('div').removeClass("hovered");}
);




var myloc = location.href.split("/");
var herenow = myloc[3];

$("."+herenow).toggleClass("selected");
$("."+herenow).corner("dog tl  10px");
});



function LinkToImage(){

$('#mar').toggleClass("linktoimageOverlay");

}
function hideOverlay(){

$('#mar').removeClass("linktoimageOverlay");

}
