public ResultSet QueryRes(String sql)
	{
		try
		{
			Statement stmt = con.createStatement();
			ResultSet temp = stmt.executeQuery(sql);
			return temp;
		} 
		catch (Exception e) 
		{
			System.out.println("Error running statement: " + e.toString());
			return null;
		}
	}