﻿function Invia(destinazione) {
    //var v = document.getElementsByName("loginSimulazione")[0].checked;
    if (document.getElementsByName("loginSimulazione")[0].checked) {
        document.modulo.method = "post";
        document.modulo.action = "http://gestionale.credion.it/Login.aspx";
        //alert(document.modulo.action);
        document.modulo.submit();
    }
    if (document.getElementsByName("loginSimulazione")[1].checked) {
        document.modulo.method = "post";
        document.modulo.action = "http://2.228.18.149:81/CredionManager/Login.aspx";
        //alert(document.modulo.action);
        document.modulo.submit();
    }
//    if (document.getElementsByName("loginSimulazione")[2].checked) {
//        document.modulo.method = "post";
//        document.modulo.action = "http://webmaildomini.aruba.it/cgi-bin/ajaxmail";
//        alert(document.modulo.action);
//        document.modulo.submit();
//    }
}

function Copia(c1,c2) {
    c2.value = c1.value;
}
