function mainMenu()
          {
            if (document.getElementById)
              var x = document.getElementById('menu').getElementsByTagName('IMG');
            else if (document.all)
              var x = document.all['menu'].all.tags('IMG');
            else return;
            var preloads = new Object();
            for (var i=0;i<x.length;i++)
            {
            var check = x[i].id;
            if (check != "") {
              preloads['n'+x[i].id] = new Image;
              preloads['n'+x[i].id].src = '/img/menu/'+ x[i].id + '.gif';
              preloads['o'+x[i].id] = new Image;
              preloads['o'+x[i].id].src = '/img/menu/'+ x[i].id + '_roll.gif';
              }
            else { }
              x[i].onmouseover = function () {this.src=preloads['o'+this.id].src;}
              x[i].onmouseout = function () {this.src=preloads['n'+this.id].src;}
            }
          }



function showGallery() {      document.getElementById('gallery').style.display = "block"; }
function hideGallery() {      document.getElementById('gallery').style.display = "none"; }



