(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.company.value = ''; that.postcode_01.value = ''; that.postcode_02.value = ''; that.tel.value = ''; that.fax.value = ''; that.mail.value = ''; that.pref_01.selectedIndex = 0; for (selIdx = 0; selIdx !== that.pref_01.length; ++selIdx) { } that.pref_02.selectedIndex = 0; for (selIdx = 0; selIdx !== that.pref_02.length; ++selIdx) { } that.address_01.value = ''; that.address_02.value = ''; that.title.value = ''; for (rdo = 0; rdo !== that.category.length; ++rdo) { that.category[rdo].checked = false; } that.other01.value = ''; that.other02.value = ''; that.other03.value = ''; that.other04.value = ''; that.other05.value = ''; that.other06.value = ''; that.height.value = ''; that.width.value = ''; that.number.value = ''; for (rdo = 0; rdo !== that.plan.length; ++rdo) { that.plan[rdo].checked = false; } that.term.value = ''; for (rdo = 0; rdo !== that.pay.length; ++rdo) { that.pay[rdo].checked = false; } that.msg.value = ''; for (rdo = 0; rdo !== that.know.length; ++rdo) { that.know[rdo].checked = false; } that.detail.value = ''; return false; }; if (reset) { that.onreset = mhResetFunction; reset.onclick = mhResetFunction; } }());