// JavaScript Document

// Show/Hide functioni Mostra/Nascondi per layer e oggetti senza pointer variables
function show_abbinamenti(id1, id2, id3, id4) 
{
//alert (eval(id4))	
	for (i=1; i < eval(id4)+1; i+=1) 
	{
	
	x = '000' + i + ''
	x = x.substring(x.length-3)
//	alert (x)
	
		  document.getElementById('faq' + x).style.display="none";
		  document.getElementById('meno' + x).style.display="none"; 	// Segno Meno
		  document.getElementById('piu' + x).style.display=""; 		// Segno piu
	}

if(document.getElementById(id1).style.display=="none") 
	{
	   document.getElementById(id1).style.display="";
	   document.getElementById(id2).style.display=""; 	// Segno Meno
	   document.getElementById(id3).style.display="none"; 	// Segno Piu
	}
	else
	{
	  document.getElementById(id1).style.display="none";
	  document.getElementById(id2).style.display="none"; 	// Segno Meno
	  document.getElementById(id3).style.display=""; 		// Segno piu
	}
}

