<!-- Begin

var ie4 = (document.all) ? true : false;
var ns4 = (document.layers) ? true : false;
var ns6 = (document.getElementById && !document.all) ? true : false;

function PosizionaBox(guida) {

if (ns6) {
	y = window.pageYOffset;
	//y = 0;
	document.getElementById([guida]).style.visibility = "visible";
	document.getElementById([guida]).style.top = y + "px";
}

if (ie4) {
	y = document.body.scrollTop;
	//y = 0;
	document.all[guida].style.visibility = "visible";
	document.all[guida].style.top = y + "px";
}

}

function NascondiGuida(guida) {

if (ns6) {
	document.getElementById([guida]).style.visibility = "hidden";
}

if (ie4) {
	document.all[guida].style.visibility = "hidden";
}

}

function VediNascondi(sezione, id) {
eval ("status=document.event.id" + id + ".value");
if (status == 0) {
  	document["img_"+ id].src = "img/minus.png";
    VediSezione(sezione) ;
    eval("document.event.id" + id + ".value=1");
}
else {
  	document["img_"+ id].src = "img/plus.png";
    Nascondi(sezione) ;
    eval("document.event.id" + id + ".value=0");
}
}


function VediSezione(sezione) {

if (ns6) {
	document.getElementById([sezione]).style.position = "";
	document.getElementById([sezione]).style.visibility = "visible";
}

if (ie4) {
	document.all[sezione].style.position = "";
	document.all[sezione].style.visibility = "visible";
}

}



function Nascondi(sezione)
{

if (ns6) {
	document.getElementById([sezione]).style.visibility = "hidden";
	document.getElementById([sezione]).style.position = "absolute";
}

if (ie4) {
	document.all[sezione].style.visibility = "hidden";
	document.all[sezione].style.position = "absolute";
}

}

function showCard(id) 
{
  if (ns6) 
  {
    document.getElementById([id]).style.visibility = "visible";
  }
  
  if (ie4) 
  {
    document.all[id].style.visibility = "visible";
  }
}



function hiddenCard(id, url)
{
  if (ns6) 
  {
    document.getElementById([id]).style.visibility = "hidden";
  }
  
  if (ie4) 
  {
    document.all[id].style.visibility = "hidden";
  }
  document.location = url;
}

function showBlock(id) {

if (ns6) {
	document.getElementById(id).style.display = "block";
}

if (ie4) {
	document.all[id].style.display = "block";
}

}
//  End -->
