function isValidEmail(sVal)
{
	// match an Email, with 1 @ and at least one . with at least one alpha character after it
	EmailRegEx = /^[A-Za-z0-9_\.\-]+[@][\w{1,}\.\-]+\.\w+$/i;
	return EmailRegEx.test(sVal);
}

function isValidZipCode(sVal)
{
	// match either xxxxx or xxxxx-xxxx
	ZIPCodeRegEx = /^[\d]{5}$/;
	if (ZIPCodeRegEx.test(sVal))
		return true;
	ZIPCodeRegEx = /^[\d]{5}-[\d]{4}$/;
	if (ZIPCodeRegEx.test(sVal))
		return true;
	return false;
}

function isValidInteger(sVal)
{
	//matches all digits

	IntegerRegEx = /^[0-9]+$/i;
	return IntegerRegEx.test(sVal);
}

function isValidFloat(sVal)
{
	//matches all digits
	IntegerRegEx = /^[0-9\.]+$/i;
	return IntegerRegEx.test(sVal);
}

function isValidAccompanymentAges(sVal)
{
	//matches all digits
	AgesEx = /^[0-9\ , ]+$/i;
	return AgesEx.test(sVal);
}

function isValidMoney(sVal)
{
	//matches all digits
	MoneyEx = /^[0-9\,]+$/i;
	if (MoneyEx.test(sVal))
		return true;
	MoneyEx = /^[$]+[0-9\,]+$/i;
	if (MoneyEx.test(sVal))
		return true;
	return false;
}

function isValidNumber(sVal)
{
	//matches all digits
	NumberEx = /^[0-9\,]+$/i;
	if (NumberEx.test(sVal))
		return true;

	return false;
}
