function last(href) { var ret = href.split("/"); return ret[ret.length-1]; } function StopProcess() { LeftFrame = parent.TOC.document.location.href; LeftFrame = last(LeftFrame); if (LeftFrame == "dhtml_search.htm") return 1 else return 0; } function highlightTOC(str) { if (StopProcess()) return; try { str = str || parent.BODY.document.location.href; uri = last(str); list = parent.TOC.document.getElementsByTagName("a"); for(i=0; i