
function replaceHeading(){
	$("h1").each(function (){
		$(this).css({ "height" : "53px", "margin-left": "-5px" });
		h1Content = $(this).text();
		$(this).flashembed({ src: "/assets/flash/hRep.swf", wmode: "transparent" }, { headingText: encodeURIComponent(h1Content) });
		});
	}

$(document).ready(function(){
	replaceHeading();
});
