with (document) { try { write("<div id=\"helpPnl\" style=\"display:none;padding:6px;z-index:1000;position:absolute;background-color:#fffdcd;width:200px;border:solid 1px #000000;\">"); write("<div style=\"text-align:left;font-weight:bold;\"><\/div>"); write("<div style=\"text-align:left;padding-top:4px;\"><\/div>"); write("<div style=\"padding:3px 0 3px 0;\"><span style=\"text-decoration:underline; cursor:pointer;\" onclick=\"javascript:void HideHelp();\">close<\/span><\/div>"); write("<\/div>") } catch (e) { } } var helpInt; function ShowHelp(e, headline, content) { try { var p = document.getElementById('helpPnl'); if (p) { p.childNodes[0].innerHTML = decodeURI(headline); p.childNodes[1].innerHTML = decodeURI(content); p.style.display = "block"; var pos = GetPosition(e); pos.y = pos.y - p.offsetHeight - (e.offsetHeight / 2); pos.x = pos.x + e.offsetWidth; p.style.top = pos.y + "px"; var ww = window.innerWidth; if (document.body.clientWidth) ww = document.body.clientWidth; if (document.documentElement.clientWidth) ww = document.documentElement.clientWidth; if (pos.x + p.offsetWidth >= ww) pos.x = pos.x - e.offsetWidth - p.offsetWidth; p.style.left = pos.x + "px"; if (helpInt != null) window.clearTimeout(helpInt); helpInt = window.setTimeout("HideHelp()", 20000) } } catch (e) { } } function HideHelp() { try { var p = document.getElementById('helpPnl'); if (p) p.style.display = "none"; helpInt = null } catch (e) { } } if (typeof (Sys) !== undefined) Sys.Application.notifyScriptLoaded();
