document.write('<link href="css/javascript.css" rel="stylesheet" type="text/css" media="all" />');

var productThumbClicked = false;

startList = function() {
	navRoot = document.getElementById("main_menu");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (document.all&&document.getElementById) {
			if (node.nodeName == "LI") {
				node.onmouseover = function() {
					this.className += " over";
				}
				node.onmouseout = function() {
					this.className = this.className.replace(" over", "");
				}
			}
		}
		for (j=0; j<node.childNodes.length; j++)
		{
			DivNode = node.childNodes[j];
			if (DivNode.nodeName == "DIV") {
				DivNode.style.width = node.offsetWidth + 'px';
			}
		}
	}
}
window.onload = startList;