<script type="text/javascript" src="http://tvali.eu/tv/swfobjectold.js"></script>
<div align="center" id="player"><a href="#" onClick="mkplayer();">
Для просмотра телепередачи, нажмите сюда<br />
ВНИМАНИЕ! Откроется окно с сайта TVali.ge и вы получите "билет" на просмотр телетрансляции.<br />Если вы прервёте или приостановите просмотр более, чем на 10 минут, вам надо будет обновить билет, посетив любую страницу с сайта TVali.ge.
</a></div>
<script type="text/javascript">
function mkplayer(){
var cc=1017;
// channel ID as seen on TVali.GE
var d = new Date();
var cd = d.getDay()*(24*60)+d.getHours()*60+Math.floor(d.getMinutes()/5)*5-10;
var fn = "http://tvali.eu/tv/"+cc+"_list.php?d="+cd;
// current video formula - change at own risk
window.open("http://tvali.eu/popup.php","tvali","toolbar=no, width=512, height=624");
// mandatory, otherwise video won't start after timeout.
var
s1=new SWFObject("http://tvali.eu/145F6ACB/mediaplayerpl.swf","player","560","360","7");
s1.addParam('allowscriptaccess','always');
s1.addParam('allowfullscreen','true');
s1.addVariable("width","560");
s1.addVariable("height","360");
s1.addVariable("file",fn);
s1.addVariable("displayheight","220");
s1.addVariable("backcolor","2868ae");
s1.addVariable("frontcolor","CCCCCC");
s1.addVariable("lightcolor","EEEEEE");
s1.addVariable("screencolor","000000");
s1.addVariable('repeat','list');
s1.addVariable("overstretch","uniform");
s1.addVariable("controlbar","over");
s1.addVariable("item","144");
s1.addVariable('playlist', "right");
s1.addVariable('playlistsize', "60");
s1.addVariable("shuffle","false");
s1.addVariable("autoscroll","false");
s1.addVariable("autostart","true");
s1.addVariable('bufferlength','10');
s1.addVariable("thumbsinplaylist","true");
s1.addVariable("titlesinplaylist","false");
s1.addVariable("streamer","lighttpd");
s1.addParam('wmode','opaque');
s1.write("player");
}
</script>
Night Watch Rulez!