<!--
function showhide(myblock,onoff)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		var style2 = document.getElementById(myblock).style;
		style2.display = style2.display? "":onoff;
	}
	else if (document.all)
	{
		// this is the way old msie versions work
		var style2 = document.all[myblock].style;
		style2.display = style2.display? "":onoff;
	}
	else if (document.layers)
	{
		// this is the way nn4 works
		var style2 = document.layers[myblock].style;
		style2.display = style2.display? "":onoff;
	}
}



function show(id, aperto, chiuso)
{
	el = document.getElementById(id);
	if (el.style.display == 'none')
	{
		el.style.display = '';
		el = document.getElementById('more' + id);
		el.innerHTML = '<b>[-] '+ chiuso +'</b>';
		//alert(id + 'hide');
		MM_showHideLayers(id,'','show'); //hide
	} else {
		el.style.display = 'none';
		el = document.getElementById('more' + id);
		el.innerHTML = '<b>[+] '+ aperto +'</b>';
		//alert(id + 'show');
		MM_showHideLayers(id,'','hide'); //show
	}
}




function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
