(function (widget,cId,vids){ var _ONND_URL_EMBED = "https://video.onnetwork.tv" ; var _ONND_URL_CDN_EMBED = "https://cdn.onnetwork.tv" ; var overwrites = "" var iid=Date.now() * Math.floor( 1 + Math.random() * 100 ) + "672" ; var uid="id"+Date.now() * Math.floor( 1 + Math.random() * 100 ) + "672" ; var playerInserted = false ; var nstylet = ' div.totalcontainerexs{ display:block;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent ;}' + ' div.playercontainerexs{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs>div{ position:relative;display:block;width:100%;height:165px;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;padding-bottom:0%; }' + // ' div.widgetcontainerexs.wid672>div{ padding-bottom:0%; height:165px; }' + ' div.widgetcontainerexs>div>iframe{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' ; var nefrag = '
' + '
' + '
' + '
' ; var widgetPlayer = null; function insertWidget( container , ib ){ var nstyle = document.createElement( "style" ); nstyle.innerHTML = nstylet ; nstyle.dataset['cfasync']="false"; var tcontainer = document.createElement( "div" ); tcontainer.innerHTML = nefrag ; tcontainer.className = "totalcontainerexs" ; tcontainer.dataset['cfasync']="false"; document.body.appendChild( nstyle ); if (ib){ container.parentElement.insertBefore( tcontainer , document.currentScript ); } else{ container.appendChild( tcontainer ); } var wmc=document.getElementById('ld'+uid); if(wmc){ import( _ONND_URL_CDN_EMBED + '/js/widgets/widgetScrollist.js?s=202209160956' ).then(({WidgetPlayer})=>{ var wConfig = {"widgetId":672,"devicetype":"desktop","playlistitems":[{"mid":"2028691","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2028691_5m.jpg","id":"2028691","length":"256","title":"Panev\u0117\u017eyje atidarytas prekybos parkas \u201eTOWER\u201c"},{"mid":"2027990","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2027990_3m.jpg","id":"2027990","length":"223","title":"Panev\u0117\u017eyje startavo \u201eRotariada 2025\u201c: sportas, azartas ir bendryst\u0117"},{"mid":"2027589","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2027589_4m.jpg","id":"2027589","length":"163","title":"Rugpj\u016b\u010dio 29-osios laikra\u0161tyje \u201eT\u0117vyn\u0117\u201c \u2013 svarbiausios Panev\u0117\u017eio rajono naujienos"},{"mid":"2026056","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2026056_1m.jpg","id":"2026056","length":"196","title":"Panev\u0117\u017eio rajone vyko Baltijos kelio min\u0117jimas"},{"mid":"2024199","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2024199_5m.jpg","id":"2024199","length":"96","title":"\u0160iuk\u0161l\u0117s kainuoja: panev\u0117\u017eie\u010diams \u2013 baudos u\u017e taisykli\u0173 nesilaikym\u0105"},{"mid":"2022252","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2022252_4m.jpg","id":"2022252","length":"170","title":"Panev\u0117\u017eys ruo\u0161iasi \u0161v\u0119sti: art\u0117ja 522-asis miesto gimtadienis"},{"mid":"2022126","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2022126_6m.jpg","id":"2022126","length":"174","title":"Rugpj\u016b\u010dio 22-osios laikra\u0161tyje \u201eT\u0117vyn\u0117\u201c \u2013 svarbiausios Panev\u0117\u017eio rajono naujienos"},{"mid":"2022111","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2022111_6m.jpg","id":"2022111","length":"67","title":"Panev\u0117\u017eio rajone po sunkve\u017eimio ir automobilio susid\u016brimo \u017euvo moteris"},{"mid":"2020825","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2020825_5m.jpg","id":"2020825","length":"114","title":"Panev\u0117\u017eys kuria \u201eSavanoryst\u0117s meniu\u201c \u2013 kvie\u010diamos organizacijos teikti informacij\u0105"},{"mid":"2020749","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2020749_1m.jpg","id":"2020749","length":"71","title":"Panev\u0117\u017eys modernizuoja sporto infrastrukt\u016br\u0105 \u2013 ger\u0117ja s\u0105lygos profesionalams ir m\u0117g\u0117jams"},{"mid":"2020231","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2020231_3m.jpg","id":"2020231","length":"65","title":"Panev\u0117\u017eio fotografijos meistrai eisena pamin\u0117jo Pasaulin\u0117s fotografijos dien\u0105 ir panev\u0117\u017eie\u010dius linksmino unikaliu reginiu"},{"mid":"2020106","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2020106_3m.jpg","id":"2020106","length":"119","title":"DIENOS KLAUSIMAS. Kur panev\u0117\u017eie\u010diai da\u017eniausiai leid\u017eia laisvalaik\u012f?"},{"mid":"2018814","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2018814_4m.jpg","id":"2018814","length":"84","title":"Specialistai primena: prie\u0161 mokslo metus svarbu \u012fvertinti vaik\u0173 sveikat\u0105"},{"mid":"2017863","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2017863_6m.jpg","id":"2017863","length":"155","title":"\u0160iandien Pu\u0161aloto mikrorajono bendruomen\u0117 sureng\u0117 \u017dolini\u0173 \u0161vent\u0119, kurios metu min\u0117jo ir savo bendruomen\u0117s \u012fk\u016brimo de\u0161imties met\u0173 sukakt\u012f"},{"mid":"2016766","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2016766_1m.jpg","id":"2016766","length":"75","title":"Panev\u0117\u017eio centre u\u017esiliepsnojo automobilis"},{"mid":"2016114","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2016114_6m.jpg","id":"2016114","length":"234","title":"Panev\u0117\u017eyje atidaryta jubiliejin\u0117 25-oji tarptautinio keramikos simpoziumo paroda"},{"mid":"2015572","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2015572_1m.jpg","id":"2015572","length":"59","title":"Panev\u0117\u017eio mokyklose bus \u012frengtos bei atnaujintos priedangos"},{"mid":"2014773","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2014773_4m.jpg","id":"2014773","length":"180","title":"Liekupio bendruomen\u0117 sukviet\u0117 panev\u0117\u017eie\u010dius \u012f Palapini\u0173 miestelio vaikams atidarym\u0105 ir Balt\u0105j\u0105 vakarien\u0119"},{"mid":"2013630","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2013630_4m.jpg","id":"2013630","length":"75","title":"Panev\u0117\u017eyje kei\u010diasi atliek\u0173 tvarkymo taisykl\u0117s: priva\u010di\u0173 vald\u0173 savininkai nebegal\u0117s naudotis kolektyviniais konteineriais"},{"mid":"2013330","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2013330_1m.jpg","id":"2013330","length":"123","title":"\u201eBaltoji vakarien\u0117\u201c Panev\u0117\u017eyje"},{"mid":"2012534","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2012534_6m.jpg","id":"2012534","length":"61","title":"Panev\u0117\u017eio klubas \u201eDvira\u010diai\u201c kvie\u010dia prisijungti prie nemokam\u0173 ir reguliari\u0173 dvira\u010di\u0173 treniruo\u010di\u0173"},{"mid":"2011772","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2011772_1m.jpg","id":"2011772","length":"196","title":"Rugpj\u016b\u010dio 8-osios laikra\u0161tyje \u201eT\u0117vyn\u0117\u201c \u2013 svarbiausios Panev\u0117\u017eio rajono naujienos"},{"mid":"2011674","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2011674_3m.jpg","id":"2011674","length":"135","title":"Panev\u0117\u017eyje gerinamos ugdymo s\u0105lygos vaikams, patiriantiems atskirt\u012f"},{"mid":"2011643","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2011643_1m.jpg","id":"2011643","length":"103","title":"Anta\u0161avos ba\u017eny\u010dios varpas sugr\u012f\u017eo \u012f varpin\u0119"},{"mid":"2011068","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2011068_4m.jpg","id":"2011068","length":"390","title":"\u017diniasklaidoje skambantys \u017eiauraus elgesio su gyv\u016bnais atvejai \u2013 ne i\u0161skirtinis protr\u016bkis, o besit\u0119sianti kasdienyb\u0117"},{"mid":"2010387","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/2010387_1m.jpg","id":"2010387","length":"273","title":"Prasid\u0117jo p\u0117s\u010di\u0173j\u0173 tilto per Nev\u0117\u017e\u012f remonto darbai: tiltas bus u\u017edarytas iki spalio pabaigos"}],"frid":2028691,"tpb":56.25,"addcss":"","firstmidvideo":"MjAyODY5MSwxNng5LDQsMywyMTAxLDcyODAsMSwwLDIsMywwLDAsNywwLDQsMSwwLDAsMiwwLDAsMCwwLDAsMCwwLDAsLTE7LTE7MjA7MTIwO0JSOzIwOzEyMDsxMjA7NTYsMCw2MCwwLDAsMCwwOzA7MDswOzA7MDswLDA=","defsd":{"ttextlines":"3","pso":"1","plheight":"165","plback":"#ffffff","nso":"1","navwidth":"30","navheight":"20","navimleft":"1","navimright":"17","navimtop":"0","navimbottom":"0","navback":"rgb(255, 255, 255)","navcolor":"rgb(0, 0, 0)","navbackhv":"rgb(255, 255, 255)","navcolorhv":"rgb(0, 0, 0)","iso":"1","iwidth":"160","iback":"rgb(255, 255, 255)","ibackhv":"rgb(255, 255, 255)","ibackpl":"rgb(255, 255, 255)","pmleft":"0","pmright":"20","pmtop":"20","pmbottom":"10","tmleft":"0","tmright":"20","tmtop":"3","tmbottom":"11","tfontsize":"14","tcolor":"rgb(153, 153, 153)","tcolorhv":"rgb(0, 0, 0)","tcolorpl":"rgb(0, 0, 0)","dfontsize":"12","dcolor":"rgb(255, 255, 255)","dcolorhv":"rgb(255, 255, 255)","dcolorpl":"rgb(255, 255, 255)","dback":"rgba(0, 0, 0, 0.5)","dbackhv":"rgba(0, 0, 0, 0.5)","dbackpl":"rgba(0, 0, 0, 0.5)","spsize":"21","spcolor":"rgb(0, 0, 0)","spcolorhv":"rgb(255, 255, 255)","spcolorpl":"rgb(255, 255, 255)","stcolor":"#ffffff","stcolorhv":"rgba(13, 4, 0, 0.5)","stcolorpl":"rgba(13, 4, 0, 0.5)","playlist":2101}} ; wConfig['uid'] = uid; wConfig['iid'] = iid ; wConfig['cId'] = 'ld'+uid ; wmc=document.getElementById('ld'+uid); widgetPlayer = new WidgetPlayer(wConfig, wmc); }); } } window.addEventListener("message",(e)=>{ try{ if (!e.data.indexOf || (e.data.indexOf("onntv://")!=0)){ return ; } var com = {} ; try{ com = JSON.parse( e.data.substr( 8 ) ); }catch(e){ com = {} ; } switch (com.comm){ case "widgetloaded": if(parseInt(com.iid)==iid && !playerInserted){ console.log( "insertujemy" ); console.log( com ); playerInserted = true ; var pscript = document.createElement( "script" ); pscript.src = _ONND_URL_EMBED + '/embed.php?mid='+com.subject+'&iid='+iid+'&cId=p'+uid+'&widget='+widget+vids+overwrites ; pscript.async = true ; document.body.appendChild( pscript ); } break ; } }catch(e){} },false); if ((cId!="") && document.getElementById( cId )){ insertWidget( document.getElementById( cId ) , false ); }else if (document.currentScript && document.currentScript.parentElement){ insertWidget( document.currentScript , true ); } })(672,"","");