// Toon audio-player zonder dat het eerst geactiveerd moet worden.
function showAudioPlayer(sAudioFile)
{
	document.write('<OBJECT id=mediaPlayer codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height=65 standby="Loading Microsoft Windows Media Player components..." width=320 classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 VIEWASTEXT>\n');
		document.write('<param name="enablecontextmenu" value="true">\n');
		document.write('<param name="autostart" value="true">\n');
		document.write('<param name="windowlessvideo" value="false">\n');
		document.write('<param name="captioningid" value="0">\n');
		document.write('<param name="uimode" value="full">\n');
		document.write('<param name="stretchtofit" value="false">\n');
		document.write('<PARAM NAME="URL" VALUE="' + sAudioFile + '">\n');
		document.write('<PARAM NAME="rate" VALUE="1">\n');
		document.write('<PARAM NAME="balance" VALUE="0">\n');
		document.write('<PARAM NAME="currentPosition" VALUE="0.0000">\n');
		document.write('<PARAM NAME="defaultFrame" VALUE="">\n');
		document.write('<PARAM NAME="playCount" VALUE="1">\n');
		document.write('<PARAM NAME="autoStart" VALUE="1">\n');
		document.write('<PARAM NAME="currentMarker" VALUE="0">\n');
		document.write('<PARAM NAME="invokeURLs" VALUE="0">\n');
		document.write('<PARAM NAME="baseURL" VALUE="">\n');
		document.write('<PARAM NAME="volume" VALUE="50">\n');
		document.write('<PARAM NAME="mute" VALUE="false">\n');
		document.write('<PARAM NAME="stretchToFit" VALUE="0">\n');
		document.write('<PARAM NAME="windowlessVideo" VALUE="1">\n');
		document.write('<PARAM NAME="enabled" VALUE="true">\n');
		document.write('<PARAM NAME="enableContextMenu" VALUE="-1">\n');
		document.write('<PARAM NAME="fullScreen" VALUE="0">\n');
		document.write('<PARAM NAME="SAMIStyle" VALUE="">\n');
		document.write('<PARAM NAME="SAMILang" VALUE="">\n');
		document.write('<PARAM NAME="SAMIFilename" VALUE="">\n');
		document.write('<PARAM NAME="captioningID">\n');
		document.write('<PARAM NAME="enableErrorDialogs" VALUE="0">\n');
		document.write('<EMBED\n');
			document.write('NAME	="EmbedmediaPlayer"\n');
			document.write('TYPE	="application/x-mplayer2"\n');
			document.write('SRC		="muziek.mp3"\n');
			document.write('WIDTH	="320"\n');
			document.write('HEIGHT	="65"\n');
			document.write('stretchToFit="false" mute="false" volume="50" captioningID="0" windowlessVideo="false" uimode="full" playCount="1" autostart="true" enablecontextmenu="true" enabled="true">\n');
		document.write('</EMBED>\n');
	document.write('</OBJECT>\n');
}

// Toon movie-player zonder dat het eerst geactiveerd moet worden.
function showMoviePlayer(sHeight, sWidth, sPath, sMovieFile)
{
	document.write('<OBJECT id=mediaPlayer codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="' + sHeight + '" standby="Loading Microsoft Windows Media Player components..." width="' + sWidth + '" classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 VIEWASTEXT>\n');
		document.write('<param name="windowlessvideo" value="false">\n');
		document.write('<param name="captioningid" value="0">\n');
		document.write('<param name="uimode" value="none">\n');
		document.write('<param name="stretchtofit" value="false">\n');
		document.write('<PARAM NAME="URL" VALUE="' + sPath + '">\n');
		document.write('<PARAM NAME="rate" VALUE="1">\n');
		document.write('<PARAM NAME="balance" VALUE="0">\n');
		document.write('<PARAM NAME="currentPosition" VALUE="0.0000">\n');
		document.write('<PARAM NAME="defaultFrame" VALUE="">\n');
		document.write('<PARAM NAME="playCount" VALUE="1">\n');
		document.write('<PARAM NAME="autoStart" VALUE="1">\n');
		document.write('<PARAM NAME="currentMarker" VALUE="0">\n');
		document.write('<PARAM NAME="invokeURLs" VALUE="0">\n');
		document.write('<PARAM NAME="baseURL" VALUE="">\n');
		document.write('<PARAM NAME="volume" VALUE="100">\n');
		document.write('<PARAM NAME="mute" VALUE="false">\n');
		document.write('<PARAM NAME="stretchToFit" VALUE="0">\n');
		document.write('<PARAM NAME="windowlessVideo" VALUE="1">\n');
		document.write('<PARAM NAME="enabled" VALUE="false">\n');
		document.write('<PARAM NAME="enableContextMenu" VALUE="-1">\n');
		document.write('<PARAM NAME="fullScreen" VALUE="0">\n');
		document.write('<PARAM NAME="SAMIStyle" VALUE="">\n');
		document.write('<PARAM NAME="SAMILang" VALUE="">\n');
		document.write('<PARAM NAME="SAMIFilename" VALUE="">\n');
		document.write('<PARAM NAME="captioningID">\n');
		document.write('<PARAM NAME="enableErrorDialogs" VALUE="0">\n');
		document.write('<EMBED\n');
			document.write('NAME	="EmbedmediaPlayer"\n');
			document.write('TYPE	="application/x-mplayer2"\n');
			document.write('SRC		="' + sMovieFile + '"\n');
			document.write('WIDTH	="' + sWidth + '"\n');
			document.write('HEIGHT	="' + sHeight + '"\n');
			document.write('stretchToFit="false" mute="false" volume="100" captioningID="0" windowlessVideo="false" uimode="none" playCount="1">\n');
		document.write('</EMBED>\n');
	document.write('</OBJECT>\n');
}
