<html>
<head>
<title> Web Broadcasting </title>
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
</style>
</head>

<body bgcolor="buttonface" scroll="no">

<center>

<object id="Player" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="100%" height="100%">
<param name="autoStart" value="true" />
<param name="stretchToFit" value="yes" />
<param name="uiMode" valuex="none" value="mini" />
<param name="URL" value="<%=MMS_URL%>" />
</object>

</center>

</body>
</html>

<script language="javascript">

//var videoWidth = <%=VIDEO_WIDTH%>;
//var videoHeigth = <%=VIDEO_HEIGHT%>;
//var mmsUrl = "<%=MMS_URL%>";
var isBroadcasting = <%=IS_BROADCASTING%> != 0;


if (window.ActiveXObject){
	// ie
}
else{
	// Netscape, Firefox
	if (isBroadcasting)	location =  "<%=MMS_URL%>";
}
	

if(!isBroadcasting){
	Player.uiMode = "invisible";
	alert("Broadcasting is not active!");
}
</script>

