function imageWindowJ(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=" + imageName + ".jpg width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}
 
function imageWindowG(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=" + imageName + ".gif width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}

function imageWindowBH(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www.the-peanut-vender.com/05toy/bobblehead/" + imageName + ".jpg width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}


function imageWindowCDJ(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www3.ctktv.ne.jp/~peanut/01auto/decal/" + imageName + ".jpg width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}


function imageWindowCDG(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www3.ctktv.ne.jp/~peanut/01auto/decal/" + imageName + ".gif width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}


function imageWindowCPTG(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www3.ctktv.ne.jp/~peanut/01auto/patch/" + imageName + ".gif width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}

function imageWindowCPTJ(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www3.ctktv.ne.jp/~peanut/01auto/patch/" + imageName + ".jpg width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}


function imageWindowCPNG(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www3.ctktv.ne.jp/~peanut/01auto/pin/" + imageName + ".gif width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}


function imageWindowCPNJ(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www3.ctktv.ne.jp/~peanut/01auto/pin/" + imageName + ".jpg width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}


function imageWindowCPCJ(imageName,imageWidth,imageHeight,imgTitle){

myWin = open("",imageName,"width=" + imageWidth + ",height=" + imageHeight + ",top=15,left=15");
	with(myWin.document){
	open();
	write("<html>");
	write("<head>");
	write("<title>");
	write(imgTitle);
	write("</title>");
	write("</head>");
	write("<body BGCOLOR='#000000' topmargin='0' leftmargin='0'>");
	write("<center>");
	write("<a href=javascript:window.close();>");
	write("<img src=http://www3.ctktv.ne.jp/~peanut/03homeliving/postcard/" + imageName + ".jpg width=" + imageWidth + " height=" + imageHeight + " border='0'>");
	write("</a>");
	write("</center>");
	write("</body>");
	write("</html>");
	close();
	}
}

