I'm having problems getting the javascript showModalDialog() function to draw a frameset in a consistent fashion. The first time in it consistently draws the bottom,top,then the middle but the second time in on some machines it changes it to draw the middle then the bottom then the top. My problem with this is that I'm trying to pass it data and it is actually drawing the frames before it accesses the frameset page which is passing in values from the original page. Has anyone ran into this problem when trying to build a true modal window? If so what are my options, I'm assuming it's a caching problem but it could really be anything.