var xmitted = false; var AAFORM_METHOD = "POST"; var AATARGET = "_parent"; var PROCESS_CODE_LOGOUT = "21Logout"; //ログアウト function goLogOut() { goNext(PROCESS_CODE_LOGOUT); } //画面遷移制御 function goNext(processCode) { doSubmit(processCode, MAIN_URL, AATARGET, AAFORM_METHOD, false); } //リクエスト送信 function doSubmit(processCode,formAction,formTarget,formMethod,newWin){ if (!newWin) { if (xmitted) return false; xmitted = true; } document.F1.processCode.value = processCode; document.F1.aauuid.value = aauuid_g; document.F1.action = formAction; document.F1.target = formTarget; document.F1.method = formMethod; document.F1.submit(); }