Zadig.Calendar = function(element, args)
{ return;
	try{
	this.element = document.createElement('div');
	args.date.match(/(\d+)-(\d+)-(\d+)/);
	this.date = new Date(RegExp.$3, parseInt(RegExp.$2)-1, RegExp.$1);
	this.date.setMonth(this.date.getMonth()+1);
	this.date.setDate(0);
	this.lastDay = new Date(this.date);
	this.date.setDate(1);
	this.firstDay = new Date(this.date);
	this.date.setDate(-1);
	last=this.date.getDate();
	alert(this.firstDay.getDay()+'\n'+this.lastDay.getDay());
}catch(e){alert(e.message);}
}
