/* Suckerfish Dropdowns ; original version by Patrick Griffiths et Dan Webb. */
/* $Id: domhtml.js,v 1.7 2004/04/29 14:25:12 epietrig Exp $ */
startList=function() {
  if (document.all&&document.getElementById) {
    navRoot=document.getElementById("mainMenu");
    navRoot2=document.getElementById("memberMenu");
    if (navRoot){
      for (i=0;i<navRoot.childNodes.length;i++) {
	node=navRoot.childNodes[i];
	if (node.nodeName=="LI" || node.nodeName=="li") {
	  node.onmouseover=function() {
	    this.className+=" over";
	  }
	  node.onmouseout=function() {
	    this.className=this.className.replace(" over", "");
	  }
	}
      }
    }
    if (navRoot2){
      for (j=0;j<navRoot2.childNodes.length;j++) {
	node2=navRoot2.childNodes[j];
	if (node2.nodeName=="LI" || node2.nodeName=="li") {
	  node2.onmouseover=function() {
	    this.className+=" over";
	  }
	  node2.onmouseout=function() {
	    this.className=this.className.replace(" over", "");
	  }
	}
      }
    }
  }
}
window.onload=startList;
