/*  Copyright (C) 2003 WebAdmin [webadmin@irc.pl]
    last modification: Aug 21, 2003

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.*/

dni=new Array(7)
 dni[0]="niedziela"
 dni[1]="poniedziałek"
 dni[2]="wtorek"
 dni[3]="środa"
 dni[4]="czwartek"
 dni[5]="piątek"
 dni[6]="sobota"

miesiace=new Array(12)
 miesiace[0]="stycznia"
 miesiace[1]="lutego"
 miesiace[2]="marca"
 miesiace[3]="kwietnia"
 miesiace[4]="maja"
 miesiace[5]="czerwca"
 miesiace[6]="lipca"
 miesiace[7]="sierpnia"
 miesiace[8]="września"
 miesiace[9]="padziernika"
 miesiace[10]="listopada"
 miesiace[11]="grudnia"

function getDateStr(){
    var dzis=new Date()
    var dzien_n=dzis.getDay()
    var miesiac_n=dzis.getMonth()
    var dzien=dzis.getDate()
    var rok=dzis.getYear()

    if(rok<=2000) rok+=1900
    return dni[dzien_n]+", "+dzien+" "+miesiace[miesiac_n]+" "+rok+" r.&nbsp;"}
document.write(getDateStr())
