YAHOO.widget.Calendar2up_es_Cal = function(id, containerId, monthyear, selected) {
	if (arguments.length > 0)
	{
		this.init(id, containerId, monthyear, selected);
	}
}

YAHOO.widget.Calendar2up_es_Cal.prototype = new YAHOO.widget.Calendar2up_Cal();

YAHOO.widget.Calendar2up_es_Cal.prototype.customConfig = function() {
	this.Config.Locale.MONTHS_SHORT = ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"];
	this.Config.Locale.MONTHS_LONG = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
	this.Config.Locale.WEEKDAYS_1CHAR = ["D", "L", "M", "M", "J", "V", "S"];
	this.Config.Locale.WEEKDAYS_SHORT = ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa"];
	this.Config.Locale.WEEKDAYS_MEDIUM = ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa"];
	this.Config.Locale.WEEKDAYS_LONG = ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"];

	this.Config.Options.START_WEEKDAY = 1;
}

/*************************************/

YAHOO.widget.Calendar2up_es = function(id, containerId, monthyear, selected) {
	if (arguments.length > 0)
	{	
		this.buildWrapper(containerId);
		this.init(2, id, containerId, monthyear, selected);
	}
}

YAHOO.widget.Calendar2up_es.prototype = new YAHOO.widget.Calendar2up();

YAHOO.widget.Calendar2up_es.prototype.constructChild = function(id,containerId,monthyear,selected) {
	var cal = new YAHOO.widget.Calendar2up_es_Cal(id,containerId,monthyear,selected);
	return cal;
};
