function checkNumber(formfield)
{
	if (isNaN(formfield.value))
	{
		var msg = "ERROR! \n\n";
		msg += "- Do not put spaces between the characters \n";
		msg += "- You must only use numbers \n";
		
		alert(msg)
		formfield.value = ""
		formfield.focus()
	}
}

// This script checks for a valid number with spaces included
function checkNumberVer2(formfield)
{
	var count = 0;
	var i = 0;
	var myString = formfield.value;
	var numArray = new Array("0","1","2","3","4","5","6","7","8","9"," ");
	
	if (formfield.value != "")
	{
		while (i < myString.length)
		{
			for (var j=0; j<numArray.length; j++)
			{
				if (myString.charAt(i) == numArray[j])
				{					
					count++;
				}
			}
			i++
		}
		
		if (count != myString.length)
		{
			alert("You must only use numbers!");
			formfield.value = "";
			formfield.focus();
		}
	}
}