<%@ language = "JavaScript" %>
<% /*
    $Revision$
    $Id$

    File:               locatie_list.asp
    Description:        List of locations (Mobile version)
    Parameters:         district_key (optioneel)
                        locatie_key  (optioneel)

*/ %>

<!-- #include file="../Shared/common.inc" -->
<!-- #include file="./mobile.inc" -->
<!-- #include file="../alg/alg.inc" -->

<%
  var dis_key  = getQParamInt("district_key", null); // District
  var loc_key   = getQParamInt("locatie_key", null); // Locatie

  var authparams = alg.checkAutorisation();

  var transitParam        = buildTransitParam("qrc");
  var transitPlaatsParam  = buildTransitParam(["loc_key", "dis_key"], {loc_key: loc_key, dis_key: dis_key});

  var purl = "?mode=show" + transitParam;

  purl = "plaatsselector.asp"
       + "?startlevel=1"
       + "&eindlevel=2"
       + "&filtCode=EXP"
       + transitPlaatsParam
       + "&autlevel=" + authparams.ALGreadlevel
       + "&return_to=" + safe.url("locatie.asp") + encodeURIComponent(purl);

  ASPPAGE_END();
  Response.Redirect(purl);
%>