// Ver 1.0.100214 mod 3dfc

function regSubmit(form) {

	forumDisableButton(true, "apply_reg_button");
	showLoading();

	var Ajax = new ajaxInterface("submit", "registration", "registration.phtml");

	Ajax.parseForm(form);
	Ajax.setErrorHandler(function(text) { inputDisableEnable(false, "apply_reg_button"); showContextMessage("regmsg", text, 6); });
	Ajax.setOnFinish(function() { hideLoading(); window.location.href = "page.phtml?id=reg2" });
	Ajax.doRequest();

	return false;

}

function showConditions() {

	window.open("page.phtml?id=tac");

}
