glow.onDomReady(function() {
	glow.dom.get("a.listen").each( function() {
	  this.onclick = function () { 
		aodpopup(this.href);
		this.target = "aod";
		 return false; } 
	});
});


glow.onDomReady(function() {
	var newClassName = 'selected';
	var subNavAnchorList = glow.dom.get('ol.adv_subtopicnav li a');
	if ( subNavAnchorList.length == 0 ) return;
	var foundOne = false;
	subNavAnchorList.each( function() {
		if ( document.location.href.indexOf(this.href) !== -1 ) {
			this.parentNode.className = newClassName;
			foundOne = true;
		}
	});
	if ( !foundOne ) {
		subNavAnchorList[0].parentNode.className = newClassName;
	}
});