how can i use the right(left)buffer?

i am working on programing with opengl & i have a question about the using of stero buffer.that is
to say,i nees to display two images on the monitor alternatively on
the Asus v3800(with a stero glasses).
would you like to tell how i can do it in detail?
thank you very much!