// ALWAYS INCLUDE THIS JAVASCRIPT PAGE // This is required for help and for managing pop up windows. // Replica id number of the TEAM ROOM Help Database var hdb = ("/__80256AF400421FBC.nsf/webhelp/") // Function showhelp - builds url and displays requested help. // parameters passed are document name (helpkey) and helpytpe - window, iframe - standard // or iframe pop up. function showhelp(helpkey,helptype) { // variables bod and pop control visibility of iframes var bod = document.all.bodyframe.style var pop = document.all.popframe.style switch (helptype) { case "window": // var hdb = ("/__80256AAB004D5915.nsf/keywords/") // Replica id number of the TEAM ROOM Help Database var hdb = ("/__80256AF700372C5B.nsf/webhelp/") windowOpener(hdb + helpkey + '?openDocument','secondary_window','toolbar=no,location=no,scrollbars=auto,directories=no,height=450,width=550') break case "iframe": // var hdb = ("/__80256AAB004D5915.nsf/keywords/") // Replica id number of the TEAM ROOM Help Database var hdb = ("/__80256AF700372C5B.nsf/keywords/") if (pop.visibility == "visible") { pop.visibility = "hidden" } document.all.heads.src = (hdb + helpkey + '?openDocument') document.all.bodyframe.style.visibility = "visible" break case "pop": // var hdb = ("/__80256AAB004D5915.nsf/popindex/") // Replica id number of the TEAM ROOM Help Database var hdb = ("/__80256AF700372C5B.nsf/popindex/") if (bod.visibility == "visible") { bod.visibility = "hidden" } document.all.pops.src = (hdb + helpkey + '?openDocument') document.all.popframe.style.visibility = "visible"} } // Function hidehelp - hides all iframes. function hidehelp() { // variables bod and pop control visibility of iframes var bod = document.all.bodyframe.style var pop = document.all.popframe.style if (bod.visibility == "visible") { bod.visibility = "hidden" } if (pop.visibility == "visible") { pop.visibility = "hidden" } } // Managing Javascript popup windows // Checks to see if a popup window already displayed - if so use it. // Concludes by displaying window function windowOpener(url, name, args) { if (typeof(popupWin) != "object"){ popupWin = window.open(url,name,args); } else { if (!popupWin.closed){ popupWin.location.href = url; } else { popupWin = window.open(url, name,args); } } popupWin.focus(); }