function newimg(img,photoby){
    parent.change.document.write("<HTML><HEAD>");
    parent.change.document.write("<TITLE>");
    parent.change.document.write(img);
    parent.change.document.write("</TITLE>");
    parent.change.document.write("</HEAD>");
    parent.change.document.write("<BODY BGCOLOR='000000' TEXT='GRAY'>");
    parent.change.document.write("<CENTER>");
    parent.change.document.write("<TABLE HEIGHT='100%' CELLPADDING='0' CELLSPACING='0' BORDER='0'>");
    parent.change.document.write("<TR><TD ALIGN='CENTER'>");
   parent.change.document.write("<IMG SRC='img/");
    parent.change.document.write(img);
    parent.change.document.write("' ALT=");
    parent.change.document.write(img);
    parent.change.document.write("></TD></TR>");
    parent.change.document.write("<TR><TD ALIGN='RIGHT'><FONT FACE='Arial, Helvetica, sans-serif' SIZE='2'>photo by ");
    parent.change.document.write(photoby)
    parent.change.document.write("</FONT></TD></TR></TABLE>");
    parent.change.document.write("</CENTER>");
    parent.change.document.write("</BODY></HTML>");
    parent.change.document.close();
}

function newimg2(img1,img2,photoby){
    parent.change.document.write("<HTML><HEAD>");
    parent.change.document.write("<TITLE>");
    parent.change.document.write(img1);
    parent.change.document.write("</TITLE>");
    parent.change.document.write("</HEAD>");
    parent.change.document.write("<BODY BGCOLOR='000000' TEXT='GRAY'>");
    parent.change.document.write("<CENTER>");
    parent.change.document.write("<TABLE HEIGHT='100%' CELLPADDING='0' CELLSPACING='0' BORDER='0'>");
    parent.change.document.write("<TR><TD ALIGN='CENTER'>");
    parent.change.document.write("<IMG SRC='img/");
    parent.change.document.write(img1);
    parent.change.document.write("' ALT=");
    parent.change.document.write(img1);
    parent.change.document.write("><BR><DIV ALIGN='RIGHT'>");
    parent.change.document.write("<IMG SRC='img/");
    parent.change.document.write(img2);
    parent.change.document.write("' ALT=");
    parent.change.document.write(img2);
    parent.change.document.write(" VSPACE='20'></DIV>");
    parent.change.document.write("</TD></TR>");
    parent.change.document.write("<TR><TD ALIGN='RIGHT'><FONT FACE='Arial, Helvetica, sans-serif' SIZE='2'>photo by ");
    parent.change.document.write(photoby)
    parent.change.document.write("</FONT></TD></TR></TABLE>");
    parent.change.document.write("</CENTER>");
    parent.change.document.write("</BODY></HTML>");
    parent.change.document.close();
}

function newimgF(img,photoby){
    parent.change.document.write("<HTML><HEAD>");
    parent.change.document.write("<TITLE>");
    parent.change.document.write(img);
    parent.change.document.write("</TITLE>");
    parent.change.document.write("</HEAD>");
    parent.change.document.write("<BODY BGCOLOR='000000' TEXT='GRAY'>");
    parent.change.document.write("<CENTER>");
    parent.change.document.write("<TABLE HEIGHT='100%' CELLPADDING='0' CELLSPACING='0' BORDER='0'>");
    parent.change.document.write("<TR><TD ALIGN='CENTER'>");
   parent.change.document.write("<IMG SRC='img/");
    parent.change.document.write(img);
    parent.change.document.write("' ALT=");
    parent.change.document.write(img);
    parent.change.document.write("></TD></TR>");
    parent.change.document.write("<TR><TD ALIGN='RIGHT'>");
    parent.change.document.write("<IMG SRC='http://cvnweb.bai.ne.jp/~g-smile/img/firm.gif' VSPACE='3'><BR>");
    parent.change.document.write("<FONT FACE='Arial, Helvetica, sans-serif' SIZE='2'>photo by ");
    parent.change.document.write(photoby)
    parent.change.document.write("</FONT></TD></TR></TABLE>");
    parent.change.document.write("</CENTER>");
    parent.change.document.write("</BODY></HTML>");
    parent.change.document.close();
}

function newimg2F(img1,img2,photoby){
    parent.change.document.write("<HTML><HEAD>");
    parent.change.document.write("<TITLE>");
    parent.change.document.write(img1);
    parent.change.document.write("</TITLE>");
    parent.change.document.write("</HEAD>");
    parent.change.document.write("<BODY BGCOLOR='000000' TEXT='GRAY'>");
    parent.change.document.write("<CENTER>");
    parent.change.document.write("<TABLE HEIGHT='100%' CELLPADDING='0' CELLSPACING='0' BORDER='0'>");
    parent.change.document.write("<TR><TD ALIGN='CENTER'>");
    parent.change.document.write("<IMG SRC='img/");
    parent.change.document.write(img1);
    parent.change.document.write("' ALT=");
    parent.change.document.write(img1);
    parent.change.document.write("><BR><DIV ALIGN='RIGHT'>");
    parent.change.document.write("<IMG SRC='img/");
    parent.change.document.write(img2);
    parent.change.document.write("' ALT=");
    parent.change.document.write(img2);
    parent.change.document.write(" VSPACE='20'></DIV>");
    parent.change.document.write("</TD></TR>");
    parent.change.document.write("<TR><TD ALIGN='RIGHT'>");
    parent.change.document.write("<IMG SRC='http://cvnweb.bai.ne.jp/~g-smile/img/firm.gif' VSPACE='3'><BR>");
    parent.change.document.write("<FONT FACE='Arial, Helvetica, sans-serif' SIZE='2'>photo by ");
    parent.change.document.write(photoby)
    parent.change.document.write("</FONT></TD></TR></TABLE>");
    parent.change.document.write("</CENTER>");
    parent.change.document.write("</BODY></HTML>");
    parent.change.document.close();
}

function nophotoby(img){
    parent.change.document.write("<HTML><HEAD>");
    parent.change.document.write("<TITLE>");
    parent.change.document.write(img);
    parent.change.document.write("</TITLE>");
    parent.change.document.write("</HEAD>");
    parent.change.document.write("<BODY BGCOLOR='000000' TEXT='GRAY'>");
    parent.change.document.write("<CENTER>");
    parent.change.document.write("<TABLE HEIGHT='100%' CELLPADDING='0' CELLSPACING='0' BORDER='0'>");
    parent.change.document.write("<TR><TD ALIGN='CENTER'>");
    parent.change.document.write("<IMG SRC='img/");
    parent.change.document.write(img);
    parent.change.document.write("' ALT=");
    parent.change.document.write(img);
    parent.change.document.write("></TD></TR></TABLE>");
    parent.change.document.write("</CENTER>");
    parent.change.document.write("</BODY></HTML>");
    parent.change.document.close();
}

function STmsg() { //ステータス行のメッセージ
  window.status='photo open!'
}
