function setMax() {
		var minValue = parseInt($("select#minList").val());
		var maxValue = parseInt($("select#maxList").val());
        $next_option = $("select#maxList").children("[selected]").next();
        var safeLoop = 1;
        while (minValue > maxValue && safeLoop++ < 100) {
            maxValue = parseInt($next_option.val());
            $next_option = $next_option.next();
        }
        $("select#maxList").val(maxValue);
}
function setMin() {
		var minValue = parseInt($("select#minList").val());
		var maxValue = parseInt($("select#maxList").val());
        $next_option = $("select#minList").children("[selected]").prev();
        var safeLoop = 1;
        while (minValue > maxValue && safeLoop++ < 100) {
            minValue = parseInt($next_option.val());
            $next_option = $next_option.prev();
        }
        $("select#minList").val(minValue);
}
function setMid() {
    var length = $("select#minList").children().length;
    var $mid_option = $("select#minList").children().eq(length/3);
    var midValue = parseInt($mid_option.val());
    $("select#minList").val(midValue);
    setMax();
}
function _newSearchByPrice(){
	document.getElementById("fragment-3-a").style.display="block";
	document.getElementById("fragment-3-b").style.display="none";
	document.getElementById("fragment-3-c").style.display="none";
}

