function popUp(winURL) {
	window.open(winURL,"popup","width=320,height=320,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no");
}

window.onload = function(e) {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("mainlist");
		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", "");
   				}
   			}
  		}
 	}
    if(document.getElementById("maps")) {
		var data = document.getElementById("center");

		var lnks = data.getElementsByTagName("a");
//		alert(typeof lnks);

		for (n = 0; n < lnks.length; n++) {
//			alert(lnks.length);
			lnks[n].onclick = function() {
				popUp(this.getAttribute("href"));
				return false;
			}
		}
//		alert(lnks.length);
//		alert(typeof data);
//		alert(typeof document.getElementById("center")); 
		
	}
}