<?cs include:"super_util.cs" ?>



<?cs def:print_bar_graph(data, title) ?>
 <script language="javascript">
   var g = new Graph(<?cs var:data.width ?>, <?cs var:data.height ?>);
   g.scale = <?cs var:data.scale ?>;
   g.title = "<?cs var:title ?>";
   g.xLabel = " ";
   g.yLabel = "<?cs var:lang.super_login_graphs.percent ?>";
   <?cs var:data.addRow ?>
   <?cs var:data.setX ?>
   <?cs var:data.setLegend ?>
   <?cs var:data.setCounts ?>
   g.build();
  </script>
<?cs /def ?>
      
<?cs ###########################
     # HTML starts here
     ###########################
?>

<html>
   <head>
      <title><?cs var:lang.super_login_graphs.page_title ?></title>
   <link rel="StyleSheet" href="<?cs var:image_path ?>common.css" type="text/css"  />
   <base href="<?cs var:server_name ?><?cs var:image_path ?>index.html" />
   <script language="javascript" src="<?cs var:image_path ?>graph.js"></script>
</head>
<body> 
<div class="center_msg">
<div class="center_msg"><?cs var:lang.super_login_graphs.page_title ?></div>
<div> <i><?cs var:current_time ?></i></div>
<div class="regheading"><?cs var:lang.super_login_graphs.total ?><?cs var:total ?></div>
<br />
<br />
</div>
<div>
  <?cs call:print_bar_graph(os_data, lang.super_login_graphs.os) ?>
</div>
<div>
  <?cs call:print_bar_graph(browser, lang.super_login_graphs.browser) ?>
</div>
</body>
</html>
<?cs call:runtime() ?>
