
<!-- Javascript used with player youtube -->
		function youtube_player(src,width,height,autoplay) {
			var ap = '';
			if ( autoplay )
				ap = '&autoplay=1';
			var result='<object width="'+width+'" height="'+height+'">';
			result+='<param name="movie" value="'+src+'&hl=en&fs=1&hd=1&rel=0&version=3&showinfo=0&showsearch=0'+ap+'"></param>';
			result+='<param name="allowFullScreen" value="true" />';
			result+='<param name="allowscriptaccess" value="always"></param>';
			result+='<embed src="'+src+'&hl=en&fs=1&rel=0&hd=1&version=3&showinfo=0&showsearch=0'+ap+'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'+width+'" height="'+height+'"></embed>';
			result+='</object>';
			return result;
		}
<!-- End Javascript for youtube -->
<!-- Javascript used with player dailymotion -->
function dailymotion_player(width,height,flashvars) {
	var result = '<object id="video_player_object" width="'+width+'" height="'+height+'" allowscriptaccess="always" allowfullscreen="true" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" type="application/x-shockwave-flash">';
	result += '<param value="true" name="allowfullscreen"/>';
	result += '<param value="always" name="allowscriptaccess"/>';
	result += '<param value="opaque" name="wmode"/>';
	result += '<param value="'+flashvars+'" name="movie"/>';
	result += '<param value="best" name="quality"/>';
	result += '<embed id="video_player_embed" width="'+width+'" height="'+height+'" allowFullScreen="true" src="'+flashvars+'"';
	result += ' pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true" allowscriptaccess="always" wmode="opaque" type="application/x-shockwave-flash"/>';
	result += '</object>';
	return result;
}
<!-- End Javascript for dailymotion -->


<!-- Javascript used with player vimeo -->
			function vimeo_player(id,src,width,height,flashvars) {	
				var result = '';
				result += '<iframe src="http://player.vimeo.com/video/'+id+flashvars+'" width="'+width+'" height="'+height+'" frameborder="0"></iframe>';
				return result;
			}
<!-- End Javascript for vimeo -->

<!-- Javascript used with player metacafe -->
		function metacafe_player(src,width,height,flashvars) {
			var result='<embed src="'+src+'" width="'+width+'" height="'+height+'" ';
			result+=' wmode="opaque" allowFullScreen="true" '; 
			result+='flashVars="'+flashvars+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">';
			result+='</embed>';
			return result;
		}
<!-- End Javascript for metacafe -->

<!-- Javascript used with player google -->
		function google_player(src,width,height,autoplay) {
			src += '&playerMode=embedded';
			if ( autoplay ) {
				src += '&autoPlay=true';
			}
			if(is_ie)	{
				var result='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="'+height+'">';
				result+='<param name="wmode" value="transparant" />';
				result+='<param name="movie" value="'+src+'" />';
			}
			else {
				var result='<object data="'+src+'" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'">';
				result+='<param name="wmode" value="opaque" />';
				result+='<param name="quality" value="high" />';
			}
			result+='<param name="loop" value="false" />';
			result+='<param name="play" value="'+autoplay+'" />';
			result+='<param name="flashvars" value="fs=true" />';
			result+='<param name="allowFullScreen" value="true">';
			result+='</object>';
			return result;
		}
<!-- End Javascript for google -->
<!-- Javascript used with player veoh -->
function veoh_player(width,height,flashvars) {
	var result = '<object id="video_player_object" width="'+width+'" height="'+height+'" allowscriptaccess="always" allowfullscreen="true" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" type="application/x-shockwave-flash">';
	result += '<param value="true" name="allowfullscreen"/>';
	result += '<param value="always" name="allowscriptaccess"/>';
	result += '<param value="opaque" name="wmode"/>';
	result += '<param value="'+flashvars+'" name="movie"/>';
	result += '<param value="best" name="quality"/>';
	result += '<embed id="video_player_embed" width="'+width+'" height="'+height+'" allowFullScreen="true" src="'+flashvars+'"';
	result += ' pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true" allowscriptaccess="always" wmode="window" type="application/x-shockwave-flash"/>';
	result += '</object>';
	return result;
}
<!-- End Javascript for veoh -->

