1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27:
var row= document.getElementById (row.id); var elems = row.getElementsByTagName („*“); var r = explodeArray (row.id, „_“); var vtLineNum = Aantal (r [1]); var vtName = r [0]; voor (var i in elems) { als (elems! =null && elems [I]! =null && elems [I] .id! =null && elems [I] .id! = '') { document.write (elems [I] .name+ " "); elems [I] .id = replaceNum (elems [I] .id, vtLineNum); als (elems [I] .name! =null && elems [I] .name! = '') {elems [I] .name = replaceNum (elems [I] .name, vtLineNum);} als (elems [I] .id.match („afd. " +vtName+'_ ')) { var kinderen = document.getElementById (elems [I] .id) .childNodes; voor (var i in kinderen) { als (kinderen [I] .href! = verklaar) nietig { kinderen [I] .href = replaceNum (kinderen [I] .href, vtLineNum); } } } } }