$.fn.pause = function(duration) {
    $(this).animate({ dummy: 1 }, duration);
    return this;
};
$(document).ready(function(){
		$("#m-navigation ul a").click(function () {
		$("#m-content_slides .m-slide").fadeOut(500);
		var content_show = $(this).attr("title");
		$("#m-"+content_show).pause(500).fadeIn(500);
		return false;
		});
	  });
$(document).ready(function(){
		$("#m-propertiestabs a").click(function () {
		$("#m-property_slides .m-prop_slide").fadeOut(500);
		var content_show = $(this).attr("title");
		$("#m-"+content_show).pause(500).fadeIn(500);
		return false;
		});
	  });
$(document).ready(function(){
		$("#m-siteplan .m-middle ul li").click(function () {
		$("#m-siteplan").hide();
		var content_show = $(this).attr("title");
		$("#"+content_show).fadeIn(500);
		return false;
		});
	  });
$(document).ready(function(){
		$(".m-sitetext h2 span a").click(function () {
		$(this).parent().parent().parent().parent().hide();
		$("#m-siteplan").fadeIn(500);
		return false;
		});
	  });
