function flashOpenFull(theURL) { //v2.0
    // Errechnet Koordinaten, um das Popup zentriert zu platzieren
    breite = 640;
    hoehe = 480;
    links = (screen.width/2)-(breite/2);
    oben  = (screen.height/2)-(hoehe/2);

    window.open(theURL,"Video","height="+hoehe+",width="+breite+",status=no,toolbar=no,menubar=nolocation=no,resizable=no,titlebar=no,scrollbars=no,fullscreen=no,top="+oben+",left="+links);
}


//  VideoID:    ID of the flv File
//  PlayerID:   ID of the DIV-Tag to include the player
//  PreviewID:  ID of the Preview Picture
//  PreviewExt: The Extension of the Preview Picture
function showFlashPlayer(VideoID,PlayerID,PreviewID,PreviewExt) {
    var so = new SWFObject("includes/flvplayer_pop.swf", "flvplayer.swf", "150", "150", "7", "#FFFFFF");
        so.addVariable("file", "http://217.115.153.122/CoMET/Video/" + VideoID + ".flv" );
        so.addVariable("showfsbutton", "true" );
        so.addVariable("fullscreenpage", "includes/fullscreen.html" );
        so.addVariable("autostart", "true" );
        so.write(PlayerID);
}

function showUfoPlayer3(VideoID,PlayerID) {
    var FO = {  movie:"flash/flvplayer_pop.swf",
				width:"150",
				height:"150",
				majorversion:"8",
				build:"0",
				bgcolor:"#FFFFFF",
                flashvars:"file=http://217.115.153.122/CoMET/Video/" + VideoID + ".flv&autostart=true&showfsbutton=true&fullscreenpage=http://www.domradio.de/includes/fullscreen_POP.html" };
    UFO.create(FO, PlayerID);
}

function showUfoPlayer(VideoID,PlayerID) {
    var FO = {  movie:"flash/flvplayer_pop.swf",
				width:"150",
				height:"150",
				majorversion:"8",
				build:"0",
				bgcolor:"#FFFFFF",
                flashvars:"file=http://217.115.153.122/CoMET/Video/" + VideoID + ".flv&autostart=false&showfsbutton=true&fullscreenpage=http://www.domradio.de/includes/fullscreen_POP.html" };
    UFO.create(FO, PlayerID);
}

function showUfoPlayerSetWidth(VideoID,PlayerID, theWidth) {
    var FO = {  movie:"flash/flvplayer_pop.swf",
                width:theWidth,
                height:theWidth,
                majorversion:"8",
                build:"0",
                bgcolor:"#FFFFFF",
                flashvars:"file=http://217.115.153.122/CoMET/Video/" + VideoID + ".flv&autostart=true&showfsbutton=true&fullscreenpage=http://www.domradio.de/includes/fullscreen_POP.html" };
    UFO.create(FO, PlayerID);
}

function showUfoPlayerSetWidth2(VideoID, PlayerID, theWidth) {
    var FO = {  movie:"flash/flvplayer_pop.swf",
                width:theWidth,
                height:theWidth,
                majorversion:"8",
                build:"0",
                bgcolor:"#FFFFFF",
                flashvars:"file=http://217.115.153.122/CoMET/Video/" + VideoID + ".flv&autostart=true&showfsbutton=true&showdigits=true&fullscreenpage=http://www.domradio.de/includes/fullscreen_POP.html" };
    UFO.create(FO, PlayerID);
}

// v4.0 - 
function popupPlayer_400(VideoID, PlayerID) {
var so = new SWFObject('http://www.domradio.de/flash/player400.swf','mpl','470','320','9');
	so.addParam('allowscriptaccess','always');
	so.addParam('allowfullscreen','true');
	so.addParam('flashvars','&file=http://www.domradio.de/CoMET/Video/' + VideoID + '.flv&autostart=true&fullscreen=true')
	so.write(PlayerID);
}	

// v4.1 - 
function showUfoPlayer_410(VideoID, PlayerID, theWidth) {
    var so = new SWFObject('flash/mediaplayer.swf',PlayerID,theWidth,theWidth,'9.0.98', '#ffffff');
	
	so.addParam('allowfullscreen','true');
	so.addParam('allowscriptaccess','always');
	so.addParam('flashvars','&file=http://www.medien-tube.S11.de/media/video/' + VideoID + '.flv&autostart=true&showdigits=true');

    so.write(PlayerID);   
}

