document.write('
'); var nk_embedcode_15_11662_element_1 = document.createElement("div"); nk_embedcode_15_11662_element_1.setAttribute("class","nk_embedcode_element"); nk_embedcode_15_11662_element_1.setAttribute("data-open","1"); nk_embedcode_15_11662_element_1.setAttribute("id","nk_embedcode_15_11662_element_1"); document.getElementById("nk_embedcode_15_wrapper").appendChild(nk_embedcode_15_11662_element_1); var nk_embedcode_15_11662_1_picturelink = document.createElement("a"); nk_embedcode_15_11662_1_picturelink.setAttribute("href","https://e-pages.dk/guloggratis/610/?date=08/12/2017"); nk_embedcode_15_11662_1_picturelink.setAttribute("target","_blank"); nk_embedcode_15_11662_1_picturelink.setAttribute("class","picturelink"); nk_embedcode_15_11662_1_picturelink.setAttribute("id","nk_embedcode_15_11662_1_picturelink"); nk_embedcode_15_11662_element_1.appendChild(nk_embedcode_15_11662_1_picturelink); var nk_embedcode_15_11662_1_picture = document.createElement("img"); nk_embedcode_15_11662_1_picture.setAttribute("src","https://www.e-pages.dk/guloggratis/610/teasers/small.jpg"); nk_embedcode_15_11662_1_picture.setAttribute("width",150); nk_embedcode_15_11662_1_picture.setAttribute("height",198); nk_embedcode_15_11662_1_picturelink.appendChild(nk_embedcode_15_11662_1_picture); var nk_embedcode_15_11662_1_namelink = document.createElement("a"); nk_embedcode_15_11662_1_namelink.setAttribute("href","https://e-pages.dk/guloggratis/610/?date=08/12/2017"); nk_embedcode_15_11662_1_namelink.setAttribute("target","_blank"); nk_embedcode_15_11662_1_namelink.setAttribute("class","namelink"); nk_embedcode_15_11662_1_namelink.setAttribute("id","nk_embedcode_15_11662_1_namelink"); nk_embedcode_15_11662_1_namelink.innerHTML = "Gul og Gratis"; nk_embedcode_15_11662_element_1.appendChild(nk_embedcode_15_11662_1_namelink); var nk_embedcode_15_11662_1_closebutton = document.createElement("div"); nk_embedcode_15_11662_1_closebutton.setAttribute("class","closebutton"); nk_embedcode_15_11662_1_closebutton.innerHTML = "Skjul"; nk_embedcode_15_11662_1_closebutton.setAttribute("id","nk_embedcode_15_11662_1_closebutton"); nk_embedcode_15_11662_1_closebutton.onclick = function() { nk_embedcode_15_close(jQuery(this).parent().attr("id")); } nk_embedcode_15_11662_element_1.appendChild(nk_embedcode_15_11662_1_closebutton); var nk_embedcode_15_11662_1_subholder = document.createElement("div"); nk_embedcode_15_11662_1_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_15_11662_1_subholder.setAttribute("id","nk_embedcode_15_1_subholder"); nk_embedcode_15_11662_element_1.appendChild(nk_embedcode_15_11662_1_subholder); var nk_embedcode_15_11695_element_3 = document.createElement("div"); nk_embedcode_15_11695_element_3.setAttribute("class","nk_embedcode_element"); nk_embedcode_15_11695_element_3.setAttribute("data-open","1"); nk_embedcode_15_11695_element_3.setAttribute("id","nk_embedcode_15_11695_element_3"); document.getElementById("nk_embedcode_15_wrapper").appendChild(nk_embedcode_15_11695_element_3); var nk_embedcode_15_11695_3_picturelink = document.createElement("a"); nk_embedcode_15_11695_3_picturelink.setAttribute("href","https://e-pages.dk/guloggratis/611/?date=09/12/2017"); nk_embedcode_15_11695_3_picturelink.setAttribute("target","_blank"); nk_embedcode_15_11695_3_picturelink.setAttribute("class","picturelink"); nk_embedcode_15_11695_3_picturelink.setAttribute("id","nk_embedcode_15_11695_3_picturelink"); nk_embedcode_15_11695_element_3.appendChild(nk_embedcode_15_11695_3_picturelink); var nk_embedcode_15_11695_3_picture = document.createElement("img"); nk_embedcode_15_11695_3_picture.setAttribute("src","https://www.e-pages.dk/guloggratis/611/teasers/small.jpg"); nk_embedcode_15_11695_3_picture.setAttribute("width",150); nk_embedcode_15_11695_3_picture.setAttribute("height",198); nk_embedcode_15_11695_3_picturelink.appendChild(nk_embedcode_15_11695_3_picture); var nk_embedcode_15_11695_3_namelink = document.createElement("a"); nk_embedcode_15_11695_3_namelink.setAttribute("href","https://e-pages.dk/guloggratis/611/?date=09/12/2017"); nk_embedcode_15_11695_3_namelink.setAttribute("target","_blank"); nk_embedcode_15_11695_3_namelink.setAttribute("class","namelink"); nk_embedcode_15_11695_3_namelink.setAttribute("id","nk_embedcode_15_11695_3_namelink"); nk_embedcode_15_11695_3_namelink.innerHTML = "Gul og Gratis"; nk_embedcode_15_11695_element_3.appendChild(nk_embedcode_15_11695_3_namelink); var nk_embedcode_15_11695_3_closebutton = document.createElement("div"); nk_embedcode_15_11695_3_closebutton.setAttribute("class","closebutton"); nk_embedcode_15_11695_3_closebutton.innerHTML = "Skjul"; nk_embedcode_15_11695_3_closebutton.setAttribute("id","nk_embedcode_15_11695_3_closebutton"); nk_embedcode_15_11695_3_closebutton.onclick = function() { nk_embedcode_15_close(jQuery(this).parent().attr("id")); } nk_embedcode_15_11695_element_3.appendChild(nk_embedcode_15_11695_3_closebutton); var nk_embedcode_15_11695_3_subholder = document.createElement("div"); nk_embedcode_15_11695_3_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_15_11695_3_subholder.setAttribute("id","nk_embedcode_15_3_subholder"); nk_embedcode_15_11695_element_3.appendChild(nk_embedcode_15_11695_3_subholder); var nk_embedcode_15_11661_element_4 = document.createElement("div"); nk_embedcode_15_11661_element_4.setAttribute("class","nk_embedcode_element"); nk_embedcode_15_11661_element_4.setAttribute("data-open","1"); nk_embedcode_15_11661_element_4.setAttribute("id","nk_embedcode_15_11661_element_4"); document.getElementById("nk_embedcode_15_wrapper").appendChild(nk_embedcode_15_11661_element_4); var nk_embedcode_15_11661_4_picturelink = document.createElement("a"); nk_embedcode_15_11661_4_picturelink.setAttribute("href","https://e-pages.dk/guloggratis/609/?date=08/12/2017"); nk_embedcode_15_11661_4_picturelink.setAttribute("target","_blank"); nk_embedcode_15_11661_4_picturelink.setAttribute("class","picturelink"); nk_embedcode_15_11661_4_picturelink.setAttribute("id","nk_embedcode_15_11661_4_picturelink"); nk_embedcode_15_11661_element_4.appendChild(nk_embedcode_15_11661_4_picturelink); var nk_embedcode_15_11661_4_picture = document.createElement("img"); nk_embedcode_15_11661_4_picture.setAttribute("src","https://www.e-pages.dk/guloggratis/609/teasers/small.jpg"); nk_embedcode_15_11661_4_picture.setAttribute("width",150); nk_embedcode_15_11661_4_picture.setAttribute("height",198); nk_embedcode_15_11661_4_picturelink.appendChild(nk_embedcode_15_11661_4_picture); var nk_embedcode_15_11661_4_namelink = document.createElement("a"); nk_embedcode_15_11661_4_namelink.setAttribute("href","https://e-pages.dk/guloggratis/609/?date=08/12/2017"); nk_embedcode_15_11661_4_namelink.setAttribute("target","_blank"); nk_embedcode_15_11661_4_namelink.setAttribute("class","namelink"); nk_embedcode_15_11661_4_namelink.setAttribute("id","nk_embedcode_15_11661_4_namelink"); nk_embedcode_15_11661_4_namelink.innerHTML = "Gul og Gratis"; nk_embedcode_15_11661_element_4.appendChild(nk_embedcode_15_11661_4_namelink); var nk_embedcode_15_11661_4_closebutton = document.createElement("div"); nk_embedcode_15_11661_4_closebutton.setAttribute("class","closebutton"); nk_embedcode_15_11661_4_closebutton.innerHTML = "Skjul"; nk_embedcode_15_11661_4_closebutton.setAttribute("id","nk_embedcode_15_11661_4_closebutton"); nk_embedcode_15_11661_4_closebutton.onclick = function() { nk_embedcode_15_close(jQuery(this).parent().attr("id")); } nk_embedcode_15_11661_element_4.appendChild(nk_embedcode_15_11661_4_closebutton); var nk_embedcode_15_11661_4_subholder = document.createElement("div"); nk_embedcode_15_11661_4_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_15_11661_4_subholder.setAttribute("id","nk_embedcode_15_4_subholder"); nk_embedcode_15_11661_element_4.appendChild(nk_embedcode_15_11661_4_subholder); var nk_embedcode_15_11696_element_5 = document.createElement("div"); nk_embedcode_15_11696_element_5.setAttribute("class","nk_embedcode_element"); nk_embedcode_15_11696_element_5.setAttribute("data-open","1"); nk_embedcode_15_11696_element_5.setAttribute("id","nk_embedcode_15_11696_element_5"); document.getElementById("nk_embedcode_15_wrapper").appendChild(nk_embedcode_15_11696_element_5); var nk_embedcode_15_11696_5_picturelink = document.createElement("a"); nk_embedcode_15_11696_5_picturelink.setAttribute("href","https://e-pages.dk/guloggratis/612/?date=09/12/2017"); nk_embedcode_15_11696_5_picturelink.setAttribute("target","_blank"); nk_embedcode_15_11696_5_picturelink.setAttribute("class","picturelink"); nk_embedcode_15_11696_5_picturelink.setAttribute("id","nk_embedcode_15_11696_5_picturelink"); nk_embedcode_15_11696_element_5.appendChild(nk_embedcode_15_11696_5_picturelink); var nk_embedcode_15_11696_5_picture = document.createElement("img"); nk_embedcode_15_11696_5_picture.setAttribute("src","https://www.e-pages.dk/guloggratis/612/teasers/small.jpg"); nk_embedcode_15_11696_5_picture.setAttribute("width",150); nk_embedcode_15_11696_5_picture.setAttribute("height",198); nk_embedcode_15_11696_5_picturelink.appendChild(nk_embedcode_15_11696_5_picture); var nk_embedcode_15_11696_5_namelink = document.createElement("a"); nk_embedcode_15_11696_5_namelink.setAttribute("href","https://e-pages.dk/guloggratis/612/?date=09/12/2017"); nk_embedcode_15_11696_5_namelink.setAttribute("target","_blank"); nk_embedcode_15_11696_5_namelink.setAttribute("class","namelink"); nk_embedcode_15_11696_5_namelink.setAttribute("id","nk_embedcode_15_11696_5_namelink"); nk_embedcode_15_11696_5_namelink.innerHTML = "Gul og Gratis"; nk_embedcode_15_11696_element_5.appendChild(nk_embedcode_15_11696_5_namelink); var nk_embedcode_15_11696_5_closebutton = document.createElement("div"); nk_embedcode_15_11696_5_closebutton.setAttribute("class","closebutton"); nk_embedcode_15_11696_5_closebutton.innerHTML = "Skjul"; nk_embedcode_15_11696_5_closebutton.setAttribute("id","nk_embedcode_15_11696_5_closebutton"); nk_embedcode_15_11696_5_closebutton.onclick = function() { nk_embedcode_15_close(jQuery(this).parent().attr("id")); } nk_embedcode_15_11696_element_5.appendChild(nk_embedcode_15_11696_5_closebutton); var nk_embedcode_15_11696_5_subholder = document.createElement("div"); nk_embedcode_15_11696_5_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_15_11696_5_subholder.setAttribute("id","nk_embedcode_15_5_subholder"); nk_embedcode_15_11696_element_5.appendChild(nk_embedcode_15_11696_5_subholder); var nk_embedcode_15_11660_element_6 = document.createElement("div"); nk_embedcode_15_11660_element_6.setAttribute("class","nk_embedcode_element"); nk_embedcode_15_11660_element_6.setAttribute("data-open","1"); nk_embedcode_15_11660_element_6.setAttribute("id","nk_embedcode_15_11660_element_6"); document.getElementById("nk_embedcode_15_wrapper").appendChild(nk_embedcode_15_11660_element_6); var nk_embedcode_15_11660_6_picturelink = document.createElement("a"); nk_embedcode_15_11660_6_picturelink.setAttribute("href","https://e-pages.dk/guloggratis/608/?date=08/12/2017"); nk_embedcode_15_11660_6_picturelink.setAttribute("target","_blank"); nk_embedcode_15_11660_6_picturelink.setAttribute("class","picturelink"); nk_embedcode_15_11660_6_picturelink.setAttribute("id","nk_embedcode_15_11660_6_picturelink"); nk_embedcode_15_11660_element_6.appendChild(nk_embedcode_15_11660_6_picturelink); var nk_embedcode_15_11660_6_picture = document.createElement("img"); nk_embedcode_15_11660_6_picture.setAttribute("src","https://www.e-pages.dk/guloggratis/608/teasers/small.jpg"); nk_embedcode_15_11660_6_picture.setAttribute("width",150); nk_embedcode_15_11660_6_picture.setAttribute("height",198); nk_embedcode_15_11660_6_picturelink.appendChild(nk_embedcode_15_11660_6_picture); var nk_embedcode_15_11660_6_namelink = document.createElement("a"); nk_embedcode_15_11660_6_namelink.setAttribute("href","https://e-pages.dk/guloggratis/608/?date=08/12/2017"); nk_embedcode_15_11660_6_namelink.setAttribute("target","_blank"); nk_embedcode_15_11660_6_namelink.setAttribute("class","namelink"); nk_embedcode_15_11660_6_namelink.setAttribute("id","nk_embedcode_15_11660_6_namelink"); nk_embedcode_15_11660_6_namelink.innerHTML = "Gul og Gratis"; nk_embedcode_15_11660_element_6.appendChild(nk_embedcode_15_11660_6_namelink); var nk_embedcode_15_11660_6_closebutton = document.createElement("div"); nk_embedcode_15_11660_6_closebutton.setAttribute("class","closebutton"); nk_embedcode_15_11660_6_closebutton.innerHTML = "Skjul"; nk_embedcode_15_11660_6_closebutton.setAttribute("id","nk_embedcode_15_11660_6_closebutton"); nk_embedcode_15_11660_6_closebutton.onclick = function() { nk_embedcode_15_close(jQuery(this).parent().attr("id")); } nk_embedcode_15_11660_element_6.appendChild(nk_embedcode_15_11660_6_closebutton); var nk_embedcode_15_11660_6_subholder = document.createElement("div"); nk_embedcode_15_11660_6_subholder.setAttribute("class","nk_embedcode_element_subholder"); nk_embedcode_15_11660_6_subholder.setAttribute("id","nk_embedcode_15_6_subholder"); nk_embedcode_15_11660_element_6.appendChild(nk_embedcode_15_11660_6_subholder); var nk_embedcode_15_styling = document.createElement("style"); nk_embedcode_15_styling.setAttribute("type","text/css"); nk_embedcode_15_styling.innerHTML = "div.nk_embedcode_wrapper > div.nk_embedcode_element {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 > 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: 138px; 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: 106px; 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: 106px; } 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: 30px; overflow: hidden; text-align: center; color: #000; font-weight: bold; font-size: 10px; line-height: 13px; text-decoration: none; } "; document.body.appendChild(nk_embedcode_15_styling); if(jQuery("#nk_embedcode_15_11662_element_1 div.nk_embedcode_element_subholder div").length == 0) { jQuery("#nk_embedcode_15_11662_element_1").attr("data-open","0"); jQuery("#nk_embedcode_15_11662_element_1").attr("data-subs","0"); } else { jQuery("#nk_embedcode_15_11662_element_1").attr("data-subs",jQuery("#nk_embedcode_15_11662_element_1 div.nk_embedcode_element_subholder div").length); } if(jQuery("#nk_embedcode_15_11695_element_3 div.nk_embedcode_element_subholder div").length == 0) { jQuery("#nk_embedcode_15_11695_element_3").attr("data-open","0"); jQuery("#nk_embedcode_15_11695_element_3").attr("data-subs","0"); } else { jQuery("#nk_embedcode_15_11695_element_3").attr("data-subs",jQuery("#nk_embedcode_15_11695_element_3 div.nk_embedcode_element_subholder div").length); } if(jQuery("#nk_embedcode_15_11661_element_4 div.nk_embedcode_element_subholder div").length == 0) { jQuery("#nk_embedcode_15_11661_element_4").attr("data-open","0"); jQuery("#nk_embedcode_15_11661_element_4").attr("data-subs","0"); } else { jQuery("#nk_embedcode_15_11661_element_4").attr("data-subs",jQuery("#nk_embedcode_15_11661_element_4 div.nk_embedcode_element_subholder div").length); } if(jQuery("#nk_embedcode_15_11696_element_5 div.nk_embedcode_element_subholder div").length == 0) { jQuery("#nk_embedcode_15_11696_element_5").attr("data-open","0"); jQuery("#nk_embedcode_15_11696_element_5").attr("data-subs","0"); } else { jQuery("#nk_embedcode_15_11696_element_5").attr("data-subs",jQuery("#nk_embedcode_15_11696_element_5 div.nk_embedcode_element_subholder div").length); } if(jQuery("#nk_embedcode_15_11660_element_6 div.nk_embedcode_element_subholder div").length == 0) { jQuery("#nk_embedcode_15_11660_element_6").attr("data-open","0"); jQuery("#nk_embedcode_15_11660_element_6").attr("data-subs","0"); } else { jQuery("#nk_embedcode_15_11660_element_6").attr("data-subs",jQuery("#nk_embedcode_15_11660_element_6 div.nk_embedcode_element_subholder div").length); } if(jQuery("#nk_embedcode_15_11662_element_1").attr("data-subs") > 0 && jQuery("#nk_embedcode_15_11662_element_1").attr("data-open") == "0") { var cur_pic_id = jQuery("#nk_embedcode_15_11662_element_1 > a.picturelink").attr("id"); var cur_nam_id = jQuery("#nk_embedcode_15_11662_element_1 > a.namelink").attr("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_15_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_15_toggle_open(this.getAttribute("data-cur-id")); } } else { } if(jQuery("#nk_embedcode_15_11695_element_3").attr("data-subs") > 0 && jQuery("#nk_embedcode_15_11695_element_3").attr("data-open") == "0") { var cur_pic_id = jQuery("#nk_embedcode_15_11695_element_3 > a.picturelink").attr("id"); var cur_nam_id = jQuery("#nk_embedcode_15_11695_element_3 > a.namelink").attr("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_15_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_15_toggle_open(this.getAttribute("data-cur-id")); } } else { } if(jQuery("#nk_embedcode_15_11661_element_4").attr("data-subs") > 0 && jQuery("#nk_embedcode_15_11661_element_4").attr("data-open") == "0") { var cur_pic_id = jQuery("#nk_embedcode_15_11661_element_4 > a.picturelink").attr("id"); var cur_nam_id = jQuery("#nk_embedcode_15_11661_element_4 > a.namelink").attr("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_15_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_15_toggle_open(this.getAttribute("data-cur-id")); } } else { } if(jQuery("#nk_embedcode_15_11696_element_5").attr("data-subs") > 0 && jQuery("#nk_embedcode_15_11696_element_5").attr("data-open") == "0") { var cur_pic_id = jQuery("#nk_embedcode_15_11696_element_5 > a.picturelink").attr("id"); var cur_nam_id = jQuery("#nk_embedcode_15_11696_element_5 > a.namelink").attr("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_15_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_15_toggle_open(this.getAttribute("data-cur-id")); } } else { } if(jQuery("#nk_embedcode_15_11660_element_6").attr("data-subs") > 0 && jQuery("#nk_embedcode_15_11660_element_6").attr("data-open") == "0") { var cur_pic_id = jQuery("#nk_embedcode_15_11660_element_6 > a.picturelink").attr("id"); var cur_nam_id = jQuery("#nk_embedcode_15_11660_element_6 > a.namelink").attr("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_15_toggle_open(this.getAttribute("data-cur-id")); } document.getElementById(cur_nam_id).onclick = function() { return nk_embedcode_15_toggle_open(this.getAttribute("data-cur-id")); } } else { } function nk_embedcode_15_toggle_open(id) { var curobjid = jQuery("#"+id).parent().attr("id"); if(document.getElementById(curobjid).getAttribute("data-open") == "1") { return true; } else { document.getElementById(curobjid).setAttribute("data-open","1"); return false; } } function nk_embedcode_15_close(id) { document.getElementById(id).setAttribute("data-open","0"); }