function SearchObject()
{
	var kryteria = new Array();
	var wartosci = new Array();
	var sortWart = new Array();
	
	this.getLength = function()
	{ return kryteria.length; };
	
	//funkcje dostepowe do pola kryteria
	this.getKryterium = function(i)
	{ return kryteria[i]; };
	
	this.setKryteria = function(val)
	{ kryteria = val; };
	
	
	//funkcje dostepowe do pola wartosci
	this.getWartosc = function(i)
	{ return wartosci[i]; };
	
	this.setWartosci = function(val)
	{ wartosci = val; };
	
	
	//funkcje dostepowe do pola sortWart
	this.getSortWart = function(i)
	{ return sortWart[i]; };
	
	this.setSortWart = function(val)
	{ sortWart = val; };
}