function validateform() {
	var low = parseInt(document.getElementById("priceRangeLower").value,10);
	var high = parseInt(document.getElementById("priceRangeUpper").value,10);

	if (!isNaN(low)  && !isNaN(high) && low >=  high) {
		alert("Minimum price range must be lower than Maximum Price range.");	
		return false;
	}
	return true;
}
	
$(document).ready( function() {
	$('##searchsubmit').click( function() {
		validateform();
	});
});