function load_images(){
      // remove from being trapped in a frame from another site
      if (window != top) top.location.href = location.href;
      // Preload images, if browser supports mouseovers

      get_browser();
      if (correct_browser == 'true') {

                graphic1on = new Image(160,32);
                graphic1on.src = "navnews2.gif";
                graphic1off = new Image(160,32);
                graphic1off.src = "navnews.gif";
                graphic1aon = new Image(160,33);
                graphic1aon.src = "navtown2.gif";
                graphic1aoff = new Image(160,33);
                graphic1aoff.src = "navtown.gif";
                graphic2on = new Image(160,13);
                graphic2on.src = "navbus2.gif";
                graphic2off = new Image(160,13);
                graphic2off.src = "navbus.gif";
                graphic3on = new Image(160,13);
                graphic3on.src = "navrec2.gif";
                graphic3off = new Image(160,13);
                graphic3off.src = "navrec.gif";
                graphic4on = new Image(160,14);
                graphic4on.src = "navdining2.gif";
                graphic4off = new Image(160,14);
                graphic4off.src = "navdining.gif";
                graphic5on = new Image(160,15);
                graphic5on.src = "navlodge2.gif";
                graphic5off = new Image(160,15);
                graphic5off.src = "navlodge.gif";
                graphic6on = new Image(160,13);
                graphic6on.src = "navfac2.gif";
                graphic6off = new Image(160,13);
                graphic6off.src = "navfac.gif";
                graphic7on = new Image(160,14);
                graphic7on.src = "navhouse2.gif";
                graphic7off = new Image(160,14);
                graphic7off.src = "navhouse.gif";
                graphic8on = new Image(160,12);
                graphic8on.src = "navoff2.gif";
                graphic8off = new Image(160,12);
                graphic8off.src = "navoff.gif";
                graphic9on = new Image(160,14);
                graphic9on.src = "navdir2.gif";
                graphic9off = new Image(160,14);
                graphic9off.src = "navdir.gif";
                graphic10on = new Image(160,31);
                graphic10on.src = "navassoc2.gif";
                graphic10off = new Image(160,31);
                graphic10off.src = "navassoc.gif";
                graphic11on = new Image(160,13);
                graphic11on.src = "navabout2.gif";
                graphic11off = new Image(160,13);
                graphic11off.src = "navabout.gif";
                graphic12on = new Image(160,14);
                graphic12on.src = "navapp2.gif";
                graphic12off = new Image(160,14);
                graphic12off.src = "navapp.gif";
                graphic13on = new Image(160,12);
                graphic13on.src = "navanews2.gif";
                graphic13off = new Image(160,12);
                graphic13off.src = "navanews.gif";
                graphic14on = new Image(160,14);
                graphic14on.src = "navmin2.gif";
                graphic14off = new Image(160,14);
                graphic14off.src = "navmin.gif";
                graphic15on = new Image(160,14);
                graphic15on.src = "navcal2.gif";
                graphic15off = new Image(160,16);
                graphic15off.src = "navcal.gif";
                graphic16on = new Image(160,32);
                graphic16on.src = "navhist2.gif";
                graphic16off = new Image(160,32);
                graphic16off.src = "navhist.gif";
                graphic17on = new Image(160,33);
                graphic17on.src = "navmaps2.gif";
                graphic17off = new Image(160,33);
                graphic17off.src = "navmaps.gif";
                graphic18on = new Image(160,33);
                graphic18on.src = "navbull2.gif";
                graphic18off = new Image(160,33);
                graphic18off.src = "navbull.gif";
                graphic19on = new Image(160,33);
                graphic19on.src = "navphoto2.gif";
                graphic19off = new Image(160,33);
                graphic19off.src = "navphoto.gif";
                graphic20on = new Image(160,35);
                graphic20on.src = "navlinks2.gif";
                graphic20off = new Image(160,35);
                graphic20off.src = "navlinks.gif";
                graphic21on = new Image(160,31);
                graphic21on.src = "navcomm2.gif";
                graphic21off = new Image(160,31);
                graphic21off.src = "navcomm.gif";
         }
         //document.write('<IMG SRC="cp.gif" NAME="cdot">')
      }

function image_on(imgName)
        {
        var imageOn;
        get_browser();
        if (correct_browser == 'true')                {
                        imageOn = eval(imgName + "on.src");
                        document [imgName].src = imageOn;
                }
        }
function image_off(imgName)
        {
        get_browser();
        var imageOff;
        if (correct_browser == 'true')
                {
                        imageOff = eval(imgName + "off.src");
                        document [imgName].src = imageOff;
                }
        }

function get_browser(){
      browser_name = navigator.appName;
      browser_version = parseFloat(navigator.appVersion);
      if (browser_name == "Netscape" && browser_version >= 3.0) { correct_browser = 'true'; }
      else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 4.0) { correct_browser = 'true'; }
      else { correct_browser = 'false'; }
}

function footer(){
   document.write('<font face="times new roman" size=2>')
   document.write('<BR><BR><BR><BR><CENTER>&copy;Copyright 2000 Rock Hill Business Association<BR> and <A HREF="http://www.osrsystems.com">OSR Web Technologies</A><P>')
}
