window.onload = function() {
	if (typeof(localInit) == 'function') localInit()
	var meniu = document.getElementById('meniu')
	var arr = meniu.getElementsByTagName('ul')
	for (var i=0; i<arr.length; i++) {
		//arr[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/menu_round_left.png')";
		var li = arr[i].parentNode
		li.submenu = arr[i]
		li.onmouseover = function () {
			this.submenu.style.display = 'block'
			this.hover = true}
		li.onmouseout = function () {
			var t = this
			t.hover = false
			setTimeout(function(){if (!t.hover) t.submenu.style.display = 'none'},100)}}}
