//Funktion die aufklappt
function aufklappen(welches_auf) {
//Zuerst alle Klappmnenus schliessen 
zuklappen();
//AUfmachen
document.getElementById("aufklapp_" + welches_auf).style.visibility = "visible";
}

function zuklappen() {
for(var i = 0 ; i < unter_reg_count ; i++) { 
document.getElementById("aufklapp_" + i).style.visibility = "hidden"; }
}

function wechsel_o(overout, welches_andern) {
if(overout == "over") { 
document.getElementById("feld_o_" + welches_andern).style.backgroundColor = color_menu_u;
document.getElementById("schrift_o_" + welches_andern).style.color = color_menu_o;
}
if(overout == "out") {
document.getElementById("feld_o_" + welches_andern).style.backgroundColor = color_menu_o;
document.getElementById("schrift_o_" + welches_andern).style.color = color_menu_u;
}
}

function wechsel_k(overout, welches_andern,genau) {
if(overout == "over") { 
document.getElementById("feld_k_" + welches_andern + "_" + genau).style.backgroundColor = color_menu_k_over;
color_schrift_k_vorher = document.getElementById("schrift_k_" + welches_andern + "_" + genau).style.color;
document.getElementById("schrift_k_" + welches_andern + "_" + genau).style.color = color_menu_k_schrift_over;
}
if(overout == "out") {
document.getElementById("feld_k_" + welches_andern + "_" + genau).style.backgroundColor = color_menu_k;
document.getElementById("schrift_k_" + welches_andern + "_" + genau).style.color = color_schrift_k_vorher;
}
}