// JavaScript Document
	init = function() {
	  startList("nav");
	 // newTarget();

	}
	startList = function(id) {
		if (document.all&&document.getElementById) {
			navRoot = document.getElementById(id);
			if (!navRoot){
				return;
			}
			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", "");
					}
				}
			}
		}
	}
	
	newTarget = function(){
	// Fetch all the a elements in the document.
		var links = document.getElementsByTagName('a');		

		// Loop through the a elements in reverse order
		// for speed.
		for (var i = links.length; i != 0; i--) {
			
			// Pull out the element for this iteration.
			var a = links[i-1];
			
			// If the element doesn't have an href, skip it.
			if (!a.href) continue;

			// If the element has a className that contains
			// 'external' attach the new target.
			//A second className can be used to target a specific window name instead of "new"
			if (a.className && a.className.indexOf('external') != -1){
				var target = a.className
				target = target.replace("external", "");
				target = target.replace(" ", "");
				if (target == ""){
					target = "_blank"
				}
				a.target = target;
			}
		}	
	}
		
window.onload = init;

