if(typeof(doneHTML) == 'undefined') { var doneHTML = new Array(); } var player = null; var player_id = null; function playerReady(obj) { player = document.getElementsByName(obj.id)[0]; player.addModelListener('STATE', 'stateMonitor'); }; function stateMonitor(obj) { if(obj.newstate == 'COMPLETED') { player_id = obj['id'].substr(0,obj['id'].length-3); push_AP(player_id); } }; function push_AP(id) { if (document.all) document.all[id].innerHTML=doneHTML[id]; else if (document.getElementById) { rng = document.createRange(); el = document.getElementById(id); rng.setStartBefore(el); htmlFrag = rng.createContextualFragment(doneHTML[id]); while (el.hasChildNodes()) el.removeChild(el.lastChild); el.appendChild(htmlFrag); } }; function create_player(id, movie) { document.write('
Cliquez ici pour installer Flash Player
'); var mpl = id + 'mpl' var so = new SWFObject('http://tools.totale-defonce.com/players/player.swf',mpl,'300','245','9','#ffffff'); so.addParam('allowscriptaccess','always'); so.useExpressInstall('http://tools.totale-defonce.com/players/playerProductInstall.swf'); so.setAttribute('xiRedirectUrl', window.location.href); so.addParam('menu','false'); so.addParam('flashvars','&file=http%3A%2F%2Ftools.totale-defonce.com%2Fplayers%2Fplaylist.php%3F300%7C' + movie + '||&bufferlength=10&stretching=none'); so.write(id); }; document.write(''); document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('
');document.write('
'); doneHTML['P20910334826a29bbb6ea736'] = '';create_player('P20910334826a29bbb6ea736', '2152'); document.write('
Infos: 05:15 min - 53 Mo
'); document.write('
');document.write('
'); doneHTML['P14750803066a29bbb6ea772'] = '';create_player('P14750803066a29bbb6ea772', '2041'); document.write('
Infos: 16:26 min - 164 Mo
'); document.write('
');document.write('
'); doneHTML['P12946126276a29bbb6ea7aa'] = '';create_player('P12946126276a29bbb6ea7aa', '2040'); document.write('
Infos: 28:34 min - 285 Mo
'); document.write('
');