/**
   * This is the dynamic menu script for Mummybot.com.
   *
   * @package Mummybot
   * @author Francis Saul <www.mummybot.com>
   * @version 2006-12-29
   
   * @change log
   
*/
startList = function() {
  MM_preloadImages('images/bak-menu.png')
  if (document.all&&document.getElementById) {
    // CSS :hover emulators for lte IE 6
    liAry = document.getElementById("mainNav").getElementsByTagName("li")
    for (i=0; i<liAry.length; i++) {
      node = liAry[i]
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over"
        }
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "")
        }
	  }
    }
	
	// This performs button hover action on IE 6
    buttonsAry = document.getElementsByTagName("input")
    for (i=0; i<buttonsAry.length; i++) {
      node = buttonsAry[i]
      if (node.className=="button") {
        node.onmouseover=function() {
          this.className+=" over"
        }
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "")
        }
	  }
    }
  }
}
window.onload=startList

function MM_preloadImages() { //v3.0 Courtesy of Adobe Dreamweaver
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}