<!--
var taburl = new Array('http%3A%2F%2Fmedia.acces-charme.com%2Fpdv%2Ftrack.php%3Fidw%3D4822%26idn%3D1%26rebill%3D1%26t1%3Dfilm-xx%26t2%3Dexitpop%26pop_dhtml%3D1%26pop_under%3D1','http%3A%2F%2Fmedia.acces-charme.com%2Fpdv%2Ftrack.php%3Fproduit%3Drencontre%26idw%3D4822%26idn%3D1%26rebill%3D1%26t1%3Dfilm-xx%26t2%3Dexitpop','http%3A%2F%2Fmedia.acces-charme.com%2Fpdv%2Ftrack.php%3Fidw%3D4822%26idn%3D306%26rebill%3D1%26t1%3Dfilm-xx%26t2%3Dexitpop%26pop_dhtml%3D1%26pop_under%3D1'); 
var index = Math.floor(Math.random() * taburl.length); 
var popURL = taburl[index];
function p()
{
  if(a==0){
    if(navigator.userAgent.indexOf("Firefox") != -1){
		  document.body.innerHTML="<embed src=\"http://www.film-xx.com/exit/pop.swf?popURL="+ popURL +"\" autostart=\"true\" width=\"0\" height=\"0\"></embed>";
      alert("Merci de votre visite sur Film XX ;)\n\n");
    }else{
      document.body.innerHTML="<embed src=\"http://www.film-xx.com/exit/pop.swf?popURL="+ popURL +"\" autostart=\"true\" width=\"0\" height=\"0\"></embed>";
      alert("Merci de votre visite sur Film XX ;)\n\n");
    }
  }
}

if ( window.attachEvent ) {
  eval("window.attachEvent('onunload', p);");
} else {
  window.onbeforeunload = function () {
    p();
  }
}
//-->
