Problem wiht built in JS libary

Hi, I am trying to add a page effect using the built in javascripts. The
effect im trying to create is when a user clicks a link the current page
content slides up, then the new content slides down. This all works
great in firefox, but in IE between the slide up and slide down, you see
a quick flash of the content, and it really spoils the whole effect.

Here is the code im using.
This is one on the functions for the homepage link.

function home() {

            new Effect.BlindUp(page,{queue:{scope:'slide', 
position:'front', limit: 1}});
            new Effect.BlindDown('home',{queue:{scope:'slide', 
position:'end', limit: 2}});
            page = "home";

    }

Any help, or suggestions on how to get rid of the flash in IE would be
great, thanks.
Harro

Sorry I realised this was not the best place to post this. I found the
solution to this in another thread. Just incase anyone else wants to
know or was interested, adding a doctype to the page, fixes the
flickering issue in IE.

Thanks