// 共通関数 var SENDCK = true; var ERRCK = true; // 二重送信の防止処理 function checkSend(){ if (SENDCK) { if (ERRCK) { SENDCK = false; return true; } else { //alert(' エラーを確認してください'); $(".tooltip").prev().focus(); return false; } } else { alert(' 現在処理中です \n\n 暫くお待ち下さい'); return false; } } // ページ遷移 function goPage(frm, next, mode){ frm.next.value = next; frm.mode.value = mode; frm.submit(); return false; } // ページング function moveList(frm, next, mode, page) { document.frm.next.value = next; document.frm.mode.value = mode; document.frm.page.value = page; document.frm.submit(); return false; } // ウィンドウオープン function openWindow() { var width = window.screen.availWidth; var height = window.screen.availHeight; nw = window.open("index.php", "sub", "width="+width+", height="+height+", status=yes, toolbar=0,location=0,menubar=0,directories=0, scrollbars=yes, resizable=yes, top=0, left=0"); nw.resizeTo(width, height); nw.focus(); }