function registerGlossaryLinks() {
	$$('a.glossary').each(function(link){
		link.observe('click', glossaryLinkClick);
	});
}

function glossaryLinkClick(e) {
	Event.stop(e);
	
	var link = Event.element(e);
	var width = 300;
	var height = 400;
	window.open(link.href, link.title, "width="+width+",height="+height+",status=0,toolbar=0,location=0,scrollbars=1,resizable=0");
}


function blah() {
	alert("BLAH!");
}
Event.observe(window, 'load', registerGlossaryLinks, false);
