  //画像の別ウィンドウ表示
imgwin = '';
function _Oncall_jp_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)
{
  if (img != '')
  {
    if(imgwin !='')
    {
      imgwin.close();
    }
    opt="width="+width+",height="+height+",scrollbars="+sb+",resizable="+rs;
    imgwin=window.open('','_blank',opt);

    imgwin.document.open();
    imgwin.document.writeln("<html><head><title>【中古艇情報】ニッサンマリーン博多販売 株式会社</title></head>");
    imgwin.document.writeln("<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
    imgwin.document.writeln("<div><img src='"+img+"'></div></body></html>");
    imgwin.document.close();

    imgwin.focus();
  }
}
function _Oncall_jp_HtmlWin(html,width,height,sb,rs,name)
{
  if (html != '')
  {
    opt="width="+width+",height="+height+",scrollbars="+sb+",resizable="+rs;
    htmlwin=window.open(html,name,opt);
    htmlwin.resizeTo(width,height);
    htmlwin.focus();
  }
}


function OpenWindow(fPath,wName,wWidth,wHeight)
{
    window.open(fPath, wName, "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+wWidth+",height="+wHeight)
}

function OpenWindow2(fPath,wName,wWidth,wHeight)
{
    window.open(fPath, wName, "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+wWidth+",height="+wHeight)
}
