        var tmr1 ;
        var lastmenu = 0 ;
        var ns6 = document.getElementById&&!document.all
        var ie = document.all
        var ns_temp_text ;
        var ie_temp_text ;
        var put_var ;
        window.onerror = errormsg ;
        function errormsg(message, url, line)
        {
            amsg = "" ;
            amsg += "Error message:" + message + line ;
            alert(amsg) ;
            return true ;
        }
        var freeze = 0 ;
        function hold_text(item)
        {
            // alert ("hi") ;
            if (freeze)
            {
                freeze = 0 ;
                show_text(item) ;
            }
            else if (!freeze) freeze = 1 ;
        }
        function show_text(paragraph)
        {
            // alert("hi") ;
            if (freeze) return ;
            // if (ie)
            // {
                ie_temp_text = eval("document.all."+paragraph).innerHTML ;  // get display text
                document.all.here.innerHTML = ie_temp_text; // put into box
                ie_temp_text = 0 ;
            // }
            // else if (ns6)
            // {
            //     ns_temp_text = document.getElementById(paragraph).innerHTML ;
            //     put_var = document.getElementById("div1") ;
            //     put_var.innerHTML = ns_temp_text ;
            // }
            return(0) ;
        }
        var prev_page = 0 ;
        function update_nav(current)
        {
            // if(prev_page)
            // {
            //    reset_menus(prev_page) ;
            // }
            // prev_page = current ;
            m = document.getElementById(current);
            // prev_color = m.style.backgroundColor ;
            m.style.backgroundColor = "#FFFFCC" ;
        }
        function Menu(current)
        {
            m = document.getElementById(current);
            prev_color = m.style.backgroundColor;
            m.style.backgroundColor = "Aqua" ;
        }
        function reset_menus(current)        // from new nav_test nav
        {
            m = document.getElementById(current);
            m.style.backgroundColor = prev_color ;
        }
        function Erase(current) // old erase from nav_test
        {
            // alert(current) ;
            // if(!document.getElementById) return ;
            // if (inmenu && lastmenu==current) return ;
            m = document.getElementById("menu-"+current);
            m.style.backgroundColor="Silver";
            box = document.getElementById(current) ;
            box.style.visibility = "hidden" ;
        }
        window.onerror = errormsg ;
        var prev_color;
        function load_up(temp)
        {
            // parent.left_nav.location='nav_home.htm';
            switch(temp)
            {
                case '1A':  //  HOME
                    window.location='index.htm';
                    update_nav('1A');
                break;
                case '1B':  //  OVERVIEW
                    window.location='p_over.htm';
                    update_nav('1B');
                break;
                case '1J':  //  ABOUT
                    window.location='a_about.htm';
                    update_nav('1J');
                break;
                case '1I':  //  CLIENT PORTFOLIO
                    window.location='d_portf.htm';
                    update_nav('1I');
                break;
                case '1G':  //  MANUFACTURING
                    window.location='m_fab.htm';
                    update_nav('1G');
                break;
                case '1F':  //  SYSTEM SPECIFICATIONS
                    window.location='d_specs.htm';
                    update_nav('1F');
                break;
                case '1E':  //  EMBEDDED SOFTWARE
                    window.location='e_engin.htm';
                    update_nav('1E');
                break;
                case '1D':  //  CONTRACT MANAGEMENT
                    window.location='p_contr.htm';
                    update_nav('1D');
                break;
                case '1C':  //  PROJECT MANAGEMENT
                    window.location='p_proj.htm';
                    update_nav('1C');
                break;
           }
       }
       function Highlight(menu, item)
       {
           var temp ;
           window.clearTimeout(tmr1);
           lastmenu = menu ;
           temp = document.getElementById(item);
           temp.style.backgroundColor = "Aqua";
       }
       function UnHighlight(menu, item)
       {
           var temp;
           temp = document.getElementById(item);
           temp.style.backgroundColor = "Silver";
           tmr1 = window.setTimeout("Erase('" + lastmenu + "');",500) ;
       }
       function h_box_clear(current)
       {
           m = document.getElementById("menu-"+current);
           m.style.backgroundColor = prev_color ;
       }
       function e_time(current)
       {
           tmr1 = window.setTimeout("Erase('" + current + "');",200) ;
       }
       function Erase(current)
       {
           m = document.getElementById("menu-"+current);
           m.style.backgroundColor="Silver";
           box = document.getElementById(current) ;
           box.style.visibility = "hidden" ;
       }
