the viewing frustrum's planes

hiya all,
I may well be being dense here, but…
does anyone know how to calculate the 6 planes of the viewing frustrum once you have defined it using gluPerpective()? cant seem to figure it out.
Tepid

Try this:
http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/002488.html

also code in the faq (link first page)