    <!--
    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 openFeature(){openWin('http://bluextvnetwork.com/network/events','ViewFeature',620,550,1,0,0,1)}
function openWin( pageToLoad, winName, width, height, center, scrollbars, status, titlebar) 
{ 

xposition=0; yposition=0;
if ((parseInt(navigator.appVersion) >= 4 ) &&
(center)){
xposition = (screen.width - width) / 2;
yposition = (screen.height - height) / 2; 

} 

args = "width=" + width + "," 
+ "height=" + height + "," 
+ "location=0," 
+ "menubar=0,"
+ "resizable=0,"
+ "scrollbars=" + scrollbars + ","
+ "status=" + status + "," 
+ "titlebar=" + titlebar + ","
+ "toolbar=0,"
+ "hotkeys=0,"
+ "screenx=" + xposition + "," //NN Only
+ "screeny=" + yposition + "," //NN Only
+ "left=" + xposition + "," //IE Only
+ "top=" + yposition; //IE Only 

window.open( pageToLoad,winName,args ); 


} 

    // -->

function mediawindow(){
	document.write('<iframe src="http://goodfaithstreaming.com/tv/goodfaithtv" name="gftvmain" width="400" height="360" marginwidth="0" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media - Webcasting Network</iframe>')}
	
function mediawindowsrcWNUSA(){
	document.write('<object id="BXOCXplayer" width=400 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">')
	document.write('<param name="FileName" value="http://bluejuiceserver.com:81/watchnightusa_broadcast">')
	document.write('<param name="ShowControls" value="0">')
	document.write('<param name="ShowDisplay" value="0">')
	document.write('<param name="ShowStatusBar" value="0">')
	document.write('<param name="TransparentAtStart" value="1">')
	document.write('<param name="AutoSize" value="1">')
	document.write('<param name="background" value="/gfx/env/vodbgnd400.jpg">')
	document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/" filename="http://bluejuiceserver.com:81/watchnightusa_broadcast" src="http://bluejuiceserver.com:81/watchnightusa_broadcast" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function mediawindowsrc(){
	document.write('<object id="BXOCXplayer" width=400 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">')
	document.write('<param name="FileName" value="http://bluejuiceserver.com:81/goodfaithtv_broadcast">')
	document.write('<param name="ShowControls" value="0">')
	document.write('<param name="ShowDisplay" value="0">')
	document.write('<param name="ShowStatusBar" value="0">')
	document.write('<param name="TransparentAtStart" value="1">')
	document.write('<param name="AutoSize" value="1">')
	document.write('<param name="background" value="/gfx/env/vodbgnd400.jpg">')
	document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/" filename="http://bluejuiceserver.com:81/goodfaithtv" src="http://bluejuiceserver.com:81/goodfaithtv_broadcast" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}


