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 = Zahl (r [1]); var vtName = r [0]; für (var I in den elems) { wenn (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); wenn (elems [i] .name! =null && elems [i] .name! = '') {elems [i] .name = replaceNum (elems [i] .name, vtLineNum);} wenn (elems [i] .id.match („Div. " +vtName+'_ ')) { var-Kinder = document.getElementById (elems [i] .id) .childNodes; für (var I in den Kindern) { wenn (Kinder [i] .href! = Null) { Kinder [i] .href = replaceNum (Kinder [i] .href, vtLineNum); } } } } }