function validateInput(frmPassed)
	{
	// We can cross reference the checkNumeric functions in our other validate.js file
	// validate Principal Amount
	MAX= 10000000;	// 10 million
	var result= false;

	result= checkNumeric(frmPassed.gross, MAX);
		if (!result)
			{
			alert("Please enter a value for your Gross Income.");
			return false;
			}

	result= checkNumeric(frmPassed.ptax, MAX);
		if (!result)
			{
			alert("Please enter a value for your Property Taxes.");
			return false;
			}

	result= checkNumeric(frmPassed.heat, MAX);
		if (!result)
			{
			alert("Please enter a value for your Monthly Heating Bill.");
			return false;
			}

	result= checkNumeric(frmPassed.rrsp, MAX);
		if (!result)
			{
			alert("If required, please enter a value for your RRSP repayments.");
			return false;
			}

	result= checkNumeric(frmPassed.condo, MAX);
		if (!result)
			{
			alert("If required, please enter a value for your monthly Condo fees.");
			return false;
			}
	result= checkNumeric(frmPassed.mortPeriod, MAX);
		if (!result)
			{
			alert("Please select a value for your Mortgage Years.");
			return false;
			}

	result= checkNumeric(frmPassed.rate, MAX);
		if (!result)
			{
			alert("Please select a value for your estimated Interest Rate.");
			return false;
			}

	if(result)
		{
		// Then we can execute our calculations
		var affordPrice= calculateAffordPrice(frmPassed);
		}

	}

