    /** ***************************************************************************
     *  file: browserSniffer.js
     *  version: 1.0
     ** ************************************************************************ */
    var IE = (document.all || document.all && document.getElementById) ? true : false;
    var IE5 = (document.all && document.getElementById) ? true : false;
    var NS4 = (document.layers) ? true : false;
    var NS6 = (document.getElementById && !document.all) ? true : false;

    /** ***************************************************************************
     *  file: getMouseXY.js
     *  version: 1.0
     ** ************************************************************************ */
    if (!IE) document.captureEvents(Event.MOUSEMOVE)
        document.onmousemove = getMouseXY;

    var tempX = 0;
    var tempY = 0;
    function getMouseXY(e) {
        if (IE) { // grab the x-y pos.s if browser is IE
            tempX = event.clientX + document.body.scrollLeft;
            tempY = event.clientY + document.body.scrollTop;
        }else {  // grab the x-y pos.s if browser is NS
            tempX = e.pageX;
            tempY = e.pageY;
        }

        if (tempX < 0){tempX = 0;}
        if (tempY < 0){tempY = 0;}

        return true;
    }

    /** ***************************************************************************
     *  file: hoverHelp.js
     *  Author: Jerod Hodgkin
     *  version: 1.0
     *  copyright: JACompany. All Right Reserved
     *  description: Displays a help message in a box to the lower right of the
     *               mouse cursor.
     *  preconditions: getMouseXY.js, browserSniffer.js, hoverHelp(DIV),
     *                 hoverHelpMessage(DIV)
     *  Note: ver 1.1 Added helpOff boolean to enable/disable hoverHelp
     ** ************************************************************************ */
    var helpTimeout;
    var helpOff = false;
    function hoverDiv(divid){
        if(!helpOff){
            helpTimeout = setTimeout("showHoverHelp('" + divid + "')", 100);
        }
    }

    function hideHoverHelp(){
        if(!helpOff){
            clearTimeout(helpTimeout);
            if (true && document.getElementById('hoverDiv').style) {
                document.getElementById('hoverDiv').style.top = 0;
                document.getElementById('hoverDiv').style.left = -1000;
                document.getElementById('hoverDiv').style.visibility = "hidden";
                document.getElementById('hoverDivMessage').innerHTML = "";
            }
        }
    }

    function showHoverHelp(divid){
        var hoverDivBody = document.getElementById(divid).innerHTML;
        if (true) {
            if(hoverDivBody != null && hoverDivBody != ""){
                document.getElementById('hoverDiv').style.top = tempY + 20;
                document.getElementById('hoverDiv').style.left = tempX + 10;
                document.getElementById('hoverDiv').style.visibility = "visible";
                document.getElementById('hoverDivMessage').innerHTML = hoverDivBody;
            }else{
                document.getElementById('hoverDiv').style.top = 0;
                document.getElementById('hoverDiv').style.left = -1000;
                document.getElementById('hoverDiv').style.visibility = "hidden";
                document.getElementById('hoverDivMessage').innerHTML = "";
            }
        }
    }

    var newWin;
    function newWindow(url){
        if(!newWin || newWin.closed){
            newWin = window.open(url,'newwindow','width=750,height=500,resizable=yes,scrollbars=yes,toolbar=no,menubar=yes,statusbar=no');
        }else{
            newWin.location = url;
        }
        //newWin.moveTo(0,0);
        //mainWin.resizeTo(screen.availWidth,screen.availHeight);
        newWin.focus();
    }

    var div_owner_info = false;
    function toggleHideDiv (divId, hideDiv, hideFlag) {
        if(document.getElementById(hideDiv).innerHTML == ''){
            document.getElementById(hideDiv).innerHTML = document.getElementById(divId).innerHTML;
            document.getElementById(divId).innerHTML = '';
        }else{
            document.getElementById(divId).innerHTML = document.getElementById(hideDiv).innerHTML;
            document.getElementById(hideDiv).innerHTML = '';
        }
        hideFlag = !hideFlag;
    }

    var currentSection = "";
    var displayDiv = "display_info";
    function toggleHideDivs (divId, hideFlag) {
        // Clear the display div
        if(currentSection != ""){
            document.getElementById(currentSection + "_hide").innerHTML = document.getElementById(displayDiv).innerHTML;
            document.getElementById(currentSection + "_td").style.backgroundColor = "black";
            document.getElementById(displayDiv).innerHTML = '';
        }

        if(currentSection != divId){
            // Set the new data to the display from the new data's hide div
            document.getElementById(displayDiv).innerHTML = document.getElementById(divId + "_hide").innerHTML;
            document.getElementById(divId + "_td").style.backgroundColor = "gray";
            // Clear the new data's hide div to prevent double submisson
            document.getElementById(divId + "_hide").innerHTML = '';
            currentSection = divId;
        }else{
            currentSection = "";
        }

        // Set the current div id
        hideFlag = !hideFlag;
    }


    var done = false;
    function handleChange(URI,theForm,check){
        if(theForm == null){theForm = "forms[0]"}
        var theForm = eval("document." + theForm);
        if(!done){
            done = true;
            try{
                if(check != null || checkForm()){
                    theForm.action = URI;
                    theForm.submit();
                }else{
                    done = false;
                }
            }catch(e){
                theForm.action = URI;
                theForm.submit();
            }
        }
    }

    function handleSubmit(URI, theForm){
        if(theForm == null){theForm = "forms[0]"}
        handleChange(URI, theForm, true);
    }

