function top_write(val) {
step = top.topFrame.document.step_form.step.value
document.write ("<html>\
	<head>\
	<title></title>\
	<link rel='stylesheet' type='text/css' href='/common/style.css'>\
	</head>\
	<body>\
	<table width='880' border='0' cellspacing='0' cellpadding='0'>\
		<tr class='tr_middle'>\
		<td width='8'>&nbsp;</td>\
		<td width='100%'><table width='100%' border='0' cellspacing='0' cellpadding='0'>\
		<tr class='tr_middle'><td width='100%' height='35' align='right' valign='top' background='/images/sub_top.jpg' class='top'></td></tr>\
		<tr class='tr_middle'><td height='650' valign='top' style='background-image:url(/images/sub_middle.jpg)'>\
		<table width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'>\
		<tr class='tr_middle'><td width='100%' height='100%' align='left' valign='top' style='padding-left:20px;padding-right:20px;'>\
			<table width='100%' border='0' cellspacing='0' cellpadding='0'>\
				<tr><td width='100%' height='35' class='title'>")

if (val==undefined) document.write ("¡ß ")

document.write ("<label id='label_title'>" + step + "</label></td></tr>\
				<tr>\
				<td align='center'>")
}


function top_search(val) {
step = opener.top.topFrame.document.step_form.step.value
document.write ("<html>\
	<head>\
	<title></title>\
	<link rel='stylesheet' type='text/css' href='/common/style.css'>\
	</head>\
	<body>\
	<table width='100%' border='0' cellspacing='0' cellpadding='0'>\
		<tr>\
		<td width='8'>&nbsp;</td>\
		<td width='100%'><table width='100%' border='0' cellspacing='0' cellpadding='0'>\
		<tr><td width='100%' height='35' align='right' valign='top' background='/images/sub_top.jpg' class='top'></td></tr>\
		<tr><td height='100%' valign='top' style='background-image:url(/images/sub_middle.jpg)'>\
		<table width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'>\
		<tr><td width='100%' height='100%' align='left' valign='top' style='padding-left:20px;padding-right:20px;'>\
			<table width='100%' border='0' cellspacing='0' cellpadding='0'>\
				<tr><td width='100%' height='35' class='title'>")

if (val==undefined) document.write ("¡ß ")

document.write ("<label id='label_title'>" + step + "</label></td></tr>\
				<tr>\
				<td align='center'>")
}



function bottom_write() {
	document.write("</td></tr>\
				</table>\
		</td></tr>\
		<tr><td></td></tr>\
		<tr class='tr_middle'><td background='/admin/images/sub_footer.jpg' height='20'></td></tr>\
		<tr><td align='right'><img src='/admin/images/sub_b_txt.gif'></td></tr>\
		</table>\
	</td>\
	</tr>\
	</table>\
	</body>\
	</html>")
}


function ZipSearch(val,val1,val2) {
	formname = val
	zip = val1
	address = val2
	window.open("/admin/common/search_zip.asp","","width=350,height=400,scrollbars")
}



//ÀÌ¹ÌÁö »çÀÌÁî Á¶Àý
function popup_img(img,folder){ 
	imgWin=window.open("","","width=10, height=10, resizable=no"); 
	imgWin.document.write("<html><head><title>::::: MONT-BELL ÀÌ¹ÌÁö ÆË¾÷Ã¢ :::::</title></head>");
	imgWin.document.write("<script>");
	imgWin.document.write("function resizeWin() {");
	imgWin.document.write("var obj = document.getElementById('img');");
	imgWin.document.write("var w = obj.width;");
	imgWin.document.write("var h = obj.height;");
	imgWin.document.write("window.resizeTo(w + 12, h + 74);");
	imgWin.document.write("}");
	imgWin.document.write("</script>");
	imgWin.document.write("<body topmargin=0 leftmargin=0 onLoad='resizeWin();' scroll='no'>");
	imgWin.document.write("<img src='/mont_data/"+folder+"/"+img+"' onclick='self.close()' style=cursor:hand id='img' height=680>");
	imgWin.document.close();
}


