/*
#################################################################################
#										#
#	Generated by N°23Live for more information visit our website.		#
#	Copyright (c) 2003 - 2006 Ivan Bischof					#
#	ALL RIGHTS RESERVED							#
#	Home 	: http://www.no23.de/						#
#	Support : ivan.bischof@no23.de						#
#										#
#################################################################################
*/
function showThePlayer() {
	var WMP7;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1){
     WMP7 = new ActiveXObject('WMPlayer.OCX');
}

// Windows Media Player >7 Code
if ( WMP7 )
{
//   Windows Media Player > 7
	document.write ('<div id="no23live">\n');
	document.write ('<OBJECT ID=MediaPlayer ');
	document.write ('CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 ');
	document.write ('standby="Loading Microsoft Windows Media Player components..." ');
	document.write ('TYPE="application/x-oleobject" width="192" height="160">\n');
	document.write ('<PARAM NAME="url" VALUE="playlist.asx">');
	document.write ('<PARAM NAME="AutoStart" VALUE="True">');
	document.write ('<PARAM NAME="TransparentAtStart" Value="true">');
	document.write ('<PARAM NAME="enableContextMenu" VALUE="false">');
	document.write ('<PARAM NAME="stretchToFit" VALUE="true">');
	document.write ('<PARAM NAME="uiMode" VALUE="mini">');
	document.write ('<PARAM NAME="Volume" VALUE="50">');
	document.write ('<PARAM NAME="Balance" VALUE="0">');
	document.write ('</OBJECT>\n');
	document.write ('</div>');
}

// Windows Media Player 6.4 Code

else
{
     //IE Code
	document.write ('<div id="no23live" style="background-color:black;width:191px;">\n');
	document.write ('<OBJECT ID="WMPlayer" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" ');
	document.write ('CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 ');
	document.write ('standby="Loading Microsoft Windows Media Player components..." ');
	document.write ('TYPE="application/x-oleobject" width="192" height="160">\n');
	document.write ('<PARAM NAME="FileName" VALUE="playlist.asx">');
	document.write ('<PARAM NAME="TransparentAtStart" Value="true">');
	document.write ('<PARAM NAME="AutoStart" Value="True">');
	document.write ('<PARAM NAME="AnimationatStart" Value="false">');
	document.write ('<param name="ShowControls" Value="true">');
	document.write ('<PARAM NAME="ShowStatusBar" Value="true">');
	document.write ('<PARAM NAME="autoSize" Value="false">');
	document.write ('<PARAM NAME="displaySize" Value="false">');
	document.write ('<PARAM NAME="ShowAudioControls" Value="true">');
	document.write ('<PARAM NAME="ShowPositionControls" Value="false">');
	document.write ('<PARAM NAME="AutoRewind" Value="true">');
	document.write ('<PARAM NAME="enableContextMenu" VALUE="false">');
	document.write ('<PARAM NAME="Volume" VALUE="50">');
	document.write ('<PARAM NAME="ShowControls" VALUE="true">');
	document.write ('<PARAM NAME="ShowTracker" VALUE="false">');

	//Netscape  & Firefox and other code
	document.write ('    <Embed type="application/x-mplayer2"');
	document.write ('        pluginspage="http://www.microsoft.com/windows/windowsmedia/"');
	document.write ('        src="playlist.asx"');
	document.write ('        Name=MediaPlayer');
	document.write ('        animationAtStart=0');
	document.write ('        ShowStatusBar=1');
	document.write ('        width=192');
	document.write ('        height=160');
	document.write ('        allowchangedisplaysize="0"');
	document.write ('        animationatstart="0"');
	document.write ('        autorewind="1"');
	document.write ('        autosize="0"');
	document.write ('        autostart="1"');
	document.write ('        balance="0"');
	document.write ('        baseurl=""');
	document.write ('        clicktoplay="0"');
	document.write ('        enablecontextmenu="0"');
	document.write ('        enablefullscreencontrols="0"');
	document.write ('        enablepositioncontrols="1"');
	document.write ('        enabletracker="0"');
	document.write ('        invokeurls="0"');
	document.write ('        mute="0"');
	document.write ('        selectionend="-1"');
	document.write ('        selectionstart="0"');
	document.write ('        showaudiocontrols="1"');
	document.write ('        showcaptioning="0"');
	document.write ('        showcontrols="1"');
	document.write ('        showdisplay="0"');
	document.write ('        showgotobar="0"');
	document.write ('        showpositioncontrols="0"');
	document.write ('        showstatusbar="1"');
	document.write ('        showtracker="0"');
	document.write ('        transparentatstart="1"');
	document.write ('        volume="50">');
	document.write ('    </embed>');
	document.write ('</OBJECT>\n');
	document.write ('</div>');
}
}
// Call the function
showThePlayer();
