startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menu");
		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", "");
			}
		}
	}
	
	}

	if (document.all&&document.getElementById) {
		navRoot1 = document.getElementById("submenu1");
		for (i=0; i<navRoot1.childNodes.length; i++) {
			node = navRoot1.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
				this.className+=" over";
			}
				node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
			}
		}
		}
		navRoot2 = document.getElementById("submenu2");
		for (i=0; i<navRoot2.childNodes.length; i++) {
			node = navRoot2.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
				this.className+=" over";
			}
				node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
			}
		}

		}
		navRoot3 = document.getElementById("submenu3");
		for (i=0; i<navRoot3.childNodes.length; i++) {
			node = navRoot3.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
				this.className+=" over";
			}
				node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
			}
		}

		}
		navRoot8 = document.getElementById("submenu8");
		for (i=0; i<navRoot8.childNodes.length; i++) {
			node = navRoot8.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
				this.className+=" over";
			}
				node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
			}
		}

		}


	
	}
}

popupcomp = function(url,descrizione) {

window.open(url, resizable=1,width=432,height=270,toolbar=0,scrollbars=0,screenX=200,screenY=200,left=100,top=100);	
}


jQuery(function($) {
	$(document).ready(function(){ 
		/*PATCH RISOLUZIONE TRASPARENZA PNG24*/
		if (document.getElementById("titolo") != null) {
		$("img#titolo").remove();
		if (browser.isIE7lt) {
			$("div#header").append('<img id="titolo" src="/img/transparent.png" alt="Menu" style = "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src=/img/img-titolo24.png);" />');
		} else {
			$("div#header").append('<img id="titolo" src="/img/img-titolo24.png" alt="Menu" />');
		}}
		startList();
	});
});
