// --------------- DATA ON TOP PAGE ------------------ //
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
function getDataText(){ 
 var now = new Date();
  var days = new Array(
	'Domenica','Lunedi','Martedi',
	'Mercoledi','Giovedi','Venerdi','Sabato');
  var months = new Array(
	'Gennaio','Febbraio','Marzo','Aprile','Maggio',
	'Giugno','Luglio','Agosto','Settembre','Ottobre',
	'Novembre','Dicembre');
  var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
  function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
  }
  today =  days[now.getDay()] + ", " + date + " " + months[now.getMonth()] + " " + (fourdigits(now.getYear()));
  return(today);
}