(function () { 'use strict'; var that = document.getElementById("mhMailForm"), reset = document.getElementById("mhFormReset"), mhResetFunction = function () { var chk, data, rdo, obj, stO, selIdx; for (rdo = 0; rdo !== that.detail.length; ++rdo) { that.detail[rdo].checked = false; } that.name.value = ''; that.kana.value = ''; that.tel.value = ''; that.mail.value = ''; that.mail_confirm.value = ''; that.years.selectedIndex = 0; for (selIdx = 0; selIdx !== that.years.length; ++selIdx) { } that.msg.value = ''; return false; }; if (reset) { that.onreset = mhResetFunction; reset.onclick = mhResetFunction; } }());