    <!--
    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 && ( 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 || isNetscape) {
            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.');
        }
    }
    function Play() {
        if (isIE || isNetscape) {
            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.');
        }
    }
    function Pause() {
        if (isIE || isNetscape) {
            document.BXOCXplayer.Pause();
        }
    }
    function Stop() {
        if (isIE || isNetscape) {
            document.BXOCXplayer.Stop();
        }
    }


    // -->

function banner740(){
	document.write('<iframe src="ads/740/banners.php" name="skybanner" width="740" height="120" marginwidth="0" marginheight="0" scrolling="No" frameborder="0" id="skybanner" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}

function skybanner(){
	document.write('<iframe src="ads/740/banners.php" name="skybanner" width="740" height="120" marginwidth="0" marginheight="0" scrolling="No" frameborder="0" id="skybanner" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}

function adwindow(){
	document.write('<iframe src="adapp.php" name="bluexmain" width="400" height="300" marginwidth="0" marginheight="0" scrolling="Yes" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}

function playeradwindow(){
	document.write('<iframe src="playeradapp.php" name="bluexmain" width="440" height="470" marginwidth="0" marginheight="0" scrolling="Yes" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}

function eventwindow(){
	document.write('<iframe src="submitevent.php" name="bluexmain" width="400" height="300" marginwidth="0" marginheight="0" scrolling="Yes" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}

function eventnetwork(){
	document.write('<iframe src="eventnet.php" name="bluexmain" width="400" height="300" marginwidth="0" marginheight="0" scrolling="Yes" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}

function mediawindow(){
	document.write('<iframe src="media/bluexnetwork" name="bluexmain" width="440" height="365" marginwidth="0" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
	
function mediawindowsrc1(){
	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,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">')
	document.write('<PARAM NAME="FileName" VALUE="http://bluejuiceserver.com:81/bluextv_broadcast"/>')
	document.write('<PARAM NAME="showstatusbar" VALUE="false"/>')
	document.write('<PARAM NAME="ShowPositionControls" VALUE="false"/>')
	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="http://bluejuiceserver.com:81/bluextv_broadcast" showcontrols="0" showstatusbar="0" AutoStart="1" volume="0" WIDTH="400" HEIGHT="300">')
	document.write('')
	document.write('</object>')
}

	
function mediawindowsrc2(){
	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,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">')
	document.write('<PARAM NAME="FileName" VALUE="http://nynserver.dyndns.tv:81/NewYearsNation"/>')
	document.write('<PARAM NAME="showstatusbar" VALUE="false"/>')
	document.write('<PARAM NAME="ShowPositionControls" VALUE="false"/>')
	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="http://nynserver.dyndns.tv:81/NewYearsNation" showcontrols="0" showstatusbar="0" AutoStart="1" volume="0" WIDTH="400" HEIGHT="300">')
	document.write('')
	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/bluextv_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/bluextv_broadcast" src="http://bluejuiceserver.com:81/bluextv_broadcast" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function mediawindow_sm(){
	document.write('<iframe src="media/bluexnetwork/index.php" name="bluexmain" width="320" marginwidth="0" height="240" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
	
function mediawindowsrc_sm(){
	document.write('<embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="http://bluejuiceserver.com:81/bluextv_broadcast"   name="BXOCXplayer"  rate="1"  standby="Loading Content...  Please Standby..."  transparentatStart="true"  type="application/x-mplayer2" width="320" height="320" ShowC."1" ShowStatusBar="1" AutoSize="true" EnableC."0" DisplaySize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed>')}

function elementzmag_sm(){
	document.write('<iframe src="media/elementzmag/index.php" name="bluexmain" width="320" marginwidth="0" height="240" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
function elementzmagsrc_sm(){
	document.write('<embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="elementz.asx"   name="BXOCXplayer"  rate="1"  standby="Loading Content...  Please Standby..."  transparentatStart="true"  type="application/x-mplayer2" width="320" height="320" ShowC."1" ShowStatusBar="1" AutoSize="true" EnableC."0" DisplaySize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed>')}

function elementzmag(){
	document.write('<iframe src="media/elementzmag/index.php" name="bluexmain" width="440" marginwidth="0" height="365" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
function elementzmagsrc(){
	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="elementz.asx">')
	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="elementz.asx" src="elementz.asx" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function mrmayberry(){
	document.write('<iframe src="media/mrmayberry/index.php" name="bluexmain" width="440" marginwidth="0" height="365" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
function mrmayberrysrc(){
	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="mrmayberry.asx">')
	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="mrmayberry.asx" src="mrmayberry.asx" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function thesurgentsvid(){
	document.write('<iframe src="media/thesurgents/index.php" name="bluexmain" width="440" marginwidth="0" height="365" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
function thesurgentsvidsrc(){
	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="thesurgentsvid.asx">')
	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="thesurgentsvid.asx" src="thesurgentsvid.asx" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function faleyuhvid(){
	document.write('<iframe src="media/pikahssofaleyuhvid/index.php" name="bluexmain" width="440" marginwidth="0" height="365" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
function faleyuhvidsrc(){
	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="faleyuhvid.asx">')
	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="faleyuhvid.asx" src="faleyuhvid.asx" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function faleyuhbts(){
	document.write('<iframe src="media/pikahssofaleyuhbts/index.php" name="bluexmain" width="440" marginwidth="0" height="365" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
function faleyuhbtssrc(){
	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="faleyuhbts.asx">')
	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="faleyuhbts.asx" src="faleyuhbts.asx" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function newyearsnation(){
	document.write('<iframe src="media/newyearsnation/index.php" name="bluexmain" width="440" marginwidth="0" height="365" marginheight="0" scrolling="No" frameborder="0" id="bluexmain" noresize="noresize">Blue Juice Media, LLC - Webcasting Network</iframe>')}
function newyearsnationsrc(){
	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="newyearsnation.asx">')
	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="newyearsnation.asx" src="newyearsnation.asx" showcontrols="0" showdisplay="0" showstatusbar="0" width="400" height="300" uiMode="full"></embed>')
	document.write('</object>')}

function adv_unsigned(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="350" height="45">')
	document.write('<param name="movie" value="gfx/advertisers/fla/utm_banner_468x60.swf" />')
	document.write('<param name="quality" value="high" /><param name="BGCOLOR" value="#000000" />')
	document.write('<embed src="gfx/advertisers/fla/utm_banner_468x60.swf" width="350" height="45" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#000000"></embed>')
	document.write('</object>')}
function admaker(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="265" height="94">')
	document.write('<param name="movie" value="gfx/advertisers/fla/admaker250x100.swf" />')
	document.write('<param name="quality" value="high" /><param name="BGCOLOR" value="#2A2A2A" />')
	document.write('<embed src="gfx/advertisers/fla/admaker250x100.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="265" height="94" bgcolor="#2A2A2A"></embed>')
	document.write('</object>')}
function headerad_unsigned(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="330" height="132">')
	document.write('<param name="movie" value="gfx/advertisers/fla/admaker250x100.swf" />')
	document.write('<param name="quality" value="high" /><param name="BGCOLOR" value="#2A2A2A" />')
	document.write('<embed src="gfx/advertisers/fla/admaker250x100.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="330" height="132" bgcolor="#2A2A2A"></embed>')
	document.write('</object>')}