// 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", "");
   }
   }
  }
 }
}

function d(id) {
    if (document.getElementById(id).style.display == 'block') {
		document.getElementById(id).style.display = 'none';
    	} else {
		document.getElementById(id).style.display = 'block';
    	}
    }
	
function tab(tabId, alternate) {
var x;
var altId = alternate.split(',');
for (x in altId) {
document.getElementbyId(altId[x]).style.display = 'none';
}
document.getElementbyId(altId[x]).style.display = 'block';
}

window.onload=startList;