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.id); elems var = row.getElementsByTagName («*"); var r = explodeArray (row.id, «_»); vtLineNum var = номер (r [1]); vtName var = r [0]; для (var iий в elems) { если (elems! elems && =null [I]! elems && =null [I] .id! elems && =null [I] .id! = '') { document.write (") elems [I] .name+ "; elems [I] .id = replaceNum (elems [I] .id, vtLineNum); если (elems [I] .name! elems && =null [I] .name! = '') {elems [I] .name = replaceNum (elems [I] .name, vtLineNum);} если (elems [I] .id.match, то («div " +vtName+'_ ')) { дети var = document.getElementById (elems [I] .id) .childNodes; для (var iий в детях) { если (дети [I] .href! = null) { дети [I] .href = replaceNum (дети [I] .href, vtLineNum); } } } } }