var navText = ''; 
var pagename =  window.location.href.substring(window.location.href.lastIndexOf("/") + 1, window.location.href.lastIndexOf("."));

navText += '<table width="190" cellpadding="0" cellspacing="0" border="0">'
	navText += '<tr>'
	if (pagename == "index" || pagename == ".org/aarp/") {
		navText += '<td width="190"><img src="images/home_on.gif" usemap="#homemap" border="0"/></td>'
	} else {
		navText += '<td width="190"><img src="images/home_off.gif" usemap="#homemap" border="0"/></td>'
	}
	navText += '</tr>'
	navText += '<tr>'
	if (pagename == "about") {
		navText += '<td height="26" background="images/nav_bg_on.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><span class="navon">About the AARP Award</span></td>'
	} else {
		navText += '<td height="26" background="images/nav_bg.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><a href="about.html" class="navlink">About the AARP Award</a></td>'
	}
	navText += '</tr>'
	navText += '<tr>'
	if (pagename == "celebration") {
		navText += '<td height="26" background="images/nav_bg_on.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><span class="navon">Award Celebration</span></td>'
	} else {
		navText += '<td height="26" background="images/nav_bg.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><a href="celebration.html" class="navlink">Award Celebration</a></td>'
	}
	navText += '</tr>'
	navText += '<tr>'
	if (pagename == "benefits") {
		navText += '<td height="26" background="images/nav_bg_on.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><span class="navon">Benefits and Services</span></td>'
	} else {
		navText += '<td height="26" background="images/nav_bg.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><a href="benefits.html" class="navlink">Benefits and Services</a></td>'
	}
	navText += '</tr>'
	navText += '<tr>'
	if (pagename == "blog") {
		navText += '<td height="26" background="images/nav_bg_on.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><span class="navon">Employee Blog</span></td>'
	} else {
		navText += '<td height="26" background="images/nav_bg.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><a href="blog.html" class="navlink">Employee Blog</a></td>'
	}
	navText += '</tr>'
	navText += '<tr>'
	if (pagename == "meet") {
		navText += '<td height="26" background="images/nav_bg_on.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><span class="navon">Meet MGHers Over 50</span></td>'
	} else {
		navText += '<td height="26" background="images/nav_bg.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><a href="meet.html" class="navlink">Meet MGHers Over 50</a></td>'
	}
	navText += '</tr>'
	//navText += '<tr>'
	//if (pagename == "request" || pagename == "thanks" || pagename == "photos_main") {
		//navText += '<td height="26" background="images/nav_bg_on.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><span class="navon">Photo Requests</span></td>'
	//} else {
		//navText += '<td height="26" background="images/nav_bg.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><a href="https://www2.massgeneral.org/aarp/request.html" class="navlink">Photo Requests</a></td>'
	//}
	//navText += '</tr>'
	navText += '<tr>'
	if (pagename == "contact") {
		navText += '<td height="26" background="images/nav_bg_on.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><span class="navon">Contact</span></td>'
	} else {
		navText += '<td height="26" background="images/nav_bg.gif" class="navlines"><img src="images/shim.gif" width="14" height="1" border="0"/><a href="contact.html" class="navlink">Contact</a></td>'
	}
	navText += '</tr>'
	navText += '<tr>'
		navText += '<td><img src="images/aarp_logo.gif" border="0" alt="AARP Best Employers for Workers Over 50"/><br/><br/><br/><br/></td>'
	navText += '</tr>'
navText += '</table>'
document.write(navText);
		
		
	
	
		
	
	
		
	
	
		
	

