function testInput() {
var Email =  new String(document.inputForm.Email.value);
var Correct = true;
CharCount=1;
strLength=Email.length;
while ((CharCount < strLength) && (Email.charAt(CharCount) != '@'))
{
	CharCount++
}
if ((CharCount>= strLength) || (Email.charAt(CharCount) != '@'))
{
	alert ('Email address not valid.')
	Correct = false;
}
else
{
	CharCount += 2;
}
while ((CharCount < strLength) && (Email.charAt(CharCount) != '.'))
{
	CharCount++
}
if ((CharCount>= strLength - 1) || (Email.charAt(CharCount) != '.'))
{
	alert ('Email address not valid.')
	Correct = false;
}
return Correct
}
