Astrophysics – Play it now at Coolmath-Games.com

'); } else { //console.log("User may have come from google or is within the free game limit "+ (freeGameLimit-userPlayedGames) ); //TODO Display Game removeAdSwfJWPLayer(); } } //display to user how many free games left once page load completes. if (window.addEventListener) window.addEventListener('load', checkPageLoad, false); else if (window.attachEvent) window.attachEvent('onload', checkPageLoad); else window.onload = checkPageLoad; }}function checkPageLoad() {//console.log("checkPageLoad: Checkers test "); if(freeGameLimit) { freeGamesLeft = ((freeGameLimit - userPlayedGames)); } else { freeGamesLeft = 0; } if(freeGamesLeft === 0) { var zeroFreeGamesLeftUsers =localStorage.getItem("zeroFreeGamesLeftUsers"); if(zeroFreeGamesLeftUsers == null) { localStorage.setItem("zeroFreeGamesLeftUsers","1"); if(typeof __gaTracker !== "undefined") { __gaTracker('send', { 'hitType': 'event', // Required. 'eventCategory': "ZeroFreeGamesLeftUsers", // Required. 'eventAction': subscriberLeg, // Required. 'eventLabel': document.title, 'eventValue': "0", 'nonInteraction': 1 }); } } } //Replace Go Ad Free header promo with parents and teachers promo if(typeof freeTrialUser !== 'undefined' && freeTrialUser && typeof targeted_state !== 'undefined' && targeted_state && jQuery('.panel-pane.pane-block.pane-bean-subscriber-promo').length) { jQuery('.panel-pane.pane-block.pane-bean-subscriber-promo').replaceWith('') } else if(typeof freeTrialUser !== 'undefined' && freeTrialUser && typeof targeted_state !== 'undefined' && targeted_state && jQuery('.panel-pane.pane-block .pane-bean-subscriber-promo').length) { jQuery('.panel-pane.pane-block .pane-bean-subscriber-promo').replaceWith('') } subscriptionSignUpUrl(); if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') !== null) { subscribeNowAlienClass = "subscribe-now-alien-subscribe"; }else if(getCookie('cmg_l') == null) { subscribeNowAlienClass = "subscribe-now-alien"; }else if(getCookie('cmg_l') == null && subscriberLeg == 'Default Leg') { subscribeNowAlienClass = "subscribe-now-signup"; } var alreadySubscriberText = '

Already a Subscriber? Login

Continued here:

Astrophysics - Play it now at Coolmath-Games.com

Related Posts

Comments are closed.