<!--
function popup(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function zoom(theURL) { //v2.0
  window.open(theURL,'zoom','width=200,height=200,scrollbars=no,resizable=yes');
}

function displayOff(nr){
	if (document.getElementById)
   	document.getElementById(nr).style.display = 'none';
   else if (document.all)
   	document.all[nr].style.display = 'none';
}
function displayOn(nr){
	if (document.getElementById)
		document.getElementById(nr).style.display = 'block';
	else if (document.all)
		document.all[nr].style.display = 'block';
}
        // the following method inverts the current mode
 // i.e. turns displayed to hidden and vice-versa
function displayToggle(nr){
	if (document.getElementById)
		document.getElementById(nr).style.display = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
	else if (document.all)
		document.all[nr].style.display = (document.all[nr].style.display == 'none') ? 'block' : 'none';
}

function targetBlank() {
	if (document.getElementByTagName) {
		var msg = " (collegamento in una nuova finestra)";
		var links = document.getElementByTagName("a");
		for (i=0; i<links; i++) {
			var link = links[i];
			if (link.className.indexOf("targetblank") != -1) {
				link.title += msg;
				var fn = function () {
					zoom(this.href); return false;
				}
				link.onclick = link.onkeypress = fn;
			}
		}
	}
}
//-->