function drawMediaplayer(){

document.write ('<div id="mainWrapper">');
document.write ('	<div id="mediaPlayerStatus"></div>');

document.write ('	<div id="mediaTime"></div>');

document.write ('	<div id="mediaPlayerWrapper">');
document.write ('		<object id="mediaPlayer" width="400" height="300" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" onfocus="this.hideFocus=true;">');
document.write ('			<PARAM NAME="SendPlayStateChangeEvents" VALUE="false">');
document.write ('			<PARAM NAME="URL" VALUE="asx/empty.asx">');
document.write ('			<PARAM NAME="AutoStart" VALUE="True">');
document.write ('			<PARAM name="uiMode" value="none">');
document.write ('			<PARAM name="PlayCount" value="1">');
document.write ('			<PARAM name="enableContextMenu" value="false">');
document.write ('			<param name="enabled" value="true">');
document.write ('			<param name="windowlessVideo" value="false">');
document.write ('			<param name="stretchToFit" value="true">');
document.write ('		</object>');
document.write ('	</div>');

document.write ('	<div id="mediaPositionSliderWrapper">');
document.write ('		<div id="mediaPositionSliderBGDiv" name="mediaPositionSliderBGDiv" tabindex="0" onfocus="this.hideFocus=true;">');
document.write ('			<div id="mediaPositionSliderHandleDiv"><img id="mediaPositionSliderHandleImage" src="img/slider_off.png" width="30" height="30" alt="" onmouseover="imgSwap(this)" onmouseout="imgSwap(this)"/></div>');
document.write ('		</div>');
document.write ('	</div>');

document.write ('	<div id="mediaPlayerButtons">');
document.write ('		<table cellpadding="0" cellspacing="0" border="0">');
document.write ('			<tr>');
document.write ('				<td valign="bottom" width="52"><a href="#" onClick="this.hideFocus=true; javascript: playerPlay();return false;"><img id="buttonPlay" src="img/buttons/play.jpg" srcover="img/buttons/play_over.jpg" width="51" height="21" alt="" border="0" onfocus="this.hideFocus=true;"></a></td>');
document.write ('				<td valign="bottom" width="52"><a href="#" onClick="this.hideFocus=true; javascript: playerPause();return false;"><img id="buttonPause" src="img/buttons/pause.jpg" srcover="img/buttons/pause_over.jpg" width="51" height="21" alt="" border="0" onfocus="this.hideFocus=true;"></a></td>');
document.write ('				<td valign="bottom" width="52"><a href="#" onClick="this.hideFocus=true; javascript: playerStop();return false;"><img id="buttonStop" src="img/buttons/stop.jpg" srcover="img/buttons/stop_over.jpg" width="51" height="21" alt="" border="0" onfocus="this.hideFocus=true;"></a></td>');
document.write ('				<td valign="bottom" width="52"><a href="#" onClick="this.hideFocus=true; javascript: playerFullscreen();return false;"><img id="buttonFullscreen" src="img/buttons/fullscreen.jpg" srcover="img/buttons/fullscreen_over.jpg" width="51" height="21" alt="" border="0" onfocus="this.hideFocus=true;"></a></td>');
document.write ('			</tr>');
document.write ('		</table>');
document.write ('	</div>');

document.write ('	<div id="mediaPlayerSoundButtons">');
document.write ('		<table cellpadding="0" cellspacing="0" border="0">');
document.write ('			<tr>');
document.write ('				<td width="24" height="21" valign="top"><a href="#" onClick="this.hideFocus=true; javascript: playerVolumeDown();return false;"><img id="buttonSoundmin" src="img/buttons/soundmin.jpg" srcover="img/buttons/soundmin_over.jpg" width="23" height="21" alt="" border="0" onfocus="this.hideFocus=true;"></a></td>');
document.write ('				<td width="69" height="11" valign="middle"></td>');
document.write ('				<td width="24" height="21" valign="top"><a href="#" onClick="this.hideFocus=true; javascript: playerVolumeUp();return false;"><img id="buttonSoundplus" src="img/buttons/soundplus.jpg" srcover="img/buttons/soundplus_over.jpg" width="23" height="21" alt="" border="0" onfocus="this.hideFocus=true;"></a></td>');
document.write ('				<td height="21" valign="top"><a href="#" onClick="this.hideFocus=true; javascript: playerMute();return false;"><img id="mediaPlayerMuteImageOn" src="img/buttons/soundon.jpg" srcover="img/buttons/soundon_over.jpg" border="0" onfocus="this.hideFocus=true;"><img id="mediaPlayerMuteImageOff" src="img/buttons/soundoff.jpg" srcover="img/buttons/soundoff_over.jpg" border="0" onfocus="this.hideFocus=true;"></a></td>');
document.write ('			</tr>');
document.write ('		</table>');
document.write ('	</div>');

// <a href="#" onClick="this.hideFocus=true; javascript: playerMute();return false;"><img id="buttonMute" src="img/buttons/soundon.jpg" srcover="img/buttons/soundon_over.jpg" width="51" height="21" alt="" border="0" onfocus="this.hideFocus=true;"></a>

document.write ('	<div id="mediaVolume">100%</div>');

//document.write ('	<div id="quality"></div>');

document.write ('	<div id="flags"><a href="#" onClick="this.hideFocus=true; javascript: multilanguage(\'dutch\', false);return false;"><img src="img/flags/dutch.gif" border="0"></a> <a href="#" onClick="this.hideFocus=true; javascript: multilanguage(\'english\', false);return false;"><img src="img/flags/english.gif" border="0"></a> <a href="#" onClick="this.hideFocus=true; javascript: multilanguage(\'french\', false);return false;"><img src="img/flags/french.gif" border="0"></a> <a href="#" onClick="this.hideFocus=true; javascript: multilanguage(\'german\', false);return false;"><img src="img/flags/german.gif" border="0"></a> <a href="#" onClick="this.hideFocus=true; javascript: multilanguage(\'spanish\', false);return false;"><img src="img/flags/spanish.gif" border="0"></a></div>');

document.write ('	<div id="streamInfoTitle"></div>');
	
document.write ('	<div id="streamInfo"></div>');
	
document.write ('	<div id="moreVideoTitle"></div>');

document.write ('	<div id="moreVideo"></div>');

document.write ('</div>');
	window.onload = function() {
		sliderInit();
		multilanguage(setLanguage, true);
		var GET = parseGetVars();
		currentItem = GET['video'];
		getXML(setXML, GET['video'], true);
	}
}
