//***inizio autocheckbox per flag privacy
	var checkobj
	function agreesubmit(el){
	checkobj=el
	if (document.all||document.getElementById){
	for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
	var tempobj=checkobj.form.elements[i]
	if(tempobj.type.toLowerCase()=="submit")
	tempobj.disabled=!checkobj.checked
	}
	}
	}
	
	function defaultagree(el){
	if (!document.all&&!document.getElementById){
	if (window.checkobj&&checkobj.checked)
	return true
	else{
	alert("Devi accettare la normativa in materia di protezione dei dati personali.")
	return false
	}
	}
	}
//***fine autocheckbox per flag privacy