function cambia_check(altezza)
{
	var p=document.form_contatti.privacy.checked;
	var bg = "";
					
	p=!p;
	document.form_contatti.privacy.checked=p;

	/* Explorer */
	if(document.getElementById("privacy_box"))
	{
		if(p) document.getElementById("privacy_box").style.backgroundPosition = "0px -"+altezza+"px";
		else document.getElementById("privacy_box").style.backgroundPosition = "0px 0px";
	}
	else if(document.form_contatti["privacy_box"]) /*Mozilla & Opera */
	{
		if(p) document.form_contatti["privacy_box"].style.backgroundPosition = "0px -"+altezza+"px";
		else document.form_contatti["privacy_box"].style.backgroundPosition = "0px 0px";
	}
}

function cambia_check2(altezza)
{
	var p=document.form_contatti.esporre.checked;
	var bg = "";
					
	p=!p;
	document.form_contatti.esporre.checked=p;

	/* Explorer */
	if(document.getElementById("esporre_box"))
	{
		if(p) document.getElementById("esporre_box").style.backgroundPosition = "0px -"+altezza+"px";
		else document.getElementById("esporre_box").style.backgroundPosition = "0px 0px";
	}
	else if(document.form_contatti["esporre_box"]) /*Mozilla & Opera */
	{
		if(p) document.form_contatti["esporre_box"].style.backgroundPosition = "0px -"+altezza+"px";
		else document.form_contatti["esporre_box"].style.backgroundPosition = "0px 0px";
	}
}

function cambia_check3(altezza)
{
	var p=document.form_contatti.visitare.checked;
	var bg = "";
					
	p=!p;
	document.form_contatti.visitare.checked=p;

	/* Explorer */
	if(document.getElementById("visitare_box"))
	{
		if(p) document.getElementById("visitare_box").style.backgroundPosition = "0px -"+altezza+"px";
		else document.getElementById("visitare_box").style.backgroundPosition = "0px 0px";
	}
	else if(document.form_contatti["visitare_box"]) /*Mozilla & Opera */
	{
		if(p) document.form_contatti["visitare_box"].style.backgroundPosition = "0px -"+altezza+"px";
		else document.form_contatti["visitare_box"].style.backgroundPosition = "0px 0px";
	}
}
/* stile necessario da accompagnare al codice */
/*l'immagine deve avere sopra il check non spuntato, sotto quello spuntato, dimesioni [DIMW]x2[DIMH]*/
/*
.check_visible{
			width:[DIMW]px;height:[DIMH]px;
			border: none;
			background-image:url(img/check_01.gif); 
			background-repeat:no-repeat;
			background-position:0px 0px;
}

.check_hidden{
	visibility:hidden;
	width:0px;height:0px;
	margin:0px;
	padding:0px;
}
*/

/* codice HTML */
/*
<input type="button" name="privacy_box"  class="check_visible" onclick="cambia_check([DIMH])" /> <!-- check finto con immagine -->
<input type="checkbox" name="privacy"  class="check_hidden"  />	<!-- validazioni e altri check vanno fatti su quello vero, questo!  -->
*/