// JavaScript Document
function resize( Img ) {
	window.moveTo( 0, 0 );
	var width = Img.width;
	var height = Img.height;

	window.resizeTo( width + 27, height + 62 );
	document.all.Layer1.style.display="none";
}
function showPicture(src) {
	var imgObj = new Image();
	imgObj.src = src;
	var wopt = "scrollbars=yes,status=no,resizable=yes";
	wopt += ",width=" + imgObj.width;
	wopt += ",height=" + imgObj.height;
	var wbody = "<head><title>확대 보기</title>";
	wbody += "<script language='javascript'>";
	wbody += "function finalResize(){";
	wbody += "	window.moveTo(0,0);";
	wbody += "  var oBody = document.body;";
	wbody += "  var oImg = document.i" + "mages[0];";
	wbody += "  var xdiff = oImg.width - oBody.clientWidth;";
	wbody += "  var ydiff = oImg.height - oBody.clientHeight;";
	wbody += "  window.resizeBy(xdiff,ydiff);";
	wbody += "}";
	wbody += "</"+"script>";
	wbody += "</head>";
	wbody += "<body onLoad='finalResize()' style='margin:0'>";
	wbody += "<a href='javascript:window.close()'><img src='" + src + "' border='0'  disabled></a>";
	wbody += "</body>";
	winResult = window.open("about:blank","",wopt);
	winResult.document.open("text/html", "replace");
	winResult.document.write(wbody);
	winResult.document.close();
	return;
}

