uuups,
und die zweite for-Schleife muß dann zwar bei 1 anfangen, darf aber trotzdem nur bis x<person_art[id].length laufen (nicht <=):
function changePerson(id) {
for (x=0;x<=12;x++) { document.getElementById("art_"+x).style.color = "#666666"; }
for (x=1;x< person_art[id].length;x++) { document.getElementById("art_"+person_art[id][x]).style.color = "#007DC9"; }
namenspeicher=document.getElementById("per_"+[id]).childNodes[0].nodeValue;
document.getElementById("per_"+[id]).childNodes[0].nodeValue=person_art[id][0];
document.getElementById("per_"+[id]).style.color = "#007DC9";
}
war denkfehler.
sorry
ptr