How to translate screen coordinates to ogl and back?

Is there any opengl aided method to get ogl coordinates from screen coords (cursor pos) and back? If there is please tell me how to do that. Thanks, and sorry for my poor english.

Well, sorry, i found a few lines below, gluproject and gluunproject. (any other?) And a little offtopic: does anyone now a good pathfinding tutorial?