<!--#include virtual="/incs/config.asp" -->

<%chk_log()%>
  <%
chk_newpwr 1,3,3

   substrContent = "entryclass:adv_odr"&Vend
   substrContent =substrContent& "entrytype:del"&Vend
   substrContent =substrContent& "entryuser:"&entryuser&Vend
   substrContent =substrContent& "entrypass:"&entrypass&Vend
   substrContent =substrContent& "agentname:"&agentname&Vend
   substrContent =substrContent& "agentpass:"&agentpass&Vend
   substrContent = substrContent & "vnme:" & SafeRequest("vnme") & Vend
   substrContent = substrContent & "." & Vend
   doresult = hzsocket(substrContent)
   left5=left(doresult,5)
   If left5= "10000" Then
      call okpage( "/master/pdtmng/adv_mng/adv_lst.asp")
   Else
      call errorpage(-2,doresult)
   end if

%>