Event.onDOMReady(function() {

Formidable.initialize({path: 'http://www.grandcruise.ru/typo3conf/ext/ameos_formidable/'});
Formidable.Context.Forms["htours"] = new Formidable.Classes.FormBaseClass(
	{"sFormId":"htours","Misc":{"Urls":{"Ajax":{"event":"http:\/\/www.grandcruise.ru\/index.php?eID=tx_ameosformidable&object=tx_ameosformidable&servicekey=ajaxevent"}},"MajixSpinner":{}}}
);
Formidable.Context.Forms["htours"].Objects["htours.hotel_info"] = new Formidable.Classes.Box(
	{"id":"htours.hotel_info","localname":"hotel_info","name":"htours[hotel_info]","namewithoutformid":"hotel_info","idwithoutformid":"hotel_info","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.name"] = new Formidable.Classes.RdtBaseClass(
	{"id":"htours.name","localname":"name","name":"htours[name]","namewithoutformid":"name","idwithoutformid":"name","formid":"htours","_rdts":{},"parent":false,"error":false}
);
Formidable.Context.Forms["htours"].Objects["htours.phone"] = new Formidable.Classes.RdtBaseClass(
	{"id":"htours.phone","localname":"phone","name":"htours[phone]","namewithoutformid":"phone","idwithoutformid":"phone","formid":"htours","_rdts":{},"parent":false,"error":false}
);
Formidable.Context.Forms["htours"].Objects["htours.email"] = new Formidable.Classes.RdtBaseClass(
	{"id":"htours.email","localname":"email","name":"htours[email]","namewithoutformid":"email","idwithoutformid":"email","formid":"htours","_rdts":{},"parent":false,"error":false}
);
Formidable.Context.Forms["htours"].Objects["htours.comments"] = new Formidable.Classes.RdtBaseClass(
	{"id":"htours.comments","localname":"comments","name":"htours[comments]","namewithoutformid":"comments","idwithoutformid":"comments","formid":"htours","_rdts":{},"parent":false,"error":false}
);
Formidable.Context.Forms["htours"].Objects["htours.send_message"] = new Formidable.Classes.RdtBaseClass(
	{"id":"htours.send_message","localname":"send_message","name":"htours[send_message]","namewithoutformid":"send_message","idwithoutformid":"send_message","formid":"htours","_rdts":{},"parent":false,"error":false}
);
Formidable.Context.Forms["htours"].Objects["htours.country"] = new Formidable.Classes.Box(
	{"id":"htours.country","localname":"country","name":"htours[country]","namewithoutformid":"country","idwithoutformid":"country","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.resort"] = new Formidable.Classes.Box(
	{"id":"htours.resort","localname":"resort","name":"htours[resort]","namewithoutformid":"resort","idwithoutformid":"resort","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.sdate"] = new Formidable.Classes.Box(
	{"id":"htours.sdate","localname":"sdate","name":"htours[sdate]","namewithoutformid":"sdate","idwithoutformid":"sdate","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.edate"] = new Formidable.Classes.Box(
	{"id":"htours.edate","localname":"edate","name":"htours[edate]","namewithoutformid":"edate","idwithoutformid":"edate","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.days"] = new Formidable.Classes.Box(
	{"id":"htours.days","localname":"days","name":"htours[days]","namewithoutformid":"days","idwithoutformid":"days","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.nights"] = new Formidable.Classes.Box(
	{"id":"htours.nights","localname":"nights","name":"htours[nights]","namewithoutformid":"nights","idwithoutformid":"nights","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.meals"] = new Formidable.Classes.Box(
	{"id":"htours.meals","localname":"meals","name":"htours[meals]","namewithoutformid":"meals","idwithoutformid":"meals","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.price"] = new Formidable.Classes.Box(
	{"id":"htours.price","localname":"price","name":"htours[price]","namewithoutformid":"price","idwithoutformid":"price","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.fdesc"] = new Formidable.Classes.Box(
	{"id":"htours.fdesc","localname":"fdesc","name":"htours[fdesc]","namewithoutformid":"fdesc","idwithoutformid":"fdesc","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.sdesc"] = new Formidable.Classes.Box(
	{"id":"htours.sdesc","localname":"sdesc","name":"htours[sdesc]","namewithoutformid":"sdesc","idwithoutformid":"sdesc","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);
Formidable.Context.Forms["htours"].Objects["htours.currency"] = new Formidable.Classes.Box(
	{"id":"htours.currency","localname":"currency","name":"htours[currency]","namewithoutformid":"currency","idwithoutformid":"currency","formid":"htours","_rdts":{},"parent":false,"error":false,"hasdata":false}
);

Formidable.f("htours").attachEvent("htours.send_message", "click", function(event) {Formidable.f('htours').executeServerEvent('8453267bf1', Formidable.SUBMIT_FULL, 'YTo0OntpOjA7czo0OiJuYW1lIjtpOjE7czozOiJ0ZWwiO2k6MjtzOjU6ImVtYWlsIjtpOjM7czo4OiJjb21tZW50cyI7fQ==', '520a86457c', false);;});
});
