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

    File:               mySlnkIMG.asp
    Description:        Generate an PNG image
    Parameters:
        vKey            required: ALG_VERDIEPING.ALG_VERDIEPING_KEY
    Context:            Called from SlnkDwf\ToonIMG.js through gIMGGenerator
    Note:
*/
DOCTYPE_Disable = 1;
%>

<!--#include file='../Shared/common.inc'-->
<!--#include file="./FGII.inc"-->
<!--#include file="../SlnkDWF/Slnk2IMG.inc" -->
<%
pvKey     = getQParamInt("vKey", -1);
var dwfName = safe.filename(getQParam("dwfName", "")); // voorkeur bestandsnaam

dwfPath = SetVerdPlanDWF(pvKey, MODE_IN, 0, 2, dwfName); // 2==vluchtplan mode
if (dwfPath)
{
    var mySLNKDWF = new SLNKDWF({ dwfFile      : dwfPath,
                                  tempFolder   : shared.tempFolder()
                                });
    mySLNKDWF.Process();
};
%>
<% ASPPAGE_END(); %> 
