<%@ language="javascript"%>
<% /*
     $Revision$
     $Id$
*/ %>
<!--#include file="../../appl/Shared/common.inc"-->
<% FCLTHeader.Set({root: "../../appl/"}); %>
<!--#include file='../../appl/Shared/funcodes.inc'-->
<!--#include file="../../appl/Shared/resultset_table_v2.inc" -->
<!--#include file="../../appl/CAD/FGII.inc" -->
<%
if( func_enabled[ "WEB_RELMAN"] ) {

var alg_ruimte_key = getQParamInt('rkey');
var sql,oRs;
var obj_name;
%>

<html>
<head>
<%       FCLTHeader.Generate(); %>
</head>

<%
if( alg_ruimte_key == -1 )
{
  Response.Write("Illegal call: " + Request.ServerVariables("URL"));
  Response.End();
}

sql  = " SELECT OPM_LOC, OPM_RUIMTE ";
sql += "   FROM CONN_V_SCHOONGEG2  ";
sql += "      WHERE alg_ruimte_key = " + alg_ruimte_key;

%>
<body class="modal">
<%
oRs=Oracle.Execute(sql);
if (oRs.eof)
{
  Response.Write(L("lcl_object_not_found"));
  Response.End();
}
oRsL=Oracle.Execute(sql);
%>
<table id="connOpm" width='100%'>
 <tr><td class="label"><label>Locatie-opmerking:</label></td><td><%=oRsL(0)%></td></tr>
 <tr><td class="label"><label>Ruimte-opmerking:</label></td><td><%=oRsL(1)%></td></tr>
</table>
<%oRsL.close();%>
</body>
</html>
<% } else { %>
<html><head>
<%       FCLTHeader.Generate(); %>
</head><body>
<p><%=L("lcl_no_auth")%></p>
<% } %>

</body>
</html>
