/*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 celink994 = document.getElementById("celink994"); celink994.href = "https://www.ehandelscertifiering.se/kontrollera-certifikat/?url=th-pettersson.se"; celink994.oncontextmenu = function() { return false; } celink994.className = "tbsfix"; celink994.onmouseenter = function() { ceShow994(); } celink994.onmouseleave = function() { ceHide994(); } celink994.ontouchstart = function() { ceTouch994(); return false; } celink994.style.display = "inline-block"; celink994.style.width = "68px"; celink994.style.height = "68px"; celink994.innerHTML = '\ '; var ceContainer994 = document.createElement("div"); ceContainer994.id = "ceContainer994"; document.body.appendChild(ceContainer994); ceContainer994.innerHTML = '\ \ \
\ '; var ceToA994; var ceToB994; var ceTouchedbefore994 = false; var cePopup994 = document.getElementById('cePopup994'); var ceCenter994 = document.getElementById('ceCenter994'); function ceShow994() { if(cePopup994.style.display=='none') { cePopup994.style.display='inline'; //adjust size of text relative to size of popup, which is 70% of viewport of max 500px var ow = cePopup994.offsetWidth; if(ow >= 500) { cePopup994.style.fontSize = "12px"; } else if( ow >= 350) { cePopup994.style.fontSize = "10px"; } else { cePopup994.style.fontSize = "8px"; } ceCenter994.setAttribute("stroke", "#666766"); cePopup994.style.animation='ceAnimPopupIn 0.3s ease-out normal'; cePopup994.style.WebkitAnimation='ceAnimPopupIn 0.3s ease-out normal'; } } function ceKeepMouse994() { clearTimeout(ceToA994); } function ceKeepTouch994() { cePopup994.onmouseleave = function() { }; clearTimeout(ceToA994); clearTimeout(ceToB994); } function ceHide994() { if(cePopup994.style.display == 'inline') { ceToA994 = setTimeout(ceHideDo994, 1000); } } function ceHideDo994() { cePopup994.style.animation = 'ceAnimPopupOut 0.3s ease-in forwards'; cePopup994.style.WebkitAnimation = 'ceAnimPopupOut 0.3s ease-in forwards'; setTimeout(function() { cePopup994.style.display = 'none'; }, 300); ceCenter994.setAttribute("stroke", "#70BF45"); } function ceTouch994() { if(ceTouchedbefore994) { window.location.href = "https://www.ehandelscertifiering.se/kontrollera-certifikat/?url=th-pettersson.se"; } else { ceTouchedbefore994 = true; ceShow994(); ceToB994 = setTimeout(ceHideDo994, 9500); } } //ceShow994(); /*end*/