/* 

Function javascript for IE6 bug. IE6 doesn't have any :hover pseudoc class so we have to use javascript to go through the document and replace the :hover to make it work.Works for any ID that needs a hover. Call using replaceHover( element's id here ). 

*/

function replaceHover(navRoot){

	var node;
	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", "");
			}
		}
	}
}


/* Get the elements by ID here and pass them to the function to replace the hover puesdo class. */

startList = function() {

	var navRoot;
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("psgn_more_menu");
		replaceHover(navRoot);
		navRoot = document.getElementById("psgn_solutions_menu");                             
		replaceHover(navRoot);
	}

}

// Start the whole process.

window.onload=startList;