<!-- Javscript for player 'funnyordie'. -->
function funnyordie_player(src, width, height, flashvars) {
	var result = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';
	result += 'width="' + width + '" height="' + height + '">';
	result += '<param name="movie" value="' + src + '" />';
	result += '<param name="flashvars" value="' + flashvars + '" />';
	result += '<param name="allowfullscreen" value="true" />';
	result += '<param name="wmode" value="opaque">';
	result += '<embed type="application/x-shockwave-flash" ';
	result += 'width="' + width + '" height="' + height + '" ';
	result += 'flashvars="' + flashvars + '" ';
	result += 'allowfullscreen="true" quality="high" wmode="opaque" ';
	result += 'src="' + src + '">';
	result += '</embed></object>';
	return result;
}
<!-- End Javscript for player 'funnyordie'. -->
<!-- Javscript for player 'zideo' -->
<!-- End Javscript for player 'zideo' -->
<!-- Javascript used with player kyte -->
function kyte_player(width,height,data,flashvars) {
	var result = '<object style="margin: 0pt; display: block;" id="KytePlayerObject" width="'+width+'" height="'+height+'" allowscriptaccess="always" allowfullscreen="true" data="'+data+'"  type="application/x-shockwave-flash">';
	result += '<param value="true" name="allowfullscreen"/>';
	result += '<param value="always" name="allowscriptaccess"/>';
	result += '<param value="opaque" name="wmode"/>';
	result += '<param value="'+flashvars+'" name="flashVars"/>';
	result += '<param value="best" name="quality"/>';
	result += '</object>';
return result;}
<!-- End Javascript for kyte -->

<!-- Javscript for player 'clipfish'. -->
function clipfish_player(width, height, flashvars) {
	var result = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ';
	result += 'width="' + width + '" height="' + height + '">';
	result += '<param name="allowScriptAccess" value="always" />';
	result += '<param name="movie" value="http://www.clipfish.de/videoplayer.swf?r=1&c=FF0000&' + flashvars + '" />';
	result += '<param name="quality" value="high" />';
	result += '<param name="wmode" value="opaque" />';
	result += '<param name="bgcolor" value="#0067B3" />';
	result += '<param name="allowFullScreen" value="true" />';
	result += '<embed  type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
	result += 'src="http://www.clipfish.de/videoplayer.swf?r=1&c=FF0000&' + flashvars + '" ';
	result += 'width="' + width + '" height="' + height + '" ';
	result += 'quality="high" wmode="opaque" bgcolor="#FF0000" name="player" allowFullScreen="true" allowScriptAccess="always">';
	result += '</embed></object>';
	return result;}
<!-- End Javscript for player 'clipfish'. -->
<!-- Javascript used with player revver -->
function revver_player(revverid,width,height,flashvars) {
	var result = '<object id="revver_player_object'+revverid+'" width="'+width+'" height="'+height+'" allowscriptaccess="always" allowfullscreen="true" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="http://flash.revver.com/player/1.0/player.swf?mediaId='+revverid+' type="application/x-shockwave-flash">';
	result += '<param name="Movie" value="http://flash.revver.com/player/1.0/player.swf?mediaId='+revverid+'"></param>';
	result += '<param name="FlashVars" value="'+flashvars+'"></param>';
	result += '<param name="AllowFullScreen" value="true"></param>';
	result += '<param name="wmode" value="transparent"></param>';
	result += '<embed type="application/x-shockwave-flash" src="http://flash.revver.com/player/1.0/player.swf?mediaId='+revverid+'" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+flashvars+'" allowfullscreen="true" wmode="transparent" width="'+width+'" height="'+height+'"></embed></object>';
	return result;
}
<!-- End Javascript for revver -->


				<!-- Javscript for player 'omroep'. -->
				<!-- End Javscript for player 'omroep'. -->
								<!-- Javscript for player 'rtlgemistnew'. -->
				function rtlgemist_player(height, width, src, urls) {
					var result = '';
					result += '<object width="' + width + '" height="' + height + '" ';
					result += '        data="data:application/x-silverlight," ';
					result += '        type="application/x-silverlight-2"> ';
					result += '    <param name="source"  value="' + src + '"       />';
					result += '    <param name="onerror" value="onerrorSilverlight"/>';
					result += '    <param name="onload"  value="onloadSilverlight" />';
					result += '    <param name="background"       value="white"    />';
					result += '    <param name="enableHtmlAccess" value="true"     />';
					result += '    <param name="isWindowless"     value="true"     />';
					result += '    <param name="initParams" value="debug=0,quality=high,';
					result += 'ssense_host_prefix=http://nl.sitestat.com/rtl/rt-nl/s?,';
					result += 'SessionStreamSenseTimestamp=posthisstringtoo,';
					result += 'JavascriptClientInfoObjectQualityProperty=quality,';
					result += 'JavascriptClientInfoObjectVolumeProperty=volume,';
					result += 'JavascriptClientInfoObjectName=clientInfo,';
					result += 'ControllerSize=1,DefaultVolumeValue=80,';
					result += 'asxurl=' + urls + '"/>';
					result += 'U heeft Microsoft Silverlight nodig om dit object te bekijken.  Klik <a href="http://www.microsoft.com/silverlight/resources/install.aspx">hier</a> voor Silverlight.';
					result += '</object>';
					return result;
				}
				<!-- End Javscript for player 'rtlgemistnew'. --><!-- Javscript for player 'sbs6'. -->
