function uvod_filtr() {
	var typ_vozidla	= document.forms["uvod_filtr_form"].typ_vozidla.value;
	var obdobi		= document.forms["uvod_filtr_form"].obdobi.value;
	var znacka		= document.forms["uvod_filtr_form"].znacka.value;

	var sirka		= document.forms["uvod_filtr_form"].sirka.value;
	var prurez		= document.forms["uvod_filtr_form"].prurez.value;
	var prumer		= document.forms["uvod_filtr_form"].prumer.value;


	var nazev_divu	= 'uvod_filtry';
	var url_scriptu	= './uvod_filtry.php?typ_vozidla='+typ_vozidla+'&obdobi='+obdobi+'&znacka='+znacka+'&sirka='+sirka+'&prurez='+prurez+'&prumer='+prumer;


	var httpRequest;

	if(typeof window.ActiveXObject != 'undefined')
	{
	    httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
	}
	else
	{
	    httpRequest = new XMLHttpRequest();
	}
	httpRequest.open("GET", url_scriptu, true);
	httpRequest.onreadystatechange= function () 
	{

	    if (httpRequest.readyState == 4)
	    {
	        if(httpRequest.status == 200)
	        {
				document.getElementById(nazev_divu).innerHTML = httpRequest.responseText;
	        }
	        else
	        {
	            alert("Chyba pri nacitani stanky " + httpRequest.status +" : "+ httpRequest.statusText);
	        }
	    }

	}
	httpRequest.send(null);
	return false;
}


