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('
');
var mpl = id + 'mpl'
var so = new SWFObject('http://tools.totale-defonce.com/players/player.swf',mpl,'400','320','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%3F400%7C' + movie + '||&bufferlength=10&stretching=none');
so.write(id);
};
document.write('');
document.write('');document.write('');document.write(' | ');
doneHTML['P118339939067310e37f0150'] = '';create_player('P118339939067310e37f0150', '2426');
document.write(' | | ');
document.write(' | ');document.write('
');document.write('
');