function sbs_wmv_player(width, height, auto, src) {
	var result='<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"  ';
	result += 'width="'+width+'" height="'+height+'" type="application/x-oleobject" >';
	result += '<param name="url" value="'+src+'" />';
	result += '<param name="autoStart" value="'+auto+'" />';
	result += '<param name="enableContextMenu" value="true" />';
	result += '<param name="enabled" value="True" />';
	result += '<param name="fullscreen" value="false" />';
	result += '<param name="stretchToFit" value="True"/>';
	result += '<param name="invokeURLs" value="false"/>';
	result += '<param name="uiMode" value="full"/>';	// none, mini,full
	result += '<param name="windowlessVideo" value="false"/>';
	result += '<embed type="application/x-mplayer2" ';
	result += 'pluginspage="http://microsoft.com/windows/mediaplayer/" ';
	result += 'id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" ';
	result += 'bgcolor="darkblue" showcontrols="true" showtracker="-1" ';
	result += ' showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="'+width+'" height="'+height+'" ';
	result += 'src="'+src+'" autostart="'+auto+'" designtimesp="5311">';
	result += '</embed>';
	result +='</object>';
	return result;
}

function sbs_flv_player(width, height, auto, player, flashvars) {
	var result = '<embed type="application/x-shockwave-flash" id="mediaplayer" ';
	result += 'src="'+player+'" width="'+width+'" height="'+height+'" ';
	result += 'allowFullscreen="true" autostart="'+auto+'" wmode="transparent" ';
	result += 'flashvars="'+flashvars+'&autostart='+auto+'&enablejs=true&javascriptid=mediaplayer&wmode=transparent"';
	result += '></embed>';
	return result;
}
<!-- End Javscript for player 'sbs6'. -->
<!-- Javscript for player 'veronica'. -->
function sbs_wmv_player(width, height, auto, src) {
	var result='<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"  ';
	result += 'width="'+width+'" height="'+height+'" type="application/x-oleobject" >';
	result += '<param name="url" value="'+src+'" />';
	result += '<param name="autoStart" value="'+auto+'" />';
	result += '<param name="enableContextMenu" value="true" />';
	result += '<param name="enabled" value="True" />';
	result += '<param name="fullscreen" value="false" />';
	result += '<param name="stretchToFit" value="True"/>';
	result += '<param name="invokeURLs" value="false"/>';
	result += '<param name="uiMode" value="full"/>';	// none, mini,full
	result += '<param name="windowlessVideo" value="false"/>';
	result += '<embed type="application/x-mplayer2" ';
	result += 'pluginspage="http://microsoft.com/windows/mediaplayer/" ';
	result += 'id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" ';
	result += 'bgcolor="darkblue" showcontrols="true" showtracker="-1" ';
	result += ' showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="'+width+'" height="'+height+'" ';
	result += 'src="'+src+'" autostart="'+auto+'" designtimesp="5311">';
	result += '</embed>';
	result +='</object>';
	return result;
}

function sbs_flv_player(width, height, auto, player, flashvars) {
	var result = '<embed type="application/x-shockwave-flash" id="mediaplayer" ';
	result += 'src="'+player+'" width="'+width+'" height="'+height+'" ';
	result += 'allowFullscreen="true" autostart="'+auto+'" wmode="transparent" ';
	result += 'flashvars="'+flashvars+'&autostart='+auto+'&enablejs=true&javascriptid=mediaplayer&wmode=transparent"';
	result += '></embed>';
	return result;
}
<!-- End Javscript for player 'veronica'. -->
<!-- Javscript for player 'net5'. -->
function sbs_wmv_player(width, height, auto, src) {
	var result='<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"  ';
	result += 'width="'+width+'" height="'+height+'" type="application/x-oleobject" >';
	result += '<param name="url" value="'+src+'" />';
	result += '<param name="autoStart" value="'+auto+'" />';
	result += '<param name="enableContextMenu" value="true" />';
	result += '<param name="enabled" value="True" />';
	result += '<param name="fullscreen" value="false" />';
	result += '<param name="stretchToFit" value="True"/>';
	result += '<param name="invokeURLs" value="false"/>';
	result += '<param name="uiMode" value="full"/>';	// none, mini,full
	result += '<param name="windowlessVideo" value="false"/>';
	result += '<embed type="application/x-mplayer2" ';
	result += 'pluginspage="http://microsoft.com/windows/mediaplayer/" ';
	result += 'id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" ';
	result += 'bgcolor="darkblue" showcontrols="true" showtracker="-1" ';
	result += ' showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="'+width+'" height="'+height+'" ';
	result += 'src="'+src+'" autostart="'+auto+'" designtimesp="5311">';
	result += '</embed>';
	result +='</object>';
	return result;
}

function sbs_flv_player(width, height, auto, player, flashvars) {
	var result = '<embed type="application/x-shockwave-flash" id="mediaplayer" ';
	result += 'src="'+player+'" width="'+width+'" height="'+height+'" ';
	result += 'allowFullscreen="true" autostart="'+auto+'" wmode="transparent" ';
	result += 'flashvars="'+flashvars+'&autostart='+auto+'&enablejs=true&javascriptid=mediaplayer&wmode=transparent"';
	result += '></embed>';
	return result;
}
<!-- End Javscript for player 'net5'. -->

