function Funktion(object) { var parent = object.parentNode; parent.style.background = '#000'; }