function inizia(){
var i = 1;

  if (document.getElementById("1hr")){
  document.getElementById("1img").src = "img/fro2.gif";
  document.getElementById("1hr").style.color = "#33aa33";
  document.getElementById("1hr").style.textDecoration = "underline";
  }
  
}

function inizia2(idelh1, idelh2, idelh3){
var i = 1;
var i2 = 1;
var ii2;

document.getElementById(idelh1 + "hr").style.color = "#33aa33";
document.getElementById(idelh1 + "hr").style.textDecoration = "underline";

document.getElementById(idelh2 + "hr").style.color = "#33aa33";
document.getElementById(idelh2 + "hr").style.textDecoration = "underline";

document.getElementById(idelh3 + "hr").style.color = "#33aa33";
document.getElementById(idelh3 + "hr").style.textDecoration = "underline";
  
}


function apri1(idel){
var i = 1;

//alert("si");
while (document.getElementById(i + "hr")){
document.getElementById(i + "hr").style.color = "";
document.getElementById(i + "hr").style.textDecoration = "";
document.getElementById(i + "img").src = "img/fro1.gif";
i++;
}


if (document.getElementById(idel + "hr")){
document.getElementById(idel + "img").src = "img/fro2.gif";
document.getElementById(idel + "hr").style.color = "#33aa33";
document.getElementById(idel + "hr").style.textDecoration = "underline";
}

}

