var idPlayer = "player_video";

Msn.Video.Build(idPlayer,"Installez la dernière version d\'Adobe Flash Player (gratuite).Pour obtenir de l\'aide sur Flash, consultez la page de support d\'Adobe Flash Player.",{skin:"0",mkt:"fr-fr",mk:"fr-fr",fr:"IV2_fr-fr_divertissements_Babylon_ad",fg:"babylon-ad",ad:"false",ap:"true",partnerlogo:"false",timePlaying:"180",rv:"false",c:"v",v:"79ece15f-7d2f-4e55-8f23-31bfcc972771",p:"IV2_fr-fr_babylon-ad",t:"c1788"},424,253);

document.getElementById(idPlayer+"_t").style.display="none";
document.getElementById(idPlayer+"_m").style.display="none";
document.getElementById(idPlayer+"_a").style.display="none";

var opennewwindow = true;

if(opennewwindow)
{
    var links = document.getElementsByTagName("A");
    
    for(var i=0; i<links.length; i++)
    {
        links[i].target = "_blank";
    }
}




// Browser Detection Javascript
// copyright 1 February 2003, by Stephen Chapman, Felgall Pty Ltd

// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.

function whichBrs() {
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("webtv") != -1) return 'WebTV';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else return navigator.userAgent;
}



function open_win()
{
window.open("http://messenger.msn.com/Resource/Error.aspx?mkt=fr-fr&err=1","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=400, height=125")
}

var browserName = whichBrs();
//if (browserName=="Firefox")
//{open_win();
//}






var obj;
var winModalWindow;
var AppID = "";
var emailID = "";
//Dans la déclaration de variable ci-dessus, le jeu "Jeu de Dames" (1268) pour les utilisateurs français (1036) est appliqué à la variable AppID.

function TryItNow(AppID)
{

// Test #1: Launch with no email variable value causing the user to have to select another user to interact with.
CheckMessenger();
LaunchApp(AppID, "");
}

function LaunchApp(AppID, emailID)
{
CheckMessenger();
if (obj != null)
{
obj.LaunchApp(AppID, emailID);
}
else {open_win()}
}
function CheckMessenger()
{
eval ('try {obj = new ActiveXObject("MSNMessenger.P4QuickLaunch"); } catch (e) {obj = null;}');
//var strErrorPage = "http://messenger.msn.com/Resource/Error.aspx?mkt=fr-fr&err=1"

}



function IgnoreEvents(e)
{
  return false
}
 
//Display error message if the MSN Messenger client 6.2 is not installed or the browser is not Internet Explorer

/**

function ShowWindow(strError, width, height)
{
  if (window.showModalDialog)
  { 
    window.showModalDialog(strError,null,
    "dialogWidth="+width+"px;dialogHeight="+height+"px;help=no;dialogLeft=160");
  }
  else
  {

    var ah = screen.availHeight;

    var y = (ah - height) / 2;

    window.top.captureEvents (Event.CLICK|Event.FOCUS)
    window.top.onfocus=HandleFocus 
    winModalWindow = window.open (strError,"ModalChild",
       "dependent=yes,width="+width+",height="+height+",top="+y+",left=160,screenX=160,screenY="+y)
    winModalWindow.focus()
  }
}

function HandleFocus()
{
  if (winModalWindow)
  {
    if (!winModalWindow.closed)
    {
      winModalWindow.focus()
    }
    else
    {
      window.top.releaseEvents (Event.CLICK|Event.FOCUS)
    }
  }
  return false
}
**/