<!--

function calc_fvi(theForm){
var msg = "Please enter valid numbers";
var obj2;

var obj = theForm.pv_calc01;
	if (isNaN(obj.value) == true || obj.value == ""){ //is not a number
	alert(msg);
	obj.focus();
	return false
	}
obj = theForm.pmt_calc01;
	if (isNaN(obj.value) == true || obj.value == ""){ //is not a number
	alert(msg);
	obj.focus();
	return false
	}
obj = theForm.mip_calc01;
	if (isNaN(obj.value) == true || obj.value == ""){ //is not a number
	alert(msg);
	obj.focus();
	return false
	}
obj = theForm.ihp_calc01;
	if (isNaN(obj.value) == true || obj.value == ""){ //is not a number
	alert(msg);
	obj.focus();
	return false
	}
obj = theForm.r_calc01;
	if (isNaN(obj.value) == true || obj.value == ""){ //is not a number
	alert(msg);
	obj.focus();
	return false
}

obj = theForm.mip_calc01;
obj2 = theForm.ihp_calc01;

if (parseFloat(obj.value) > parseFloat(obj2.value)){ //is not a number

	alert("The projected future value of investment cannot be computed due to input error. Please check the value of your third and fifth input.");
	obj.focus();
	return false
}


return true;



} // end function

//-->