function SetCheck(txtboxName){
var thisChk = document.getElementById(txtboxName);
thisChk.checked=true;
}
function ChangeBaths_Low(){
	var thisBathLow = document.getElementById("Baths_Low");
	var thisBathHigh = document.getElementById("Baths_High");
	
		if(thisBathHigh.selectedIndex < thisBathLow.selectedIndex){
			thisBathHigh.selectedIndex = thisBathLow.selectedIndex;
		}
	}
function ChangeBaths_High(){
	var thisBathLow = document.getElementById("Baths_Low");
	var thisBathHigh = document.getElementById("Baths_High");
	if(thisBathHigh.selectedIndex < thisBathLow.selectedIndex){
		 thisBathLow.selectedIndex = thisBathHigh.selectedIndex;
	}
}
function ChangeBeds_Low(){
	var thisBedLow = document.getElementById("Beds_Low");
	var thisBedHigh = document.getElementById("Beds_High");
	
		if(thisBedHigh.selectedIndex < thisBedLow.selectedIndex){
			thisBedHigh.selectedIndex = thisBedLow.selectedIndex;
		}
	}
function ChangeBeds_High(){
	var thisBedLow = document.getElementById("Beds_Low");
	var thisBedHigh = document.getElementById("Beds_High");
	if(thisBedHigh.selectedIndex < thisBedLow.selectedIndex){
		 thisBedLow.selectedIndex = thisBedHigh.selectedIndex;
	}
}
function IsText(sText)
{
   var ValidChars = "0123456789.,";
   var IsText=false;
   var Char;

 
   for (i = 0; i < sText.length && IsText == false; i++) 
      { 
      Char = sText.charAt(i); 
      if (ValidChars.indexOf(Char) == -1) 
         {
         IsText = true;
         }
      }
   return IsText;
   
   }

