<%@ language = "JavaScript" %>
<% /*
    $Revision$
    $Id$
    File:               anoniem.asp
    Description:        A deeplink call register visitors anonymous
                        Voorbeeld link: https://sgf12/facilitor5iwork/default.asp?fac_id=aans&login=GAST&noMenu=1&noHeader=1&Jumpto=cust/aans/bezoekers/anoniem.asp
    Parameters:

    Context:
    Note:
*/ %>

<%
 Response.Expires=0;
%>


<html>

<head>
<%
  // anonieme gebruikers mogen alleen vanaf het NS netwerk binnenkomen.
  ipaddress = ""+Request.ServerVariables("REMOTE_HOST");
  if (ipaddress != "145.222.61.13" &&     // NS Proxy
      ipaddress != "194.151.85.2" &&      // AANS#24057
      ipaddress != "87.249.108.135" &&    // SG|facilitor Enschede glasvezel
      ipaddress.substr(0,11) != "192.168.10." )
  {
    Response.write ("Ongeldig gebruik van Facilitor! ");
    Response.end;
  }

%>

</head>
<body leftmargin=0 topmargin=0 onLoad="Loaded();">
<script language="javascript">
  function Loaded()
  {
      var s = "../../../appl/bez/bez_afspraak.asp?urole=fe";
      parent.location.href = s;
  }
  </script>
</body>
</head>
