var row= document.getElementById(row.id);
var elems = row.getElementsByTagName('*');
var r = explodeArray(row.id, "_");
var vtLineNum = Number(r[1]);
var vtName = r[0];
for(var i in elems)
{
if(elems!=null && elems[i]!=null && elems[i].id!=null && elems[i].id!='')
{
document.write(elems[i].name+"<br>");
elems[i].id = replaceNum(elems[i].id, vtLineNum);
if(elems[i].name !=null && elems[i].name !='')
{elems[i].name = replaceNum(elems[i].name, vtLineNum);}
if(elems[i].id.match("div"+vtName+'_'))
{
var children = document.getElementById(elems[i].id).childNodes;
for(var i in children)
{
if(children[i].href != null)
{
children[i].href = replaceNum(children[i].href, vtLineNum);
}
}
}
}
}
|