function setText()
{
	var t = '';
	if($('#country').val() != '0')
	{
		t = '<img src="css/' + $('#country').val() + '.png" width="16" height="11" title="' + $('#country option:selected').text() + '" class="result-flag" id="result-flag"/>';		
	}
	if($('#type').val() == '0')
	{
		if($('#sort').val() == '0')
		{
			t += $(lang).find("lang[name='result.all.estate']").text();
		}
		else
		{
			t += ($(lang).find("lang[name='result.all']").text() + ' ' + $('#sort option:selected').text());
		}
	}
	else
	{	
		if($('#sort').val() == '0')
		{
			t += $(lang).find("lang[name='result.all." + $('#type').val() + "']").text();
		}
		else
		{
			if(LANG == 'hu')
			{
				t += $('#type option:selected').text();			
				t += ($('#sort').val() == '0')? '' : (' ' + $('#sort option:selected').text());
			}
			else
			{									
				t += ($('#sort').val() == '0')? '' : $('#sort option:selected').text();			
				t += (' ' + $('#type option:selected').text());	
			}
		}
	}

	if($('#county').val() != 0)
	{
		if($('#city').val() != 0)
		{
			t += '<span> | </span>';
			t += $('#city option:selected').text();			
		}
		else
		{
			t += '<span> | </span>';
			t += $('#county option:selected').text();		
		}
	}
	else
	{
		if($('#city').val() != 0)
		{
			t += '<span> | </span>';
			t += $('#city option:selected').text();			
		}		
	}

	if($('#heating').val() != 0)
	{
		t += '<span> | </span>';
		t += $('#heating option:selected').text();		
	}

	if($('#stuff').val() != 0 && $('#stuff').val() != 'null')
	{
		t += '<span> | </span>';
		t += $('#stuff option:selected').text();		
	}

	if($('#state').val() != 0)
	{
		t += '<span> | </span>';
		t += $('#state option:selected').text();		
	}

	if($('#type').val() == 'E' || $('#type').val() == '0')
	{
		if(parseInt($('#price_min').html()) != slider['price_min'] || parseInt($('#price_max').html()) != slider['price_max_e'])
		{
			var dim = $('#priceDim').html();
			t += '<span> | </span>';

			if(parseInt($('#price_max').html()) == slider['price_max_e'])
			{
				t += ($('#price_min').html() + ' - ' + $('#price_max').html() + '+ ' + dim);
			}
			else
			{
				t += ($('#price_min').html() + ' - ' + $('#price_max').html() + ' ' + dim);
			}				
		}
	}
	else
	{
		if(parseInt($('#price_min').html()) != slider['price_min'] || parseInt($('#price_max').html()) != slider['price_max_k'])
		{
			var dim = $('#priceDim').html();
			t += '<span> | </span>';
			if(parseInt($('#price_max').html()) == slider['price_max_k'])
			{
				t += ($('#price_min').html() + ' - ' + $('#price_max').html() + ' ' + $('#maxprice').html() + ' ' + dim);
			}
			else
			{
				t += ($('#price_min').html() + ' - ' + $('#price_max').html() + ' ' + dim);
			}				
		}
	}	

	if(parseInt($('#size_min').html()) != slider['size_min'] || parseInt($('#size_max').html()) != slider['size_max'])
	{
		var dim = $('#sizeDim').html();

		t += '<span> | </span>';
		if(parseInt($('#size_max').html()) == slider['size_max'])
		{
			t += ($('#size_min').html() + ' - ' + $('#size_max').html() + $('#maxsize').html()  + ' ' + dim);
		}
		else
		{
			t += ($('#size_min').html() + ' - ' + $('#size_max').html() + ' ' + dim);
		}				
	}

	if(parseInt($('#room_min').html()) != slider['room_min'] || parseInt($('#room_max').html()) != slider['room_max'])
	{		
		t += '<span> | </span>';
		if(parseInt($('#room_max').html()) == slider['room_max'])
		{
			t += ($('#room_min').html() + ' - ' + $('#room_max').html() + '+ ' + $(lang).find("lang[name='result.room']").text());
		}
		else
		{
			t += ($('#room_min').html() + ' - ' + $('#room_max').html() + ' ' + $(lang).find("lang[name='result.room']").text());
		}				
	}

	if($('#owner').attr('checked'))
	{
		t += '<span> | </span>';
		t += $('#owner_label').html();		
	}

	if($('#agent').attr('checked'))
	{
		t += '<span> | </span>';
		t += $('#agent_label').html();		
	}

	if($('#freeflat').attr('checked'))
	{
		t += '<span> | </span>';
		t += $('#freeflat_label').html();		
	}

	if($('#freeplace').attr('checked'))
	{
		t += '<span> | </span>';
		t += $('#freeplace_label').html();		
	}

	if($('#picasa').attr('checked'))
	{
		t += '<span> | </span>';
		t += $('#picasa_label').html();		
	}

	if($('#video').attr('checked'))
	{
		t += '<span> | </span>';
		t += $('#video_label').html();		
	}

	return t;
}