
function replaceHeading(){
	$("h1.flshReplacePlz span").each(function (){
		$(this).css({ "height" : "45px", "display" : "block", "width" : "840px", "margin-left" : "-10px"});
		$(this).parent("h1").css({ "overflow" : "visible" });
		h1Content = $(this).text();
		$(this).flashembed({ src: "/assets/flash/hRep.swf", wmode: "transparent" }, { headingText: encodeURIComponent(h1Content) });
		});
	}

$(document).ready(function(){
	$("#mainMenu li a span").css({ 'opacity': "0.0", 'display': "block" });
	$("#mainMenu li a span").hover(function(){$(this).fadeTo(5, 1.0);}, function(){$(this).fadeTo(300, 0.0);} );
	$("#slideshowContainer").cycle({ speed: 500, timeout: 2500 });
	if(!($.browser.msie && $.browser.version < 7)) replaceHeading();
	$("#propertiesFooter").scrollable({ size: 3, nextPage: '#footerNext', prevPage: '#footerPrev'});
});