
		function checkForm(){
			with(document.F_innersearch){
				
				if(maxPrice.selectedIndex > 0 && parseInt(minPrice.options[minPrice.selectedIndex].value) > parseInt(maxPrice.options[maxPrice.selectedIndex].value)){
					alert("the selected minimum price range should be smaller than the maximum selected price range")
					return false;
				}
				
				return true;
			}
		}
		
		function adjustMaxPrice(){
			with(document.F_innersearch){
				if(maxPrice.selectedIndex > 0 && minPrice.selectedIndex > maxPrice.selectedIndex){
					maxPrice.selectedIndex = minPrice.selectedIndex;
				}
			}
		}
		
		function adjustMinPrice(){
			with(document.F_innersearch){
				if(maxPrice.selectedIndex > 0 && minPrice.selectedIndex > maxPrice.selectedIndex){
					minPrice.selectedIndex = maxPrice.selectedIndex;
				}
			}
		}

