/*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 celink9999 = document.getElementById("celink9999"); celink9999.href = "https://www.ehandelssertifisering.no/kontroller-sertifikat/?url=www.example"; celink9999.oncontextmenu = function() { return false; } celink9999.className = "tbsfix"; celink9999.style.display = "inline-block"; celink9999.style.width = "120px"; celink9999.style.height = "120px"; celink9999.innerHTML = '\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ '; var ceContainer9999 = document.createElement("div"); ceContainer9999.id = "ceContainer9999"; document.body.appendChild(ceContainer9999); var ceToA9999; var ceToB9999; var ceTouchedbefore9999 = false; var cePopup9999 = document.getElementById('cePopup9999'); var ceCenter9999 = document.getElementById('ceCenter9999'); function ceShow9999() { if(cePopup9999.style.display=='none') { cePopup9999.style.display='inline'; //adjust size of text relative to size of popup, which is 70% of viewport of max 500px var ow = cePopup9999.offsetWidth; if(ow >= 500) { cePopup9999.style.fontSize = "12px"; } else if( ow >= 350) { cePopup9999.style.fontSize = "10px"; } else { cePopup9999.style.fontSize = "8px"; } ceCenter9999.setAttribute("stroke", "#666766"); cePopup9999.style.animation='ceAnimPopupIn 0.3s ease-out normal'; cePopup9999.style.WebkitAnimation='ceAnimPopupIn 0.3s ease-out normal'; } } function ceKeepMouse9999() { clearTimeout(ceToA9999); } function ceKeepTouch9999() { cePopup9999.onmouseleave = function() { }; clearTimeout(ceToA9999); clearTimeout(ceToB9999); } function ceHide9999() { if(cePopup9999.style.display == 'inline') { ceToA9999 = setTimeout(ceHideDo9999, 1000); } } function ceHideDo9999() { cePopup9999.style.animation = 'ceAnimPopupOut 0.3s ease-in forwards'; cePopup9999.style.WebkitAnimation = 'ceAnimPopupOut 0.3s ease-in forwards'; setTimeout(function() { cePopup9999.style.display = 'none'; }, 300); ceCenter9999.setAttribute("stroke", "#70BF45"); } function ceTouch9999() { if(ceTouchedbefore9999) { window.location.href = "https://www.ehandelssertifisering.no/kontroller-sertifikat/?url=www.example"; } else { ceTouchedbefore9999 = true; ceShow9999(); ceToB9999 = setTimeout(ceHideDo9999, 9500); } } //ceShow9999(); /*end*/