Thank you, scribu! This is a good example of the way I need to do this. Is it not just a little bit strange that you can't just ask WP to grab the next five and the previous five? It would be nice if they adapted query_posts to handle this type of query, since it seems like such a natural thing to do...