function dBug_toggleRow(source) { target=(document.all) ? source.parentElement.cells[1] : source.parentNode.lastChild dBug_toggleTarget(target,dBug_toggleSource(source)); } function dBug_toggleSource(source) { if (source.style.fontStyle=='italic') { source.style.fontStyle='normal'; source.title='click to collapse'; return 'open'; } else { source.style.fontStyle='italic'; source.title='click to expand'; return 'closed'; } } function dBug_toggleTarget(target,switchToState) { target.style.display=(switchToState=='open') ? '' : 'none'; } function dBug_toggleTable(source) { var switchToState=dBug_toggleSource(source); if(document.all) { var table=source.parentElement.parentElement; for(var i=1;i