// ÀÌ¹ÌÁö º¸±â »õÃ¢
function Viewimage(src) {
	var imgObj = new Image();
	imgObj.src = src;
	var wopt = "status=no,resizable=no";
	if(screen.width < imgObj.width || screen.height < imgObj.height){
		wopt += ",scrollbars=yes,width=100,height=100";
	}
	else{
		wopt += ",scrollbars=no";
		wopt += ",width=" + imgObj.width;
		wopt += ",height=" + imgObj.height;
	}
	var wbody = "<head><title>»çÁø º¸±â</title>";
	wbody += "<script language='javascript'>";
	wbody += "function finalResize(){";
	wbody += "  var oBody=document.body;";
	wbody += "  var oImg=document.images[0];";
	wbody += "  var xdiff=oImg.width-oBody.clientWidth;";
	wbody += "  var ydiff=oImg.height-oBody.clientHeight;";
	wbody += "if(xdiff > screen.width)xdiff = screen.width-110;";
	wbody += "if(ydiff > screen.height)ydiff = screen.height-120;";
	wbody += "  window.moveBy(0,0);";
	wbody += "  window.resizeBy(xdiff,ydiff);";
	wbody += "}";
	wbody += "</"+"script>";
	wbody += "</head>";
	wbody += "<body onLoad='finalResize()' style='margin:0;cursor:hand' onclick=javascript:window.close()>";
	wbody += "<a href='javascript:window.close()'><img src='" + src + "' border=0></a>";
	wbody += "</body>";
	winResult = window.open("about:blank","",wopt);
	winResult.document.open("text/html", "replace");
	winResult.document.write(wbody);
	winResult.document.close();
	return;
}
// ¿ìÆí¹øÈ£ °Ë»öÃ¢ ¶ç¿ì±â
function zipcodeSearch(fkind)
{
	var newwin = window.open("./zipcode.php?fkind="+fkind,"zipcode","width=100,height=100");
	if( newwin ){ newwin.focus(); }
}
// ¾ÆÀÌµð/ºñ¹Ð¹øÈ£ Ã£±âÃ¢ ¶ç¿ì±â ¿øº»
function findPass(gu)
{
	if ( gu==1 )
	{
		var p = "fid";
	}
	else
	{
		var p = "fpass";
	}
	var newwin = window.open("./kfindpass.php?p="+p,"findidpass","width=100,height=100");
	if( newwin ){ newwin.focus(); }
}