//-------------------------------------------------------------------
function myStuf(st1, st2){
	this.index		= new Array(31,29,31,30,31,30,31,31,30,31,30,31);
	
	this.month		= null;
	this.day		= null;
	this.year		= null;
	this.name		= null;
	this.mName = "";	

	this.st1		= st1;
	this.st2		= st2;
	
	this.init		= fnInitialize;
	this.append		= fnAppend;
	this.display	= fnDisplay;
	
	this.calendar	= new Array();
	this.count		= 0;

	return this
}
//-------------------------------------------------------------------
function fnDisplay(){
	var disp = new String();
	disp += this.day + "." + this.monthName + " " + this.year;
	if(this.st2 && this.name){
		disp += " | " + this.st2 + " " + this.name;
	}
	document.write(disp);
}
//-------------------------------------------------------------------
function myStufItem(id, day, month, name, show){
	this.id		= id;
	this.day	= day;
	this.month	= month;
	this.name	= name;
	this.show	= show;
	return this
}
//-------------------------------------------------------------------
function fnAppend(id, day, month, name, show){
	var cItem = new myStufItem(id, day, month, name, show);
	this.calendar[this.count] = cItem;
	this.count++
}
//-------------------------------------------------------------------
function fnInitialize(){
	this.append(1, 1, 1, "Nov&#xFD; rok", false);
	this.append(2, 2, 1, "Karina", true);
	this.append(3, 3, 1, "Radmila", true);
	this.append(4, 4, 1, "Diana", true);
	this.append(5, 5, 1, "Dalimil", true);
	this.append(6, 6, 1, "T&#x0159;i kr&#xE1;lov&#xE9;", false);
	this.append(7, 7, 1, "Vilma", true);
	this.append(8, 8, 1, "&#x010C;estm&#xED;r", true);
	this.append(9, 9, 1, "Vladan", true);
	this.append(10, 10, 1, "B&#x0159;etislav", true);
	this.append(11, 11, 1, "Bohdana", true);
	this.append(12, 12, 1, "Pravoslav", true);
	this.append(13, 13, 1, "Edita", true);
	this.append(14, 14, 1, "Radovan", true);
	this.append(15, 15, 1, "Alice", true);
	this.append(16, 16, 1, "Ctirad", true);
	this.append(17, 17, 1, "Drahoslav", true);
	this.append(18, 18, 1, "Vladislav", true);
	this.append(19, 19, 1, "Doubravka", true);
	this.append(20, 20, 1, "Ilona", true);
	this.append(21, 21, 1, "B&#x011B;la", true);
	this.append(22, 22, 1, "Slavom&#xED;r", true);
	this.append(23, 23, 1, "Zden&#x011B;k", true);
	this.append(24, 24, 1, "Milena", true);
	this.append(25, 25, 1, "Milo&#x0161;", true);
	this.append(26, 26, 1, "Zora", true);
	this.append(27, 27, 1, "Ingrid", true);
	this.append(28, 28, 1, "Ot&#xFD;lie", true);
	this.append(29, 29, 1, "Zdislava", true);
	this.append(30, 30, 1, "Robin", true);
	this.append(31, 31, 1, "Marika", true);
	this.append(32, 1, 2, "Hynek", true);
	this.append(33, 2, 2, "Nela", true);
	this.append(34, 3, 2, "Bla&#x017E;ej", true);
	this.append(35, 4, 2, "Jarmila", true);
	this.append(36, 5, 2, "Dobromila", true);
	this.append(37, 6, 2, "Vanda", true);
	this.append(38, 7, 2, "Veronika", true);
	this.append(39, 8, 2, "Milada", true);
	this.append(40, 9, 2, "Apolena", true);
	this.append(41, 10, 2, "Mojm&#xED;r", true);
	this.append(42, 11, 2, "Bo&#x017E;ena", true);
	this.append(43, 12, 2, "Slav&#x011B;na", true);
	this.append(44, 13, 2, "V&#x011B;nceslav", true);
	this.append(45, 14, 2, "Valent&#xFD;n", true);
	this.append(46, 15, 2, "Ji&#x0159;ina", true);
	this.append(47, 16, 2, "Ljuba", true);
	this.append(48, 17, 2, "Miloslava", true);
	this.append(49, 18, 2, "Gizela", true);
	this.append(50, 19, 2, "Patrik", true);
	this.append(51, 20, 2, "Old&#x0159;ich", true);
	this.append(52, 21, 2, "Lenka", true);
	this.append(53, 22, 2, "Petr", true);
	this.append(54, 23, 2, "Svatopluk", true);
	this.append(55, 24, 2, "Mat&#x011B;j", true);
	this.append(56, 25, 2, "Liliana", true);
	this.append(57, 26, 2, "Dorota", true);
	this.append(58, 27, 2, "Alexandr", true);
	this.append(59, 28, 2, "Lum&#xED;r", true);
	this.append(60, 29, 2, "Horym&#xED;r", true);
	this.append(61, 1, 3, "Bed&#x0159;ich", true);
	this.append(62, 2, 3, "Ane&#x017E;ka", true);
	this.append(63, 3, 3, "Kamil", true);
	this.append(64, 4, 3, "Stela", true);
	this.append(65, 5, 3, "Kazim&#xED;r", true);
	this.append(66, 6, 3, "Miroslav", true);
	this.append(67, 7, 3, "Tom&#xE1;&#x0161;", true);
	this.append(68, 8, 3, "Gabriela", true);
	this.append(69, 9, 3, "Franti&#x0161;ka", true);
	this.append(70, 10, 3, "Viktorie", true);
	this.append(71, 11, 3, "And&#x011B;la", true);
	this.append(72, 12, 3, "&#x0158;eho&#x0159;", true);
	this.append(73, 13, 3, "R&#x016F;&#x017E;ena", true);
	this.append(74, 14, 3, "R&#xFA;t", true);
	this.append(75, 15, 3, "Ida", true);
	this.append(76, 16, 3, "Elena", true);
	this.append(77, 17, 3, "Vlastimil", true);
	this.append(78, 18, 3, "Eduard", true);
	this.append(79, 19, 3, "Josef", true);
	this.append(80, 20, 3, "Sv&#x011B;tlana", true);
	this.append(81, 21, 3, "Radek", true);
	this.append(82, 22, 3, "Leona", true);
	this.append(83, 23, 3, "Ivona", true);
	this.append(84, 24, 3, "Gabriel", true);
	this.append(85, 25, 3, "Mari&#xE1;n", true);
	this.append(86, 26, 3, "Emanuel", true);
	this.append(87, 27, 3, "Dita", true);
	this.append(88, 28, 3, "So&#x0148;a", true);
	this.append(89, 29, 3, "Ta&#x0165;&#xE1;na", true);
	this.append(90, 30, 3, "Arno&#x0161;t", true);
	this.append(91, 31, 3, "Kvido", true);
	this.append(92, 1, 4, "Hugo", true);
	this.append(93, 2, 4, "Erika", true);
	this.append(94, 3, 4, "Richard", true);
	this.append(95, 4, 4, "Ivana", true);
	this.append(96, 5, 4, "Miroslava", true);
	this.append(97, 6, 4, "Vendula", true);
	this.append(98, 7, 4, "He&#x0159;man", true);
	this.append(99, 8, 4, "Ema", true);
	this.append(100, 9, 4, "Du&#x0161;an", true);
	this.append(101, 10, 4, "Darja", true);
	this.append(102, 11, 4, "Izabela", true);
	this.append(103, 12, 4, "Julius", true);
	this.append(104, 13, 4, "Ale&#x0161;", true);
	this.append(105, 14, 4, "Vincenc", true);
	this.append(106, 15, 4, "Anast&#xE1;zie", true);
	this.append(107, 16, 4, "Irena", true);
	this.append(108, 17, 4, "Rudolf", true);
	this.append(109, 18, 4, "Val&#xE9;rie", true);
	this.append(110, 19, 4, "Rostislav", true);
	this.append(111, 20, 4, "Marcela", true);
	this.append(112, 21, 4, "Alexandra", true);
	this.append(113, 22, 4, "Ev&#x017E;enie", true);
	this.append(114, 23, 4, "Vojt&#x011B;ch", true);
	this.append(115, 24, 4, "Ji&#x0159;&#xED;", true);
	this.append(116, 25, 4, "Marek", true);
	this.append(117, 26, 4, "Oto", true);
	this.append(118, 27, 4, "Jaroslav", true);
	this.append(119, 28, 4, "Vlastislav", true);
	this.append(120, 29, 4, "Robert", true);
	this.append(121, 30, 4, "Blahoslav", true);
	this.append(122, 1, 5, "Sv&#xE1;tek pr&#xE1;ce", false);
	this.append(123, 2, 5, "Zikmund", true);
	this.append(124, 3, 5, "Alexej", true);
	this.append(125, 4, 5, "Kv&#x011B;toslav", true);
	this.append(126, 5, 5, "Klaudie", true);
	this.append(127, 6, 5, "Radoslav", true);
	this.append(128, 7, 5, "Stanislav", true);
	this.append(129, 8, 5, "Den osvobozen&#xED; od fa&#x0161;ismu", false);
	this.append(130, 9, 5, "Ctibor", true);
	this.append(131, 10, 5, "Bla&#x017E;ena", true);
	this.append(132, 11, 5, "Svatava", true);
	this.append(133, 12, 5, "Pankr&#xE1;c", true);
	this.append(134, 13, 5, "Serv&#xE1;c", true);
	this.append(135, 14, 5, "Bonif&#xE1;c", true);
	this.append(136, 15, 5, "&#x017D;ofie", true);
	this.append(137, 16, 5, "P&#x0159;emysl", true);
	this.append(138, 17, 5, "Aneta", true);
	this.append(139, 18, 5, "Nata&#x0161;a", true);
	this.append(140, 19, 5, "Ivo", true);
	this.append(141, 20, 5, "Zby&#x0161;ek", true);
	this.append(142, 21, 5, "Monika", true);
	this.append(143, 22, 5, "Emil", true);
	this.append(144, 23, 5, "Vladim&#xED;r", true);
	this.append(145, 24, 5, "Jana", true);
	this.append(146, 25, 5, "Viola", true);
	this.append(147, 26, 5, "Filip", true);
	this.append(148, 27, 5, "Valdemar", true);
	this.append(149, 28, 5, "Vil&#xE9;m", true);
	this.append(150, 29, 5, "Maxmili&#xE1;n", true);
	this.append(151, 30, 5, "Ferdinand", true);
	this.append(152, 31, 5, "Kamila", true);
	this.append(153, 1, 6, "Laura", true);
	this.append(154, 2, 6, "Jarmil", true);
	this.append(155, 3, 6, "Tamara", true);
	this.append(156, 4, 6, "Dalibor", true);
	this.append(157, 5, 6, "Dobroslav", true);
	this.append(158, 6, 6, "Norbert", true);
	this.append(159, 7, 6, "Iveta", true);
	this.append(160, 8, 6, "Medard", true);
	this.append(161, 9, 6, "Stanislava", true);
	this.append(162, 10, 6, "Gita", true);
	this.append(163, 11, 6, "Bruno", true);
	this.append(164, 12, 6, "Antonie", true);
	this.append(165, 13, 6, "Anton&#xED;n", true);
	this.append(166, 14, 6, "Roland", true);
	this.append(167, 15, 6, "V&#xED;t", true);
	this.append(168, 16, 6, "Zbyn&#x011B;k", true);
	this.append(169, 17, 6, "Adolf", true);
	this.append(170, 18, 6, "Milan", true);
	this.append(171, 19, 6, "Leo&#x0161;", true);
	this.append(172, 20, 6, "Kv&#x011B;ta", true);
	this.append(173, 21, 6, "Alois", true);
	this.append(174, 22, 6, "Pavla", true);
	this.append(175, 23, 6, "Zde&#x0148;ka", true);
	this.append(176, 24, 6, "Jan", true);
	this.append(177, 25, 6, "Ivan", true);
	this.append(178, 26, 6, "Adriana", true);
	this.append(179, 27, 6, "Ladislav", true);
	this.append(180, 28, 6, "Lubom&#xED;r", true);
	this.append(181, 29, 6, "Petr a Pavel", true);
	this.append(182, 30, 6, "&#x0160;&#xE1;rka", true);
	this.append(183, 1, 7, "Jaroslava", true);
	this.append(184, 2, 7, "Patricie", true);
	this.append(185, 3, 7, "Radom&#xED;r", true);
	this.append(186, 4, 7, "Prokop", true);
	this.append(187, 5, 7, "Cyril a Metod&#x011B;j", false);
	this.append(188, 6, 7, "Jan Hus", false);
	this.append(189, 7, 7, "Bohuslava", true);
	this.append(190, 8, 7, "Nora", true);
	this.append(191, 9, 7, "Drahoslava", true);
	this.append(192, 10, 7, "Libu&#x0161;e", true);
	this.append(193, 11, 7, "Olga", true);
	this.append(194, 12, 7, "Bo&#x0159;ek", true);
	this.append(195, 13, 7, "Mark&#xE9;ta", true);
	this.append(196, 14, 7, "Karol&#xED;na", true);
	this.append(197, 15, 7, "Jind&#x0159;ich", true);
	this.append(198, 16, 7, "Lubo&#x0161;", true);
	this.append(199, 17, 7, "Martina", true);
	this.append(200, 18, 7, "Drahom&#xED;ra", true);
	this.append(201, 19, 7, "&#x010C;en&#x011B;k", true);
	this.append(202, 20, 7, "Ilja", true);
	this.append(203, 21, 7, "V&#xED;t&#x011B;zslav", true);
	this.append(204, 22, 7, "Magdal&#xE9;na", true);
	this.append(205, 23, 7, "Libor", true);
	this.append(206, 24, 7, "Krist&#xFD;na", true);
	this.append(207, 25, 7, "Jakub", true);
	this.append(208, 26, 7, "Anna", true);
	this.append(209, 27, 7, "V&#x011B;roslav", true);
	this.append(210, 28, 7, "Viktor", true);
	this.append(211, 29, 7, "Marta", true);
	this.append(212, 30, 7, "Bo&#x0159;ivoj", true);
	this.append(213, 31, 7, "Ign&#xE1;c", true);
	this.append(214, 1, 8, "Oskar", true);
	this.append(215, 2, 8, "Gustav", true);
	this.append(216, 3, 8, "Milu&#x0161;e", true);
	this.append(217, 4, 8, "Dominik", true);
	this.append(218, 5, 8, "Kristi&#xE1;n", true);
	this.append(219, 6, 8, "Old&#x0159;i&#x0161;ka", true);
	this.append(220, 7, 8, "Lada", true);
	this.append(221, 8, 8, "Sob&#x011B;slav", true);
	this.append(222, 9, 8, "Roman", true);
	this.append(223, 10, 8, "Vav&#x0159;inec", true);
	this.append(224, 11, 8, "Zuzana", true);
	this.append(225, 12, 8, "Kl&#xE1;ra", true);
	this.append(226, 13, 8, "Alena", true);
	this.append(227, 14, 8, "Alan", true);
	this.append(228, 15, 8, "Hana", true);
	this.append(229, 16, 8, "J&#xE1;chym", true);
	this.append(230, 17, 8, "Petra", true);
	this.append(231, 18, 8, "Helena", true);
	this.append(232, 19, 8, "Ludv&#xED;k", true);
	this.append(233, 20, 8, "Bernard", true);
	this.append(234, 21, 8, "Johana", true);
	this.append(235, 22, 8, "Bohuslav", true);
	this.append(236, 23, 8, "Sandra", true);
	this.append(237, 24, 8, "Bartolom&#x011B;j", true);
	this.append(238, 25, 8, "Radim", true);
	this.append(239, 26, 8, "Lud&#x011B;k", true);
	this.append(240, 27, 8, "Otakar", true);
	this.append(241, 28, 8, "August&#xFD;n", true);
	this.append(242, 29, 8, "Evel&#xED;na", true);
	this.append(243, 30, 8, "Vlad&#x011B;na", true);
	this.append(244, 31, 8, "Pavl&#xED;na", true);
	this.append(245, 1, 9, "Linda", true);
	this.append(246, 2, 9, "Ad&#xE9;la", true);
	this.append(247, 3, 9, "Bronislav", true);
	this.append(248, 4, 9, "Jind&#x0159;i&#x0161;ka", true);
	this.append(249, 5, 9, "Boris", true);
	this.append(250, 6, 9, "Boleslav", true);
	this.append(251, 7, 9, "Reg&#xED;na", true);
	this.append(252, 8, 9, "Mariana", true);
	this.append(253, 9, 9, "Daniela", true);
	this.append(254, 10, 9, "Irma", true);
	this.append(255, 11, 9, "Denisa", true);
	this.append(256, 12, 9, "Marie", true);
	this.append(257, 13, 9, "Lubor", true);
	this.append(258, 14, 9, "Radka", true);
	this.append(259, 15, 9, "Jolana", true);
	this.append(260, 16, 9, "Ludmila", true);
	this.append(261, 17, 9, "Nad&#x011B;&#x017E;da", true);
	this.append(262, 18, 9, "Kry&#x0161;tof", true);
	this.append(263, 19, 9, "Zita", true);
	this.append(264, 20, 9, "Oleg", true);
	this.append(265, 21, 9, "Matou&#x0161;", true);
	this.append(266, 22, 9, "Darina", true);
	this.append(267, 23, 9, "Berta", true);
	this.append(268, 24, 9, "Jarom&#xED;r", true);
	this.append(269, 25, 9, "Zlata", true);
	this.append(270, 26, 9, "Andrea", true);
	this.append(271, 27, 9, "Jon&#xE1;&#x0161;", true);
	this.append(272, 28, 9, "V&#xE1;clav", false);
	this.append(273, 29, 9, "Michal", true);
	this.append(274, 30, 9, "Jeron&#xFD;m", true);
	this.append(275, 1, 10, "Igor", true);
	this.append(276, 2, 10, "Olivie", true);
	this.append(277, 3, 10, "Bohumil", true);
	this.append(278, 4, 10, "Franti&#x0161;ek", true);
	this.append(279, 5, 10, "Eli&#x0161;ka", true);
	this.append(280, 6, 10, "Hanu&#x0161;", true);
	this.append(281, 7, 10, "Just&#xFD;na", true);
	this.append(282, 8, 10, "V&#x011B;ra", true);
	this.append(283, 9, 10, "&#x0160;tefan", true);
	this.append(284, 10, 10, "Marina", true);
	this.append(285, 11, 10, "Andrej", true);
	this.append(286, 12, 10, "Marcel", true);
	this.append(287, 13, 10, "Ren&#xE1;ta", true);
	this.append(288, 14, 10, "Ag&#xE1;ta", true);
	this.append(289, 15, 10, "Tereza", true);
	this.append(290, 16, 10, "Havel", true);
	this.append(291, 17, 10, "Hedvika", true);
	this.append(292, 18, 10, "Luk&#xE1;&#x0161;", true);
	this.append(293, 19, 10, "Michaela", true);
	this.append(294, 20, 10, "Vendel&#xED;n", true);
	this.append(295, 21, 10, "Brigita", true);
	this.append(296, 22, 10, "Sabina", true);
	this.append(297, 23, 10, "Teodor", true);
	this.append(298, 24, 10, "Nina", true);
	this.append(299, 25, 10, "Be&#xE1;ta", true);
	this.append(300, 26, 10, "Erik", true);
	this.append(301, 27, 10, "&#x0160;arlota", true);
	this.append(302, 28, 10, "Den zalo&#x017E;en&#xED; &#x010C;R", false);
	this.append(303, 29, 10, "Silvie", true);
	this.append(304, 30, 10, "Tade&#xE1;&#x0161;", true);
	this.append(305, 31, 10, "&#x0160;t&#x011B;p&#xE1;nka", true);
	this.append(306, 1, 11, "Felix", true);
	this.append(307, 2, 11, "Pam&#xE1;tka zesnul&#xFD;ch", false);
	this.append(308, 3, 11, "Hubert", true);
	this.append(309, 4, 11, "Karel", true);
	this.append(310, 5, 11, "Miriam", true);
	this.append(311, 6, 11, "Lib&#x011B;na", true);
	this.append(312, 7, 11, "Saskie", true);
	this.append(313, 8, 11, "Bohum&#xED;r", true);
	this.append(314, 9, 11, "Bohdan", true);
	this.append(315, 10, 11, "Ev&#x017E;en", true);
	this.append(316, 11, 11, "Martin", true);
	this.append(317, 12, 11, "Benedikt", true);
	this.append(318, 13, 11, "Tibor", true);
	this.append(319, 14, 11, "S&#xE1;va", true);
	this.append(320, 15, 11, "Leopold", true);
	this.append(321, 16, 11, "Otmar", true);
	this.append(322, 17, 11, "Mahulena", true);
	this.append(323, 18, 11, "Romana", true);
	this.append(324, 19, 11, "Al&#x017E;b&#x011B;ta", true);
	this.append(325, 20, 11, "Nikola", true);
	this.append(326, 21, 11, "Albert", true);
	this.append(327, 22, 11, "Cec&#xED;lie", true);
	this.append(328, 23, 11, "Klement", true);
	this.append(329, 24, 11, "Em&#xED;lie", true);
	this.append(330, 25, 11, "Kate&#x0159;ina", true);
	this.append(331, 26, 11, "Artur", true);
	this.append(332, 27, 11, "Xenie", true);
	this.append(333, 28, 11, "Ren&#xE9;", true);
	this.append(334, 29, 11, "Zina", true);
	this.append(335, 30, 11, "Ond&#x0159;ej", true);
	this.append(336, 1, 12, "Iva", true);
	this.append(337, 2, 12, "Blanka", true);
	this.append(338, 3, 12, "Svatoslav", true);
	this.append(339, 4, 12, "Barbora", true);
	this.append(340, 5, 12, "Jitka", true);
	this.append(341, 6, 12, "Mikul&#xE1;&#x0161;", true);
	this.append(342, 7, 12, "Ambro&#x017E;", true);
	this.append(343, 8, 12, "Kv&#x011B;toslava", true);
	this.append(344, 9, 12, "Vratislav", true);
	this.append(345, 10, 12, "Julie", true);
	this.append(346, 11, 12, "Dana", true);
	this.append(347, 12, 12, "Simona", true);
	this.append(348, 13, 12, "Lucie", true);
	this.append(349, 14, 12, "L&#xFD;die", true);
	this.append(350, 15, 12, "Radan", true);
	this.append(351, 16, 12, "Alb&#xED;na", true);
	this.append(352, 17, 12, "Daniel", true);
	this.append(353, 18, 12, "Miloslav", true);
	this.append(354, 19, 12, "Ester", true);
	this.append(355, 20, 12, "Dagmar", true);
	this.append(356, 21, 12, "Nat&#xE1;lie", true);
	this.append(357, 22, 12, "&#x0160;imon", true);
	this.append(358, 23, 12, "Vlasta", true);
	this.append(359, 24, 12, "Adam", true);
	this.append(360, 25, 12, "Bo&#x017E;&#xED; hod v&#xE1;no&#x010D;n&#xED;", false);
	this.append(361, 26, 12, "&#x0160;t&#x011B;p&#xE1;n", true);
	this.append(362, 27, 12, "&#x017D;aneta", true);
	this.append(363, 28, 12, "Bohumila", true);
	this.append(364, 29, 12, "Judita", true);
	this.append(365, 30, 12, "David", true);
	this.append(366, 31, 12, "Silvestr", true);	

	var MonthName = new Array("leden","&#x00FA;nor","b&#x0159;ezen","duben","kv&#x011B;ten","&#x010D;erven","&#x010D;ervenec","srpen","z&#xE1;&#x0159;&#xED;","&#x0159;&#xED;jen","lisopad","prosinec");
	
	var myDt	=	new Date();
	this.day	= myDt.getDate();
	this.month	= myDt.getMonth() + 1;
	this.monthName = MonthName[myDt.getMonth()];
	this.year	= myDt.getUTCFullYear();
	
	var dIndex	= this.day;
	for(var i=0;i<this.month-1;i++){
		dIndex += this.index[i]
	}
	this.name	=	(this.calendar[dIndex-1].show) ? this.calendar[dIndex-1].name : null;
}

var mc = new myStuf("Dnes je","");
mc.init();	