var ZdcEmapGPSErrMsg="取得当前位置失败"; function ZdcEmapHttpRequestHtml(url, func, nowaitmsg, typ) { // if(!nowaitmsg) ZdcEmapReadOn();//読み込み中フラグon if(typ == undefined) typ = 1; //通信処理 var ZdcEmapHttpRequestObj = new ZdcEmapHttpRequest('UTF8', 'UTF8', 1); ZdcEmapHttpRequestObj.request(url, function(html,status) { if(status == 3) status = 0;//タイムアウトは無視 連続呼び出し時の動作が安定しないので if(status == 9) status = 0;//テンプレートが無い場合に対応 if(html == null) html = "";//nullは出さない if(status == 0) { func(html,status); } else { //エラー処理 func(html,status); } // ZdcEmapReadOff();//読み込み中フラグoff //},60000); mod 2012/09/10 Y.Matsukawa },60000,typ); } function ZdcEmapAfterLocError() { // mod 2022/12/06 M.date window.location.href = "https://ml.its-mo.com/smt/cn/711map/nmap.htm?lat=35.6781444&lon=139.7693167"; } function ZdcEmapSetCondToForm(formTo) { var formC = document.formCond; if (!formC) return true; var cond,chk; chk = formC.cond1; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond1"); cond.setAttribute("value", "COL_19:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond2; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond2"); cond.setAttribute("value", "COL_20:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond3; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond3"); cond.setAttribute("value", "COL_21:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond5; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond5"); cond.setAttribute("value", "COL_23:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond6; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond6"); cond.setAttribute("value", "COL_24:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond9; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond9"); cond.setAttribute("value", "( COL_15:1 OR COL_15:2 OR COL_15:3 )"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond10; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond10"); cond.setAttribute("value", "COL_30:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond11; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond11"); cond.setAttribute("value", "COL_18:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond12; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond12"); cond.setAttribute("value", "COL_33:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond13; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond13"); cond.setAttribute("value", "COL_36:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond4; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond4"); cond.setAttribute("value", "COL_22:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond7; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond7"); cond.setAttribute("value", "COL_27:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond8; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond8"); cond.setAttribute("value", "COL_28:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond40; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond40"); cond.setAttribute("value", "COL_02:DT:LTE:SYSDATE"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond41; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond41"); cond.setAttribute("value", "COL_12:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond42; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond42"); cond.setAttribute("value", "COL_13:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond43; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond43"); cond.setAttribute("value", "COL_14:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond44; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond44"); cond.setAttribute("value", "COL_16:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond45; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond45"); cond.setAttribute("value", "COL_16:1 AND COL_21:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } chk = formC.cond47; if (chk && chk.checked) { cond = document.createElement("input"); cond.setAttribute("type", "hidden"); cond.setAttribute("name", "cond47"); cond.setAttribute("value", "COL_32:1"); // mod 2022/12/06 M.date formTo.appendChild(cond); } }