Event.onDOMReady(function() {


/* FORMIDABLE: Framework Formidable.path initialization */
Formidable.initialize({path: 'http://www.juniorbaseball.com/typo3conf/ext/ameos_formidable/'});



/* FORMIDABLE: Form 'walloffameform' instance description */
Formidable.Context.Forms["walloffameform"] = new Formidable.Classes.FormBaseClass(
		{"sFormId":"walloffameform","Misc":{"HiddenIds":{"Lister":{"page":"walloffameform_AMEOSFORMIDABLE_DHLISTER_PAGE","sortField":"walloffameform_AMEOSFORMIDABLE_DHLISTER_SORT_FIELD","sortDirection":"walloffameform_AMEOSFORMIDABLE_DHLISTER_SORT_DIRECTION"}},"Urls":{"Lister":{"sortAction":"\/baseball-fun\/wall-of-fame.html?walloffamelist%5Bwalloffamelist_mylist%5D%5Bpage%5D=2#LISTER_walloffameform"},"Ajax":{"event":"http:\/\/www.juniorbaseball.com\/index.php?eID=tx_ameosformidable&object=tx_ameosformidable&servicekey=ajaxevent"}},"MajixSpinner":{}}}
	);



/* FORMIDABLE: Radio walloffameform_subscriber_item initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_subscriber_item"] = new Formidable.Classes.Radio(
	{"id":"walloffameform_subscriber_item","formid":"walloffameform"}
);



/* FORMIDABLE: Radio walloffameform_subscriber_item-1 initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_subscriber_item-1"] = new Formidable.Classes.Radio(
	{"id":"walloffameform_subscriber_item-1","formid":"walloffameform"}
);



/* FORMIDABLE: Radio walloffameform_subscriber_item-2 initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_subscriber_item-2"] = new Formidable.Classes.Radio(
	{"id":"walloffameform_subscriber_item-2","formid":"walloffameform"}
);



/* FORMIDABLE: Radio walloffameform_subscriber initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_subscriber"] = new Formidable.Classes.Radio(
	{"id":"walloffameform_subscriber","formid":"walloffameform","name":"walloffameform[subscriber]","radiobuttons":{"0":"walloffameform_subscriber_item","1":"walloffameform_subscriber_item-1","2":"walloffameform_subscriber_item-2"},"bParentObj":true}
);



/* FORMIDABLE: RdtBaseClass walloffameform_team_name initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_team_name"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_team_name","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_picture initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_picture"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_picture","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_home_town initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_home_town"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_home_town","formid":"walloffameform"}
);



/* FORMIDABLE: ListBox walloffameform_state initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_state"] = new Formidable.Classes.ListBox(
	{"id":"walloffameform_state","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_league_affiliate initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_league_affiliate"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_league_affiliate","formid":"walloffameform"}
);



/* FORMIDABLE: ListBox walloffameform_age_group initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_age_group"] = new Formidable.Classes.ListBox(
	{"id":"walloffameform_age_group","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_team_record_wins initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_team_record_wins"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_team_record_wins","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_team_record_losses initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_team_record_losses"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_team_record_losses","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_team_comments initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_team_comments"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_team_comments","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_team_coach_email initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_team_coach_email"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_team_coach_email","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_team_coach_phone initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_team_coach_phone"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_team_coach_phone","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_captcha initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_captcha"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_captcha","formid":"walloffameform"}
);



/* FORMIDABLE: RdtBaseClass walloffameform_btn-submit initialization */
Formidable.Context.Forms["walloffameform"].Objects["walloffameform_btn-submit"] = new Formidable.Classes.RdtBaseClass(
	{"id":"walloffameform_btn-submit","formid":"walloffameform"}
);



/* FORMIDABLE: RDT Events */
Formidable.f("walloffameform").attachEvent("walloffameform_btn-submit", "click", function(event) {Event.stop(event);
Formidable.f('walloffameform').addFormData({"btn-submit":"1"});Formidable.f('walloffameform').submitFull();});
});
