    //verify that client has enabled popup disclaimer enablepopup
function popUpDisclaimer() {
    window.onload = function() {
        //RH: 07/17/2009 - 98581 - Moved code into external function and then call it
        checkPopupLinks();
    }
    function openPopUp(linkURL) {
        //RH: 07/17/2009 - 98581 - Removed small window size
        window.open(linkURL, 'popup', config = "resizable=yes, toolbar=yes, scrollbars=yes, menubar=yes, location=yes, status=1");
    }

    //RH: 07/17/2009 - 98581 - Copied from above
    //RH: 06/15/2010 - 112814 - Moved function inside of popUpDisclaimer function
    function checkPopupLinks() {
        // create an array of objects of each link in the document
        var popuplinks = document.getElementsByTagName("a");
        // loop through each of these links (anchor tags)
        for (var i = 0; i < popuplinks.length; i++) {
            //set temp variable to link and set as datatype string
            var temp = popuplinks[i].getAttribute("href").toString();
            //compare temp to domains to check for the w-w-i-s.com domain will always stay
            //the other domain will need changed on a client by client basis to reflect the
            //domain that they are using
            //add links to if statements below if these do not cover all valid links
            //second if uses current domain for comparison to links on page
            //RH: 07/09/2009 - Using regex to find w-w-i-s.com
            /*
            if ((temp.toLowerCase().substring(0, 12) != "/w-w-i-s.com") && (temp.toLowerCase().substring(0, 23) != "https://www.w-w-i-s.com")) {*/
            var re = /(\.|\\|\/|^)(?:w-w-i-s.com)(\\|\/|$)/i;
            if (!temp.match(re)) {
                if (temp.toLowerCase().substring(0, (clientDomain.length)) != clientDomain.toLowerCase().substring(0, (clientDomain.length))) {
                    if (temp.toLowerCase().substring(0, 22) != "javascript:popupmenu1(") {
                        // add an onclick event dynamically to pass the href attribute
                        // of the link to our second function, openPopUp
                        popuplinks[i].onclick = function() {
                            alert(disclaimerMsg);
                            openPopUp(this.getAttribute("href"));
                            return false;
                        }
                    }
                }
            }
        }
    }
}

//RH: 07/17/2009 - 98581 - Use this function if multiple functions needed for window.onload
/*************************************************************
* Window Onload Manager (WOM) v1.0
* Author: Justin Barlow - www.netlobo.com
*
* Description:
* The WOM library of functions allows you to easily call
* multiple javascript functions when your page loads.
*
* Usage:
* Add functions to WOM using the womAdd() function. Pass the
* name of your functions (with or without parameters) into
* womAdd(). Then call womOn() like this:
*     womAdd('hideDiv()');
*     womAdd('changeBg("menuopts","#CCCCCC")');
*     womOn();
* WOM will now run when your page loads and run all of the
* functions you have added using womAdd()
*************************************************************/
/*************************************************************
* The womOn() function will set the window.onload function to
* be womGo() which will run all of your window.onload
* functions.
*************************************************************/
function womOn(){
  window.onload = womGo;
}
/*************************************************************
* The womGo() function loops through the woms array and
* runs each function in the array.
*************************************************************/
function womGo(){
  for(var i = 0;i < woms.length;i++)
    eval(woms[i]);
}
/*************************************************************
* The womAdd() function will add another function to the woms
* array to be run when the page loads.
*************************************************************/
function womAdd(func){
  woms[woms.length] = func;
}
/*************************************************************
* The woms array holds all of the functions you wish to run
* when the page loads.
*************************************************************/
var woms = new Array();