<!-- Javascript used with player sony -->
		function sony_player(src,width,height,autoplay) {
			var ap = '';
			if ( autoplay )
				ap = '&autostart=true';
			var result='<object width="'+width+'" height="'+height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">';
			result+='<param name="movie" value="http://www.yubby.com/swf/jwplayer/player.swf"></param>';
			result+='<param name="allowFullScreen" value="true" />';
			result+='<param name="wmode" value="opaque" />';
			result+='<param name="seamlesstabbing" value="true" />';
			result+='<param name="swfliveconnect" value="true" />';
			result+='<param name="flashvars" value="file='+src+ap+'" />';
			result+='<!--[if !IE]>-->';
			result+='<object width="'+width+'" height="'+height+'" data="http://www.yubby.com/swf/jwplayer/player.swf" type="application/x-shockwave-flash">';
			result+='<param value="true" name="allowfullscreen"/>';
			result+='<param value="opaque" name="wmode"/>';
			result+='<param value="true" name="seamlesstabbing"/>';
			result+='<param value="true" name="swfliveconnect"/>';
			result+='<param name="flashvars" value="file='+src+ap+'" />';
			result+='<!--<![endif]-->';
			result+='<div style="overflow: hidden; background-color: black; text-align: center; vertical-align: middle; display: table-cell; width: '+width+'px; height: '+height+'px;">';
			result+='<a href="http://www.adobe.com/go/getflashplayer">';
			result+='<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"/>';
			result+='</a>';
			result+='</div>';
			result+='<!--[if !IE]>-->';
			result+='</object>';
			result+='<!--<![endif]-->';
			result+='</object>';
			return result;
		}<!-- Javascript used with player collegehumor -->
function collegehumor_player(width,height,flashvars) {
	var result = '<object id="video_player_object" width="'+width+'" height="'+height+'" allowscriptaccess="always" allowfullscreen="true" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" type="application/x-shockwave-flash">';
	result += '<param value="true" name="allowfullscreen"/>';
	result += '<param value="always" name="allowscriptaccess"/>';
	result += '<param value="window" name="wmode"/>';
	result += '<param value="'+flashvars+'" name="movie"/>';
	result += '<param value="best" name="quality"/>';
	result += '<embed id="video_player_embed" width="'+width+'" height="'+height+'" allowFullScreen="true" src="'+flashvars+'"';
	result += ' pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true" allowscriptaccess="always" wmode="window" type="application/x-shockwave-flash"/>';
	result += '</object>';
	return result;
}
<!-- End Javascript for collegehumor -->


function vdmovietrailers_player(height, width, flashvars) {
	var html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="'+height+'" allowfullscreen="true" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">';
	html += '<param name="movie" value="http://videodetective.net/flash/player.swf" />';
	html += '<param name="bgcolor" value="#FFFFFF" />';
	html += '<param name="flashvars" value="' + flashvars + '">';
	html += '<param name="quality" value="high">';
	html += '<embed src="http://videodetective.net/flash/player.swf" flashvars="' + flashvars + '" quality="high" bgcolor="#FFFFFF" width="' + width + '" height="' + height + '" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	return html;
}

<!-- Javscript for player 'videojug'. -->
function videojug_player(width, height, url, auto) {
	var result = '<objectclassid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';
	result += 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ';
	result += 'width="' + width + '" height="' + height + '" align="middle" allowFullScreen="true">';
	result += '<param name="movie" value="' + url + '" />';
	result += '<PARAM value="true" name="allowFullScreen" />';
	result += '<PARAM value="always" name="allowScriptAccess" />';
	result += '<PARAM value="' + auto + '" name="embedded" />';
	result += '<embed src="' + url + '" ';
	result += 'quality="high" width="' + width + '" height="' + height + '" ';
	result += 'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
	result += 'allowscriptaccess="always" allowfullscreen="true" flashvars="embedded=' + auto + '">';
	result += '</embed>';
	result += '</object>';
	return result;
}
<!-- End Javscript for player 'videojug'. -->

function vdgametrailers_player(height, width, flashvars) {
	var html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="'+height+'" allowfullscreen="true" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">';
	html += '<param name="movie" value="http://videodetective.net/flash/player.swf" />';
	html += '<param name="bgcolor" value="#FFFFFF" />';
	html += '<param name="flashvars" value="' + flashvars + '">';
	html += '<param name="quality" value="high">';
	html += '<embed src="http://videodetective.net/flash/player.swf" flashvars="' + flashvars + '" quality="high" bgcolor="#FFFFFF" width="' + width + '" height="' + height + '" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	return html;
}


function singingfool_player(height, width, flashvars) {
	var html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="'+height+'" allowfullscreen="true" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">';
	html += '<param name="movie" value="http://www.videodetective.net/flash/singingfoolplayer.swf" />';
	html += '<param name="bgcolor" value="#FFFFFF" />';
	html += '<param name="flashvars" value="' + flashvars + '">';
	html += '<param name="quality" value="high">';
	html += '<embed src="http://www.videodetective.net/flash/singingfoolplayer.swf" flashvars="' + flashvars + '" quality="high" bgcolor="#FFFFFF" width="' + width + '" height="' + height + '" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	return html;
}

