  var xhr;
         function test(link) {
             xhr = http();
             xhr.open("GET", link, true);
             xhr.onreadystatechange = datenAusgeben;
             xhr.send(null);
             if (myWindow) myWindow.close()
         };

        function datenAusgeben() {
           if (xhr.readyState == 4) {
                var rueckgabe = xhr.responseText;
                document.getElementById("content").innerHTML = rueckgabe;
            window.scrollTo(0, 0);
		}
        }




