<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0 Transitional//EN">
<html>

<head>
<title>Demo Reports</title>
<link href="../css/am.css" rel="stylesheet">
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<script type="text/javascript">
<!--

function loadDynamicRequest(url,cfunc)
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
   }
xmlhttp.onreadystatechange=cfunc;
xmlhttp.open("GET",url,true);

xmlhttp.send();

}

function DisplayReport() {
// now display the report based on what has been chosen
// in the select dropdown
var Chosen=document.getElementById("report").value 

  loadDynamicRequest("/CGI_BIN/ccCGI_Demo5.exe?t=" + Math.random() + "&Report=" + Chosen,function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("ReportResult").innerHTML=xmlhttp.responseText;
    }
   });
}
// -->
</script>

</head>

<body>
<table bgcolor="#006699" width="90%">
<tr >
<td width="90%"> <font color="#FFFFFF"><h1>Demo Reports</h1></td>
<td width="10%"><img src="../Graphics/Logo.png" width="116" height="58" alt=""></td>
</tr>
</table>

<p>
@@@DATA@@@
</p>

<p>
<div id="ReportResult">

</div>
</p>

</body>
</html>

