var msgObj = document.getElementById("MaviSorryMsg"); if( !msgObj ){ document.write('
認証に必要な情報を取得できませんでした
'); }