function objectEmbed_videokiste(root, site_id) {
    
   document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="268" height="307">');
	   document.write('<param name="movie" value="'+root+'flash/videokiste/video.swf?site_id='+site_id+'&serverpath='+root+'flash/videokiste/"">');
	   document.write('<param name="quality" value="high">');
	   document.write('<param name="wmode" value="transparent">');
	   document.write('<embed src="'+root+'flash/videokiste/video.swf?site_id='+site_id+'&serverpath='+root+'flash/videokiste/" width="268" height="307" wmode="transparent" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"/>');
   document.write('</object>');
    
}


function objectEmbed_videoplayer(root, file) {

       document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="480" height="360">');
           document.write('<param name="movie" value="'+root+'flash/flvplay.swf" />');
           document.write('<param name="quality" value="high" />');
           document.write('<param name="FlashVars" value="file=http://deluxetelevision.com/video/'+file+'" />');
           document.write('<embed src="'+root+'flash/flvplay.swf" width="480" height="360" quality="high" FlashVars="file=http://deluxetelevision.com/video/'+file+'" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"/>');
       document.write('</object>');
    
}


function objectEmbed_videoplayer_wide(root, file) {

       document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="640" height="360">');
           document.write('<param name="movie" value="'+root+'flash/flvplay.swf" />');
           document.write('<param name="quality" value="high" />');
           document.write('<param name="FlashVars" value="file=http://deluxetelevision.com/video/'+file+'" />');
           document.write('<embed src="'+root+'flash/flvplay.swf" width="640" height="360" quality="high" FlashVars="file=http://deluxetelevision.com/video/'+file+'" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"/>');
       document.write('</object>');
    
}

function objectEmbed_livestream(file) {

       document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="480" height="360">');
           document.write('<param name="movie" value="'+file+'">');
           document.write('<param name="quality" value="high" />');
           document.write('<param name="allowScriptAccess" value="always" />');
           document.write('<param name="allowFullScreen" value="true" />');
           document.write('<embed src="'+file+'" width="480" height="360" quality="high" allowScriptAccess = "always" allowFullScreen = "true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"/>');
       document.write('</object>');
    
}

function objectEmbed_genericFlash(file, width, height) {

       document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+width+'" height="'+height+'">');
           document.write('<param name="movie" value="'+file+'">');
           document.write('<param name="quality" value="high" />');
           document.write('<embed src="'+file+'" width="'+width+'" height="'+height+'" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"/>');
       document.write('</object>');
    
}

function jQEmbed_livestreamiFrame(streamid) {

        $('#home_livestream').html('<iframe width="100%" height="100%" style="padding: 0pt; margin: 0pt; border: 0 none; overflow: hidden;" src="mediathek/?embed_home=true&streamid='+streamid+'" border="0"></iframe>');

}

function jQEmbed_livestreamCFPL(playlist) {
	 $('#home_livestream').html('<object id="show_it" type="application/x-shockwave-flash" data="http://www.contentforce.de/iptv/swf/xflv/showIt3.swf" width="640" height="360" style="width:640px;height:360px;" > <param name="movie" value="http://www.contentforce.de/iptv/swf/xflv/showIt3.swf"/> 	<param name="wmode" value="window" /> 	<param name="quality" value="high" /> 	<param name="swliveconnect" value="true" /> 	<param name="allowscriptaccess" value="always" /> 	<param name="scalemode" value="showall" /> 	<param name="allowfullscreen" value="true" /> 	<param name="flashvars" value="plugin_version=9.0.115&amp;language=de&amp;primaryColor=0x3e3e3e&amp;secondaryColor=0xededed&amp;textColor=0x111111&amp;borderColor=0xdedede&amp;overColor=0xbdbdbd&amp;baseUrl=http://www.contentforce.de/iptv/player/macros&amp;params=?r=r$forcedWidth=640$forcedHeight=360$keepVideoAspectRatio=true&amp;autoPlay=true&amp;bandwidthPath=http://www.contentforce.de/iptv/img/test.txt&amp;skin=defaultPlayer_update&amp;playlist='+playlist+'&amp;application=760217600&amp;debug=true"/> 	</object>');

}

function jQEmbed_livestream(file, width) {

        var object = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="'+width+'" height="360">';
            object += '<param name="movie" value="'+file+'">';
            object += '<param name="wmode" value="transparent" />';
            object += '<param name="quality" value="high" />';
            object += '<param name="allowScriptAccess" value="always" />';
            object += '<param name="allowFullScreen" value="true" />';
            object += '<embed src="'+file+'" width="'+width+'" height="360" quality="high" allowScriptAccess = "always" allowFullScreen = "true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"/>';
        object += '</object>';
        
        $('#home_livestream').html(object);
        
    
}

function jQEmbed_radio(stream) {
	object = "<iframe src='http://deluxetelevision.com/tv1_player/index.php?rand="+Math.random()+"&stream="+stream+"' height='360' width='640' style='border:0;'/>";
 	$('#home_livestream').html(object);
}


