[jQuery] slideDown of dd containing a script crashes ie6/ie7: jQuery 1.1.3.1

[jQuery] slideDown of dd containing a script crashes ie6/ie7: jQuery 1.1.3.1


[apologies if this is a dupe -- i posted this last night and don't see
it on the message board]
i have a piece of code that makes it so when you click on a dt, it
reveals the sibling dd using the slideDown effect. this seems to work
fine except one one dt/dd -- in that case, clicking on the dt crashes
ie6 and ie7 (on separate computers). i've traced the problem to a
script that appears at the end of the dd; this script document.writes
a div of content to the page. this script is from an external source
and can't be modified.
other notes:
- if i replace slideDown with fadeIn, it works fine
- if i remove the script from the dd, it works fine
here is my code. please point out anything else i'm doing wrong too :)
var rightColItems = $('dt',rightCol);
rightColItems.each(function() {
$(this).css({ cursor: 'pointer' });
$(this).click(function() {
if ($(this).next('dd').is(':hidden')) {
$('#right-col dd:visible').each(function() { $
(this).slideUp(); });
$(this).next('dd').slideDown();
}
});
});
thanks,
-rebecca