//M.Lapicki, October 2006
//Glossary functions to handle the display of glossary elements

function showGlossary(glossaryId, method) {
	//method is currently always popup, but defined for future use
	
	switch (method){
		case 'popup':

			window.open("/inc/glossary.php?id="+glossaryId,"_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=300, height=300");
		
			break;
		
		//case 'dhtml_popup'
		//case 'leftnav_info'
		
		default:
			alert('Invalid glossary display method');
	}
	
	return false
}
