<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title><?php echo $this->title;?></title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<link target="<?php echo $this->basedir;?>" />
<script src="<?php echo $this->basedir;?>js/jquery.js"></script>
<style type="text/css">
body {
	background-color: 0;
	margin: 0px;
}
</style>
<!--<body leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout" oncontextmenu="return false" onselectstart="return false" ondragstart="return false">-->
</HEAD>
<body>
<?php echo $this->player;?>
<script language="javascript">
var Refresh=1;
var uri = '<?php echo $this->installdir;?>actives/index/<?php echo $this->online;?>/';
function refersh(){
	$.get(uri);
}
<?php 
if ($this->config['refreshplayer']){?>
setInterval(function(){refersh()}, <?php echo $this->config['refreshplayer'];?>000);
<?php }?>
window.onunload = function(){
	$.get('<?php echo $this->installdir;?>actives/exit/<?php echo $this->online;?>/');
}
</script>
</body>
</html>
