startList = function() {
	navRoot = document.getElementById("nav");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName=="LI") {
			if (node.id != "SearchBarHolder") {
				node.onmouseover=function() {
					this.className+="over";
					hideFormInputElements(new Array("#nav", ".ProductImageThumbnailContainer"));
				}
				node.onmouseout=function() {
					this.className=this.className.replace("over", "");
					showFormInputElements();
				}
			}
		}
	}
}

window.onload = startList;

/* Begin PIR 102289 - Left Nav / no Left Nav Test Anniversary Links Test */
jQuery.fn.pseudoDropdown = function () {

    /* get the dropdown elements */
    var defaultText = $(this).find("#defaulttext");
    var dropdownElements = $(this).find("ul");
    var selectedElement = $(this).find("#selectedDropdownItem");

    /* hide dropdown elements initially */
    dropdownElements.hide();

    /* attach onClick event to selected Country */
    $(this).find("#selectedDropdownItem").click(function () {
        dropdownElements.toggle();
        return false;
    });

    /* attach onClick to each of dropdownElements */
    dropdownElements.find("li").each(function () {
        $(this).bind("click", function () {
            /* Clicking any of the li should hide the drop down. */
            dropdownElements.hide();
        });
    });
}

/* End PIR 102289 - Left Nav / no Left Nav Test Anniversary Links Test Links Test */


