
var BusyBlockOverlay={show:function(options)
{this.overlayWrapper;this.overlayPanel;if(!this.overlayWrapper)this._appendOverlay();this.overlayWrapper.show();},hide:function()
{this.overlayWrapper.hide()},_appendOverlay:function()
{var bodyElement=$$('body');Element.insert(bodyElement[0],'<div id="overlay"><!--[if lte IE 6.5]><iframe></iframe><![endif]--></div>');this.overlayWrapper=$('overlay')
Element.insert(this.overlayWrapper,'<div id="overlay-panel"></div>');this.overlayPanel=$('overlay-panel')
this.overlayPanel.update('<div id="waiting-image"/><a href="javascript:BusyBlockOverlay.hide()"><div style="width:15px;height=15px;">&nbsp;</div></a></div>')},openUri:function(uri)
{this.show();document.location=uri;setTimeout("this.show()",10);},callFunc:function(func)
{this.show();func.call();setTimeout("this.show()",10);}}
