/*start*/ /* SV Endast en av Nordisk E-handelscertifiering godkand Certifierad E-handel far visa upp markningen (logotypen) for Certifierad E-handel eller referenser till att de ar en Certifierade E-handel. Markningen (logotypen) maste laggas in med det skript som tillhandahalls vid godkannandet. http://www.ehandelscertifiering.se/villkor/#abuse NO Bare en nettbutikk som er sertifisert som Sertifisert E-handel av Nordisk E-handelssertifsiering kan vise merket (logoen) for Sertifisert E-handel eller henvise til at de er sertifisert som Sertifisert E-handel. Merkingen (logoen) ma legges inn med det skriptet som gis ved godkjenning. http://www.ehandelssertifisering.no/betingelser/#abuse DA Kun en af Nordisk E-handelscertificering godkendt Certificeret E-handel ma fremvise maerkningen (logoet) for Certificeret E-handel eller henvise til, at de er en Certificeret E-handel. Maerkningen (logoet) skal laegges ind i med det script, der blev modtaget ved godkendelsen. http://www.ehandelscertificering.dk/betingelser/#abuse */ //adjustments for legacy logo code v4 and v5 //in legacy v5 code we have an img tag image placeholder we want to delete var legacy5 = document.getElementById("celink1"); if(legacy5) { legacy5.id = "celink1000"; legacy5.innerHTML = "certifierad ehandel"; } //in legacy v4 code we have a div we want to replace with an a tag var legacy4 = document.getElementById("celogohere"); if(legacy4) { var newa4 = document.createElement("a"); newa4.id = "celink1000"; newa4.innerHTML = "certifierad ehandel"; legacy4.replaceWith(newa4); } var celink947 = document.getElementById("celink947"); celink947.oncontextmenu = function() { return false; } celink947.className = "tbsfix"; celink947.style.display = "inline-block"; celink947.style.width = "80px"; celink947.style.height = "80px"; celink947.innerHTML = '\ \ \ \ \ \ \ \ \ '; var ceContainer947 = document.createElement("div"); ceContainer947.id = "ceContainer947"; document.body.appendChild(ceContainer947); var ceToA947; var ceToB947; var ceTouchedbefore947 = false; var cePopup947 = document.getElementById('cePopup947'); var ceCenter947 = document.getElementById('ceCenter947'); function ceShow947() { if(cePopup947.style.display=='none') { cePopup947.style.display='inline'; //adjust size of text relative to size of popup, which is 70% of viewport of max 500px var ow = cePopup947.offsetWidth; if(ow >= 500) { cePopup947.style.fontSize = "12px"; } else if( ow >= 350) { cePopup947.style.fontSize = "10px"; } else { cePopup947.style.fontSize = "8px"; } ceCenter947.setAttribute("stroke", "#666766"); cePopup947.style.animation='ceAnimPopupIn 0.3s ease-out normal'; cePopup947.style.WebkitAnimation='ceAnimPopupIn 0.3s ease-out normal'; } } function ceKeepMouse947() { clearTimeout(ceToA947); } function ceKeepTouch947() { cePopup947.onmouseleave = function() { }; clearTimeout(ceToA947); clearTimeout(ceToB947); } function ceHide947() { if(cePopup947.style.display == 'inline') { ceToA947 = setTimeout(ceHideDo947, 1000); } } function ceHideDo947() { cePopup947.style.animation = 'ceAnimPopupOut 0.3s ease-in forwards'; cePopup947.style.WebkitAnimation = 'ceAnimPopupOut 0.3s ease-in forwards'; setTimeout(function() { cePopup947.style.display = 'none'; }, 300); ceCenter947.setAttribute("stroke", "#70BF45"); } function ceTouch947() { if(ceTouchedbefore947) { window.location.href = "https://www.ehandelscertifiering.se/kontrollera-certifikat/?url=www.dinafönster.se"; } else { ceTouchedbefore947 = true; ceShow947(); ceToB947 = setTimeout(ceHideDo947, 9500); } } //ceShow947(); /*end*/