function getHTTPObject() {var xmlhttp;/*@cc_on@if (@_jscript_version >= 5)try {xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");} catch (e) {try {xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");} catch (E) {xmlhttp = false;}}@elsexmlhttp = false;@end @*/if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {try {xmlhttp = new XMLHttpRequest();} catch (e) {xmlhttp = false;}}return xmlhttp;}var http = getHTTPObject(); // We create the HTTP Object// iscrizione newsletterfunction news_si2(){if (http.readyState == 4) {if (http.responseText.indexOf('invalid') == -1) {}document.getElementById('avviso').innerHTML = http.responseText;isWorking = false;}}var isWorking = false;function news_si1() {var chck = emailCheck(document.getElementById('mail').value);if(chck){var mail = document.getElementById('mail').value;if (!isWorking && http) {var url = "inserisci_iscritto.php?mail=" + mail;http.open("GET", url, true);http.onreadystatechange = news_si2;isWorking = true;http.send(null);}}}// eliminazione newsletterfunction news_no2(){if (http.readyState == 4) {if (http.responseText.indexOf('invalid') == -1) {}document.getElementById('avviso').innerHTML = http.responseText;isWorking = false;}}var isWorking = false;function news_no1() {var chck = emailCheck(document.getElementById('mail').value);if(chck){var mail = document.getElementById('mail').value;if (!isWorking && http) {var url = "elimina_iscritto.php?mail=" + mail;http.open("GET", url, true);http.onreadystatechange = news_no2;isWorking = true;http.send(null);}}}function Color(t){t.style.cursor='pointer';t.style.background='#d9be9f';t.style.color='#FFFFFF';}function Decolor(t){t.style.background='#69C';t.style.color='#FFFFFF';}function nomemappa(){var txt="http://maps.google.it/maps/ms?ie=UTF8&hl=it&t=k&s=AARTsJpSh0XDZMWo8x7eieqq6aX5FCNU5A&msa=0&msid=113017941160500763753.000460607bbd31ea1058b&ll=32.108515,-1.229632&spn=0.004362,0.006866&z=14&output=embed";document.getElementById('gmap').src=txt;}