in pop_profile.asp about 12 lines up it needs a case else statement so if they goto pop_profile.asp with no mode it will not just be a blank page.
This is what I did
end if
end if
case else
Response.Redirect("default.asp")
end select
on error resume next
rs.close
set rs=nothing
if not(strUseExtendedProfile) then
%>
<!--#INCLUDE FILE="inc_footer_short.asp" -->
<% else
WriteFooter
end if %>
Brad