I want to build a chat system similar to this one: babycoupon.com (chat window is on right side of the page). For web programming, I only know some Flash ActionScript. I want to know what i need to learn, where i find lessons and resources, to build such a chat system. Please help!

Thanx a lot.