function sendhttp() {
        if (window.XMLHttpRequest) { 
            req = new XMLHttpRequest(); //Mozilla, Safari,Opera
        } else if (window.ActiveXObject) { 
            try {
                req = new ActiveXObject("Msxml2.XMLHTTP"); //IE 5
            } catch (e) {
                try {
                    req = new ActiveXObject("Microsoft.XMLHTTP"); //IE 6
                } catch (e) {}
            }
        }
}

function movie(film) {
        sendhttp();
        if (!req) {
            alert('Kann keine XMLHTTP-Instanz erzeugen');
            return false;
        } else {
        req.onreadystatechange = handleResponse;
        req.open('get', 'film.php?film='+film, true);
        req.send(null);
		}
}
function estrenc() {
        sendhttp();
        if (!req) {
            alert('Kann keine XMLHTTP-Instanz erzeugen');
            return false;
        } else {
		document.getElementById('strand').style.display = 'block';
        req.onreadystatechange = handleResult;
        req.open('get', 'estrenc.html', true);
        req.send(null);
		}
}

function handleResponse() {
        if ((req.readyState == 4) && (req.status == 200)) {
                document.getElementById('bild').innerHTML = req.responseText;
        }	
}
function handleResult() {
        if ((req.readyState == 4) && (req.status == 200)) {
                document.getElementById('strand').innerHTML = req.responseText;
        }	
}