
EventsForm=function(){var self;var theForm;function constructorFn(){self=this;self.init();}
constructorFn.prototype.init=function(){try{window.date_sel_Date=new DateSelect('date_sel_',self);theForm=document.forms['formEventsSearch'];theForm.bsearch.onclick=function(){var selectedDateLong=$('date_sel_start').value;var selectedDate=new Date(selectedDateLong*1);$('selectedDate').value=selectedDate.formatDate("Y/m/d");self.submitForm();}}catch(err){}}
constructorFn.prototype.submitForm=function(){theForm.submit();}
constructorFn.prototype.getCategoryName=function(){return document.forms['formEventsSearch']['cat'].value;}
return new constructorFn();}
registerOnLoad(function(){window.eventsForm=new EventsForm();});
