execOnLoad = function() {
	updateContentForNav();
	an_StartList();
	// Back/Forward remedy for javascript-controlled tabs.
	if (window.location.href.match('/products/server/') || window.location.href.match('/products/vi/')) {
	   return pollHash();
	}
}

execNow = function() {
 updateContentForNav();
}

window.onload=execOnLoad;

// ------------------------------------------------------------------------- \\

function updateContentForNav() {
  if (document.getElementById("secondary_navigation")) {
    var cw = document.getElementById("content-wrapper");
	if(cw && cw.style) {
		cw.style.marginRight = "200px";
		if (!cw.attributes["id"].value) { cw.style.width = "100%"; } /* IE 5.5 needs this also */
	};
  }
}

function an_StartList() {
	if (document.all&&document.getElementById && !window.opera) {
		navRoot = document.getElementById("menu");
		if (navRoot) {
			for (i=0; i<navRoot.childNodes.length; i++) {
				node1 = navRoot.childNodes[i];
				if (node1.nodeName=="UL") {
					for (j=0; j<node1.childNodes.length; j++) {
						node2 = node1.childNodes[j];
						if (node2.nodeName=="LI") {
							node2.onmouseover=function() {
							this.className+=" over";
							}
							node2.onmouseout=function() {
							this.className=this.className.replace(" over", "");
							}
						}
					}
				} 
			} 
		}
	} 
}