<!-- Javascript used with player filmfocus -->
function filmfocus_player(width,height,filmid, clipid, catid) {
						var result='<embed id="videoplayer" src="http://www.filmfocus.nl/streaming_media/player/videoplayer.swf" base="http://www.filmfocus.nl/streaming_media/player/" width="'+width+'" height="'+height+'" ';
						result+='flashvars="modus=clientModus&xmlUrl=xml/&logoUrl=http://www.filmfocus.nl/images/film1/videoplayer/film1_white_lines.png&bugUrl=http://www.filmfocus.nl/images/film1/videoplayer/bug.png&bugAlign=TR&filmId='+filmid+'&clipId='+clipid+'&catId='+catid+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">';
						result+='</embed>';
						return result;
					} 
<!-- End Javascript for filmfocus -->
<!-- Javscript for player 'blueshots'. -->
function blueshots_player(width, height, src) {
	var result = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';
	result += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" ';
	result += 'align="middle" width="' + width + '" height="' + height + '">';
	result += '<param name="allowScriptAccess" value="sameDomain" />';
	result += '<param name="allowFullScreen" value="true" />';
	result += '<param name="wmode" value="transparent" />';
	result += '<param name="movie" value="http://www.blueshots.tv//assets/Quadia player/QuadiaPlayer19.swf" />';
	result += '<param name="FlashVars" value="media_id=' + src +'" />';
	result += '<param name="quality" value="high" />';
	result += '<param name="salign" value="b" />';
	result += '<param name="bgcolor" value="#ffffff" />';
	result += '<embed src="http://www.blueshots.tv//assets/Quadia player/QuadiaPlayer19.swf" ';
	result += 'quality="high" wmode="transparent" salign="b" bgcolor="#ffffff" ';
	result += 'align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" ';
	result += 'width="' + width + '" height="' + height + '" ';
	result += 'FlashVars="media_id='+ src + '" ';
	result += 'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	result += '</object>';
	return result;
}
<!-- End Javscript for player 'blueshots'. -->
				<!-- Javscript for player 'schooltv'. -->
				function schooltv_player(height, width, player, flashvars) {
					var result = '<object type="application/x-shockwave-flash" ';
					result    += 'width="' + width + '" height="' + height + '" ';
					result    += 'data="' + player + '">';
					result    += '<param name="movie" value="' + player + '"/>';
					result    += '<param name="wmode" value="transparent"/>';
					result    += '<param name="allowScriptAccess" value="always"/>';
					result    += '<param name="quality" value="high"/>';
					result    += '<param name="bgcolor" value="#000000"/>';
					result    += '<param name="allowfullscreen" value="true"/>';
					result    += '<param name="autoplay" value="true" />';
					result    += '<param name="FlashVars" value="' + flashvars + '" />';
					result    += '</object>';
					return result;
				}
				<!-- End Javscript for player 'schooltv'. --><!-- Javascript for player 'ted'. -->
function ted_player(width, height, src, flashvars) {
	var result = '<embed pluginscape="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" ';
	result += 'width="' + width +'" height="' + height + '" ';
	result += 'allowFullScreen="true" scale="scale" ';
	result += 'quality="high" wmode="opaque" ';
	result += 'type="application/x-shockwave-flash" ';
	result += 'src="' + src + '" flashvars="' + flashvars + '" ';
	result += 'allowscriptaccess="always" movie="' + src + '" bgColor="#ffffff" ';
	result += '></embed>';
	return result;
}
<!-- End Javascript for player 'ted'. -->
				<!-- Javscript for player 'snotr'. -->
				function snotr_player(width, height, player, flashvars) {
					var result='<object width="'+width+'" height="'+height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">';
					result+='<param name="movie" value="'+player+'"></param>';
					result+='<param name="allowFullScreen" value="true" />';
					result+='<param name="wmode" value="opaque" />';
					result+='<param value="true" name="seamlesstabbing" />';
					result+='<param value="true" name="swfliveconnect" />';
					result+='<param name="flashVars" value="' + flashvars + '"/>';
					result+='<param name="quality" value="high"/>';
					//gives js error in IE8.. 
					//result+='<param name="allowScriptAccess" value="always"/>';
					result+='<!--[if !IE]>-->';
					result+='<object width="'+width+'" height="'+height+'" data="'+player+'" type="application/x-shockwave-flash">';
					result+='<param value="true" name="allowfullscreen"/>';
					result+='<param value="opaque" name="wmode"/>';
					result+='<param value="true" name="seamlesstabbing"/>';
					result+='<param value="true" name="swfliveconnect"/>';
					result+='<param name="flashVars" value="' + flashvars + '"/>';
					result+='<param value="#000000" name="bgcolor"/>';
					result+='<param name="quality" value="high"/>';
					//result+='<param name="allowScriptAccess" value="always"/>'
					result+='<!--<![endif]-->';
					result+='<div style="overflow: hidden; background-color: black; text-align: center; vertical-align: middle; display: table-cell; width: '+width+'px; height: '+height+'px;">';
					result+='<a href="http://www.adobe.com/go/getflashplayer">';
					result+='<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"/>';
					result+='</a>';
					result+='</div>';
					result+='<!--[if !IE]>-->';
					result+='</object>';
					result+='<!--<![endif]-->';
					result+='</object>';
					return result;

					// 
					// var result = '<object type="application/x-shockwave-flash" ';
					// result    += 'width="' + width + '" height="' + height + '" ';
					// result    += 'data="' + player + '">';
					// result    += '<param name="allowFullScreen" value="true"/>';
					// result    += '<param name="allowScriptAccess" value="always"/>';
					// result    += '<param name="bgcolor" value="#000000"/>';
					// result    += '<param name="flashVars" value="' + flashvars + '"/>';
					// result    += '<param name="quality" value="high"/>';
					// result    += '<param name="seamlesstabbing" value="true"/>';
					// result    += '<param name="swLiveConnect" value="true"/>';
					// result    += '<param name="wMode" value="opaque"/>';
					// result    += '</object>';
					// return result;
				}
				<!-- End Javscript for player 'snotr'. --><!-- Javascript used with player viddler -->
