function geefZoekFormulier(land_id, luchthaven_id, vertrek_id, reisduur_id, streek_id, prijscheck, verzorging_id, sterren, reistype_id)
{
        request = createRequest();
        var url = "/ajax/formulier.php?land_id="+land_id+"&luchthaven_id="+luchthaven_id+"&vertrek_id="+vertrek_id+"&reisduur_id="+reisduur_id+"&streek_id="+streek_id+"&prijscheck="+prijscheck+"&verzorging_id="+verzorging_id+"&sterren="+sterren+"&reistype_id="+reistype_id+"&time="+Math.random()+"as";
        var WebResultaat = "";
//alert(url);
        request.open('GET', url, true);
        request.onreadystatechange = updatePage;
        request.send(null);
}

function updatePage()
{
        if(request.readyState == 4){
                var WebResultaat = request.responseText;
                document.getElementById('zoekformulier').innerHTML=WebResultaat;
        }
}

function uitklappen(id){
	document.getElementById(id).style.display = "inline";
	document.getElementById('beschrijvingkop').innerHTML = "<a style=\"cursor: pointer;\"  onclick=\"inklappen('bijzonderhedeninklap')\" style=\"cursor: pointer;\"><FONT FACE=\"Arial, MS Sans Serif\" SIZE=\"-1\" COLOR=\"#000000\"><b>Lees de reisinformatie voordat u een reis boekt! Klik hier!  -</b></font></a><br>";
}
function inklappen(id){
	document.getElementById(id).style.display = "none";
	document.getElementById('beschrijvingkop').innerHTML = "<a onclick=\"uitklappen('bijzonderhedeninklap')\" style=\"cursor: pointer;\"><FONT FACE=\"Arial, MS Sans Serif\" SIZE=\"-1\" COLOR=\"#000000\"><b>Lees de reisinformatie voordat u een reis boekt! Klik hier! +</b></font></a><br>";
}

