//  This version is for index.html and other pages 

          var  pageOn = 0;


        function greyedOut(onPage)  {
            pageOn = onPage;

              thisBkg = document.getElementById(pageOn);
              thisBkg.className = "tab_drkbkgimg";

// to preload the dark background image it is called first
// then corrected here
//            thisColour = document.getElementById("homeLink");
//              thisColour.className = "tab_bkgimg";
            }

          function overBgcol(navLink)  {
            IdLink = navLink


            thisColour = document.getElementById(IdLink);
              thisColour.className = "tab_drkbkgimg";
            }
            

        function outBgcol(offLink)  {
            outLink = offLink

            if (outLink == pageOn)  {
                return false;
                }

              thisBkgimg = document.getElementById(outLink);
              thisBkgimg.className = "tab_bkgimg";
            }




