function ftvlaunch(video,quality,pid) {
	
if (pid=='ftvde' || pid=='useme' || pid=='oneandonetest' || pid=='abendzeitungde' || pid=='allerzeitung' || pid=='bayernmatrix' || pid=='bbvnet' || pid=='blitz' || pid=='bonntv' || pid=='borkener' || pid=='charivari' || pid=='ddradiodp' || pid=='dewezet' || pid=='glocke' || pid=='donau3fm' || pid=='dresdenfern' || pid=='dresdneranzeiger' || pid=='eichsfelder' || pid=='elsterwelle' || pid=='euroherz' || pid=='extratip' || pid=='franken' || pid=='fnp' || pid=='frankfurter' || pid=='infrankendp' || pid=='freiepresse' || pid=='frmonline' || pid=='fuldaer' || pid=='gelnhauser' || pid=='goalcomde' || pid=='goettinger' || pid=='gongfm' || pid=='mainecho' || pid=='morgenweb' || pid=='microsoftde' || pid=='mindener' || pid=='mittelsachsentv' || pid=='greifswaldnewsdp' || pid=='mobiltv' || pid=='hammmitte' || pid=='modelvitadp' || pid=='warendorf' || pid=='hammtv' || pid=='haz' || pid=='stimme' || pid=='kanalde' || pid=='kieler' || pid=='koelnische' || pid=='ksta' || pid=='lausitzer' || pid=='muensterlanddp' || pid=='muenstertv' || pid=='neckar' || pid=='noz' || pid=='neuepresse' || pid=='neuewest' || pid=='neumarkt' || pid=='ngz' || pid=='nh24' || pid=='nordbayerischer' || pid=='nordbayern' || pid=='oberbayerisches' || pid=='oberhessische' || pid=='lyrikweltdedp' || pid=='maga' || pid=='mainpost' || pid=='ostseezeitung' || pid=='otv' || pid=='passauer' || pid=='paz' || pid=='az-web' || pid=='Stadt-TV24' || pid=='echo-online' || pid=='hamburg-online' || pid=='hz-online' || pid=='koeln-stadt' || pid=='main-rheiner' || pid=='nrw-vision' || pid=='radio-bamberg' || pid=='radio-trausnitz' || pid=='sz-online' || pid=='stadttv-duesseldorf' || pid=='pznews' || pid=='pipeline' || pid=='radioeins' || pid=='seefunk' || pid=='radioin' || pid=='ran' || pid=='reutlinger' || pid=='rheinmain' || pid=='rheinpfalz' || pid=='sol' || pid=='sachsenfernsehen' || pid=='schaumburger' || pid=='Schwaebischetb' || pid=='soesttv' || pid=='solsnapdp' || pid=='spitzenstadtplauen' || pid=='suebaden' || pid=='suedkurier' || pid=='suedwest' || pid=='tageblattstade' || pid=='teutoradio' || pid=='trp' || pid=='truveodedp' || pid=='tvaktuell' || pid=='hildesheim' || pid=='tvoberfranken' || pid=='tvsuebaden' || pid=='tvtouring' || pid=='wiesbaden' || pid=='volksstimme' || pid=='waldeckische' || pid=='wolfsburger')
{
var LeftPosition = (screen.width) ? (screen.width-670)/2 : 0;
var TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
var popwin = window.open('http://bongo.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=670,height=500,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
popwin.focus();	 
}
else {
var LeftPosition = (screen.width) ? (screen.width-665)/2 : 0;
var TopPosition = (screen.height) ? (screen.height-430)/2 : 0;
var popwin = window.open('http://www.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=665,height=430,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
popwin.focus();
}
}

function ftvlaunchoude(video,quality,pid) {
	  var LeftPosition = (screen.width) ? (screen.width-665)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-430)/2 : 0;
	  var popwin = window.open('http://www.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=665,height=430,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}

function ftvnewlaunch(video,quality,pid) {
	  var LeftPosition = (screen.width) ? (screen.width-670)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
	  var popwin = window.open('http://bongo.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=670,height=500,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}


//Tour de France 2005 video player launch:

function tourlaunchNL(video,quality,pid,langid) {
	  var LeftPosition = (screen.width) ? (screen.width-648)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-460)/2 : 0;
	  var popwin = window.open('http://www.zoomin.tv/tourdefrance2005/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid + '&lang='+ langid,'MTV6_window','toolbar=no,width=648,height=460,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}

function tourlaunch(video,quality,pid,langid) {
	switch(langid)
	{
		case "1":
			tourlaunchNL(video,quality,pid,"NL");
			break;
		case "2":
			tourlaunchBE(video,quality,pid,"BE");
			break;
	}
}

function tourlaunchBE(video,quality,pid,langid) {
	  var LeftPosition = (screen.width) ? (screen.width-665)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-457)/2 : 0;
	  var popwin = window.open('http://www.zoomin.tv/tourdefrance2005/videoplayer/index.cfm?fuseaction=homebe&id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid + '&lang='+ langid,'MTV7_window','toolbar=no,width=665,height=457,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}
