function showImg(pic){
newWin = window.open("","newWin","width=400,height=450");
newWin.document.open();
newWin.window.focus();

newWin.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
newWin.document.write("<center>");
newWin.document.write("<img src=");
newWin.document.write("'../img/hd_ss.gif'>");

newWin.document.write("<br><br><br><img src='");
newWin.document.write(pic);
newWin.document.write("' border='1' width='350' height='233'><br><br><br>");
newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<img src='../img/close_off.gif' alt='CLOSE' border='0' alt='CLOSE'>");
newWin.document.write("</b></a><br><br>");

newWin.document.write("<span style='font-size:11px;color:#777777;'>");
newWin.document.write("Copyright &copy; BEHRMAN. All Rights Reserved.");
newWin.document.write("</span>");
newWin.document.write("</center>");
newWin.document.bgColor="#000000";

newWin.document.close();
}

function showImg2(pic,pic2){

newWin = window.open("","newWin2","scrollbars=yes,width=420,height=595");
newWin.document.open();
newWin.window.focus();

newWin.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
newWin.document.write("<center>");
newWin.document.write("<img src=");
newWin.document.write("'../img/hd_ss.gif'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic);
newWin.document.write("'><br>");

newWin.document.write("<img src='");
newWin.document.write(pic2);
newWin.document.write("'>");
newWin.document.write("<br><br>");

newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<img src='../img/close_off.gif' alt='CLOSE' border='0' alt='CLOSE'>");
newWin.document.write("</b></a><br><br>");


newWin.document.write("<span style='font-size:11px;color:#777777;'>");
newWin.document.write("Copyright &copy; BEHRMAN. All Rights Reserved.");
newWin.document.write("</span>");
newWin.document.write("</center>");
newWin.document.bgColor="#000000";

newWin.document.close();
}

function showImg3(pic,pic2,pic3){

newWin = window.open("","newWin2","scrollbars=yes,width=420,height=595");
newWin.document.open();
newWin.window.focus();

newWin.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
newWin.document.write("<center>");
newWin.document.write("<img src=");
newWin.document.write("'../img/hd_ss.gif'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic);
newWin.document.write("'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic2);
newWin.document.write("'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic3);
newWin.document.write("'>");
newWin.document.write("<br><br>");

newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<img src='../img/close_off.gif' alt='CLOSE' border='0' alt='CLOSE'>");
newWin.document.write("</b></a><br><br>");


newWin.document.write("<span style='font-size:11px;color:#777777;'>");
newWin.document.write("Copyright &copy; BEHRMAN. All Rights Reserved.");
newWin.document.write("</span>");
newWin.document.write("</center>");
newWin.document.bgColor="#000000";

newWin.document.close();
}


function showImg4P(pic,pic2,pic3,pic4){

newWin = window.open("","newWin2","scrollbars=yes,width=420,height=595");
newWin.document.open();
newWin.window.focus();

newWin.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
newWin.document.write("<center>");
newWin.document.write("<img src=");
newWin.document.write("'../img/hd_ss.gif'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic);
newWin.document.write("'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic2);
newWin.document.write("'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic3);
newWin.document.write("'>");

newWin.document.write("<br><img src='");
newWin.document.write(pic4);
newWin.document.write("'>");
newWin.document.write("<br><br>");

newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<img src='../img/close_off.gif' alt='CLOSE' border='0' alt='CLOSE'>");
newWin.document.write("</b></a><br><br>");


newWin.document.write("<span style='font-size:11px;color:#777777;'>");
newWin.document.write("Copyright &copy; BEHRMAN. All Rights Reserved.");
newWin.document.write("</span>");
newWin.document.write("</center>");
newWin.document.bgColor="#000000";

newWin.document.close();
}

function showImg5(pic1,pic2,pic3,pic4,pic5){

newWin = window.open("","newWin2","scrollbars=yes,width=420,height=595");
newWin.document.open();
newWin.window.focus();

newWin.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
newWin.document.write("<center>");
newWin.document.write("<img src=");
newWin.document.write("'../img/hd_ss.gif'>");


//var n=1;
//while(n<=5){
//ph = 'pic'+n;
//newWin.document.write("<br><img src='");
//newWin.document.write(ph);
//newWin.document.write("'>");
//n=n+1;
//}

newWin.document.write("<br><img src='");
newWin.document.write(pic1);
newWin.document.write("'>");

if(pic2!=""){
newWin.document.write("<br><img src='");
newWin.document.write(pic2);
newWin.document.write("'>");}

if(pic3!=""){
newWin.document.write("<br><img src='");
newWin.document.write(pic3);
newWin.document.write("'>");}

if(pic4!=""){
newWin.document.write("<br><img src='");
newWin.document.write(pic4);
newWin.document.write("'>");}

if(pic5!=""){
newWin.document.write("<br><img src='");
newWin.document.write(pic5);
newWin.document.write("'>");}

newWin.document.write("<br><br>");

newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<img src='../img/close_off.gif' alt='CLOSE' border='0' alt='CLOSE'>");
newWin.document.write("</b></a><br><br>");


newWin.document.write("<span style='font-size:11px;color:#777777;'>");
newWin.document.write("Copyright &copy; BEHRMAN. All Rights Reserved.");
newWin.document.write("</span>");
newWin.document.write("</center>");
newWin.document.bgColor="#000000";

newWin.document.close();
}


function LinkWin(url) {
 var LM1;
 LM1=window.open(url,"win","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=600,height=500");
 LM1.window.focus();
}

function LinkWin2(url) {
 var LM2;
 LM2=window.open(url,"win2","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=600,height=500");
 LM2.window.focus();
}

function LinkWin3(url) {
 var LM3;
 LM2=window.open(url,"win3","scrollbars=no,resizable=yes,toolbar=no,location=no,directories=no,width=600,height=500");
 LM2.window.focus();
}

function ppic(nm,nm2) {

fname= "../new/item/pop" +nm+ "-" +nm2+  ".jpg";

document.images.itempic.src =fname;
}

function mkpic(nm,nm2) {

fname= "../mk/item/kpop" +nm+ "-" +nm2+  ".jpg";

document.images.itempic.src =fname;
}


//GTセダンポップアップ
function showImg4(pic){
newWin = window.open("","newWin4","width=680,height=600");
newWin.document.open();
newWin.window.focus();

newWin.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");

newWin.document.write("<center>");
newWin.document.write("<img src=");
newWin.document.write("'../img/hd_lg.gif'>");

newWin.document.write("<br><br><img src='");
newWin.document.write(pic);
newWin.document.write("' border='1' oncontextmenu='return false' width='630' height='380'><br><br><br>");
newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<img src='../img/close_off.gif' alt='CLOSE' border='0' alt='CLOSE'>");
newWin.document.write("</b></a><br><br>");

newWin.document.write("<span style='font-size:12px;color:#777777; '>");
newWin.document.write("Copyright &copy; BEHRMAN. All Rights Reserved.");
newWin.document.write("</span>");
newWin.document.write("</center>");
newWin.document.bgColor="#000000";

newWin.document.close();
}

