I'm trying to use the Accordion Content script within an adjustable width/height div which requires a certain Doctype to work (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">). However, the Accordion does not expand/callapse smoothly. (It jerks on every expand/callapse). Is there anyway to fix this problem without changing the Doctype to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd"> which makes it function properly?

Here is the URL to the code:
http://www.geocities.com/bigalo1/sampleAccordion.html

Can anyone Help!