(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.kind.length; ++rdo) { that.kind[rdo].checked = false; } that.company.value = ''; that.name.value = ''; that.kana.value = ''; that.mail.value = ''; that.msg.value = ''; return false; }; if (reset) { that.onreset = mhResetFunction; reset.onclick = mhResetFunction; } }());