// startseite schalter fr logos highlight


function schalter_hl(a){
    if(a)document.getElementsByName("schalter")[0].color = "#000000";
    else {
	alert("aus");
	
        document.getElementsByName("schalter")[0].color = "#aaaaaa";
    document.getElementById("leute").style.visibility = "hidden";
    }
    
}
    
function aus() {
    document.getElementById("navabt_open").style.visibility = "hidden";
    document.getElementById("navpers_open").style.visibility = "hidden";
}    
    
function zeige(w){
    //alert(w);
    aus();
    if(w == "abt")
    document.getElementById("navabt_open").style.visibility = "visible";
    else if (w == "pers")
    document.getElementById("navpers_open").style.visibility = "visible";
}

// farbwechsel

    var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function punkte5i_DoFSCommand(command, args) {
	var punkte3Obj = isInternetExplorer ? document.all.punkte3 : document.punkte3;
	//alert("do fs"+command+", "+args);
	idp = command.indexOf("FSCommand:");
	if(idp > -1) {
		a_div = command.substring(10);
	}
	else a_div = command;
	col = "#"+args.substring(2);
	
	//alert(a_div+","+col);
	document.getElementById(a_div).style.backgroundColor = col;
	    
}

// Hook für Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub punkte5i_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call punkte5i_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}


