<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>__#REPORTTITLE#__</title>
<link rel="stylesheet" href="../viewerfiles/viewer.css" type="text/css">
<style type="text/css">
    td.Title
    {
        font-family: __#@font#__;
        font-weight: bold;
        font-size: 13pt;
    }
    .ErrorText
    {
        font-family: __#@font#__;
        font-weight: bold;
        font-size: __#@fontsize#__;
        color: #ff0000;
        background-color: #FFFFCC;
    }
    .Ctrl
    {
        font-family: __#@font#__;
        font-size: __#@fontsize#__;
    }
</style>

<script language=javascript>

var popup = %s;

function InitDocument()
{
    GetParent().Refresh();
}

function Back()
{
    if(popup)
        self.close();
    else
        GetParent().GotoHomePage();
}

function GetParent()
{
    if(popup)
        return opener;
    else
        return parent.parent;
}

</script>

</head>
<body onload="InitDocument()" marginwidth=5 marginheight=5 leftmargin=5 topmargin=5 bottommargin=5 rightmargin=5>
<table class="RegText" border="0" cellspacing="0" width="100%%">
  <tr><td class="Title">%s<hr></td></tr>
  <tr><td class="ErrorText">%s</td></tr>
  <tr><td height="10"></td></tr>
  <tr><td><input type="button" value="OK" style="width: 70px;" class="Ctrl" onclick="history.back()"><input type="button" value="Cancel" style="width: 70px;" class="Ctrl" onclick="Back()"></td></tr>
</table>
</body>
</html>