Smooth horizontal scrolling to anchors

im designing a site with some anchors house inside a fixed width DIV with the overflow hidden. everything works great but the one thing i would like the page to do is scroll to the anchored DIVs smoothly… ive found a TON of smooth scrolling javascript code, but none seem to work because the scrolling is meant to be horizontal, not vertical… can anyone help? im very very new to javascript so i dont know how to tailor the code to my needs.