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(2012,1,26,'Embassy will be closed on January 26, 2012 on the occasion of Republic Day of India',4);
dates[1] = new DateText(2012,2,5,'Embassy will be closed on February 05, 2012 on the occasion of Milad-Un-Nabi or Id-E-Milad', 4);
dates[2] = new DateText(2012,2,20,'Embassy will be closed on February 20, 2012 on the occasion of Maha Shivaratri', 4);
dates[3] = new DateText(2012,3,8,'Embassy will be closed on March 08, 2012 on the occasion of Holi', 4);
dates[4] = new DateText(2012,4,6,'Embassy will be closed on April 06, 2012 on the occasion of Good Friday', 4);
dates[5] = new DateText(2012,4,9,'Embassy will be closed on April 09, 2012 on the occasion of Easter Monday', 4);
dates[6] = new DateText(2012,5,6,'Embassy will be closed on May 06, 2012 on the occasion of Buddha Purnima and Bulgarian Army Day and St. George\'s Day', 4);
dates[7] = new DateText(2012,5,24,'Embassy will be closed on May 24, 2012 on the occasion of Bulgarian Education and Culture and Slavic Script Day', 4);
dates[8] = new DateText(2012,8,10,'Embassy will be closed on August 10, 2012 on the occasion of Janamashtami', 4);
dates[9] = new DateText(2012,8,15,'Embassy will be closed on August 15, 2012 on the occasion of Independence Day (Republic of India)', 4);
dates[10] = new DateText(2012,9,6,'Embassy will be closed on September 6, 2012 on the occasion of Unification Day', 4);
dates[11] = new DateText(2012,10,2,'Embassy will be closed on October 02, 2012 on the occasion ofMahatma Gandhi\’s Birthday', 4);
dates[12] = new DateText(2012,10,24,'Embassy will be closed on October 24, 2012 on the occasion of Dussehra', 4);
dates[13] = new DateText(2012,10,27,'Embassy will be closed on October 6, 2012 on the occasion of Idu’l Zuha', 4);
dates[14] = new DateText(2012,11,13,'Embassy will be closed on November 13, 2012 on the occasion of Diwali', 4);
dates[15] = new DateText(2012,11,25,'Embassy will be closed on November 25, 2012 on the occasion of Muharram', 4);
dates[16] = new DateText(2012,12,25,'Embassy will be closed on December 25, 2012 on the occasion of Christmas Day', 4);

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 = '';
