var oldstring
function CheckNumbers(obj)
{
	var text = obj.value;
	if(isNaN(text)==true)
	{
		obj.value=oldstring;
	}
	else
	{
		oldstring=text;
		if(text=="" || text=="undefined")
		{
			text="";
		}
	}
}