function activate() { el = event.srcElement; if (el.getAttribute("HIGHLIGHT") != null) { el.className = "active"; window.setTimeout("window.status='Done'",1); } else { if (el.tagName == 'IMG') { window.setTimeout("window.status='Done'",1); } } } function deactivate() { el = event.srcElement; if (el.getAttribute("HIGHLIGHT") != null) { el.className = "inactive"; window.clearTimeout(); } else { if (el.tagName == 'IMG') { window.clearTimeout(); } } } function StatusUpdate() { el = event.srcElement; if (el.getAttribute("HIGHLIGHT") != null) { window.status = 'Done'; return true; } } function StatusOnLoad() { alert("2ooo"); window.defaultStatus = 'Hello'; return true; } function printfriendly() { var strURL = (window.location) + " " strURL = strURL.substring(0, strURL.length-5); strURL = strURL + "_content.htm" strURL = "/rootincludes/utilities/printfriendly.asp?Loc=" + strURL window.open(strURL,'popprintfriendly','width=580,height=350,resizable=yes,scrollbars=yes,top=0,menubar=yes,status=no,toolbar=yes,location=no'); } function popwin(strURL) { window.open(strURL,'popwin','width=750,height=500,resizable=yes,scrollbars=yes,left=100,top=100,menubar=yes,status=yes,toolbar=yes,location=no'); } function enclosingTR(elem){ while (elem.tagName!="TR") { elem=elem.parentElement; if (elem==null) return null; } return elem; } function jumpIt(){ elem=enclosingTR(event.srcElement) tds=elem.children.tags("TD") for (i=0;i<2;i++) { if (tds(i).children.tags("A").length>0) { a=tds(i).children.tags("A")(0).href top.document.location.href=a break; } } } function colorIt(clr){ elem=enclosingTR(event.srcElement) tds=elem.children.tags("TD") for (i=0;i<2;i++) { if (clr!="") { tds(i).setAttribute("oldColor",tds(i).getAttribute("bgColor")) tds(i).setAttribute("bgColor",clr) } else tds(i).setAttribute("bgColor",tds(i).getAttribute("oldColor")) } } document.onmouseover = activate; document.onmouseout = deactivate; document.onclick = StatusUpdate; window.defaultStatus = 'Done';