Event.observe(document, 'dom:loaded', function() {

Formidable.Context.Forms["journey-search"] = new Formidable.Classes.FormBaseClass(
	{"sFormId":"journey-search","Misc":{"Urls":{"Ajax":{"event":"http:\/\/www.trans-sib.ch\/index.php?eID=tx_ameosformidable&object=tx_ameosformidable&servicekey=ajaxevent","service":"http:\/\/www.trans-sib.ch\/index.php?eID=tx_ameosformidable&object=tx_ameosformidable&servicekey=ajaxservice"}},"MajixSpinner":{}}}
);
Formidable.Context.Forms["journey-search"].Objects["journey-search.sf-journey.country"] = new Formidable.Classes.ListBox({"id":"journey-search.sf-journey.country","localname":"country","name":"journey-search[sf-journey][country]","namewithoutformid":"sf-journey[country]","idwithoutformid":"sf-journey.country","formid":"journey-search","_rdts":{},"parent":"journey-search.sf-journey","error":false,"abswebpath":"http:\/\/www.trans-sib.ch\/typo3conf\/ext\/ameos_formidable\/api\/base\/rdt_listbox\/","readonly":false});
Formidable.Context.Forms["journey-search"].Objects["journey-search.sf-journey.region"] = new Formidable.Classes.ListBox({"id":"journey-search.sf-journey.region","localname":"region","name":"journey-search[sf-journey][region]","namewithoutformid":"sf-journey[region]","idwithoutformid":"sf-journey.region","formid":"journey-search","_rdts":{},"parent":"journey-search.sf-journey","error":false,"abswebpath":"http:\/\/www.trans-sib.ch\/typo3conf\/ext\/ameos_formidable\/api\/base\/rdt_listbox\/","readonly":false});
Formidable.Context.Forms["journey-search"].Objects["journey-search.sf-journey.typ"] = new Formidable.Classes.ListBox({"id":"journey-search.sf-journey.typ","localname":"typ","name":"journey-search[sf-journey][typ]","namewithoutformid":"sf-journey[typ]","idwithoutformid":"sf-journey.typ","formid":"journey-search","_rdts":{},"parent":"journey-search.sf-journey","error":false,"abswebpath":"http:\/\/www.trans-sib.ch\/typo3conf\/ext\/ameos_formidable\/api\/base\/rdt_listbox\/","readonly":false});
Formidable.Context.Forms["journey-search"].Objects["journey-search.sf-journey.month"] = new Formidable.Classes.ListBox({"id":"journey-search.sf-journey.month","localname":"month","name":"journey-search[sf-journey][month]","namewithoutformid":"sf-journey[month]","idwithoutformid":"sf-journey.month","formid":"journey-search","_rdts":{},"parent":"journey-search.sf-journey","error":false,"abswebpath":"http:\/\/www.trans-sib.ch\/typo3conf\/ext\/ameos_formidable\/api\/base\/rdt_listbox\/","readonly":false});
Formidable.Context.Forms["journey-search"].Objects["journey-search.sf-journey.duration"] = new Formidable.Classes.ListBox({"id":"journey-search.sf-journey.duration","localname":"duration","name":"journey-search[sf-journey][duration]","namewithoutformid":"sf-journey[duration]","idwithoutformid":"sf-journey.duration","formid":"journey-search","_rdts":{},"parent":"journey-search.sf-journey","error":false,"abswebpath":"http:\/\/www.trans-sib.ch\/typo3conf\/ext\/ameos_formidable\/api\/base\/rdt_listbox\/","readonly":false});
Formidable.Context.Forms["journey-search"].Objects["journey-search.sf-journey.sender"] = new Formidable.Classes.RdtBaseClass({"id":"journey-search.sf-journey.sender","localname":"sender","name":"journey-search[sf-journey][sender]","namewithoutformid":"sf-journey[sender]","idwithoutformid":"sf-journey.sender","formid":"journey-search","_rdts":{},"parent":"journey-search.sf-journey","error":false,"abswebpath":"http:\/\/www.trans-sib.ch\/typo3conf\/ext\/ameos_formidable\/api\/base\/rdt_submit\/","readonly":false});
Formidable.Context.Forms["journey-search"].Objects["journey-search.sf-journey"] = new Formidable.Classes.Searchform({"id":"journey-search.sf-journey","localname":"sf-journey","name":"journey-search[sf-journey]","namewithoutformid":"sf-journey","idwithoutformid":"sf-journey","formid":"journey-search","_rdts":{"country":"journey-search.sf-journey.country","region":"journey-search.sf-journey.region","typ":"journey-search.sf-journey.typ","month":"journey-search.sf-journey.month","duration":"journey-search.sf-journey.duration","sender":"journey-search.sf-journey.sender"},"parent":false,"error":false,"abswebpath":"http:\/\/www.trans-sib.ch\/typo3conf\/ext\/ameos_formidable\/api\/base\/rdt_searchform\/","readonly":false});

Formidable.f("journey-search").attachEvent("journey-search.sf-journey.country", "change", function(event) {try{arguments;} catch(e) {arguments=[];} Formidable.f('journey-search').executeAjaxEvent('onchange', 'journey-search.sf-journey.country', '51ee84af8a', 'd1f39d1fa3', false, false, {"0":"rowInput::sys_syncvalue::sf-journey.country"}, {}, arguments, false, 0, 0);;});
Formidable.f("journey-search").attachEvent("journey-search.sf-journey.sender", "click", function(event) {Event.stop(event);
Formidable.f('journey-search').addFormData({"sf-journey[sender]":"1"});Formidable.f('journey-search').submitSearch();;});

Formidable.Context.Forms["journey-search"].executePostInit();
});
