public int getDocumentID(int rID)
	{
		int result = 0;

		String strStatement = "SELECT dID FROM report WHERE rID = " + rID;
		try
		{
			ResultSet rstResultSet = startQuery(strStatement);
			if (rstResultSet.next())
			{
				result = rstResultSet.getInt("dID");
			}
		}
		catch (ClassNotFoundException e)
		{
			_logger.fatal(e.getMessage());
			e.printStackTrace();
		}
		catch (SQLException e)
		{
			_logger.fatal(e.getMessage());
			e.printStackTrace();
		}
		finally
		{
			disconnect();
		}

		return result;
	}