/* Funzione stampa */function PrintWindow(){window.print();}/* Funzione mostra/nascondi elemento*/function MostraElemento(Stato) {	if (document.getElementById) {		Elemento = document.getElementById(Stato).style			if (Elemento.display == "block") {				Elemento.display = "none"				}			else {				Elemento.display = "block"			}				return false			}	else {		return true	}}function popcalendar(FormName,FieldName,Week){	var Form = FormName;	var Field = FieldName;	var JSString;	JSString="document.forms['"+Form+"'].elements['"+Field+"'].blur()";	eval(JSString);	newWindow = window.open('js/calendar.php?form='+Form+'&field='+Field+'&w='+Week+'', 'myWindow2','width=570,height=400,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');	newWindow.focus();}	function URLencode(sStr) {    return escape(sStr).              replace(/\+/g, '%2B').                 replace(/\"/g,'%22').                    replace(/\'/g, '%27').                        replace(/\//g,'%2F');}function printdoc(Path){	newWindow = window.open(Path, 'mypop','scrollbars=yes,resizable=yes,width=650,height=650,top=0,left=0');	newWindow.focus();// 	newWindow.print();	}
