<%@ language = "JavaScript" %>
<%
/*
    $Revision$
    $Id$
    File:               infobord.asp
    Description:        A deeplink call to display information on the infobord
    Parameters:
        locatie_code:    the code of the location. Optional parameter
        gebouw_code:     the code of the building. Optional parameter
        verdieping_code: the code of the floor. Optional parameter
        refreshrate:     the time the report is refreshed in seconds. Optional parameter
    Context:
    Note:
*/
%>
<!-- #include file="../../../appl/Shared/common.inc" -->
<%
var res_ruimte_naam = getQParam("res_ruimte_naam", "Onbekend");
var verdieping_code = getQParam("verdieping_code", "Onbekend");
%>
<html>
<head>
</head>

<% if (res_ruimte_naam == "Onbekend") {  
      if (verdieping_code == "Onbekend") { %>
<frameset border="0" rows="105,*,10">
    <frame name="Top" src="Top.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
    <frame name="Content" src="infobord_content.asp?<%=Request.ServerVariables("QUERY_STRING")%>" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
    <frame name="Bottom" scrolling="no" frameborder="0" noresize>
</frameset>
<%     } else { %>
<frameset border="0" rows="105,*,*">
    <frame name="Top" src="Top.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
    <frame name="Content" src="infobord_content.asp?<%=Request.ServerVariables("QUERY_STRING")%>" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
    <frame name="Bottom" src="infobord_content.asp?fac_usrrap_key=501&<%=Request.ServerVariables("QUERY_STRING")%>" scrolling="no" frameborder="0" noresize>
</frameset>
<%     }
   } else {  %>   
<frameset border="0" rows="105,*,200">
    <frame name="Top" src="Top.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
    <frame name="Content" src="infobord_content.asp?<%=Request.ServerVariables("QUERY_STRING")%>" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
    <frame name="Bottom" src="bottom_content.asp?<%=Request.ServerVariables("QUERY_STRING")%>" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
</frameset>
<% } %>
</html>
