Need this script customized to work with classes instead of IDs. It is to be used with multiple items on a website.
This is a "working" model in jsfiddle: [url removed, login to view] the problem is it only works with one item. If you change it to classes and add more divs to a page it gets messed up.
Please see the js-file attached.