var dynamic = function(pageName) {
	
	//add the 'selected' class to the appropriate page
	var pageId = "#" + pageName;	
	$(pageId).addClass("selected");
	
	pageName = pageName === "about" ? "about me" : pageName;
	
	$('#pagetitle').html("<h1>" + pageName + "</h1>");
};
