<!--
	
	function init_menu(ex)
	{
		var group = document.all.tags('div');
		
		var graph = document.all.tags('img');
		
		folder = new Image(); folder.src = "imgs/folder.gif";
		folderopen = new Image(); folderopen.src = "imgs/folderopen.gif";
		minus = new Image(); minus.src = "imgs/minus.gif";
		minusbottom = new Image(); minusbottom.src = "imgs/minusbottom.gif";
		plus = new Image(); plus.src = "imgs/plus.gif";
		plusbottom = new Image(); plusbottom.src = "imgs/plusbottom.gif";
		
		group('control').style.display = 'block';

		forAllex('none',ex);
	}
	
	function forAll(act)
	{
		group = document.all.tags('div');
		
		for (i=0;i<group.length;i++)
		{
            		if ((group(i).id.substring(0, 2) == 'tr')&&(group(i).id.substring(3, 5) != '00'))
				group(i).style.display = act;
			
			change_image(group(i).id, act);
		}
	}


	function forAllex(act, ex)
	{
		group = document.all.tags('div');
		
		for (i=0;i<group.length;i++)
		{
                       if (group(i).id.substring(2, 3) == ex) act = 'block'; else act = 'none';
		       if ((group(i).id.substring(0, 2) == 'tr')&&(group(i).id.substring(3, 5) != '00'))
				group(i).style.display = act;
			
			change_image(group(i).id, act);
		}
	}


	function expand(el)
	{
		if (document.all)
		{
			group = document.all.tags('div');

			var curId = group(el).id;
			
			for (i = 0;i<group.length;i++)
			{
				if (group(i).id.substring(0, 2) == 'tr')
				{
					if (curId.substring(3, 5) == '00')
					{
						if ((group(i).id.substring(0, 3) == curId.substring(0, 3))&&(group(i).id.substring(3, 5) != '00'))
						{
							group(i).style.display = ((group(i).style.display == 'none')&&(group(i).id.substring(4, 5) == '0')) ? 'block' : 'none';
							if (group(i).style.display == 'none') change_image(group(i).id, 'none');
						}
					}
					else if (group(el).id.substring(4, 5) == '0')
					{
						if ((group(i).id.substring(0, 4) == curId.substring(0, 4))&&(group(i).id.substring(4, 5) != '0'))
						group(i).style.display = (group(i).style.display == 'none') ? 'block' : 'none';
					}
				}
			}
			change_image(curId, '');
		}
	}
	
	function change_image(where, act)
	{	
		graph = document.all.tags('img');

		if (graph('folder_'+where))
		{
			graph('folder_'+where).src = (graph('folder_'+where).src == folder.src) ? folderopen.src : folder.src;
			if (act=='block')
				graph('folder_'+where).src = folderopen.src;
			else if (act=='none')
				graph('folder_'+where).src = folder.src;
		}				
		if (graph('plus_'+where))
		{
			graph('plus_'+where).src = (graph('plus_'+where).src == plus.src) ? minus.src : plus.src;
			if (act=='block')
				graph('plus_'+where).src = minus.src;
			else if (act=='none')
				graph('plus_'+where).src = plus.src;
		}				
		if (graph('plusbottom_'+where))
		{
			graph('plusbottom_'+where).src = (graph('plusbottom_'+where).src == plusbottom.src) ? minusbottom.src : plusbottom.src;
			if (act=='block')
				graph('plusbottom_'+where).src = minusbottom.src;
			else if (act=='none')
				graph('plusbottom_'+where).src = plusbottom.src;
		}				
	}



        function netie(net, ie)
        {
          if ((navigator.appVersion.substring(0,3) >= net && navigator.appName == 'Netscape' && net != -1) || (navigator.appVersion.substring(0,3) >= ie && navigator.appName.substring(0,9) == 'Microsoft' && ie != -1))
            return true;
        else return false;
        }

//-->
