    <!--
    var preloadFlag = false;

    var browserName = navigator.appName;

    var agent = navigator.userAgent;
    var isIE = ( agent.indexOf("MSIE") > -1 ) ? true : false;
    var isNetscape = ( agent.indexOf("Netscape") > -1 ) ? true : false;
    var isOtherBrowser = ( isIE || isNetscape ) ? false : true;


    function ShowBitrateSettings() {
        // update the setting tab
        //alert("player url = "+ parent.document.pickup.playerurl.value);
        parent.message.location = parent.document.pickup.settingsurl.value;
    }

    function FullScreen() 
	{
		if(document.BXOCXplayer.playState == 3) 
		{
			alert('Press the [Esc] key on your keyboard to exit full screen mode');
			if (isIE) 
			{
				document.BXOCXplayer.displaysize=3;
			}
			if (isNetscape || isOtherBrowser) 
			{
				document.BXOCXplayer.controls.fullscreen=true;
			}
        }
    }

    function PowerOn()
	{
		alert('There may be a delay of up to 15 seconds. Your connection and browser must support a 400kbps Windows Media Stream.');
		if (isIE) 
		{
		document.BXOCXplayer.play();
		}
		if (isNetscape || isOtherBrowser) 
		{
		document.BXOCXplayer.controls.play();
		}
    }
	
    function Play() 
	{
//		alert('When playing streaming media, there may be a delay time of up to 15 seconds for buffering before seeing the media you are trying to access.');
		if (isIE) 
		{
		document.BXOCXplayer.play();
		}
		if (isNetscape || isOtherBrowser) 
		{
		document.BXOCXplayer.controls.play();
		}
    }
	
    function Pause()
	{
//		alert('When playing streaming media, there may be a delay time of up to 15 seconds for buffering before seeing the media you are trying to access.');
		if (isIE) 
		{
		document.BXOCXplayer.pause();
		}
		if (isNetscape || isOtherBrowser) 
		{
		document.BXOCXplayer.controls.pause();
		}
    }
	
    function Stop()
	{
		if (isIE) 
		{
		document.BXOCXplayer.stop();
		}
		if (isNetscape || isOtherBrowser) 
		{
		document.BXOCXplayer.controls.stop();
		}
    }

    // -->


function playvideo(){
	document.write('<object id="BXOCXplayer" width="400" height="320" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">')
	document.write('<PARAM NAME="FileName" VALUE="webcast.asx"/>')
	document.write('<PARAM NAME="ShowPositionControls" VALUE="false"/>')
	document.write('<PARAM NAME="ShowStatusBar" VALUE="true"/>')
	document.write('<PARAM NAME="autoStart" VALUE="true"/>')
	document.write('<PARAM NAME="uiMode" VALUE="none"/>')
	document.write('<PARAM NAME="transparentatStart" VALUE="true"/>')
	document.write('<PARAM NAME="showControls" VALUE="false"/>')
	document.write('<PARAM NAME="animationatStart" VALUE="false"/>')
	document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="BXOCXplayer" src="webcast.asx" showcontrols="0" showstatusbar="0" AutoStart="1" volume="0" width="400" height="320">')
	document.write('</embed>')
	document.write('</object>')
}

function playarchive(){
	document.write('<object id="BXOCXplayer" width="400" height="320" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">')
	document.write('<PARAM NAME="FileName" VALUE="archive.asx"/>')
	document.write('<PARAM NAME="ShowPositionControls" VALUE="false"/>')
	document.write('<PARAM NAME="ShowStatusBar" VALUE="true"/>')
	document.write('<PARAM NAME="autoStart" VALUE="true"/>')
	document.write('<PARAM NAME="uiMode" VALUE="none"/>')
	document.write('<PARAM NAME="transparentatStart" VALUE="true"/>')
	document.write('<PARAM NAME="showControls" VALUE="false"/>')
	document.write('<PARAM NAME="animationatStart" VALUE="false"/>')
	document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="BXOCXplayer" src="archive.asx" showcontrols="0" showstatusbar="0" AutoStart="1" volume="0" width="400" height="320">')
	document.write('</embed>')
	document.write('</object>')
}

function playvideostream(){
	document.write('<object id="BXOCXplayer" width="400" height="320" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">')
	document.write('<PARAM NAME="FileName" VALUE="webcast.asx"/>')
	document.write('<PARAM NAME="ShowPositionControls" VALUE="false"/>')
	document.write('<PARAM NAME="ShowStatusBar" VALUE="true"/>')
	document.write('<PARAM NAME="autoStart" VALUE="true"/>')
	document.write('<PARAM NAME="uiMode" VALUE="none"/>')
	document.write('<PARAM NAME="transparentatStart" VALUE="true"/>')
	document.write('<PARAM NAME="showControls" VALUE="false"/>')
	document.write('<PARAM NAME="animationatStart" VALUE="false"/>')
	document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="BXOCXplayer" src="webcast.asx" showcontrols="0" showstatusbar="1" AutoStart="1" volume="0" WIDTH="400" HEIGHT="320">')
	document.write('</embed>')
	document.write('</object>')
}



