function DateText(myYear, myMonth, myDay, myText, startDay) {
	if (typeof startDay == 'undefined') var startDay = 0;
	
	this.mydate = new Array();
	
	for (var i=0; i<=startDay; i++) {
		this.mydate[i] = new Date();
		var month = myMonth-1;
		var day = myDay-i;
		this.mydate[i].setFullYear(myYear, month, day);
	}
	this.mytext = myText;
}

var dates = new Array();
dates[0] = new DateText(2010,1,1,'Embassy will be closed on January 01, 2010 on the occasion of New Year Day',2);
dates[1] = new DateText(2010,1,26,'Embassy will be closed on January 26, 2010 on the occasion of Republic Day of India',2);
dates[2] = new DateText(2010,2,27,'Embassy will be closed on February 27, 2010 on the occasion of Milad-Un-Nabi or Id-E-Milad',2);
dates[3] = new DateText(2010,3,1,'Embassy will be closed on March 1, 2010 on the occasion of Holi', 2);
dates[4] = new DateText(2010,3,3,'Embassy will be closed on March 3, 2010 on the occasion of National Day (Liberation of Bulgaria)', 3);
dates[5] = new DateText(2010,3,28,'Embassy will be closed on March 28, 2010 on the occasion of Mahavir Jayanti', 2);
dates[6] = new DateText(2010,4,5,'Embassy will be closed on April 5, 2010 on the occasion of Easter (Bulgarian Orthodox Church)', 2);
dates[7] = new DateText(2010,8,15,'Embassy will be closed on August 15, 2010 on the occasion of Independence Day of India', 3);
dates[8] = new DateText(2010,9,6,'Embassy will be closed on September 6, 2010 on the occasion of Unification Day', 2);
dates[9] = new DateText(2010,9,11,'Embassy will be closed on September 11, 2010 on the occasion of Idu\'l Fitr', 2);
dates[10] = new DateText(2010,9,22,'Embassy will be closed on September 22, 2010 on the occasion of Independence Day (Bulgaria)', 2);
dates[11] = new DateText(2010,10,2,'Embassy will be closed on October 2, 2010 on the occasion of Mahatma Gandhi\’s Birthday', 2);
dates[12] = new DateText(2010,10,17,'Embassy will be closed on October 17, 2010 on the occasion of Dussehra (Vijaya Dashami)', 2);
dates[13] = new DateText(2010,11,5,'Embassy will be closed on November 5, 2010 on the occasion of Diwali', 2);
dates[14] = new DateText(2010,11,17,'Embassy will be closed on November 17, 2010 on the occasion of Idu\’l Zuha (Bakrid)', 2);
dates[15] = new DateText(2010,11,21,'Embassy will be closed on November 21, 2010 on the occasion of Guru Nanak\'s B\'Day', 2);
dates[16] = new DateText(2010,12,25,'Embassy will be closed on December 25, 2010 on the occasion of Christmas Day', 2);
/*dates[0] = new DateText(2010,1,1,'Посолството ще бъде затворено на 01 Януяри 2010 година по повод на Нова година',2);
dates[1] = new DateText(2009,5,9,'Посолството ще бъде затворено на 09 май 2009 година по повод на Будха Пурнима (будистки празник)',2);
dates[2] = new DateText(2009,8,15,'Посолството ще бъде затворено на 15 август 2009 година по повод на Ден на независимостта на Индия',2);
dates[3] = new DateText(2009,9,22,'Посолството ще бъде затворено на 22 септември 2009 година по повод на Ден на Независимостта (България)', 2);
dates[4] = new DateText(2009,9,28,'Посолството ще бъде затворено на 28 Септември 2009 година по повод на Душера (индийски празник)', 3);
dates[5] = new DateText(2009,10,2,'Посолството ще бъде затворено на 02 Октомври 2009 година по повод на Честване раждането на Махатма Ганди', 2);
dates[6] = new DateText(2009,10,17,'Посолството ще бъде затворено на 17 Октомври 2009 година по повод на Дивали', 2);
dates[7] = new DateText(2009,11,2,'Посолството ще бъде затворено на 02 Ноември 2009 година по повод на Честване раждането на Гуру Нанак', 3);
dates[8] = new DateText(2009,11,28,'Посолството ще бъде затворено на 28 Ноември 2009 година по повод на Иду\'л Зуха(Бакрид)-индийски празник', 2);
dates[9] = new DateText(2009,12,25,'Посолството ще бъде затворено на 25 декември 2009 година по повод на Коледа', 2);*/

var today = new Date();

for ( var i in dates ){
	for (var j in dates[i].mydate) {
		if (today.toUTCString()==dates[i].mydate[j].toUTCString()) var currentDayText = dates[i].mytext;
	}
}
if (typeof currentDayText == "undefined") var currentDayText = '';