var IE6 = navigator.appVersion.indexOf("MSIE 6") != -1; var idToHideOnClick_; function get(id) { return document.getElementById(id); } function setLocByEvent(event, obj, xoff, yoff) { if (xoff == null) xoff = 0; if (yoff == null) yoff = 0; obj.style.left = ((event.x == null ? event.pageX : event.x+document.body.scrollLeft) + 10 + xoff) + "px"; obj.style.top = ((event.y == null ? event.pageY : event.y+document.body.scrollTop) + yoff) + "px"; } function changePage(key, args) { args = args == null ? "" : "?" + args; form_.action = urlStart_ + "/" + key + args; form_.submit(); form_.target = null; } function call(meth, args) { if (args == null) args = ""; changePage(pageKey_ + "." + meth + "?" + args); } function nada() { } function submitToInnerFrame() { form_.target=hiddenFrameName_; } function setInnerFrameLoc(loc, w, h, x, y) { submitToInnerFrame(); setInnerFrameDim(w, h, x, y); sub.location=loc; form_.target = null; } function setInnerFrameDim(width, height, left, top) { var p = get(hiddenFrameName_); p.style.display=''; p.style.width=width + "px"; p.style.height=height + "px"; //if it's -1, then we just center the frame on the page if (left == -1) left = (document.body.clientWidth/2) - (width/2); if (top == -1) top = (document.body.clientHeight/2) - (height/2) + document.body.scrollTop; p.style.top = top + "px"; p.style.left = left + "px"; } function closeIFrame() { var o = parent.document.getElementById(hiddenFrameName_); if (o == null) return false; if (o.style.display == 'none') return false; o.style.display='none'; o.location='/blank.html'; return true; } function hide(id) { if (id == null) return; var o = get(id); if (o == null) return; o.style.display="none"; } function show(id) { var o = get(id); if (o == null) return; o.style.display=""; } function showTip(event, msg, xoff, yoff) { if (msg == null || msg == "") return; var div = get("tooltip"); div.innerHTML = "
| " + msg + " |