
	function validateEmail(emailAddress) {
		var foundAtSymbol = 'N';
		var foundDot = 'N';
		for (counter = 0; counter < emailAddress.length; counter++) {
			if (emailAddress.substring(counter,counter + 1) == '@') foundAtSymbol = 'Y';
			if (emailAddress.substring(counter,counter + 1) == '.') foundDot = 'Y';
		}
		if (foundAtSymbol == 'Y' && foundDot == 'Y') return true;
		else return false;
	}
