    <!--
    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 ((isIE || isNetscape || isOtherBrowser) && document.BXOCXplayer.playState == 2)
        {
            alert('Press the [Esc] key on your keyboard to exit full screen mode');
            document.BXOCXplayer.DisplaySize = 3;
        }
    }

    function PowerOn() {
		if (isIE)
		{
            document.BXOCXplayer.Play();
            alert('There may be a delay of up to 15 seconds. Your connection and browser must support a 400kbps Windows Media Stream.');
		}
		if (isNetscape || isOtherBrowser)
		{
            document.BXOCXplayer.controls.Play();
		}
    }
	
    function Play() {
		if (isIE)
		{
            document.BXOCXplayer.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 (isNetscape || isOtherBrowser)
		{
            document.BXOCXplayer.controls.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.');
		}
    }
	
    function Pause() {
		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 playvideo2k8(){
	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 playarchive2k8(){
	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>')
}


