var priceParam;
var pRMax = $('[name="pricerent"]').val(),
pBMax = $('[name="pricebuy"]').val(),
pRMaxP = pRMax == 9000,
pBMaxp = pBMax == 1000000;
if (pRMaxP || pBMaxp == true) {
priceParam = '&price_min=';
}
// else if (testb) {
// priceParam = '&price_min=';
// }
else {
priceParam = '&price_max=';
}