<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ck_mail</title>
<script type="text/javascript">
News = window.location.href;
testo = News.substr(News.indexOf('=')+1)
function getXMLHttp() {
var xmlhttp = null;
if (window.ActiveXObject) {
if (navigator.userAgent.toLowerCase().indexOf("msie 5") != -1) {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} else {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
}
if (!xmlhttp && typeof(XMLHttpRequest) != 'undefined') {
xmlhttp = new XMLHttpRequest()
}
return xmlhttp
}
objHTTP = getXMLHttp();
//Passo 1
objHTTP.open("GET", testo, true);
//Passo 2
objHTTP.onreadystatechange = function() {elaboraRisposta()}
//Passo 3
objHTTP.send(null)
function elaboraRisposta() {
if (objHTTP.readyState == 4) {
document.getElementById('testo').innerHTML=objHTTP .responseText
document.getElementById('testo').style.background= "#ffff00";
}
}
</script>
</head>
<body>
<div id="testo"></div>
</body>
</html>