var msg = "Copyright \u00A9 1998-2010 Mauro Luis Devin Campagnoli.\n\nTutti i diritti sono riservati. \u00C8 vietata la riproduzione di testi, immagini, musica e suoni. Per ulteriori informazioni leggere la pagina sul copyright: Menu principale > Info > Copyright.";
if (navigator.appName=="Microsoft Internet Explorer"){
	function NOclickIE(e) {
		if (event.button == 2 || event.button == 3) { alert(msg); return false }
		return true;
	}
	document.onmousedown=NOclickIE; document.onmouseup=NOclickIE; window.onmousedown=NOclickIE; window.onmouseup=NOclickIE
}
else {
	function NOclickNN(e){
		if (document.layers||document.getElementById&&!document.all){
			if (e.which==2||e.which==3){ alert(msg); return false }
		}
	}
	if (document.layers){
		document.captureEvents(Event.MOUSEDOWN); document.onmousedown=NOclickNN
	}
	document.oncontextmenu=new Function("alert(msg);return false")
}
function bmSite(){
	var title = document.title + " (Pygmies.Org)"
	var url = document.URL
	if (window.sidebar && window.sidebar.addPanel) {
		window.sidebar.addPanel(title,url,"")
	} else if(document.all) {
		window.external.AddFavorite(url,title)
	} else if (window.opera && window.print) {
	} else if (navigator.appName=="Netscape") {
		alert("Fai click su OK, poi premi <Ctrl-D> per salvare questa pagina tra i preferiti.")
	}
}
menuHover = function() {
	var cssRule;
	var newSelector;
	for (var i = 0; i < document.styleSheets.length; i++)
		for (var x = 0; x < document.styleSheets[i].rules.length ; x++)
			{
			cssRule = document.styleSheets[i].rules[x];
			if (cssRule.selectorText.indexOf("LI:hover") != -1)
			{
				 newSelector = cssRule.selectorText.replace(/LI:hover/gi, "LI.iehover");
				document.styleSheets[i].addRule(newSelector , cssRule.style.cssText);
			}
		}
	var getElm = document.getElementById("menu_nav").getElementsByTagName("LI");
	for (var i=0; i<getElm.length; i++) {
		getElm[i].onmouseover=function() {
			this.className+=" iehover";
		}
		getElm[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", menuHover);