// FLV PLAYER 4.10 - STANDART
function showFLVPlayer(video_id, player_id, player_width) {
    var so = new SWFObject('flash/player420.swf',player_id,player_width,player_width,'9.0.98');
	
	so.addParam('allowfullscreen','true');
	so.addParam('allowscriptaccess','always');
	so.addParam('flashvars','&file=http://www.domradio.de/CoMET/Video/' + video_id + '.flv&skin=http://www.domradio.de/flash/domradio_link.swf');

    so.write(player_id);   
}

// FLV PLAYER 4.20 - STANDART
function showFLVPlayer2(video_id, player_id, player_width, image) {
    var so = new SWFObject('flash/player420.swf',player_id,player_width,player_width,'9.0.98','#ffffff');
	
	so.addParam('allowfullscreen','true');
	so.addParam('allowscriptaccess','always');
	so.addParam('flashvars','&file=http://217.115.153.122/CoMET/Video/' + video_id + '.flv&image=http://www.domradio.de/comet/bild/' + image + '&skin=http://www.domradio.de/flash/domradio_link.swf');

    so.write(player_id);   
}

// FLV PLAYER 4.20 - MEDENTUBE
function showFLVPlayer_medientube(video_id, player_id, player_width) {
    var s1 = new SWFObject('flash/player420.swf','playerswf',player_width,player_width,'9.0.98','#ffffff');
	
	s1.addParam("allowfullscreen","true");
	s1.addParam("allowscriptaccess","always");
	s1.addParam("flashvars","file=http://www.medien-tube.de/media/video/" + video_id + ".flv&image=http://www.medien-tube.S11.de/media/thumbs/screenshots/" + video_id + ".jpg&skin=http://www.domradio.de/flash/domradio_link.swf&link=http://www.medien-tube.de/mediathek.php?mediaid=" + video_id + "&controlbar=none&displayclick=link");

    s1.write(player_id);   
}

// v3.16 - 
function showUfoPlayer_316(VideoID, PlayerID, theWidth) {
    var so = new SWFObject('flash/mediaplayer.swf',PlayerID,theWidth,theWidth,'8');
	so.addParam('allowscriptaccess','always');
	so.addParam('allowfullscreen','true');
	so.addVariable('height',theWidth);
	so.addVariable('width',theWidth);
	so.addVariable('file','http://www.domradio.de/CoMET/Video/' + VideoID + '.flv');
	so.addVariable('searchbar','false');
	
	so.addVariable('autostart','true');
    so.write(PlayerID);   
}


// v3.15 - 
function showUfoPlayer_3(VideoID, PlayerID, theWidth) {
    var so = new SWFObject('flash/mediaplayer.swf',PlayerID,theWidth,theWidth,'#FFFFFF');
		so.addParam('allowfullscreen','true');
		so.addParam('autostart','true');
		so.addVariable('displayheight','200');
		so.addVariable('file','http://www.domradio.de/CoMET/Video/216.flv');
		so.addVariable('fullscreenpage', 'http://www.domradio.de/includes/fullscreen_POP.html')
    so.write(PlayerID);
}


// v3.15 - Playlisted
function showUfoPlayer_2(VideoID, PlayerID, theWidth) {
    var so = new SWFObject('flash/mediaplayer.swf',PlayerID,'530','580','#FFFFFF');
		so.addVariable('height','580');
		so.addVariable('width','530');
		so.addVariable('displayheight','380');
		so.addVariable('thumbsinplaylist','false');
		so.addVariable('autostart','true');
		so.addVariable('shuffle','false');
		so.addVariable('file','http://www.domradio.com/includes/content_video_ticker_xml.asp');
    so.write(PlayerID);
}


// der hat funktioniert, im problem fall benutzen.
function showUfoPlayerbakup(VideoID,PlayerID) {
    var FO = {  movie:"includes/flvplayer_pop.swf",width:"150",height:"150",majorversion:"8",build:"0",bgcolor:"#FFFFFF",
                flashvars:"file=http://217.115.153.122/CoMET/Video/" + VideoID + ".flv&autostart=true&showfsbutton=true&fullscreenpage=fullscreen_POP.html" };
    UFO.create(FO, PlayerID);    
}