var noDHTML = false; if (parseInt(navigator.appVersion) < 4) { window.event = 0; noDHTML = true; } else if (navigator.userAgent.indexOf("MSIE") > 0 ) { noDHTML = true; } if (document.body && document.body.addEventListener) { document.body.addEventListener("click",maybeclosepopup,false); } //setTimeout('location.reload()',900000); function closepopup() { var p = document.getElementById("popup"); if (p && p.parentNode) { p.parentNode.removeChild(p); } } function maybeclosepopup(e) { var n = e.target; var close = true; while(close && n && (n != document)) { close = (n.id != "popup") && !(n.tagName && (n.tagName.toLowerCase() == "a")); n = n.parentNode; } if (close) closepopup(); } function who(d) { if (noDHTML) { return true; } if (typeof document.layers != 'undefined') { var l = document.layers['popup']; l.src = d.target.href; l.top = d.target.y - 6; l.left = d.target.x - 6; if (l.left + l.clipWidth > window.width) { l.left = window.width - l.clipWidth; } l.visibility="show"; } else { var t = d.target; while (t.nodeType != 1) { t = t.parentNode; } closepopup() l = document.createElement("iframe"); l.setAttribute("src", t.href); l.setAttribute("id", "popup"); l.className = "who"; t.appendChild(l); } return false; } function log_url(report_id) { return "display_report.pl?report_id=" + report_id; } function comment(d,commentid,logfile) { if (noDHTML) { document.location = log_url(logfile); return false; } if (typeof document.layers != 'undefined') { var l = document.layers['popup']; l.document.write("
| " + comments[commentid] + " |
| "
+ builds[buildindex] + " " + "View Brief Log " + "View Full Log " + "Add a Comment" + " |