function wait() {
    var IE = document.compatMode == 'CSS1Compat' ? document.documentElement : document.body;
    var layer = document.createElement('div'), s = layer.style;
    var height = document.body.parentNode.scrollHeight;
    if (document.all && !window.opera && IE.clientHeight > height) height = IE.clientHeight;
    document.body.appendChild(layer);
    if (layer.filters) s.filter = 'alpha(opacity=80)';
    else s.opacity = '0.8';
    s.position = 'absolute';
    s.left = '0px';
    s.top = '0px';
    s.backgroundColor = '#666666';
	s.cursor = 'wait';
    s.width = document.body.parentNode.scrollWidth + 'px';
    s.height = height + 'px';
	s.backgroundImage = 'url(../grafik/ladebalken.gif)';
	s.backgroundPosition = '50% 250px';
	s.backgroundRepeat = 'no-repeat';
}
