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