	
		{
		var iNumAll = document.all.length;
		var cLI = document.all.tags("LI");
		var iNumLI = cLI.length;
		for (var i=0; i<iNumLI; i++)
			{
			eTempElement = cLI[i];
			if(eTempElement.className == "clsDefHidden" || eTempElement.className == "clsGlossario")
				{
					with (eTempElement)
					{
						onclick = glossaryTerm_click;
						onmouseover = glossaryTerm_mouseover;
						onmouseout = glossaryTerm_mouseout;
						style.color = coloreout;
							 		
					}
					
				
				}
			}
			
			if(espansa=="si")
				{espansa=="no"; expandAll();}
		}	
	
	function glossaryTerm_click()
		{var Elemento = window.event.srcElement;

		if (Elemento.className != "clsDefHidden" && Elemento.className != "clsDefShown" && Elemento.className != "clsGlossario")
			{window.event.cancelBubble;return;}

		if (Elemento.className == "clsGlossario")
			{
			if (espansa=="si")
				{espansa="no"; contractAll();}
			else
				{espansa="si"; expandAll();}
			}	
		else
			{
			if (Elemento.className == "clsDefHidden")
				{Elemento.className = "clsDefShown";
				toggleDefinition( Elemento , "show" );
				}
			
			else
				{Elemento.className = "clsDefHidden";
				toggleDefinition( Elemento , "hide" );
				}
			}	
		}
	
	function glossaryTerm_mouseover()
		{
		var Elemento = window.event.srcElement;
		if (Elemento.className=="clsDefHidden" || Elemento.className=="clsDefShown"|| Elemento.className=="clsGlossario")
		{	
			if (Elemento.className=="clsDefHidden" || Elemento.className=="clsGlossario")
			{
			Elemento.style.color=coloreover;	
            if (Elemento.className=="clsDefHidden")
			Elemento.style.backgroundColor=coloresfhidden;
			}	
			
			if (Elemento.className=="clsDefShown")
			{
			Elemento.style.color=coloreout;	
			Elemento.style.backgroundColor=coloresfshow;
			}	
		}
		}
	
	function glossaryTerm_mouseout()
		{
		var Elemento = window.event.srcElement;
		if (Elemento.className=="clsDefHidden" || Elemento.className=="clsDefShown" || Elemento.className=="clsGlossario")
			{Elemento.style.color=coloreout;
			if (Elemento.className=="clsDefHidden")
			Elemento.style.backgroundColor=colmouseout;
			}
		}
	
	function toggleDefinition(Elemento,sAction)
		{
		for (var i=Elemento.sourceIndex+1; i<iNumAll; i++)
			{Elemento = document.all[i];
			if (Elemento.className == "clsDefHidden" || Elemento.className == "clsDefShown")
				{return;}
			if (sAction == "show")
				{
				if (Elemento.className == "clsHide")
					{Elemento.className = "clsDefinition";glossaryTerm_mouseover();return;}
				}
				else if (sAction == "hide")
				{
				if (Elemento.className == "clsDefinition")
					{Elemento.className = "clsHide";glossaryTerm_mouseover();return;}
				}
			}

		}
	
	function expandAll()
		{
		var cLI = document.all.tags("LI");
		var iNumLI = cLI.length;
		for (var i=0;i<iNumLI;i++)
			{with (cLI[i])
				{if ("clsDefHidden" == className)
					className = "clsDefShown"; window.status = i;
				}
			}
		var cDIV = document.all.tags("DIV");
		var iNumDIV = cDIV.length;
		for (var i=0;i<iNumDIV;i++)
			{with (cDIV[i])
				{if ("clsHide" == className)
					className = "clsDefinition";
					window.status = i;
				}
			}
                
		}
	
	function contractAll()
		{
		for (var i=0;i<iNumLI;i++)
			{
			with (cLI[i])
				{if ("clsDefShown" == className)
					className = "clsDefHidden";
					toggleDefinition( cLI[i] , "hide" );
				}
			}
		}
