
function CalendarNameWord(lng) { 
	this.lng = lng;
	this.NextDay = "NextDay";
	this.PrevDay = "PrevDay";
	this.NextMo = "NextMo";
	this.PrevMo = "PrevMo";
	this.Return = "return";
	this.Breakchr = "&nbsp;&nbsp;"; 
	
	if(lng=="en"){		
		this.eventTitleIndex = 14;		
		this.descriptionIndex = 15;
		this.urlIndex = 16;
		this.familyTitleIndex = 17;
		this.wordCalendar = "Calendar";	
		this.r_but="Previous year";
		this.e_but="next year"; 		
		this.previous="Previous month";
		this.next="Next month";		
		this.next3days = "3 days following";
		this.previous3days = "3 days previous";
		this.wordMonth = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "January");
		this.iwordMonth = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "January");
		this.wordDay = new Array("S", "M", "T", "W", "T", "F", "S");
		this.iwordDay = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	} else {
		this.eventTitleIndex = 6;		
		this.descriptionIndex = 7;
		this.urlIndex = 9;
		this.familyTitleIndex = 11;
		this.wordCalendar = "Calendrier";
		this.r_but="Ann\u00e9e pr\u00e9c\u00e9dente";
		this.e_but="l'année prochaine";
		this.previous="Mois pr\u00e9c\u00e9dents";
		this.next="Mois suivants";	
		this.next3days = "3 jours suivants";
		this.previous3days = "3 jours pr\u00e9c\u00e9dents";
		this.wordMonth = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "January");
		this.iwordMonth = new Array("Janvier", "F&eacute;vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao&ucirc;t", "Septembre", "Octobre", "Novembre", "D&eacute;cembre", "Janvier");
		this.wordDay = new Array("D", "L", "M", "M", "J", "V", "S");
		this.iwordDay = new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi");
	}		
}

CalendarNameWord.prototype.getWordMonth = function(i){	
	var wordMonth = this.wordMonth;
	return wordMonth[i];
}

CalendarNameWord.prototype.getIWordMonth = function(i){
	var iwordMonth = this.iwordMonth;
	return iwordMonth[i];
}	

CalendarNameWord.prototype.getWordDay = function(i){
	var wordDay = this.wordDay;
	return wordDay[i];
}	

CalendarNameWord.prototype.getIWordDay = function(i){
	var iwordDay = this.iwordDay;
	return iwordDay[i];
}	


