I was having issues with the same script and joomla 1.5 as well...

Script: DD Accordion Content Script (v1.7)
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

Here is the content...