		/* Rotating top image */
		/*<![CDATA[*/var el="index_topimage";
		var bgimg=new Array("https://www.nationalmasonry.co.uk/graphics/styles/index_bg1.jpg", "https://www.nationalmasonry.co.uk/graphics/styles/index_bg2.jpg", "https://www.nationalmasonry.co.uk/graphics/styles/index_bg3.jpg", "https://www.nationalmasonry.co.uk/graphics/styles/index_bg4.jpg");
		var random=Math.round((bgimg.length-1)*Math.random());
		var cssStr="#"+el+" { background: url("+bgimg[random]+") no-repeat top left } ";
		var style=document.createElement("style");style.setAttribute("type","text/css");if(style.styleSheet){style.styleSheet.cssText=cssStr;}else{
		var cssText=document.createTextNode(cssStr);style.appendChild(cssText);}document.getElementsByTagName("head")[0].appendChild(style);/*]]>*/
		
		/* Display/Hide Hover Menu */
		function HideContent(d) {
		if(d.length < 1) { return; }
		document.getElementById(d).style.display = "none";
		}
		function ShowContent(d) {
		if(d.length < 1) { return; }
		document.getElementById(d).style.display = "block";
		}
		function ReverseContentDisplay(d) {
		if(d.length < 1) { return; }
		if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
		else { document.getElementById(d).style.display = "none"; }
		
		}