nsl4 = (document.layers)? true:false;
iel4 = (document.all)? true:false;
w3c = (document.getElementById && !iel4)? true:false;
// Show/Hide functions for non-pointer layer/objects
function show(myID) {
    if (nsl4) document.layers[myID].visibility = "show";
    else if (iel4) document.all[myID].style.visibility = "visible";
    else if (w3c) document.getElementById(myID).style.visibility = "visible";
}
function hide(myID) {
    if (nsl4) document.layers[myID].visibility = "hide";
    else if (iel4) document.all[myID].style.visibility = "hidden";
    else if (w3c) document.getElementById(myID).style.visibility = "hidden"; 
}
function defaultWindowFeatures( width, height, left, top ) {
return "screenX=" + left + ",left=" + left + ",screenY=" + top + ",top=" + top
+ ",innerWidth=" + width + ",width=" + width + ",innerHeight=" + height + ",height=" + height 
+ ",menubar=no,directories=no,location=no,resizable=yes,scrollbars=yes,status=no,titlebar=yes,toolbar=no";
/* change the features on the line above as desired */
}
function openRiggsWin(bookmark) {
var url =  "Managing_Payment_Risks.htm#"+bookmark;
var newwindow;
/* for "defaultWindowFeatures()," add the width and height, then the left and top position of the new window*/
newwindow = window.open("", "riggsArticle", defaultWindowFeatures(550,400,165,65) + ",scrollbars=yes");
newwindow.location=url;
newwindow.focus();
return;
}
