function Headers(){

var directoryHost = document.location.host;
var dirHostNum = directoryHost.length;
var directoryNum = dirHostNum + 8;
var directoryURL = document.location.href.substring(directoryNum, location.href.lastIndexOf("/") + 1);
var dirSubNum = directoryURL.indexOf("/");
var Num = directoryNum + dirSubNum;
var directory = document.location.href.substring(Num, location.href);

var dirCheck = "http://" + directoryHost + "/";
var contentPath = document.getElementById("navHeader");

switch(directory){
	case dirCheck + "Licensure":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_licensure.gif' alt='Licensure' border='0' /></a>";
	break
	case dirCheck + "Education":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_education.gif' alt='Education' border='0' /></a>";
	break
	case dirCheck + "Ethics":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_ethics.gif' alt='Ethics' border='0' /></a>";
	break
	case dirCheck + "CareerCenter":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_employment.gif' alt='CareerCenter' border='0' /></a>";
	break
	case dirCheck + "InterestGroups":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_interest.gif' alt='Interest Groups' border='0' /></a>";
	break
	case dirCheck + "GovernmentRelations":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_gov.gif' alt='Government Relations' border='0' /></a>";
	break
	case dirCheck + "PartnersStates":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_partnersState.gif' alt='Partners and States' border='0' /></a>";
	break
	case dirCheck + "PEmagazine":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_magazine.gif' alt='PE Magazine' border='0' /></a>";
	break
	case dirCheck + "WhyJoin":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_whyJoin.gif' alt='Why Join' border='0' /></a>";
	break
	case dirCheck + "JoinNow":
	contentPath.innerHTML = "<a href='https://netforum.nspe.org/eweb/DynamicPage.aspx?Site=MemberProf&WebKey=a21c117f-2127-4426-a362-28608c71e4f0'><img src='/resources/images/headers/hdr_joinNow.gif' alt='Join Now' border='0' /></a>";
	break
	case dirCheck + "MemberBenefits":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_benefits.gif' alt='Member Benefits' border='0' /></a>";
	break
	case dirCheck + "TypesofMembership":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_types.gif' alt='Types of Membership' border='0' /></a>";
	break
	case dirCheck + "ReferAFriend":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_refer.gif' alt='Refer A Friend' border='0' /></a>";
	break
	case dirCheck + "AboutNSPE":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_about.gif' alt='About NSPE' border='0' /></a>";
	break
	case dirCheck + "Advertising":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_advertising.gif' alt='Advertising' border='0' /></a>";
	break
	case dirCheck + "advertising":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_advertising.gif' alt='Advertising' border='0' /></a>";
	break
	case dirCheck + "ContactUs":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_contactUs.gif' alt='Contact Us' border='0' /></a>";
	break
	case dirCheck + "contactus":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_contactUs.gif' alt='Contact Us' border='0' /></a>";
	break
	case dirCheck + "FirmFinder":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_firmFinder.gif' alt='Firm Finder' border='0' /></a>";
	break
	case dirCheck + "Media":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_media.gif' alt='Media' border='0' /></a>";
	break
	case dirCheck + "Conference":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_conference.gif' alt='Annual Conference' border='0' /></a>";
	break
	case dirCheck + "Students":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_students.gif' alt='Students' border='0' /></a>";
	break
	case dirCheck + "Anniversary":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_75thAnniversary.gif' alt='75th Anniversary' border='0' /></a>";
	break

	case dirCheck + "AnnualMeeting":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_annualmeeting.gif' alt='Annual Meeting' border='0' /></a>";	
	break

	case dirCheck + "buyersguide":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_buyersguide.gif' alt='NSPE Buyers Guide' border='0' /></a>";	
	break

	case dirCheck + "BuyersGuide":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_buyersguide.gif' alt='NSPE Buyers Guide' border='0' /></a>";	
	break

	case dirCheck + "ProfessionalLiability":
	contentPath.innerHTML = "<a href='"+directory+"/index.html'><img src='/resources/images/headers/hdr_liability.gif' alt='Professional Liability' border='0' /></a>";	
	break


	default:
	//alert(dirCheck);
	}
}