Automated sliding banner

I am wondering if anyone can point me into the right direction on how to make this flash effect? I would really like to do this from scratch. I know its easy to buy this type of effects. I want to create it myself.

I would highly appreciate all helpful answers. I need this for a non-profit site I am working on.

Thank you