// routine per eventi
function visualizza(mID) {
    document.getElementById(mID).style.display = "block";
}

//aiax per import file html
function leggiCont1(url) {
    if (document.all) {// code for IE6, IE5
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    } else {// Firefox, Chrome, Opera, Safari
        xmlhttp = new XMLHttpRequest();
    }
    xmlhttp.open("GET", url, false);
    xmlhttp.send(null);
    document.getElementById('contenitore_1').innerHTML = xmlhttp.responseText;
}
function leggiCont2(url) {
    if (document.all) {// code for IE6, IE5
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    } else {// Firefox, Chrome, Opera, Safari
        xmlhttp = new XMLHttpRequest();
    }
    xmlhttp.open("GET", url, false);
    xmlhttp.send(null);
    document.getElementById('contenitore_2').innerHTML = xmlhttp.responseText;
    
}

