10× viac produktov za najlepšie ceny
10× viac produktov za najlepšie ceny

Predsezónny výpredaj

Do skončenia akcie zostáva

Dní
Hodín
Minút
$(function(){ $('body').removeClass('has-sdb'); $('aside.sdb').remove(); $('.bnr-full').remove(); $('flt-bnr-fixed-free-delivery-02').remove(); $('.flt-bnr-fixed-02').remove(); }); // Create Countdown function getTimeRemaining(endtime) { var t = Date.parse(endtime) - Date.parse(new Date()); var seconds = Math.floor((t / 1000) % 60); var minutes = Math.floor((t / 1000 / 60) % 60); var hours = Math.floor((t / (1000 * 60 * 60)) % 24); var days = Math.floor((t / (1000 * 60 * 60 * 24)) % 10); return { 'total': t, 'days': days, 'hours': hours, 'minutes': minutes, 'seconds': seconds }; } function initializeClock(id, endtime) { var clock = document.getElementById(id); var daysSpan = clock.querySelector('.days'); var hoursSpan = clock.querySelector('.hours'); var minutesSpan = clock.querySelector('.minutes'); var secondsSpan = clock.querySelector('.seconds'); function updateClock() { var t = getTimeRemaining(endtime); daysSpan.innerHTML = ('0' + t.days).slice(-2); hoursSpan.innerHTML = ('0' + t.hours).slice(-2); minutesSpan.innerHTML = ('0' + t.minutes).slice(-2); secondsSpan.innerHTML = ('0' + t.seconds).slice(-2); if (t.total <= 0) { clearInterval(timeinterval); } } updateClock(); var timeinterval = setInterval(updateClock, 1000); } var deadline = 'May 03 2017 23:59:59'; initializeClock('clockdiv', deadline); var dnesek = new Date(); var letter_parent = document.getElementById("letter_boxik"); var letter_child01 = document.getElementById("letter01"); var letter_child02 = document.getElementById("letter02"); var letter01_platnost_od = new Date("March 24, 2016 09:00:00"); var letter01_platnost_do = new Date("May 03, 2017 23:59:59"); var letter02_platnost_od = new Date("March 26, 2016 09:00:01"); var letter02_platnost_do = new Date("March 29, 2016 23:59:59"); if ((dnesek >= letter01_platnost_od) && (dnesek <= letter01_platnost_do)) { document.getElementById("letter01").style.display = "block";} else { document.getElementById("letter01").style.display = "none"; letter_parent.removeChild(letter_child01);} if ((dnesek >= letter02_platnost_od) && (dnesek <= letter02_platnost_do)) { document.getElementById("letter02").style.display = "block";} else { document.getElementById("letter02").style.display = "none"; letter_parent.removeChild(letter_child02);}