// menu
function getDateTime()
{
	var now = new Date();
	var e = '0' + now.getHours();
	if (e.length > 2) e = e.substring(1);
	d = e + ':';
	e = '0' + now.getMinutes();
	if (e.length > 2) e = e.substring(1);
	d += e + ' ';
	e = '0' + now.getDate();
	if (e.length > 2) e = e.substring(1);
	d += e + '/';
	e = '0' + (now.getMonth() + 1);
	if (e.length > 2) e = e.substring(1);
	d += e + '/' + now	.getFullYear();
	
	return d;
}

//Current Year for Footer
function getCurrentYear()
{
	var datestr = getDateTime();
	var yearstr = datestr.substring(datestr.length - 4,datestr.length);
	document.write(yearstr);
}

function informativa() {
	window.open("informativa.htm","Informativa","menubar=no,toolbar=no,resizable=no,scrollbars=no,width=460,height=460");
}
function privacy() {
	window.open("privacy.htm","Privacy","menubar=no,toolbar=no,resizable=no,scrollbars=no,width=460,height=460");
}
function crediti() {
	window.open("crediti.htm","Crediti","menubar=no,toolbar=no,resizable=no,scrollbars=no,width=460,height=460");
}

