/*

var menu_ids = ['', ''];

*/

// functions for google map
startList = function() {
//	alert(        typeof(menu_ids) )      ;
	
	if (typeof(menu_ids) == 'object') {
		for (var i=0; i<menu_ids.length; i++){
			startList2(menu_ids[i]);
		}
	} else {
		startList2('nav');
	}
}
startList2 = function(aid) {
  if (document.all&&document.getElementById) {
    navRoot = document.getElementById(aid);
    for (i=0; i<navRoot.childNodes.length; i++) {
      node = navRoot.childNodes[i];
      if (node.nodeName.toLowerCase()=="li") {
        node.onmouseover=function() {
          this.className+=" over";
        }
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "");
        }
    }
    }
  }
}
{
var obj = window;
var type = 'load';
if (obj.addEventListener) {
	obj.addEventListener(type, startList, false);
}
if (obj.attachEvent) {
	obj.attachEvent("on" + type, startList)
}
}

