// onresize for ns4
var origWidth, origHeight;
if (document.layers) {
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
}

var cur_item;	// holds id of currently visible layer
function swapLayers(id) {
  if (cur_item) hideLayer(cur_item);
  showLayer(id);
  cur_item = id;
}

function showLayer(id) {
  var item = getElemRefs(id);
  if (item && item.css) item.css.visibility = "visible";
}

function hideLayer(id) {
  var item = getElemRefs(id);
  if (item && item.css) item.css.visibility = "hidden";
}

function getElemRefs(id) {
	var el = (document.getElementById)? document.getElementById(id): (document.all)? document.all[id]: (document.layers)? document.layers[id]: null;
	if (el) el.css = (el.style)? el.style: el;
	return el;
}


startList = function() {
if (document.all&&document.getElementById) {
linkRoot0 = document.getElementById("moreinfo0");
linkRoot1 = document.getElementById("moreinfo1");


for (i=0; i<linkRoot0.childNodes.length; i++) {
node = linkRoot0.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+="over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace("over", "");
   }
   }
  }


for (i=0; i<linkRoot1.childNodes.length; i++) {
node = linkRoot1.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 to allow multiple onload functions to be called
 function multipleOnload()
 {
 swapLayers('item1');
 startList();
 }
 window.onload = multipleOnload;
 // end function
