/* ===================================================
	Copyright (c) 2006 Adobe.
	Edge Article List Selection
==================================================== */
/*
/* get article url */
var articlePath = (location.pathname); 
/* array all the parts of the url split by */
var paths = articlePath.split("/");
/* grab any list element with the id of the 2nd to last item in the array */
if (document.getElementById(paths[paths.length-2])) var listItem = document.getElementById(paths[paths.length-2]);	
/* change the class list item w/ matching article link  */
listItem.className="selected";
/* grab the title/text of the list element */
var articleTitle = document.createTextNode(listItem.getElementsByTagName('a')[0].innerHTML);
/* remove the link */
listItem.removeChild(listItem.firstChild);
/* append the text back into the list element */
listItem.appendChild(articleTitle);
