
function getDisplayForObj(tag) {
if (document.all) {
     disp = "";
}
else {
switch (tag){
case "TR":
     var disp = "table-row";
break;
}
}
return disp
}


function MostraRiga(n){

var stato = document.getElementById("lay" + n).style.display

if(stato == "none"){
document.getElementById("lay" + n).style.display = getDisplayForObj("TR")
}
else {
document.getElementById("lay" + n).style.display = "none"
}


}//end function

