	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;

	var menu_x=[79,163,244,343,0];
	var menu_y=203;
	
	var str="";
	str+="<style>\n";
	str+="a.menu{font-family:verdana; font-size:11px; color:#000000; text-decoration:none;}\n";
	str+="a.menu:hover{font-family:verdana; font-size:11px; color:#000000; text-decoration:none;}\n";
if(ie)
{
	str+="#Mmenu0{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[0] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu1{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[1] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu2{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[2] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu3{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[3] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu4{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[4] + ";visibility:hidden;z-index:10;}\n"; 
}
else
{
	str+="#Mmenu0{position:absolute;top:" + menu_y +  ";left:" + menu_x[0] + ";visibility:hidden;}\n";
	str+="#Mmenu1{position:absolute;top:" + menu_y +  ";left:" + menu_x[1] + ";visibility:hidden;}\n";
	str+="#Mmenu2{position:absolute;top:" + menu_y +  ";left:" + menu_x[2] + ";visibility:hidden;}\n";
	str+="#Mmenu3{position:absolute;top:" + menu_y +  ";left:" + menu_x[3] + ";visibility:hidden;}\n";
	str+="#Mmenu4{position:absolute;top:" + menu_y +  ";left:" + menu_x[4] + ";visibility:hidden;}\n";
}
	str+="</style>";
	document.write (str);

	function mout(x){
		
	}

	function hideall(){
		for(i=0;i<=4;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>800?(mMenu.clientWidth-800)-((mMenu.clientWidth-800)/2)+menu_x[x]+10:menu_x[x]);
		if(ie)
		 eval("Mmenu"+ x +".style.visibility='visible';");
		else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+ x);
				objMDiv.style.left = (window.innerWidth>800?(window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]+2:menu_x[x]);
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}

	function smout(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#FFFFFF";
			eval("s"+x+y).childNodes[0].style.color = "#000000";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#FFFFFF";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#000000";
		}
	}

	function smover(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#8E728F";
			eval("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#8E728F";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
	}

	document.write("<div id='mMenu' style='width:100%'><img src='images/spacer.gif' width='100%' height='0'></div>");

	document.write ("<div id='Mmenu4'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='130'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s40' name='s40' onmouseover=smover('4','0');  onmouseout=smout('4','0') style='cursor:hand;' onClick=javascript:location.href='" +linkPath + "about_us/about_us.html'><a class='menu'>Vision/Mission/Values </a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s41' name='s41' onmouseover=smover('4','1');  onmouseout=smout('4','1') style='cursor:hand;' onClick=javascript:location.href='" +linkPath + "about_us/women_in_ministry.html'><a class='menu'>Women in Ministry </a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s42' name='s42' onmouseover=smover('4','2');  onmouseout=smout('4','2') style='cursor:hand;' onClick=javascript:location.href='" +linkPath + "about_us/testimonials.html'><a class='menu'>Testimonials</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu0'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='130'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s00' name='s00' onmouseover=smover('0','0');  onmouseout=smout('0','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "membership/why_join_ncbwim.html'><a class='menu'>Why Join NCBWIM?</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s01' name='s01' onmouseover=smover('0','1');  onmouseout=smout('0','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "membership/membership_details.html'><a class='menu'>Membership Benefits</a></td></tr>");
	//document.write ("<tr bgcolor='#FFFFFF'><td id='s02' name='s02' onmouseover=smover('0','2');  onmouseout=smout('0','2') style='cursor:hand;' onClick=window.open('" + linkPath + "downloads/NCBWIMMemberapp.pdf','','');><a class='menu'>Membership Application</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu1'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='165'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s10' name='s10' onmouseover=smover('1','0'); onmouseout=smout('1','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "leadership/national_board_of_directors.html'><a class='menu'>National Board of Directors & National Team Leaders</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s11' name='s11' onmouseover=smover('1','1'); onmouseout=smout('1','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "leadership/wise_women_council.html'><a class='menu'>Wise Women Council</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu2'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='175'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s20' name='s20' onmouseover=smover('2','0'); onmouseout=smout('2','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "local_chapters/establishing_a_local_chapter.html'><a class='menu'>Establishing A Local Chapter</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s21' name='s21' onmouseover=smover('2','1'); onmouseout=smout('2','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "local_chapters/local_chapters.html'><a class='menu'>Local Chapters</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu3'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='100'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s30' name='s30' onmouseover=smover('3','0'); onmouseout=smout('3','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "articles.html'><a class='menu'>National Gathering: Soul Sabbath Retreat: Time of Refreshing</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s31' name='s31' onmouseover=smover('3','1'); onmouseout=smout('3','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "downloads/2010_Teleconference_Seminars.pdf'><a class='menu'>National Teleconference Seminars</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");