<!--
imgwin = '';  //ウィンドウオブジェクト定義
function _Oncall_jp_Img(img)
{
  //img:イメージファイル
  if (img != '')
  {  //イメージの存在チェック（存在する場合）
    image=new Image();  //イメージオブジェクト生成
    image.src=(img);
    _Oncall_jp_ImgWin(img,image.width,image.height,0,0);
  }
}
function _Oncall_jp_ImgWin(img,width,height,sb,rs)
{  //イメージの小窓表示
  //img:イメージファイル、width:ウィンドウ横幅(ピクセル)、height:ウィンドウ高さ(ピクセル)
  //sb:スクロールバー(0/1)、rs:リサイズ可否(0/1)
  if (img != '')
  {  //イメージの存在チェック（存在する場合）
    if(imgwin !='')
    {  //ウィンドウの存在チェック（存在する場合）
      imgwin.close();  //消去する
    }
    opt="width="+620+",height="+468+",scrollbars="+sb+",resizable="+rs;
    imgwin=window.open('','_blank',opt);  //ウィンドウをオープンする

    imgwin.document.open();  //タイトルと上下左右マージンを０設定
    imgwin.document.writeln("<html><head><title>【oncall_jp】アクセスマップ</title></head>");
    imgwin.document.writeln("<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 background='"+img+"'>");
    imgwin.document.writeln("</body></html>");  //イメージ表示
    imgwin.document.close();

    imgwin.focus();  //ウィンドウを前面に表示
  }
}
//-->
