(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\'); ga(\'create\', \'UA-48718036-1\', \'gob.ve\'); ga(\'send\', \'pageview\'); //RELOJ FITVEN 2014 var target_date = new Date(\"Nov 26, 2014\").getTime(); // variables for time units var days, hours, minutes, seconds; // get tag element var countdown = document.getElementById(\"relojfitven\"); // update the tag with id \"countdown\" every 1 second setInterval(function () { // find the amount of \"seconds\" between now and target var current_date = new Date().getTime(); var seconds_left = (target_date - current_date) / 1000; // do some time calculations days = parseInt(seconds_left / 86400); seconds_left = seconds_left % 86400; hours = parseInt(seconds_left / 3600); seconds_left = seconds_left % 3600; minutes = parseInt(seconds_left / 60); seconds = parseInt(seconds_left % 60); // format countdown string + set tag value countdown.innerHTML = \"
\"+ days + \"D
\" + \"
\"+ hours + \"H
\" + \"
\" + minutes + \"M
\" + \"
\"+ seconds + \"S

\"; }, 1000);