How does IE6 render javascript in a page?

Hi Folks,

I’ve got a drag and drop interface working using bbc’s glow, its great, but I have a slight problem.

The script at the top of the page creates the widgets using dom functions. It gets the order from a string stored in a cookie. The widgets are also in the page as a default layout incase JS is turned off.

This works fine in FF. However in IE, the default widget layout flashes for a couple of seconds, then JS creates the new layout. Is there anyway to stop this?

Is it to do with the way IE reads the page?

I have abasic example here, if you drag and drop a heading in a blue box, refresh the page, you should see the default appear for a few seconds before the JS kick in.

http://www.sandwell.nhs.uk/test/index.html

Can anyone please help?

Thankyou