<!--
function copyright() {
		searchWin = window.open("http://www.b-on4.cz/diritto_autore",'Copyright','scrollbars=yes,resizable=yes,width=330,height=500,status=no,location=no,toolbar=no');
	}
function foto(str,w,h,didascalia) {
	w+=20;
	h+=20;
	if(typeof didascalia=="undefined" || didascalia=="") didascalia="";
	 else {
	 	didascalia=urlencode(didascalia);
		h=h+40;
	}
	finestra = window.open('visualizza_foto.php?foto='+urlencode(str)+'&didascalia='+didascalia,Math.round(1000*Math.random()).toString(),'scrollbars=no,resizable=no,width='+w+',height='+h+',status=no,location=no,toolbar=no');
}
function urlencode(CODE){
	var plaintext = CODE;

	var SAFECHARS = "0123456789" +					// Numeric
					"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +	// Alphabetic
					"abcdefghijklmnopqrstuvwxyz" +
					"-_.!~*'()’‘";					
	var HEX = "0123456789ABCDEF";
	
	var encoded = "";
	for (var i = 0; i < plaintext.length; i++ ) {
		var ch = plaintext.charAt(i);
	    if (ch == " ") {
		    encoded += "+";				// x-www-urlencoded, rather than %20
		} else if (SAFECHARS.indexOf(ch) != -1) {
		    encoded += ch;
		} else {
		    var charCode = ch.charCodeAt(0);
			if (charCode > 255) {
			    encoded += "+";
			} else {
				encoded += "%";
				encoded += HEX.charAt((charCode >> 4) & 0xF);
				encoded += HEX.charAt(charCode & 0xF);
			}
		}
	} // for

	// VALORE CODIFICATO
	return encoded;
}
function mostrafoto(numero) {
	for(var i=0;i<12;i++) {
		if(document.getElementById("foto"+i)!= null) document.getElementById("foto"+i).style.display="none";
	}
	for(var i=0;i<12;i++) {
		if(document.getElementById("link"+i)!= null) document.getElementById("link"+i).style.fontWeight="normal";
	}
	document.getElementById("foto"+numero).style.display="block";
	document.getElementById("link"+numero).style.fontWeight="bold";
}

function email() {
	var a="thunovska";
	var b="volny.cz";
	document.write("<a href=\"mailto:"+a+"@"+b+"\">"+a+"@"+b+"</a>");
}
//-->
