jQuery(document).ready(function() {
var timeCookie = getCookieCounter("#timer1610350184760");
var now = new Date();
if(timeCookie == null)
{
var countToo = 3600000 + now.valueOf();
date = (new Date(countToo)).toUTCString();
timeDate = new Date(date);
document.cookie = "#timer1610350184760="+timeDate+"; expires="+timeDate+"; path=/";
}
else
{
date = getCookieCounter('#timer1610350184760');
timeDate = new Date(date);
}
var countTo = timeDate.valueOf();
$('#timer1610350184760').countdown(countTo, function(event) {
var $this = $(this);
switch(event.type) {
case "seconds":
case "minutes":
case "hours":
case "days":
case "weeks":
case "daysLeft":
$this.find('span.'+event.type).html(event.value);
break;
case "finished":
$this.hide();
break;
}
});
});