function viddler_player(width,height,flashvars,id) {
	var result = '<object id="video_player_object" width="'+width+'" height="'+height+'" allowscriptaccess="always" allowfullscreen="true" data="http://www.viddler.com/player/'+id+'"  type="application/x-shockwave-flash">';
	result += '<param name="allowfullscreen" value="true" />';
	result += '<param name="allowscriptaccess" value="always" />';
	result += '<param name="wmode" value="transparent" />';
	result += '<param name="flashvars" value="'+flashvars+'" />';
	result += '<param name="quality" value="high" />';
	result += '<param name="src" value="http://www.viddler.com/player/'+id+'" />';
	result += '<embed id="video_player_embed" width="'+width+'" height="'+height+'" src="http://www.viddler.com/player/'+id+'"';
	result += ' pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true" allowscriptaccess="always" wmode="window" type="application/x-shockwave-flash"/>';
	result += '</object>';
	return result;
}
<!-- End Javascript for viddler -->

<!-- Javascript used with player eentweedrievideo -->
function eentweedrievideo_player(width,height,flashfile) {
	var result = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+width+'" height="'+height+'">';
	result += '<param name="movie" value="'+flashfile+'" />';
	result += '<param name="quality" value="high" />';
	result += '<param name="wmode" value="opaque" />';
	result += '<embed src="'+flashfile+'" quality="high" wmode="opaque" width="'+width+'" height="'+height+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	result += '</object>';
	return result;
}
<!-- End Javascript for eentweedrievideo -->


				<!-- Javscript for player 'yahoo'. -->
				function yahoo_player(height, width, player, vars) {
					var result = '<object width="' + width + '" height="' + height + '">';
					result    += '<param name="movie" value="' + player + '" />';
					result    += '<param name="allowFullScreen" value="true" />';
					result    += '<param name="AllowScriptAccess" value="always" />';
					result    += '<param name="bgcolor" value="#000000" />';
					result    += '<param name="flashVars" value="' + vars + '" />';
					result    += '<param name="wmode" value="opaque" />';
					result    += '<embed width="' + width + '" height="' + height + '" ';
					result    += 'src="' + player + '" type="application/x-shockwave-flash" wmode="opaque" ';
					result    += 'allowFullScreen="true" AllowScriptAccess="always" ';
					result    += 'bgcolor="#000000" flashVars="' + vars + '">';
					result    += '</embed></object>';
					return result;
				}
				<!-- End Javscript for player 'yahoo'. -->
				<!-- Javascript used with player thedailyshow -->
function thedailyshow_player(width,height,autoplay,flashvars) {
	var result = '<object id="video_player_object" width="'+width+'" height="'+height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">';
	result += '<param value="true" name="allowfullscreen"/>';
	result += '<param value="opaque" name="wmode"/>';
	result += '<param value="true" name="seamlesstabbing"/>';
	result += '<param value="true" name="swfliveconnect"/>';
	result += '<param value="#000000" name="bgcolor"/>';
	result += '<param value="'+flashvars+'" name="movie"/>';
	result += '<param value="autoplay='+autoplay+'&" name="flashvars"/>';
	result += '<!--[if !IE]>-->'
	result += '<object width="'+width+'" height="'+height+'" data="'+flashvars+'" type="application/x-shockwave-flash">';
	result += '<param value="true" name="allowfullscreen"/>';
	result += '<param value="opaque" name="wmode"/>';
	result += '<param value="true" name="seamlesstabbing"/>';
	result += '<param value="true" name="swfliveconnect"/>';
	result += '<param value="#000000" name="bgcolor"/>';
	result += '<param value="autoplay='+autoplay+'&" name="flashvars"/>';
	result += '<!--<![endif]-->'
	result += '<div style="overflow: hidden; background-color: black; text-align: center; vertical-align: middle; display: table-cell; width: '+width+'px; height: '+height+'px;">';
	result += '<a href="http://www.adobe.com/go/getflashplayer">';
	result += '<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"/>';
	result += '</a>';
	result += '</div>';
;	result += '<!--[if !IE]>-->'
	result += '</object>';
	result += '<!--<![endif]-->'
	result += '</object>';
	return result;
}
<!-- End Javascript for thedailyshow -->

