// JavaScript Document

// Show Hide Main Navigation
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		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", "");
				}
			}
		}
	}
}

// Show Hide Mini Shopping Bag
sHover = function() {
	if (document.all&&document.getElementById) {
		navRt = document.getElementById("miniBag");
		for (i=0; i<navRt.childNodes.length; i++) {
			node = navRt.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}


tHover = function() {
	if (document.all&&document.getElementById) {
		navCt = document.getElementById("zipCodePopUp");
		for (i=0; i<navCt.childNodes.length; i++) {
			node = navCt.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=function(){
	sHover();
	tHover();
	startList();
}