/*

*******************************************************************
File: error.js
Date: 03/04/2005
Purpose: Provides routines display error messages in all calculator forms
Assumes: aErrors is a globally defined array of errors (see configuration.asp for strings used in the array)

HISTORY:
*******************************************************************

*/

function getErrorField(index)
{
	return aErrors[index].split("|")[0];
}

function getErrorMessage(index)
{
	return aErrors[index].split("|")[1];
}