function Date_Local1(lang)
{
  // Get today's current date.
  var now = new Date();

  if (lang == "german") {
    var days = new Array ('Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag');
    var months = new Array ('Jan','Feb','März','Apr','Mai','Juni','Juli','Aug','Sep','Okt','Nov','Dez');
  }
  else {
    var days = new Array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
    var months = new Array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
  }
  
  // Calculate the number of the current day in the week.
  var date = now.getDate();
  //var date = ((now.getDate() < 10) ? "0" : "")+ now.getDate();
  // Calculate four digit year.
  function fourdigits(number)	{
  return (number < 1000) ? number + 1900 : number;
      }
  // Join it all together

  today =  days[now.getDay()] + " " +
           date + " " +
           months[now.getMonth()] + " " +
           (fourdigits(now.getYear())) ;

  document.write(today);
}

function Date_Local2()
{
  // Get today's current date.
  var now = new Date();
  // Format month.
  var mth = (((now.getMonth()+1) < 10) ? "0" : "") + (now.getMonth()+1);
  // Calculate the number of the current day in the week.
  var date = ((now.getDate() < 10) ? "0" : "")+ now.getDate();
  // Calculate four digit year.
  function fourdigits(number)	{
  return (number < 1000) ? number + 1900 : number;
      }

  // time formatting
  var hrs = now.getHours();
  var min = ((now.getMinutes() < 10) ? "0" : "") + now.getMinutes();

  // Join it all together

  today =  hrs + ":" + min + " " +
           (fourdigits(now.getYear())) + "-" +
           mth + "-" +
           date;

  document.write(today);
}