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