hi
before do something that already exist
someone wrote a DF class that want share to can use dhtmlxcalendar.js

regards
Franco