for (i=0; i<10; i++) {
a = eval("pippo" + i);
a.style.display = "none";
}