if(Prototype.Browser.IE){
Control.Overlay.container.setStyle(Control.Overlay.getIeStyles());
Event.observe(window,'scroll',Control.Overlay.positionOverlay);
Event.observe(window,'resize',Control.Overlay.positionOverlay);
Control.Overlay.observe('beforeShow',Control.Overlay.positionOverlay);
}else
The Modal Window control is very near perfect for what I'm trying to accomplish. However, it appears to completely fall down when used from any version of Internet Explorer. At first I thought it was an issue with my implementation, but then I visited the demo site under IE9 and saw similar failures.