added the ajax calendars for picking dates and fixed the calendar colori...

...ng the wrong scheduled items.