<!--#include virtual="/common/lib/dbcon.asp"-->
<!-- #Include virtual = "/common/lib/func.asp" -->
<%
	Dim bdm_idx, prepage
	bdm_idx = inputValue( request.form("bdm_idx") )
	prepage = request.form("prepage")


	'Response.write prepage & ", " & request.form("adr_idx")
	'Response.end

	if request.form("adr_idx") = "" or Isnull(request.form("adr_idx")) then
		call Back_back2("리스트를 선택해주세요.", request.servervariables("http_referer"))
	end If

	cart_num = Request.Form("adr_idx").count
	for j = 1 to cart_num

		num = inputValue( Request.Form("adr_idx")(j) )
		sql = "update bd_address_page set bdm_idx = '" & bdm_idx & "' where adr_idx = '" & num & "'"
		Dbcon.execute sql

	next

	Call loding(0, prepage)
%>