
function init_lax_2009() {
	window.setTimeout("div_blende('lay_top_bild',300,140,'ein')", 2000);
	}

function div_blende(id, breite, hoehe, aktion)
{
if( ! reentrant ) {
reentrant = 1;
var move = 0, element = document.getElementById(id);

if( aktion == 'ein' ) {
if(h < hoehe ){ h += 5; move++ }
if(b < breite){ b += 20; move++ }

element.style.visibility = 'visible';
}
else if( aktion == 'aus' ) {
if(h > 0 ){ h -= 5; move++ }
if(b > 0 ){ b -= 20; move++ }
element.style.visibility = (b > 0 && h > 0) ? 'visible' : 'hidden';
}

if( move ) {
element.style.height = h + 'px';
element.style.width = b + 'px';
window.setTimeout( function(){ div_blende(id,hoehe,breite,aktion) }, 20 );
}
reentrant = 0;
}
}


function showBildOben() { 
 var jetzt = new Date();
 var Sekunden = jetzt.getSeconds();
 var secstr=Sekunden.toString(10);
 if (secstr.length < 2) {
 	secstr="0".concat(secstr);
 	}

var Teil = secstr.substr(1,1);

var IMGSRC="/IMG/tage/tag_".concat(Teil);
IMGSRC=IMGSRC.concat(".jpg");

document.getElementById('lay_top_bild').style.background='url('+IMGSRC+')';

}


function leerenSuchstring() {
	document.getElementById('suchstring').value="";	
	}