document.write('
'); var nk_embedcode_3_1_element_2 = document.createElement("div"); nk_embedcode_3_1_element_2.setAttribute("class","nk_embedcode_element"); nk_embedcode_3_1_element_2.setAttribute("data-i","1"); nk_embedcode_3_1_element_2.setAttribute("data-open","1"); nk_embedcode_3_1_element_2.setAttribute("id","nk_embedcode_3_1_element_2"); document.getElementById("nk_embedcode_3_wrapper").appendChild(nk_embedcode_3_1_element_2); var nk_embedcode_3_1_2_picturelink = document.createElement("a"); nk_embedcode_3_1_2_picturelink.setAttribute("href","https://e-pages.dk/pindleodense/131/?date=08/10/2019"); nk_embedcode_3_1_2_picturelink.setAttribute("target","_blank"); nk_embedcode_3_1_2_picturelink.setAttribute("class","picturelink"); nk_embedcode_3_1_2_picturelink.setAttribute("id","nk_embedcode_3_1_2_picturelink"); nk_embedcode_3_1_element_2.appendChild(nk_embedcode_3_1_2_picturelink); var nk_embedcode_3_1_2_picture = document.createElement("img"); nk_embedcode_3_1_2_picture.setAttribute("src","https://www.e-pages.dk/pindleodense/131/teasers/small.jpg"); nk_embedcode_3_1_2_picture.setAttribute("width",150); nk_embedcode_3_1_2_picture.setAttribute("height",198); nk_embedcode_3_1_2_picturelink.appendChild(nk_embedcode_3_1_2_picture); var nk_embedcode_3_1_2_namelink = document.createElement("a"); nk_embedcode_3_1_2_namelink.setAttribute("href","https://e-pages.dk/pindleodense/131/?date=08/10/2019"); nk_embedcode_3_1_2_namelink.setAttribute("target","_blank"); nk_embedcode_3_1_2_namelink.setAttribute("class","namelink"); nk_embedcode_3_1_2_namelink.setAttribute("id","nk_embedcode_3_1_2_namelink"); nk_embedcode_3_1_2_namelink.innerHTML = "Pindle Odense - 08.10.2019"; nk_embedcode_3_1_element_2.appendChild(nk_embedcode_3_1_2_namelink); var nk_embedcode_3_1_2_closebutton = document.createElement("div"); nk_embedcode_3_1_2_closebutton.setAttribute("class","closebutton"); nk_embedcode_3_1_2_closebutton.innerHTML = "Skjul"; nk_embedcode_3_1_2_closebutton.setAttribute("id","nk_embedcode_3_1_2_closebutton"); nk_embedcode_3_1_2_closebutton.onclick = function() { nk_embedcode_3_close(this.parentElement.id); }; nk_embedcode_3_1_element_2.appendChild(nk_embedcode_3_1_2_closebutton); var nk_embedcode_3_1_2_subholder = document.createElement("div"); nk_embedcode_3_1_2_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_3_1_2_subholder.setAttribute("id","nk_embedcode_3_2_subholder"); nk_embedcode_3_1_element_2.appendChild(nk_embedcode_3_1_2_subholder); var nk_embedcode_3_1_element_7 = document.createElement("div"); nk_embedcode_3_1_element_7.setAttribute("class","nk_embedcode_element"); nk_embedcode_3_1_element_7.setAttribute("data-i","2"); nk_embedcode_3_1_element_7.setAttribute("data-open","1"); nk_embedcode_3_1_element_7.setAttribute("id","nk_embedcode_3_1_element_7"); document.getElementById("nk_embedcode_3_wrapper").appendChild(nk_embedcode_3_1_element_7); var nk_embedcode_3_1_7_picturelink = document.createElement("a"); nk_embedcode_3_1_7_picturelink.setAttribute("href","https://e-pages.dk/pindleviborg/7/?date=09/10/2018"); nk_embedcode_3_1_7_picturelink.setAttribute("target","_blank"); nk_embedcode_3_1_7_picturelink.setAttribute("class","picturelink"); nk_embedcode_3_1_7_picturelink.setAttribute("id","nk_embedcode_3_1_7_picturelink"); nk_embedcode_3_1_element_7.appendChild(nk_embedcode_3_1_7_picturelink); var nk_embedcode_3_1_7_picture = document.createElement("img"); nk_embedcode_3_1_7_picture.setAttribute("src","https://www.e-pages.dk/pindleviborg/7/teasers/small.jpg"); nk_embedcode_3_1_7_picture.setAttribute("width",150); nk_embedcode_3_1_7_picture.setAttribute("height",198); nk_embedcode_3_1_7_picturelink.appendChild(nk_embedcode_3_1_7_picture); var nk_embedcode_3_1_7_namelink = document.createElement("a"); nk_embedcode_3_1_7_namelink.setAttribute("href","https://e-pages.dk/pindleviborg/7/?date=09/10/2018"); nk_embedcode_3_1_7_namelink.setAttribute("target","_blank"); nk_embedcode_3_1_7_namelink.setAttribute("class","namelink"); nk_embedcode_3_1_7_namelink.setAttribute("id","nk_embedcode_3_1_7_namelink"); nk_embedcode_3_1_7_namelink.innerHTML = "Pindle Viborg 28. august 2018"; nk_embedcode_3_1_element_7.appendChild(nk_embedcode_3_1_7_namelink); var nk_embedcode_3_1_7_closebutton = document.createElement("div"); nk_embedcode_3_1_7_closebutton.setAttribute("class","closebutton"); nk_embedcode_3_1_7_closebutton.innerHTML = "Skjul"; nk_embedcode_3_1_7_closebutton.setAttribute("id","nk_embedcode_3_1_7_closebutton"); nk_embedcode_3_1_7_closebutton.onclick = function() { nk_embedcode_3_close(this.parentElement.id); }; nk_embedcode_3_1_element_7.appendChild(nk_embedcode_3_1_7_closebutton); var nk_embedcode_3_1_7_subholder = document.createElement("div"); nk_embedcode_3_1_7_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_3_1_7_subholder.setAttribute("id","nk_embedcode_3_7_subholder"); nk_embedcode_3_1_element_7.appendChild(nk_embedcode_3_1_7_subholder); var nk_embedcode_3_1_element_3 = document.createElement("div"); nk_embedcode_3_1_element_3.setAttribute("class","nk_embedcode_element"); nk_embedcode_3_1_element_3.setAttribute("data-i","3"); nk_embedcode_3_1_element_3.setAttribute("data-open","0"); nk_embedcode_3_1_element_3.setAttribute("id","nk_embedcode_3_1_element_3"); document.getElementById("nk_embedcode_3_wrapper").appendChild(nk_embedcode_3_1_element_3); var nk_embedcode_3_1_3_picturelink = document.createElement("a"); nk_embedcode_3_1_3_picturelink.setAttribute("href","https://e-pages.dk/invejle/16/?date=21/09/2019"); nk_embedcode_3_1_3_picturelink.setAttribute("target","_blank"); nk_embedcode_3_1_3_picturelink.setAttribute("class","picturelink"); nk_embedcode_3_1_3_picturelink.setAttribute("id","nk_embedcode_3_1_3_picturelink"); nk_embedcode_3_1_element_3.appendChild(nk_embedcode_3_1_3_picturelink); var nk_embedcode_3_1_3_picture = document.createElement("img"); nk_embedcode_3_1_3_picture.setAttribute("src","https://www.e-pages.dk/invejle/16/teasers/small.jpg"); nk_embedcode_3_1_3_picture.setAttribute("width",150); nk_embedcode_3_1_3_picture.setAttribute("height",198); nk_embedcode_3_1_3_picturelink.appendChild(nk_embedcode_3_1_3_picture); var nk_embedcode_3_1_3_namelink = document.createElement("a"); nk_embedcode_3_1_3_namelink.setAttribute("href","https://e-pages.dk/invejle/16/?date=21/09/2019"); nk_embedcode_3_1_3_namelink.setAttribute("target","_blank"); nk_embedcode_3_1_3_namelink.setAttribute("class","namelink"); nk_embedcode_3_1_3_namelink.setAttribute("id","nk_embedcode_3_1_3_namelink"); nk_embedcode_3_1_3_namelink.innerHTML = "InVejle - 21-09-2019"; nk_embedcode_3_1_element_3.appendChild(nk_embedcode_3_1_3_namelink); var nk_embedcode_3_1_3_closebutton = document.createElement("div"); nk_embedcode_3_1_3_closebutton.setAttribute("class","closebutton"); nk_embedcode_3_1_3_closebutton.innerHTML = "Skjul"; nk_embedcode_3_1_3_closebutton.setAttribute("id","nk_embedcode_3_1_3_closebutton"); nk_embedcode_3_1_3_closebutton.onclick = function() { nk_embedcode_3_close(this.parentElement.id); }; nk_embedcode_3_1_element_3.appendChild(nk_embedcode_3_1_3_closebutton); var nk_embedcode_3_1_3_subholder = document.createElement("div"); nk_embedcode_3_1_3_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_3_1_3_subholder.setAttribute("id","nk_embedcode_3_3_subholder"); nk_embedcode_3_1_element_3.appendChild(nk_embedcode_3_1_3_subholder); var nk_embedcode_3_1_element_4 = document.createElement("div"); nk_embedcode_3_1_element_4.setAttribute("class","nk_embedcode_element"); nk_embedcode_3_1_element_4.setAttribute("data-i","4"); nk_embedcode_3_1_element_4.setAttribute("data-open","1"); nk_embedcode_3_1_element_4.setAttribute("id","nk_embedcode_3_1_element_4"); document.getElementById("nk_embedcode_3_wrapper").appendChild(nk_embedcode_3_1_element_4); var nk_embedcode_3_1_4_picturelink = document.createElement("a"); nk_embedcode_3_1_4_picturelink.setAttribute("href","https://e-pages.dk/inlillebaelt/7/?date=27/10/2018"); nk_embedcode_3_1_4_picturelink.setAttribute("target","_blank"); nk_embedcode_3_1_4_picturelink.setAttribute("class","picturelink"); nk_embedcode_3_1_4_picturelink.setAttribute("id","nk_embedcode_3_1_4_picturelink"); nk_embedcode_3_1_element_4.appendChild(nk_embedcode_3_1_4_picturelink); var nk_embedcode_3_1_4_picture = document.createElement("img"); nk_embedcode_3_1_4_picture.setAttribute("src","https://www.e-pages.dk/inlillebaelt/7/teasers/small.jpg"); nk_embedcode_3_1_4_picture.setAttribute("width",150); nk_embedcode_3_1_4_picture.setAttribute("height",198); nk_embedcode_3_1_4_picturelink.appendChild(nk_embedcode_3_1_4_picture); var nk_embedcode_3_1_4_namelink = document.createElement("a"); nk_embedcode_3_1_4_namelink.setAttribute("href","https://e-pages.dk/inlillebaelt/7/?date=27/10/2018"); nk_embedcode_3_1_4_namelink.setAttribute("target","_blank"); nk_embedcode_3_1_4_namelink.setAttribute("class","namelink"); nk_embedcode_3_1_4_namelink.setAttribute("id","nk_embedcode_3_1_4_namelink"); nk_embedcode_3_1_4_namelink.innerHTML = "InLillebælt - 27-10-2018"; nk_embedcode_3_1_element_4.appendChild(nk_embedcode_3_1_4_namelink); var nk_embedcode_3_1_4_closebutton = document.createElement("div"); nk_embedcode_3_1_4_closebutton.setAttribute("class","closebutton"); nk_embedcode_3_1_4_closebutton.innerHTML = "Skjul"; nk_embedcode_3_1_4_closebutton.setAttribute("id","nk_embedcode_3_1_4_closebutton"); nk_embedcode_3_1_4_closebutton.onclick = function() { nk_embedcode_3_close(this.parentElement.id); }; nk_embedcode_3_1_element_4.appendChild(nk_embedcode_3_1_4_closebutton); var nk_embedcode_3_1_4_subholder = document.createElement("div"); nk_embedcode_3_1_4_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_3_1_4_subholder.setAttribute("id","nk_embedcode_3_4_subholder"); nk_embedcode_3_1_element_4.appendChild(nk_embedcode_3_1_4_subholder); var nk_embedcode_3_1_element_5 = document.createElement("div"); nk_embedcode_3_1_element_5.setAttribute("class","nk_embedcode_element"); nk_embedcode_3_1_element_5.setAttribute("data-i","5"); nk_embedcode_3_1_element_5.setAttribute("data-open","1"); nk_embedcode_3_1_element_5.setAttribute("id","nk_embedcode_3_1_element_5"); document.getElementById("nk_embedcode_3_wrapper").appendChild(nk_embedcode_3_1_element_5); var nk_embedcode_3_1_5_picturelink = document.createElement("a"); nk_embedcode_3_1_5_picturelink.setAttribute("href","https://e-pages.dk/inkolding/10/?date=11/11/2017"); nk_embedcode_3_1_5_picturelink.setAttribute("target","_blank"); nk_embedcode_3_1_5_picturelink.setAttribute("class","picturelink"); nk_embedcode_3_1_5_picturelink.setAttribute("id","nk_embedcode_3_1_5_picturelink"); nk_embedcode_3_1_element_5.appendChild(nk_embedcode_3_1_5_picturelink); var nk_embedcode_3_1_5_picture = document.createElement("img"); nk_embedcode_3_1_5_picture.setAttribute("src","https://www.e-pages.dk/inkolding/10/teasers/small.jpg"); nk_embedcode_3_1_5_picture.setAttribute("width",150); nk_embedcode_3_1_5_picture.setAttribute("height",198); nk_embedcode_3_1_5_picturelink.appendChild(nk_embedcode_3_1_5_picture); var nk_embedcode_3_1_5_namelink = document.createElement("a"); nk_embedcode_3_1_5_namelink.setAttribute("href","https://e-pages.dk/inkolding/10/?date=11/11/2017"); nk_embedcode_3_1_5_namelink.setAttribute("target","_blank"); nk_embedcode_3_1_5_namelink.setAttribute("class","namelink"); nk_embedcode_3_1_5_namelink.setAttribute("id","nk_embedcode_3_1_5_namelink"); nk_embedcode_3_1_5_namelink.innerHTML = "InKolding"; nk_embedcode_3_1_element_5.appendChild(nk_embedcode_3_1_5_namelink); var nk_embedcode_3_1_5_closebutton = document.createElement("div"); nk_embedcode_3_1_5_closebutton.setAttribute("class","closebutton"); nk_embedcode_3_1_5_closebutton.innerHTML = "Skjul"; nk_embedcode_3_1_5_closebutton.setAttribute("id","nk_embedcode_3_1_5_closebutton"); nk_embedcode_3_1_5_closebutton.onclick = function() { nk_embedcode_3_close(this.parentElement.id); }; nk_embedcode_3_1_element_5.appendChild(nk_embedcode_3_1_5_closebutton); var nk_embedcode_3_1_5_subholder = document.createElement("div"); nk_embedcode_3_1_5_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_3_1_5_subholder.setAttribute("id","nk_embedcode_3_5_subholder"); nk_embedcode_3_1_element_5.appendChild(nk_embedcode_3_1_5_subholder); var nk_embedcode_3_1_element_6 = document.createElement("div"); nk_embedcode_3_1_element_6.setAttribute("class","nk_embedcode_element"); nk_embedcode_3_1_element_6.setAttribute("data-i","6"); nk_embedcode_3_1_element_6.setAttribute("data-open","1"); nk_embedcode_3_1_element_6.setAttribute("id","nk_embedcode_3_1_element_6"); document.getElementById("nk_embedcode_3_wrapper").appendChild(nk_embedcode_3_1_element_6); var nk_embedcode_3_1_6_picturelink = document.createElement("a"); nk_embedcode_3_1_6_picturelink.setAttribute("href","https://e-pages.dk/inhorsens/12/?date=01/12/2018"); nk_embedcode_3_1_6_picturelink.setAttribute("target","_blank"); nk_embedcode_3_1_6_picturelink.setAttribute("class","picturelink"); nk_embedcode_3_1_6_picturelink.setAttribute("id","nk_embedcode_3_1_6_picturelink"); nk_embedcode_3_1_element_6.appendChild(nk_embedcode_3_1_6_picturelink); var nk_embedcode_3_1_6_picture = document.createElement("img"); nk_embedcode_3_1_6_picture.setAttribute("src","https://www.e-pages.dk/inhorsens/12/teasers/small.jpg"); nk_embedcode_3_1_6_picture.setAttribute("width",150); nk_embedcode_3_1_6_picture.setAttribute("height",198); nk_embedcode_3_1_6_picturelink.appendChild(nk_embedcode_3_1_6_picture); var nk_embedcode_3_1_6_namelink = document.createElement("a"); nk_embedcode_3_1_6_namelink.setAttribute("href","https://e-pages.dk/inhorsens/12/?date=01/12/2018"); nk_embedcode_3_1_6_namelink.setAttribute("target","_blank"); nk_embedcode_3_1_6_namelink.setAttribute("class","namelink"); nk_embedcode_3_1_6_namelink.setAttribute("id","nk_embedcode_3_1_6_namelink"); nk_embedcode_3_1_6_namelink.innerHTML = "InHorsens - 01-12-2018"; nk_embedcode_3_1_element_6.appendChild(nk_embedcode_3_1_6_namelink); var nk_embedcode_3_1_6_closebutton = document.createElement("div"); nk_embedcode_3_1_6_closebutton.setAttribute("class","closebutton"); nk_embedcode_3_1_6_closebutton.innerHTML = "Skjul"; nk_embedcode_3_1_6_closebutton.setAttribute("id","nk_embedcode_3_1_6_closebutton"); nk_embedcode_3_1_6_closebutton.onclick = function() { nk_embedcode_3_close(this.parentElement.id); }; nk_embedcode_3_1_element_6.appendChild(nk_embedcode_3_1_6_closebutton); var nk_embedcode_3_1_6_subholder = document.createElement("div"); nk_embedcode_3_1_6_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_3_1_6_subholder.setAttribute("id","nk_embedcode_3_6_subholder"); nk_embedcode_3_1_element_6.appendChild(nk_embedcode_3_1_6_subholder); var nk_embedcode_3_styling = document.createElement("style"); nk_embedcode_3_styling.setAttribute("type","text/css"); nk_embedcode_3_styling.innerHTML = "div.nk_embedcode_wrapper > div.nk_embedcode_element, div.nk_embedcode_wrapper > div.nk_embedcode_element_show_more {display: block; float: left; width: 150px; height: 230px; margin: 0 20px 20px 0; overflow: hidden; position: relative; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] {width: 100%; width: calc(100% - 60px); height: auto; float: none; clear: both; padding: 20px 20px 0 20px; border-style: solid; border-color: #CCC; border-width: 1px; background-color: rgba(0,0,0,0.1); } div.nk_embedcode_wrapper > div.nk_embedcode_element > div.closebutton {display: none; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.closebutton {display: inline-block; background-color: #333; color: #FFF; font-weight: bold; padding: 5px 20px 5px 20px; position: absolute; left: 190px; top: 195px; cursor: pointer; } div.nk_embedcode_wrapper > div.nk_embedcode_element > a.picturelink {display: block; width: 150px; height: 198px; margin: 0 0 2px 0; overflow: hidden; } div.nk_embedcode_wrapper > div.nk_embedcode_element > a.picturelink > img {display: block; width: 150px; height: 198px; border: 0; } div.nk_embedcode_wrapper > div.nk_embedcode_element_show_more { background: transparent; height: 198px; transisiotn: all(); } div.nk_embedcode_wrapper > div.nk_embedcode_element_show_more:hover { background: #ccc; } div.nk_embedcode_wrapper > div.nk_embedcode_element_show_more > a.picturelink {display: block; width: 150px; height: 198px; margin: 0 0 2px 0; overflow: hidden; } div.nk_embedcode_wrapper > div.nk_embedcode_element_show_more > a.picturelink > img {display: block; width: 150px; height: 198px; border: 0; } div.nk_embedcode_wrapper > div.nk_embedcode_element > a.namelink {display: block; width: 150px; height: 30px; overflow: hidden; text-align: center; color: #000; font-weight: bold; font-size: 12px; line-height: 15px; text-decoration: none; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.nk_embedcode_element_subholder {display: block; width: 100%; height: auto; clear: both; float: none; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.nk_embedcode_element_subholder {overflow: hidden; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.nk_embedcode_element_subholder:empty {display: none; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.nk_embedcode_element_subholder > div.nk_embedcode_element {display: block; width: 80px; height: 150px; overflow: hidden; float: left; margin: 0 20px 20px 0; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.nk_embedcode_element_subholder > div.nk_embedcode_element > a.picturelink {display: block; width: 80px; height: 110px; overflow: hidden; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.nk_embedcode_element_subholder > div.nk_embedcode_element > a.picturelink > img {width: 80px; height: 110px; } div.nk_embedcode_wrapper > div.nk_embedcode_element[data-open='1'] > div.nk_embedcode_element_subholder > div.nk_embedcode_element > a.namelink {display: block; width: 80px; height: 45px; overflow: hidden; text-align: center; color: #000; font-weight: bold; font-size: 10px; line-height: 10px; text-decoration: none; } div.nk_embedcode_wrapper > div.nk_embedcode_element.js-nk-hidden-publications { display:none; } "; document.body.appendChild(nk_embedcode_3_styling); var elm = document.getElementById("nk_embedcode_3_1_element_2"); var targetElm = elm.getElementsByClassName("nk_embedcode_element_subholder")[0]; if(typeof(targetElm.firstChild) === 'object' && targetElm.firstChild === null) { elm.setAttribute("data-open","0"); elm.setAttribute("data-subs","0"); } else { elm.setAttribute("data-subs", targetElm.getElementsByClassName("nk_embedcode_element").length); } var elm = document.getElementById("nk_embedcode_3_1_element_7"); var targetElm = elm.getElementsByClassName("nk_embedcode_element_subholder")[0]; if(typeof(targetElm.firstChild) === 'object' && targetElm.firstChild === null) { elm.setAttribute("data-open","0"); elm.setAttribute("data-subs","0"); } else { elm.setAttribute("data-subs", targetElm.getElementsByClassName("nk_embedcode_element").length); } var elm = document.getElementById("nk_embedcode_3_1_element_3"); var targetElm = elm.getElementsByClassName("nk_embedcode_element_subholder")[0]; if(typeof(targetElm.firstChild) === 'object' && targetElm.firstChild === null) { elm.setAttribute("data-open","0"); elm.setAttribute("data-subs","0"); } else { elm.setAttribute("data-subs", targetElm.getElementsByClassName("nk_embedcode_element").length); } var elm = document.getElementById("nk_embedcode_3_1_element_4"); var targetElm = elm.getElementsByClassName("nk_embedcode_element_subholder")[0]; if(typeof(targetElm.firstChild) === 'object' && targetElm.firstChild === null) { elm.setAttribute("data-open","0"); elm.setAttribute("data-subs","0"); } else { elm.setAttribute("data-subs", targetElm.getElementsByClassName("nk_embedcode_element").length); } var elm = document.getElementById("nk_embedcode_3_1_element_5"); var targetElm = elm.getElementsByClassName("nk_embedcode_element_subholder")[0]; if(typeof(targetElm.firstChild) === 'object' && targetElm.firstChild === null) { elm.setAttribute("data-open","0"); elm.setAttribute("data-subs","0"); } else { elm.setAttribute("data-subs", targetElm.getElementsByClassName("nk_embedcode_element").length); } var elm = document.getElementById("nk_embedcode_3_1_element_6"); var targetElm = elm.getElementsByClassName("nk_embedcode_element_subholder")[0]; if(typeof(targetElm.firstChild) === 'object' && targetElm.firstChild === null) { elm.setAttribute("data-open","0"); elm.setAttribute("data-subs","0"); } else { elm.setAttribute("data-subs", targetElm.getElementsByClassName("nk_embedcode_element").length); } var elm = document.getElementById("nk_embedcode_3_1_element_2"); if(elm.getAttribute("data-subs") != "0") { var cur_pic_id = elm.getElementsByClassName("picturelink")[0].getAttribute("id"); var cur_nam_id = elm.getElementsByClassName("namelink")[0].getAttribute("id"); document.getElementById(cur_pic_id).setAttribute("data-cur-id",cur_pic_id); document.getElementById(cur_nam_id).setAttribute("data-cur-id",cur_nam_id); document.getElementById(cur_pic_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } } var elm = document.getElementById("nk_embedcode_3_1_element_7"); if(elm.getAttribute("data-subs") != "0") { var cur_pic_id = elm.getElementsByClassName("picturelink")[0].getAttribute("id"); var cur_nam_id = elm.getElementsByClassName("namelink")[0].getAttribute("id"); document.getElementById(cur_pic_id).setAttribute("data-cur-id",cur_pic_id); document.getElementById(cur_nam_id).setAttribute("data-cur-id",cur_nam_id); document.getElementById(cur_pic_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } } var elm = document.getElementById("nk_embedcode_3_1_element_3"); if(elm.getAttribute("data-subs") != "0") { var cur_pic_id = elm.getElementsByClassName("picturelink")[0].getAttribute("id"); var cur_nam_id = elm.getElementsByClassName("namelink")[0].getAttribute("id"); document.getElementById(cur_pic_id).setAttribute("data-cur-id",cur_pic_id); document.getElementById(cur_nam_id).setAttribute("data-cur-id",cur_nam_id); document.getElementById(cur_pic_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } } var elm = document.getElementById("nk_embedcode_3_1_element_4"); if(elm.getAttribute("data-subs") != "0") { var cur_pic_id = elm.getElementsByClassName("picturelink")[0].getAttribute("id"); var cur_nam_id = elm.getElementsByClassName("namelink")[0].getAttribute("id"); document.getElementById(cur_pic_id).setAttribute("data-cur-id",cur_pic_id); document.getElementById(cur_nam_id).setAttribute("data-cur-id",cur_nam_id); document.getElementById(cur_pic_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } } var elm = document.getElementById("nk_embedcode_3_1_element_5"); if(elm.getAttribute("data-subs") != "0") { var cur_pic_id = elm.getElementsByClassName("picturelink")[0].getAttribute("id"); var cur_nam_id = elm.getElementsByClassName("namelink")[0].getAttribute("id"); document.getElementById(cur_pic_id).setAttribute("data-cur-id",cur_pic_id); document.getElementById(cur_nam_id).setAttribute("data-cur-id",cur_nam_id); document.getElementById(cur_pic_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } } var elm = document.getElementById("nk_embedcode_3_1_element_6"); if(elm.getAttribute("data-subs") != "0") { var cur_pic_id = elm.getElementsByClassName("picturelink")[0].getAttribute("id"); var cur_nam_id = elm.getElementsByClassName("namelink")[0].getAttribute("id"); document.getElementById(cur_pic_id).setAttribute("data-cur-id",cur_pic_id); document.getElementById(cur_nam_id).setAttribute("data-cur-id",cur_nam_id); document.getElementById(cur_pic_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_3_toggle_open(this.getAttribute("data-cur-id")); } } function nk_embedcode_3_toggle_open(id) { var curobjid = document.getElementById(id); var parentElmId = curobjid.parentElement.id; if(document.getElementById(parentElmId).getAttribute("data-open") == "1") { return true; } else { document.getElementById(parentElmId).setAttribute("data-open","1"); return false; } } function nk_embedcode_3_show_all() { var elm = document.getElementsByClassName("js-nk-hidden-publications"); for(var i = 0; i < elm.length; i++){ elm[i].style.display = "block"; } var showElm = document.getElementById("js-nk_embedcode_element_3_show_more"); showElm.parentNode.removeChild(showElm); return false; } function nk_embedcode_3_close(id) { document.getElementById(id).setAttribute("data-open","0"); }