function Giorno () {
	//
	// leggo la data corrente
	//
	var now = new Date();
	
	// prendo le varie componenti della data
	//
	var mName = now.getMonth() + 1;
	if(mName<10) mName = "0" + mName;
	var dName = now.getDay() + 1;
	var dayNr = ((now.getDate()<10) ? 0 : "") + now.getDate();
	
	// scrivo il giorno in formato testo
	//
	if(dName==1) Day = "domenica";
	if(dName==2) Day = "lunedì";
	if(dName==3) Day = "martedì";
	if(dName==4) Day = "mercoledì";
	if(dName==5) Day = "giovedì";
	if(dName==6) Day = "venerdì";
	if(dName==7) Day = "sabato";
	
	// scrivo il mese in formato testo
	//
	if(mName==1) Month="gennaio";
	if(mName==2) Month="febbraio";
	if(mName==3) Month="marzo";
	if(mName==4) Month="aprile";
	if(mName==5) Month="maggio";
	if(mName==6) Month="giugno";
	if(mName==7) Month="luglio";
	if(mName==8) Month="agosto";
	if(mName==9) Month="settembre";
	if(mName==10) Month="ottobre";
	if(mName==11) Month="novembre";
	if(mName==12) Month="dicembre";
	
	y = now.getUTCFullYear();
	
	// scrivo la stringa finale
	//
	document.write(Day + " " + dayNr + " " + Month + " " + y);
}

function stampa(s_url) {
	window.open( s_url, 'stampa','width=540,height=520,scrollbars=yes,resizable=no' );
}

function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function CheckLength( num_caratteri ) {
	with (document.modulo) {
		if ( corpo.value.length > num_caratteri ) { corpo.value = corpo.value.substr( 0, num_caratteri ); corpo.blur(); }
		chr.value = num_caratteri - corpo.value.length;
	}
}

function jumpMenu( targ, selObj, restore, urlA, urlB ){
	eval( targ + ".location='" + urlA + selObj.options[selObj.selectedIndex].value + urlB + "'" );
	if ( restore ) selObj.selectedIndex = 0;
}

function CheckMultiple17(frm, name) {
	for (var i=0; i < frm.length; i++)
	{
		fldObj = frm.elements[i];
		fldId = fldObj.id;
		if (fldId) {
			var fieldnamecheck=fldObj.id.indexOf(name);
			if (fieldnamecheck != -1) {
				if (fldObj.checked) {
					return true;
				}
			}
		}
	}
	return false;
}

function CheckForm17(f) {
	if (f.email.value == "") {
		alert("Please enter your email address.");
		f.email.focus();
		return false;
	}
	if (f.captcha.value == "") {
		alert("Please enter the security code shown");
		f.captcha.focus();
		return false;
	}
	return true;
}