<!-- Javascript used with player dumpert -->
function dumpert_player(width,height,iframe_src) {
var result = "<div id=\"dumpert_vidframe\" style=\"position:relative;overflow:hidden;width:"+width+"px;height:"+height+"px;\" >";result += "<iframe name=\"vidframe\" id=\"videoiframe\" src=\""+iframe_src+"\" marginheight=\"0\" marginwidth=\"0\" scrolling=\"no\" height=\"2000\" width=\"2000\"></iframe>";result += "</div>";return result;}
<!-- End Javascript for dumpert -->


<!-- Javascript used with player fabchannel -->
		function fabchannel_player(width,height,flashfile,autoplay) {
			var ap = '';
			if ( autoplay )
				ap = '&autoplay=1';
			var result='<object width="'+width+'" height="'+height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave /cabs/flash/swflash.cab#version=9,0,115,0">';
			result+='<param name="movie" value="'+flashfile+'&hl=nl&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6'+ap+'"></param>';
			result+='<param name="allowFullScreen" value="true" />';
			result+='<param name="wmode" value="opaque" />';
			result+='<param value="true" name="seamlesstabbing" />';
			result+='<param value="true" name="swfliveconnect" />';
			//result+='<param name="play"  value="'+autoplay+'"/>';  // wrong paramater crashes IE flash player!!!
			result+='<!--[if !IE]>-->';
			result+='<object width="'+width+'" height="'+height+'" data="'+flashfile+'" type="application/x-shockwave-flash">';
			result+='<param value="true" name="allowfullscreen"/>';
			result+='<param value="opaque" name="wmode"/>';
			result+='<param value="true" name="seamlesstabbing"/>';
			result+='<param value="true" name="swfliveconnect"/>';
			result+='<param value="#000000" name="bgcolor"/>';
			//result+='<param name="play" value="'+autoplay+'"/>'; // wrong paramater crashes IE flash player!!!
			result+='<!--<![endif]-->';
			result+='<div style="overflow: hidden; background-color: black; text-align: center; vertical-align: middle; display: table-cell; width: '+width+'px; height: '+height+'px;">';
			result+='<a href="http://www.adobe.com/go/getflashplayer">';
			result+='<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"/>';
			result+='</a>';
			result+='</div>';
			result+='<!--[if !IE]>-->';
			result+='</object>';
			result+='<!--<![endif]-->';
			result+='</object>';
			return result;
		}
<!-- End Javascript for fabchannel -->
<!-- Javscript for player 'brightcove'. -->
function brightcove_player(id, width, height, auto) {
	var result = '<embed src="http://www.brightcove.tv/playerswf" bgcolor="#FFFFFF" ';
	result += 'flashVars="allowFullScreen=true&servicesURL=http://www.brightcove.tv&viewerSecureGatewayURL=https://www.brightcove.tv&cdnURL=http://admin.brightcove.com&';
	result += 'initVideoId=' + id + '&autoStart=' + auto + '" ';
	result += 'width="' + width + '" height="' + height + '" ';
	result += 'base="http://admin.brightcove.com" name="bcPlayer" ';
	result += 'allowFullScreen="true" allowScriptAccess="always" seamlesstabbing="false" ';
	result += 'type="application/x-shockwave-flash" swLiveConnect="true" ';
	result += 'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">';
	result += '</embed>';
	return result;
}
<!-- End Javscript for player 'brightcove'. -->
<!-- Javscript for player 'crackle'. -->
function crackle_player(width, height, src, auto) {
	var result = '<embed pluginscape="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" ';
	result += 'width="' + width +'" height="' + height + '" ';
	result += 'allowFullScreen="true" scale="scale" ';
	result += 'quality="high" wmode="window" ';
	result += 'type="application/x-shockwave-flash" ';
	result += 'src="' + src + '" flashvars="site=' + auto + '" ';
	result += 'allowscriptaccess="always" ';
	result += '></embed>';
	return result;
}
<!-- End Javscript for player 'crackle'. -->
				<!-- Javscript for player 'comedy'. -->
				function comedy_player() {
					var result = '';
					return result;
				}
				<!-- End Javscript for player 'comedy'. -->

		function rtl_player(src,width,height,autoplay,loop) {
			if(navigator.appName == 'Microsoft Internet Explorer'){
 				var result='<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" ';
			 	result+='width="'+width+'" height="'+height+'" type="application/x-oleobject" >';
 				result+='<param name="url" value="'+src+'" />';
 				result+='<param name="autoStart" value="True" />';
 				result+='<param name="enableContextMenu" value="true" />';
 				result+='<param name="enabled" value="True" />';
 				result+='<param name="fullscreen" value="false" />';
 				result+='<param name="stretchToFit" value="True"/>';
 				result+='<param name="invokeURLs" value="false"/>';
 				result+='<param name="uiMode" value="full"/>'; // none, mini,full
 				result+='<param name="windowlessVideo" value="false"/>'; // default false. (true=to client win directly)
 				result+='</object>';
 			}else{
 				var regexp = /\%/;
				if ( height == '' || height.match(regexp) )
 					height=295;
 				if ( width == '' || width.match(regexp) )
 					width=400;
 				var result= "<EMBED type='application/x-mplayer2' ";
				result+="pluginspage='http://microsoft.com/windows/mediaplayer/' ";
				result+="id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' ";
				result+="bgcolor='darkblue' showcontrols='true' showtracker='-1' ";
				result+=" showdisplay='0' showstatusbar='-1' videoborder3d='-1' width='"+width+"' height='"+height+"' ";
				result+="src='"+src+"' autostart='true' designtimesp='5311' loop='"+loop+"'>";
				result+="</EMBED>";
 			}
			return result;
		}
		// Generic playerscript code

