function ToogleGlassaryItem(div_id, desc, block) {
	
}

function ShowGlossaryItem(div_id, desc, block) {

	//var width = (width) ? width : 250;
	var width = '250px';
	var div = document.getElementById(div_id);
	//var html = '<span>' + desc + '</span>';
	
	if(div.style.display != 'none') {
		HideGlossaryItem(div_id);
		return;
	}
	
	if(block) {
		desc = '<div style="float: right;"><a href="javascript: HideGlossaryItem(\''+div_id+'\'); void 0;">Close [X]</a></div>' + desc;
		div.style.display = 'block';
		div.style.position = 'relative';
		div.style.width = '50%';	
	} else {
		div.style.display = 'inline';
		div.style.position = 'absolute';
		div.style.width = '250px';		
	}
	
	div.className = 'glosarryItem';
	
	div.style.fontWeight = 'normal';
	div.style.fontStyle = 'normal';
	
	div.style.backgroundColor = 'lightyellow';
	div.style.border = 'solid 1px black';
	div.style.padding = '3px 7px';
	div.style.color = '#000000';
	div.style.fontSize = '12px';
	div.style.fontWeight = 'normal';
	div.innerHTML = desc;
}

function HideGlossaryItem(div_id) {
	var div = document.getElementById(div_id);
	div.style.display = 'none';
}
