function layout() {

	var hoehe = 600;
	if (document.getElementById('sw_txt_1')){		
		hoehe = document.getElementById('sw_txt_1').offsetHeight;
	}
	var hoehe_rahmen = document.getElementById('rahmen').offsetHeight;
	//alert(bodyw + " === " + bodyh + " ==== " + hoehe);
	if (hoehe_rahmen < hoehe){
		var neuehoehe = (hoehe + 500);
		document.getElementById('rahmen').style.height = neuehoehe + "px";
	}
}


	
///////////////////////////////////////////////////////////////////////////////////////////////////////////


function MM_openBrWindow(theURL,winName,features) {
	window.open(theURL,winName,features);
}

///////////////////////////////////////////////////////////////////////////////////////////////////////////


function Tabellenfarbe(Reihe, Farbe)
{
if (Farbe == '' || typeof(Reihe.style) == 'undefined')
{
return false;
}
if (typeof(document.getElementsByTagName) != 'undefined')
{
var theCells = Reihe.getElementsByTagName('td');
}
else if (typeof(Reihe.cells) != 'undefined')
{
var theCells = Reihe.cells;
}
else
{
return false;
}
var rowCellsCnt  = theCells.length;
for (var c = 0; c < rowCellsCnt; c++)
{
theCells[c].style.backgroundColor = Farbe;
}
return true;
}

