<!--
function check_values(){
  var price1
  var price2
  price1 = document.SearchNew.price1.options[document.SearchNew.price1.selectedIndex].value;
  price2 = document.SearchNew.price2.options[document.SearchNew.price2.selectedIndex].value;

  if ( parseInt(price1) >= parseInt(price2) ){

  alert('From Price Range must be LOWER than the To Range\nPlease alter your Price Range Figure(s)');
   document.SearchNew.SearchNew.disabled = true;
   document.SearchNew.price2.focus();
   Error01.style.display = "block"
   }
  else {
   document.SearchNew.SearchNew.disabled = false;
   Error01.style.display = "none"
  }
}



function RemoveContent(d) {
document.getElementById(d).style.display = "none";
}
function InsertContent(d) {
document.getElementById(d).style.display = "";
}


function check_values2(){
  var price1
  var price2

  price1 = document.topsearch.price1.options[document.topsearch.price1.selectedIndex].value;
  price2 = document.topsearch.price2.options[document.topsearch.price2.selectedIndex].value;

  if ( parseInt(price1) >= parseInt(price2) ){

  alert('From Price Range must be LOWER than the To Range\nPlease alter your Price Range Figure(s)');
   document.topsearch.SearchNew.disabled = true;
   document.topsearch.price2.focus();
   //Error01.style.display = "block"
   }
  else {
   document.topsearch.SearchNew.disabled = false;
   //Error01.style.display = "none"
  }
}


function check_values3(){
  var price1
  var price2
  var pricerange
  pricerange = document.adsearch.pricerange.options[document.adsearch.pricerange.selectedIndex].value;
  price1 = document.adsearch.price1;
  price2 = document.adsearch.price2;

  if (pricerange == 0) {
  price1.value = 0;
  price2.value = 999999;
  }
  if (pricerange == 1) {
  price1.value = 0;
  price2.value = 10000;
  }
  if (pricerange == 2) {
  price1.value = 10000;
  price2.value = 20000;
  }
  if (pricerange == 3) {
  price1.value = 20000;
  price2.value = 30000;
  }
  if (pricerange == 4) {
  price1.value = 30000;
  price2.value = 40000;
  }
  if (pricerange == 5) {
  price1.value = 40000;
  price2.value = 999999;
  }

}

-->