THIS REPLAY WILL BE REMOVED WHEN THE TIMER RUNS OUT
This replay will be taken down in:
var D='07/19/2018'; var T='24'; var TimeZoneOffset='0'; var t1 = new Date() var Off=t1.getTimezoneOffset(); var SecondsAdjust=((Off+(TimeZoneOffset*60))*60);
//switch a negitive to a positive and a positive to a negitve number if (SecondsAdjust<0){ SecondsAdjust=SecondsAdjust+(Math.abs(SecondsAdjust)*2); }else{ SecondsAdjust=SecondsAdjust-(Math.abs(SecondsAdjust)*2); } //alert(Off+" "+TimeZoneOffset+" "+SecondsAdjust); var t2 = new Date(D); var diff = Math.round((t2.getTime() - t1.getTime())/1000); T=(T*60)*60; diff=diff+T+SecondsAdjust; if (diff>0){ $('.clock').countdown({until: diff}); //clock = $('.clock').FlipClock(diff, { // clockFace: 'DailyCounter', // countdown: true // });
}else{ $('.clock').html('
EXPIRED
var tag = document.createElement('script'); tag.src = "//www.youtube.com/player_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
function onYouTubePlayerAPIReady() { // create the global player from the specific iframe (#video) player = new YT.Player('video', { events: { // call this function when player is ready to use 'onReady': onPlayerReady, 'onStateChange': onPlayerStateChange } }); }
function onPlayerReady(event) { player.unMute(); }
function onPlayerStateChange(event) { if(event.data === 0) { top.location.href = 'http://milliondollarshortcut.us/get_it/index2.php'; } }
