function submitSnelZoekForm(){
	
		var doc = document.createElement("form"); 
		doc.name = "test";
		doc.method = 'POST';
		doc.enctype	= "application/x-www-form-urlencoded";
		doc.action	= '/template/zoekresultaat.asp';
		
		var plaats = document.createElement("input");
		plaats.type = 'hidden';
		plaats.name = 'txtPlaatsCode';
		plaats.value = theForm.txtPlaatsCode.options[theForm.txtPlaatsCode.options.selectedIndex].value;

		var plaatsnaam = document.createElement("input");
		plaatsnaam.type = 'hidden';
		plaatsnaam.name = 'txtPlaatsen';
		plaatsnaam.value = theForm.txtPlaatsCode.options[theForm.txtPlaatsCode.options.selectedIndex].text;

		var prijsmin = document.createElement("input");
		prijsmin.type = 'hidden';
		prijsmin.name = 'txtPrijsmin';
		prijsmin.value = theForm.txtPrijsmin.options[theForm.txtPrijsmin.options.selectedIndex].value;

		var prijsmax = document.createElement("input");
		prijsmax.type = 'hidden';
		prijsmax.name = 'txtPrijsmax';
		prijsmax.value = theForm.txtPrijsmax.options[theForm.txtPrijsmax.options.selectedIndex].value;

		var sorteren = document.createElement("input");
		sorteren.type = 'hidden';
		sorteren.name = 'sort';
		sorteren.value = theForm.txtSorteren.options[theForm.txtSorteren.options.selectedIndex].value;

		var iid = document.createElement("input");
		iid.type = 'hidden';
		iid.name = 'IID';
		iid.value = "135";
		
		var msrt = document.createElement("input");
		msrt.type = 'hidden';
		msrt.name = 'msrt';
		msrt.value = 'H';

		var gsrt = document.createElement("input");
		gsrt.type = 'hidden';
		gsrt.name = 'gsrt';
		gsrt.value = 'A';

		var zoektype = document.createElement("input");
		zoektype.type = 'hidden';
		zoektype.name = 'txtZoekType';
		zoektype.value = 'S';
		
		var frompage = document.createElement("input");
		frompage.type = 'hidden';
		frompage.name = 'txtFromPage';
		frompage.value = '/';

		doc.appendChild(plaats);
		doc.appendChild(plaatsnaam);
		doc.appendChild(prijsmin);
		doc.appendChild(prijsmax);
		doc.appendChild(sorteren);
		doc.appendChild(iid);
		doc.appendChild(msrt);
		doc.appendChild(gsrt);
		doc.appendChild(zoektype);
		doc.appendChild(frompage);
		document.body.appendChild(doc);
		doc.submit();

}

/*
function unloadPage(){
	alert(theForm.enctype);
	alert(theForm.action);
	alert(theForm.method);
}
window.onunload = unloadPage;
*/