function compareNumbers(val1,val2) {
	if (val1 == val2) {
		return 0;
	}
	if (val1 < val2) {
		return -1;
	}
	else {
		return 1;
	}
}
