<script type="text/javascript">
	function initTransparentMainnav() {
		if (!pngAlpha) return;
		mainnav = document.getElementById("main_menu");
		temp = mainnav.firstChild;
		while (temp.tagName != "DIV" && temp.tagName != "UL") temp = temp.nextSibling;
		templis = temp.getElementsByTagName("LI");
		for (i = 0; i < templis.length; ++i) {
			if (templis[i].parentNode.parentNode == temp || templis[i].parentNode == temp) {
				templis[i].a = templis[i].getElementsByTagName("A")[0];
				if (templis[i].className == "active")
					templis[i].a.path = 'Themes/trans-bg2';
				else
					templis[i].a.path = 'Themes/trans-bg';
					templis[i].a.layerObject = templis[i].a.style;
					templis[i].a.setBackground = od_object_setBackground;
					templis[i].a.setBackground();
			}
		}

		initTransparentSubnav();
	}

	function initTransparentSubnav() 
	{
		if (!pngAlpha) return;
		subnav = document.getElementById("sub_menu");
		temp = subnav.firstChild;
		while (temp.tagName != "DIV" && temp.tagName != "UL") temp = temp.nextSibling;
		templis = temp.getElementsByTagName("LI");
		for (i = 0; i < templis.length; ++i) {
			if (templis[i].parentNode.parentNode == temp || templis[i].parentNode == temp) {
				templis[i].a = templis[i].getElementsByTagName("A")[0];
				if (templis[i].className == "active")
					templis[i].a.path = 'Themes/trans-bg';
				else
					templis[i].a.path = 'Themes/trans-bg2';
					templis[i].a.layerObject = templis[i].a.style;
					templis[i].a.setBackground = od_object_setBackground;
					templis[i].a.setBackground();
			}
		}
	}

	//~ jaAddEvent( window, 'load', initTransparentMainnav );
</script>