function hideall0(img) {
}
function showimage(img) {
   if(showing) {
      eval("document.images['" + showing + "'].src = 'images2/button_" + showing + "_off.gif'")
      document.getElementById(img +'menu').style.visibility = 'hidden'      
   }
   eval("document.images['" + img + "'].src = 'images2/button_" + img + "_on.gif'")
   if(document.getElementById(img +'menu')) {
      document.getElementById(img +'menu').style.visibility = 'visible'
   }      
   showing = img
}
function showsubimage(img) {
   eval("document.images['" + img + "'].src = 'images2/button_" + img + "_on.gif'")
}
function hideimage(img) {
   eval("document.images['" + img + "'].src = 'images2/button_" + img + "_off.gif'")
}
function hideall() {
   if(showing && showing != pagename) {
      eval("document.images['" + showing + "'].src = 'images2/button_" + showing + "_off.gif'")
   } else {
      if(showing) {
         eval("document.images['" + showing + "'].src = 'images2/button_" + showing + "_over.gif'")
      }
   }
   if(showing && document.getElementById(showing +'menu') && !subshowing) {
      document.getElementById(showing +'menu').style.visibility = 'hidden'
   }
   showing = ''
}
function showbody() {
   if(document.getElementById('onecol') && document.getElementById('onecol').offsetHeight > 503) {
       document.getElementById('body').style.height = 583
   } else {
      if(document.getElementById('onecol')) {
         document.getElementById('body').style.height = document.getElementById('onecol').offsetHeight + 40
      }
   }
   if(document.getElementById('tcol') && document.getElementById('tcol').offsetHeight > 393) {
       document.getElementById('body').style.height = 583
   } else {
      if(document.getElementById('tcol')) {
         document.getElementById('body').style.height = document.getElementById('tcol').offsetHeight + 160
      }
   }
   if(document.getElementById('timeline') && document.getElementById('timeline').offsetHeight > 393) {
       document.getElementById('body').style.height = 583
   } else {
      if(document.getElementById('timeline')) {
         document.getElementById('body').style.height = document.getElementById('timeline').offsetHeight + 160
      }
   }
   document.getElementById('body').style.visibility = 'visible'
}
function opendetail(detail) {
   eval("window.open('pop-up.php?detail=" + detail + "','detailWindow','width=600,height=650,scrollbars=yes,toolbar=no,directories=no,status=no,menubar=no')")
}
function opengallerydetail(name) {
   eval("window.open('gallery_detail.php?img=" + name + "','detailWindow','width=690,height=620,scrollbars=no,toolbar=no,directories=no,status=no,menubar=no')")
}
