// JavaScript Document

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;
//
function showText(whichpic) {
  var text = whichpic.getAttribute("title");
  var description = document.getElementById("description2");
  description2.firstChild.nodeValue = text;
}
function hideText(whichpic) {
  var text = whichpic.getAttribute("empty");
  var description = document.getElementById("description2");
  description2.firstChild.nodeValue = text;
}
function showPic(whichpic) {
  var source = whichpic.getAttribute("href");
  var placeholder = document.getElementById("placeholder");
  placeholder.setAttribute("src",source);
}

