function isset(varname){
  return(typeof(window[varname])!='undefined');
}
if (!isset('notranslbox')) {
	
var thisurl = document.location.href;
var nomefile = thisurl.substr(thisurl.lastIndexOf("/") + 1);
var baseurl = thisurl.substring(0, thisurl.lastIndexOf("/", thisurl.lastIndexOf("/")) + 1);
var isInglese = baseurl.lastIndexOf("/english/") == baseurl.length - "/english/".length;

var corrispondenze = [
["codecinstaller_instructions.php", "codecinstaller_istruzioni.php"],
["contacts.php", "contatti.php"],
["custom_software_development.php", "sviluppo_software_realizzazione_siti.php"],
["ipaddress.php", "indirizzoip.php"],
["jenius_batch_file_renamer.php", "jenius_rinominatore_file.php"],
["jenius_export_files.php", "jenius_esporta_lista_file.php"],
["linkus.php", "linkaci.php"],
["smallbutuseful.php", "piccolimautili.php"],
["splitfile_register.php", "splitfile_registra.php"],
["startupdelayer_guide.php", "startupdelayer_guida.php"]
];

var pagineTradotte = [
'appmonitor_index.php',
'codecinstaller_ack.php',
'codecinstaller_download.php',
'codecinstaller_index.php',
'codecinstaller_screenshots.php',
'donations.php',
'dotnetfx.php',
'eyeroller_index.php',
'index.php',
'jenius_download.php',
'jenius_index.php',
'jenius_jmediaplayer.php',
'jenius_plugin.php',
'jenius_screenshots.php',
'jenius_suite.php',
'referer_list.php',
'referer_css.php',
'searchresults.php',
'splitfile_download.php',
'splitfile_index.php',
'splitfile_screenshots.php',
'startupdelayer_download.php',
'startupdelayer_index.php',
'startupdelayer_screenshots.php'
];

var trovato = false;
for (var i = 0; i < corrispondenze.length; i++)
	if (corrispondenze[i][(!isInglese) + 0] == nomefile) {
		trovato = true;
		nomefile = corrispondenze[i][isInglese + 0];
		break;
	}
if (!trovato)
	for (var i = 0; i < pagineTradotte.length; i++)
		if (pagineTradotte[i] == nomefile) {
			trovato = true;
			break;
		}

if (trovato) {
if (isInglese) {
	baseurl = baseurl.substr(0, baseurl.length - "english/".length);
	lingua = "italian";
	testo = "";
}
else {
	baseurl = baseurl + "english/";
	lingua = "english";
	testo = '<a href="' + baseurl + nomefile + '">English version</a> of this page: ';
}
document.write('<em>' + testo + '<a href="' + baseurl + nomefile + '"><img src="/images/' + lingua + '_flag.png" alt="' + lingua + ' version for this page" name="' + lingua + '" width="25" height="14" border="0"></a></em>');
}
}