// JavaScript Document
	window.onresize = new Function("window.location.reload();");
	var ie=(document.all)?1:0;
	var hide=-1;
	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	opera=window.opera?1:0;

	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
if(ie)
{
	/*
	if(screen.width ==800)
		var menu_x=[573,677];
		else if(screen.width ==1024)
		var menu_x=[574,679];
		else if(screen.width ==1280)
		var menu_x=[693,796];
		else if(screen.width ==1440)
		var menu_x=[774,877];
		else
		var menu_x=[574,679];
	*/

	var menu_x=[505,608];
	var menu_y=[179,179];
}
else
{
	 /* if(screen.width ==800)
		var menu_x=[574,678];
		else if(screen.width ==1024)
		var menu_x=[575,680];
		else if(screen.width ==1280)
		var menu_x=[704,808];
		else if(screen.width ==1440)
		var menu_x=[784,887];
		else
		var menu_x=[575,680];
	*/

	var menu_x=[510,616];
	var menu_y=[179,179];
}	
	
	var str="";
	str+="<style>\n";
	str+="a.menu{font-family:arial; font-size:12px; color:#ffffff; line-height:10px; padding:5px 0; text-decoration:none;}\n";
	str+="a.menu:hover{font-family:arial; font-size:12px; color:#ffffff; text-decoration:none;}\n";
if(ie)
{
	str+="#Mmenu0{filter:alpha(opacity=100); position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu1{filter:alpha(opacity=100); position:absolute;top:" + menu_y[1] + "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 
	
}
else
{
	str+="#Mmenu0{position:absolute;top:" + menu_y[0] +  "px;left:" + menu_x[0] +"px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu1{position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 


}
	str+="</style>";
	document.write (str);

	function hideall(){
		for(i=0;i<=1;i++) { 
			if(ie) eval("Mmenu"+i +".style.visibility='hidden';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+i);
				objMDiv.style.visibility="hidden";
			}
			else  document.layers[i].visibility="hide";
			}
	}

	function menu(x){
		temp=x;
		hideall();
		if(ie)eval("Mmenu"+ x).style.left = (mMenu.clientWidth>1003?(mMenu.clientWidth-1003)-((mMenu.clientWidth-1003)/2)+menu_x[x]:menu_x[x]+10);
		if(ie)
		 eval("Mmenu"+ x +".style.visibility='visible';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+ x);
				objMDiv.style.left = (window.innerWidth>1003?(window.innerWidth-1003)-((window.innerWidth-1003)/2)+menu_x[x]-8:menu_x[x])+"px";
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}

function menu1(x){
		temp=x;
		
		//shideall();
		if(ie)
			 eval("Mmenu"+ x +".style.visibility='visible';");
		else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+ x);
				objMDiv.style.visibility="visible";
		}
		else  document.layers[x].visibility="show";
}

	function smout(x,y){
		if (!isMozilla){
		eval("s"+x+y).style.backgroundColor = "#d61042";
		eval("s"+x+y).childNodes[0].style.color = "#FFFFFF";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#d61042";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#FFFFFF";
		}
		
	}

	function smover(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#ef8aa5";
			eval("s"+x+y).childNodes[0].style.color = "#FFFFFF";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#ef8aa5";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#FFFFFF";
			
		}
	}
		function smoverq(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#ef8aa5";
			eval("s"+x+y).childNodes[0].style.color = "#FFFFFF";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#ef8aa5";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#FFFFFF";
			
		}
	}
	
	function shideall()
	{
		for(i=1;i<=1;i++) { 
			if(ie) eval("Mmenu"+i +".style.visibility='hidden';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+i);
				objMDiv.style.visibility="hidden";
			}
			else  document.layers[i].visibility="hide";
			}
	}
	
	 document.write("<div id='mMenu' style='width:100%;'><img src='images/spacer.gif' width='100%' height='0' style='display:none;'></div>");

	document.write ("<div id='Mmenu0'>");
	document.write ("<table cellpadding='6' cellspacing='0' border='0' bgcolor='#FFFFFF' width='175' style='border:1px solid #FFFFFF;'>");
	document.write ("<tr bgcolor='#d61042'><td style='border-bottom:1px solid #FFFFFF;' id='s00' name='s00' onmouseover=smover('0','0'); onmouseout=smout('0','0') style='cursor:hand;'><a href='" + linkPath +"about-elite/index.php' class='menu'><font color='#FFFFFF'>Elite Leaders</font></a></td></tr>");
	document.write ("<tr bgcolor='#d61042'><td style='border-bottom:1px solid #FFFFFF;' id='s01' name='s01' onmouseover=smover('0','1'); onmouseout=smout('0','1') style='cursor:hand;'><a href='" + linkPath +"about-elite/what-our-members-say.php' class='menu'><font color='#FFFFFF'>What Our Members Say </font></a></td></tr>");
	document.write ("<tr bgcolor='#d61042'><td style='border-bottom:1px solid #FFFFFF;' id='s02' name='s02' onmouseover=smover('0','2'); onmouseout=smout('0','2') style='cursor:hand;'><a href='" + linkPath +"about-elite/how-to-join.php' class='menu'><font color='#FFFFFF'>How to Join </font></a></td></tr>");
	document.write ("<tr bgcolor='#d61042'><td solid #FFFFFF;' id='s03' name='s03' onmouseover=smover('0','3'); onmouseout=smout('0','3') style='cursor:hand;'><a href='" + linkPath +"about-elite/showcase-events.php' class='menu'><font color='#FFFFFF'>Showcase Events </font></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu1'>");
	document.write ("<table cellpadding='6' cellspacing='0' border='0' bgcolor='#FFFFFF' width='140' style='border:1px solid #FFFFFF;'>");
	document.write ("<tr bgcolor='#d61042'><td style='border-bottom:1px solid #FFFFFF;' id='s10' name='s10' onmouseover=smover('1','0');  onmouseout=smout('1','0') style='cursor:hand;'><a href='" + linkPath +"the-team/index.php' class='menu'><font color='#FFFFFF'>John O&acute;Sullivan </font></a></td></tr>");
	document.write ("<tr bgcolor='#d61042'><td style='border-bottom:1px solid #FFFFFF;' id='s11' name='s11' onmouseover=smover('1','1');  onmouseout=smout('1','1') style='cursor:hand;'><a href='" + linkPath +"the-team/sir-eric-peacock.php' class='menu'><font color='#FFFFFF'>Sir Eric Peacock</font></a></td></tr>");
	//document.write ("<tr bgcolor='#d61042'><td style='border-bottom:1px solid #FFFFFF;' id='s12' name='s12' onmouseover=smover('1','2');  onmouseout=smout('1','2') style='cursor:hand;'><a href='" + linkPath +"the-team/gareth-osborne.php' class='menu'><font color='#FFFFFF'>Gareth Osborne </font></a></td></tr>");
	document.write ("<tr bgcolor='#d61042'><td id='s13' name='s13' onmouseover=smover('1','3');  onmouseout=smout('1','3') style='cursor:hand;'><a href='" + linkPath +"the-team/ben-brett.php' class='menu'><font color='#FFFFFF'>Ben Brett </font></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");


