// ohne Layer
 function onMenu(idName){
 	if (document.layers) {

	} else {
		eval("document.all."+idName+"Link.style.setAttribute('backgroundColor','FFFFFF','false')");
		eval("document.all."+idName+".style.setAttribute('color','3952AB','false')");
	}
 }
 
// ohne Layer
 function offMenu(idName){
 	if (document.layers) {

	} else {
		eval("document.all."+idName+"Link.style.setAttribute('backgroundColor','3952AB','false')");
		eval("document.all."+idName+".style.setAttribute('color','FFFFFF','false')");
	}
 }
        
 function hideLayer(layerName){
 	if (document.layers) {
		eval("window.document."+layerName+".visibility = 'hide'");
	} else {
		eval("document.all."+layerName+".style.setAttribute('visibility','hidden','false')");
	}
 }
 
 function swapImage(layerName, imgName, imgObj) { 
	if ((document.layers) && (layerName != null)) {
		eval('document.'+layerName+'.document.images["'+imgName+'"].src = '+imgObj+'.src');
	} else {
		document.images[imgName].src = eval(imgObj+".src");
	}
}

function swapText(whichLayer, whichContent) {
        if (document.layers) {
                document.layers[whichLayer].document.write(whichContent);
                document.layers[whichLayer].document.close();
        }else{
                document.all[whichLayer].innerHTML=whichContent;
        }
}

function preload(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()')
    	eval(imgObj+'.src = "'+imgSrc+'"')
  	}
}