// Variabili globali per i bullet per l'effetto rollovervar gBulletOff = new Image(160,5);gBulletOff.src = "Immagini/bullet_off.gif";var gBulletOn = new Image(160,5);gBulletOn.src = "Immagini/bullet_on.gif";// Questa funzione implementa l'effetto rollover sui link della colonna di sinistrafunction rolloverLink (theLinkName, theLinkStatus){	if (theLinkStatus == 0)	{		document.images[theLinkName].src = gBulletOff.src;	}	else if (theLinkStatus == 1)	{		document.images[theLinkName].src = gBulletOn.src;	}}// fine rolloverLink// Questa funzione riporta true se la form riempita dall'utente ² validafunction Form_Validator_Iscrizione(theForm){	if ((theForm.email.value == "") || (theForm.email.value.length < 5) || (theForm.email.value.indexOf("@") == -1))	{		alert("L'indirizzo di posta elettronica non e' valido, perfavore inseritelo di nuovo.");		theForm.email.focus();		return (false);	}		if (theForm.nomemittente.value == "")	{		alert("Il nome inserito non e' valido, perfavore inseritelo di nuovo.");		theForm.nomemittente.focus();		return (false);	}		if (theForm.cognomemittente.value == "")	{		alert("Il cognome inserito non e' valido, perfavore inseritelo di nuovo.");		theForm.cognomemittente.focus();		return (false);	}		if (theForm.laurea.value == "")	{		alert("Non avete inserito la vostra laurea.");		theForm.laurea.focus();		return (false);	}		if (theForm.recapito.value == "")	{		alert("Non avete inserito un indirizzo valido.");		theForm.recapito.focus();		return (false);	}		if (theForm.cap.value == "")	{		alert("Non avete inserito un CAP valido.");		theForm.cap.focus();		return (false);	}	if (theForm.citta.value == "")	{		alert("Non avete inserito la citta'.");		theForm.citta.focus();		return (false);	}	if (theForm.provincia.value == "")	{		alert("Non avete inserito la provincia.");		theForm.provincia.focus();		return (false);	}	if (theForm.telefono.value == "")	{		alert("Non avete inserito il telefono.");		theForm.telefono.focus();		return (false);	}		theForm.indirizzo.value = "marta.stefani@campusmed.org";	theForm.subject.value = "Modulo Iscrizione Winter School Italiano";		// Se ha passato tutti i controlli allora convalida la form	return (true);}// end Form_Validator_Iscrizione// Questa funzione riporta true se la form riempita dall'utente ² validafunction Form_Validator_Contatti(theForm){	if ((theForm.emailmittente.value == "") || (theForm.emailmittente.value.length < 5) || (theForm.emailmittente.value.indexOf("@") == -1))	{		alert("L'indirizzo di posta elettronica non e' valido, perfavore inseritelo di nuovo.");		theForm.emailmittente.focus();		return (false);	}		if (theForm.nomemittente.value == "")	{		alert("Il nome inserito non e' valido, perfavore inseritelo di nuovo.");		theForm.nomemittente.focus();		return (false);	}		if (theForm.cognomemittente.value == "")	{		alert("Spiacente! \n\nIl cognome inserito non e' valido, perfavore inseritelo di nuovo.");		theForm.cognomemittente.focus();		return (false);	}		if (theForm.corpomessaggio.value == "")	{		alert("Il corpo del messaggio e' vuoto.");		theForm.corpomessaggio.focus();		return (false);	}		theForm.indirizzo.value = "marta.stefani@campusmed.org";	theForm.subject.value = "Modulo Contatti Winter School Italiano";		// Se ha passato tutti i controlli allora convalida la form	return (true);}// end Form_Validator_Contatti