if (typeof window.OnetPlayerRun != "function")
{
function OnetPlayerInclude(s,p,h){window.VPDataHost=h;window.MBPath=p;document.write("<script type=\"text/javascript\" src=\""+s+"\" charset=\"UTF-8\"><\/scr"+"ipt>")}
window.OnetPlayerRun = function(){
if(typeof window.VPlayerControllerAvailable!='undefined')return window.OnetPlayerQueue.run();
else window.onVPlayerControllerAvailable=function(){window.OnetPlayerQueue.run();}
}
OnetPlayerLoad=(function(){
var load_events=[],load_timer,script,done,exec,old_onload,init=function(){done=true;clearInterval(load_timer);while(exec=load_events.shift())exec();if(script)script.onreadystatechange='';};
return function(func){if(done)return func();if(!load_events[0]){if(document.addEventListener)document.addEventListener("DOMContentLoaded",init,false);if(navigator.userAgent.indexOf('MSIE')!=-1){document.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");script=document.getElementById("__ie_onload");script.onreadystatechange=function(){if(this.readyState=="complete")init();};}if(/WebKit/i.test(navigator.userAgent)){load_timer=setInterval(function(){if(/loaded|complete/.test(document.readyState))init();},10);}
old_onload=window.onload;window.onload=function(){init();if(old_onload)old_onload();};}load_events.push(func);}
})();
OnetPlayerLoad(OnetPlayerRun);
OnetPlayerInclude('http://lib.onet.pl/_x/onettv/vp/new/_s/player20110916.js', 'http://lib.onet.pl/_x/onettv/vp/new/mb012/', 'http://lib.onet.pl/_x/onettv/vp/');
}
