hi,
that error is a compiler error. i'd be sure it isn't anything to do with
the code you posted.
it looks like you are attempting to access a variable called "__w" that is
either private or doesn't exist.
try posting the relevant code.
tim
"SinCity" <nw*@gsw-inc.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>I am getting the error "BC30451: Name '__w' is not declared". How can I
fix
this? Here is my code...
<script language="javascript">
document.form1.PageUrl.value='<%=Request.ServerVar iables("HTTP_REFERER")%>';
</script>