if("Next".equals(arg))
	{
	try
{
		nPrevID = nID;
results = statement.executeQuery("SELECT * FROM ANIMALS
WHERE ID >"+nPrevID);
		} catch (SQLException ex) {return true;}
	DispNextRow();
	}
else if("Previous".equals(arg))
	{	
	nID--;
	try
	{
		results = statement.executeQuery("SELECT * FROM ANIMALS
WHERE ID="+nID);
		DispNextRow();
		}
	catch (SQLException ex)
		{
		return true;
		}
	}