<!--
//FUNZIONE per il redirect
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



//set variable
var MyWindowName="parent";
var SiteUrl;
SiteUrl = window.location.hostname;
SiteUrl = SiteUrl.replace("justcom.", "");
//alert(window.location.hostname);

//Lista dei siti collegati
var arrSitiCollegati = new Array();
arrSitiCollegati[0] = new Array("http://www.gevaedizioni.it", "Gevaedizioni.it");
arrSitiCollegati[1] = new Array("http://www.maurotiberi.it", "Maurotiberi.it");
arrSitiCollegati[2] = new Array("http://www.michelangelocarbonara.it", "Michelangelocarbonara.it");

// -- Aggiungere qui sotto gli altri siti




// SELECT con la lista dei siti collegati
if (arrSitiCollegati.length > 0) {
	document.write("<select size='1' name='options' onChange=MM_jumpMenu('" + MyWindowName + "',this,0)>");
	document.write("<option>Siti collegati</option>");
	document.write("<option>-----------------</option>");
	
	for (i=0; i < arrSitiCollegati.length; i++){
		//alert(SiteUrl);
		//alert(arrSitiCollegati[i][0]);
		if (arrSitiCollegati[i][0].indexOf(SiteUrl) < 0) {
			document.write("<option value='" + arrSitiCollegati[i][0] + "'>" + arrSitiCollegati[i][1] + "</option>");
		}
	}
	
	document.write("</select>");
}
//-->