'); }, onSuccess: function(responseText){	el.innerHTML = responseText; if(responseText){ el.removeClass('no_fields'); }else{ el.addClass('no_fields'); } var djcals = document.getElements('.djsecal'); if(djcals){ var startDate = new Date(2008, 8, 7); djcals.each(function(djcla,index){ Calendar.setup({ inputField : djcla.id, ifFormat : "%Y-%m-%d", button : djcla.id+"button", date : startDate }); }); } var djfields_accordion_o = document.getElements('#search92_ex_fields .djfields_accordion_o'); if(djfields_accordion_o){	djfields_accordion_o.each(function(djfields_acc_o,index){ new Fx.Accordion(djfields_acc_o.getElements('.label'), djfields_acc_o.getElements('.se_checkbox'), { alwaysHide : true, display : 0, duration : 100, onActive : function(toggler, element) { toggler.addClass('active'); element.addClass('in'); }, onBackground : function(toggler, element) { toggler.removeClass('active'); element.removeClass('in'); } }); })	} var djfields_accordion_c = document.getElements('#search92_ex_fields .djfields_accordion_c'); if(djfields_accordion_c){	djfields_accordion_c.each(function(djfields_acc_c,index){ new Fx.Accordion(djfields_acc_c.getElements('.label'), djfields_acc_c.getElements('.se_checkbox'), { alwaysHide : true, display : -1, duration : 100, onActive : function(toggler, element) { toggler.addClass('active'); element.addClass('in'); }, onBackground : function(toggler, element) { toggler.removeClass('active'); element.removeClass('in'); } }); })	}	}, onFailure: function(){ // myElement.set('html', 'Sorry, your request failed, please contact to '); } }); myRequest.send();	}else{ el.innerHTML = ''; //el.innerHTML='Category'; } }