// generic flash object for playing videosite flashplayers
function genericFlashObj(flashsrc,width,height,extravars) {
	var result='';
	result+='<object width="'+width+'" height="'+height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">';
	result+='<param name="movie" value="'+flashsrc+'"></param>';
	if (extravars!=undefined) {
		result+='<param name="flashVars" value="'+extravars+'" />';
	}
	result+='<param name="allowFullScreen" value="true" />';
	result+='<param name="wmode" value="transparent" />';
	result+='<param name="allowscriptaccess" value="always" />';
	result+='<param name="seamlesstabbing" value="true" />';
	result+='<param name="swfliveconnect" value="true" />';
	result+='<!--[if !IE]>-->';
	result+='<object width="'+width+'" height="'+height+'" data="'+flashsrc+'" type="application/x-shockwave-flash">';
	if (extravars!=undefined) {
		result+='<param name="flashVars" value="'+extravars+'" />';
	}
	result+='<param name="allowFullScreen" value="true" />';
	result+='<param name="wmode" value="transparent" />';	// opaque
	result+='<param name="allowscriptaccess" value="always" />';
	result+='<param name="seamlesstabbing" value="true" />';
	result+='<param name="swfliveconnect" value="true" />';
	result+='<!--<![endif]-->';
	result+='<div style="overflow: hidden; background-color: black; text-align: center; vertical-align: middle; display: table-cell; width: '+width+'px; height: '+height+'px;">';
	result+='<a href="http://www.adobe.com/go/getflashplayer">';
	result+='<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"/>';
	result+='</a>';
	result+='</div>';
	result+='<!--[if !IE]>-->';
	result+='</object>';
	result+='<!--<![endif]-->';
	result+='</object>';
	return result;
}

// jw player for playing movie urls
function genericjw_player(src,width,height,autoplay) {
	var ap = '';
	var ap5= '';
	if ( autoplay ) {
		ap = '&autostart=true';
		ap5 = ' autoplay ';
	}
	var result='';
	if (is_ios)	// is_webkit
		result+='<video width="'+width+'" height="'+height+'" '+ap5+' controls ><source src="'+src+'"  type="video/mp4" ></source>';
	result+='<object width="'+width+'" height="'+height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">';
	result+='<param name="movie" value="'+base_url+'swf/jwplayer/player.swf"></param>';
	result+='<param name="allowFullScreen" value="true" />';
	result+='<param name="wmode" value="opaque" />';
	result+='<param name="seamlesstabbing" value="true" />';
	result+='<param name="swfliveconnect" value="true" />';
	result+='<param name="flashvars" value="file='+src+ap+'" />';
	result+='<!--[if !IE]>-->';
	result+='<object width="'+width+'" height="'+height+'" data="'+base_url+'swf/jwplayer/player.swf" type="application/x-shockwave-flash">';
	result+='<param value="true" name="allowfullscreen"/>';
	result+='<param value="opaque" name="wmode"/>';
	result+='<param value="true" name="seamlesstabbing"/>';
	result+='<param value="true" name="swfliveconnect"/>';
	result+='<param name="flashvars" value="file='+src+ap+'" />';
	result+='<!--<![endif]-->';
	result+='<div style="overflow: hidden; background-color: black; text-align: center; vertical-align: middle; display: table-cell; width: '+width+'px; height: '+height+'px;">';
	result+='</div>';
	result+='<!--[if !IE]>-->';
	result+='</object>';
	result+='<!--<![endif]-->';
	result+='</object>';
	if (is_ios)
		result+='</video>';
	return result;
}

// EOF
