function showCalendar(e,a){var n=document.getElementById(e);if(null!=_dynarch_popupCalendar)_dynarch_popupCalendar.hide();else{var l=new Calendar(1,null,(function(e,a){e.sel.value=a,null!=e.sel.onchange&&e.sel.onchange(),e.dateClicked&&e.callCloseHandler()}),(function(e){e.hide(),_dynarch_popupCalendar=null}));-1!=a.search(/%H|%I|%k|%l|%M|%p|%P/)?l.showsTime=!0:l.showsTime=!1,l.showsOtherMonths=!0,_dynarch_popupCalendar=l,l.setRange(1900,2070),l.create()}return _dynarch_popupCalendar.setDateFormat(a),_dynarch_popupCalendar.parseDate(n.value),_dynarch_popupCalendar.sel=n,_dynarch_popupCalendar.showAtElement(n,"Br"),!1}
