function isValidFormInteger(formElement,alertString){
	if(formElement.value==''||!isValidInteger(formElement.value)){
		alert(alertString);
		formElement.focus();
		return false;
	}
	return true;
}
function isValidFormIntegerMinLen(formElement,alertString,minLength){
	if(formElement.value==''|| formElement.value.length < minLength ||!isValidInteger(formElement.value)){
		alert(alertString);
		formElement.focus();
		return false;
	}
	return true;
}