Advertisement
mfrantz

Untitled

Jan 20th, 2018
8,447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 145.57 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. <head> <script type="text/javascript">ginf={url:'https://us5.proxysite.com',script:'process.php',target:{h:'https://www.coolmath-games.com',p:'/',b:'',u:'https://www.coolmath-games.com/0-run-3'},enc:{u:'d3e522ea960993d688d6784aa43a34d14a500c37',e:'1',x:'',p:''},b:'1'}</script>
  10. <script type="text/javascript" src="https://us5.proxysite.com/includes/main.js?1.4.13n1"></script>
  11. <meta charset="utf-8" />
  12. <link media="only screen and (max-width: 640px)" rel="alternate" href="/process.php?d=x5B99EPWHVddi8beQV%2BeicVLMmhOiWR%2F4ZX60j%2BF8aE%3D&amp;b=1" />
  13. <meta content="Complete the Run trilogy! Explore hundreds of new levels in a huge new galaxy. Ready... set... GO!" property="og:description" />
  14. <meta content="//www.coolmath-games.com/sites/cmatgame/files/run-3.png" property="og:image" />
  15. <link rel="shortcut icon" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D%2FxjkwO%2BeUlv6mjg7mvwX532SscST%2FS4sKzGk&amp;b=1" type="image/vnd.microsoft.icon" />
  16. <meta name="description" content="Run 3 at Cool Math Games: Complete the Run trilogy! Explore hundreds of new levels in a huge new galaxy. Ready... set... GO!" />
  17. <meta name="keywords" content="coolmaths, coolmath, math, maths, game, games, free, online, fun" />
  18.  
  19. <meta property="og:type" content="article" />
  20. <meta property="og:url" content="/0-run-3" />
  21. <meta property="og:title" content="Run 3" />
  22. <title>Run 3 - Play it now at Coolmath-Games.com</title>
  23.  
  24.  
  25. <script>
  26. var pbjs = pbjs || {};
  27. pbjs.que = pbjs.que || [];
  28. </script>
  29. <!-- Load MBOX First -->
  30. <script type="text/javascript" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCEFr4g2I2iA%3D%3D&amp;b=1"></script>
  31. <!-- Prebid Boilerplate Section START. No Need to Edit. -->
  32. <script type="text/javascript" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDUrymSU41fsB&amp;b=1" async></script>
  33. <link type="text/css" rel="stylesheet" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHkvk1C8viM41o36ClseKxCd4OCvyULHkU5anIDMCLyNXs84f1RdINudikaV5twoGjPlaZiF1%2BQ%3D%3D&amp;b=1" media="all" />
  34. <link type="text/css" rel="stylesheet" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHkvk1C8viM4EkkSEteChqw9lbwubYYa9FdDdFy1VEXJKhc0U7x0vKuBnpaJpjw9c6e1sZiF1%2BQ%3D%3D&amp;b=1" media="screen" />
  35. <link type="text/css" rel="stylesheet" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHkvk1C8viM4r%2BTbLifyv3jROED3mQM2eTNKuNzRScgF7n8UU0Ro7bK1YxvJR2WhWw%2FxOZiF1%2BQ%3D%3D&amp;b=1" media="all" />
  36. <link type="text/css" rel="stylesheet" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHkvk1C8viM5DhVWEs%2F%2B0pBdzCmKcfJHuV8SxWw8CPRU2qeEp3Qh7cY1sxfN3mWR22c5GZiF1%2BQ%3D%3D&amp;b=1" media="all" />
  37. <style>#views-slideshow-bxslider-1.views-slideshow-bxslider .bx-wrapper .bx-controls-direction a{z-index:499;}
  38. #views-slideshow-bxslider-1.views-slideshow-bxslider li img{margin-right:auto;}
  39. #views-slideshow-bxslider-1.views-slideshow-bxslider .bx-caption{text-align:center;}
  40. #views-slideshow-bxslider-1.views-slideshow-bxslider .bx-wrapper .bx-caption{background:rgba(80,80,80,0.75)}
  41. </style>
  42. <link type="text/css" rel="stylesheet" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHkvk1C8viM5AvlqVsPKK5gtlJQG9aZflYeuRT2o2EyZnhOEGzihAKZ9Yh7ljvjBeiug7ZiF1%2BQ%3D%3D&amp;b=1" media="all" />
  43. <link type="text/css" rel="stylesheet" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHkvk1C8viM45klCgtPulwHV0EgCaVrm4ccuACjoDJhR%2FsvE0wz5sI7A4zoBJviUD3Mo7ZiF1%2BQ%3D%3D&amp;b=1" media="all" />
  44. <script src="/process.php?d=x5B99E%2BSH0AcgMTQUlvWj9RPJDUDhWY9r8%2B22GWHtfC1WG%2BxfWwoXiUdpUivnqWHDE3yiTVykeI%3D&amp;b=1"></script>
  45. <script>window.jQuery || document.write("<script src='/profiles/dsk/modules/contrib/jquery_update/replace/jquery/1.8/jquery.js'>\x3C/script>","gl")</script>
  46. <script src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCF0u4kT8DmvIIpSmBlcq4zTNuFRCbX4iYF%2BqkEBVRLTJvx%2F5gnDRNauxEo4tD0WRw1I1pOw%3D%3D&amp;b=1"></script>
  47. <script src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCF0u4kT8DstMKl3qcrOiK2yRlAwazHMuwffnQFRQ1NQc4meEPyAtKUu15tKkYhDtUg41pOw%3D%3D&amp;b=1"></script>
  48. <script src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCF0u4kT8DzcMUuWKi8cm30HE3BwidCZ%2Frd%2FGZBmsjEBZdk%2BUI90txNpN1ppxYvglC%2Bo1pOw%3D%3D&amp;b=1"></script>
  49. <script>
  50. var valid_test_environment = false;
  51. function getCookie(key) {
  52. var keyValue = document.cookie.match("(^|;) ?" + key + "=([^;]*)(;|$)");
  53. return keyValue ? keyValue[2] : null;
  54. }
  55. function setCookie1(cname, cvalue, hours) {
  56. var d = new Date();
  57. d.setTime(d.getTime() + (hours*60*60*1000));
  58. var expires = 'expires='+ d.toUTCString();
  59. document.cookie = cname + '=' + cvalue + ';' + expires + ';path=/';
  60. }
  61. function getParameterByName(name) {
  62. var regexS = '[\?&]' + name + '=([^&#]*)';
  63. var regex = new RegExp(regexS);
  64. var results = regex.exec(location.href);
  65. if (results === null) {
  66. return '';
  67. }
  68. return decodeURIComponent(results[1].replace(/\+/g, ' '));
  69. }
  70.  
  71. var cmg_school_whitelisted = getCookie('cmg_schwl');
  72. if(cmg_school_whitelisted === null && (typeof valid_test_environment !== 'undefined' && valid_test_environment) && typeof myDebugAction === 'function') {
  73. cmg_school_whitelisted = myDebugAction();
  74. }
  75.  
  76. var freeTrialUser = false;
  77. var date = new Date();
  78. var hours = date.getHours();
  79. var currentMonth = date.getMonth();
  80. var currentYear = date.getFullYear();
  81. var day = date.getDay();
  82. var month_names_short = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
  83. var currentMonthName = month_names_short[currentMonth];
  84. var schoolStartHour = 7;
  85. var schoolEndHour = 15;
  86. var cmg_no_ads_debug = false;
  87. //var cmg_no_ads = false;
  88. if(typeof subscriberLeg === 'undefined' || subscriberLeg === null || subscriberLeg === '') {
  89. subscriberLeg = 'Default Leg';
  90. if(typeof myDebugAction === 'function' && (typeof valid_test_environment !== 'undefined' && valid_test_environment) ) {
  91. myDebugAction();
  92. }
  93. }
  94. if(typeof freeGameLimit === 'undefined' || freeGameLimit === null) {
  95. freeGameLimit = 0;
  96. }
  97. if(typeof cmg_no_ads === 'undefined' && cmg_no_ads_debug && (typeof valid_test_environment !== 'undefined' && valid_test_environment)) {
  98. cmg_no_ads = true;
  99. }
  100. var schoolHours = false;
  101. var schoolHolidays = ["Jul 4","Sep 3","Nov 22","Nov 23"];
  102. var schoolHoliday = false;
  103.  
  104. //TODO -- Summer vacation dates
  105. var summerVacationStart = new Date('07/1/'+currentYear);
  106. var summerVacationEnd = new Date('07/10/'+currentYear);
  107.  
  108. var today_month_day = currentMonthName + ' ' + date.getDate();
  109. if(schoolHolidays.indexOf(today_month_day) !== -1 || (date >= summerVacationStart && date <= summerVacationEnd) || day === 6 || day == 0) {
  110. schoolHoliday = true;
  111. }
  112. var currentMonthName = month_names_short[currentMonth];
  113. if(!schoolHoliday && hours >= schoolStartHour && hours <= schoolEndHour) {
  114. schoolHours = true;
  115. }
  116. var targetStateUser = false;
  117. if(typeof targeted_state !== 'undefined' && targeted_state !== null && targeted_state) {
  118. targetStateUser = true;
  119. }
  120. var cmg_active_anonymous_user = getCookie('cmg_active_anonymous_user');
  121. var cmatgame_editor = getCookie('cmg_editor');
  122. if(typeof cmg_active_anonymous_user !== 'undefined' && cmg_active_anonymous_user !== null) {
  123. ////console.log('We have an active school hours session');
  124. }
  125. //Display Ads to anonymous users only if the user is not from a targeted state or it is school hours.
  126. // Do not display ads for targeted state user during non school hours, but free game play is restricted
  127. if(!schoolHours && targetStateUser && cmg_active_anonymous_user === null && cmatgame_editor === null) {
  128. freeTrialUser = true;
  129. }
  130.  
  131.  
  132. </script>
  133. <script>
  134. gamePage = true;
  135. mobile_ga_game_type = 'Desktop';
  136. </script>
  137. <script>
  138. var hide_preroll_ads = false;
  139. </script>
  140. <script>
  141. var enable_openX_ads = true;
  142. </script>
  143. <script>
  144. var enable_pubmatic_ads = false;
  145. </script>
  146. <script>
  147. var enable_appnexus_ads = true;
  148. </script>
  149. <script>
  150. var enable_aol_ads = false;
  151. </script>
  152. <script>
  153. var enable_brealtime_ads = false;
  154. </script>
  155. <script>
  156. var enable_sovrn_ads = true;
  157. </script>
  158. <script>
  159. var enable_districtm_ads = true;
  160. </script>
  161. <script>
  162. var enable_criteo_ads = false;
  163. </script>
  164. <script>
  165. var enable_conversant_ads = true;
  166. </script>
  167. <script>
  168. var enable_rubicon_ads = true;
  169. </script>
  170. <script>
  171. var enable_prebid_analytics = false;
  172. </script>
  173. <script>
  174. var preroll_ads_timer = 15;
  175. </script>
  176. <script>
  177. var ad_refresh_timer_interval = 60000;
  178. </script>
  179. <script>
  180. var ad_refresh_event_interval = 30000;
  181. </script>
  182. <script>
  183. var prebid_timeout_initial_timeout = 2000;
  184. </script>
  185. <script>
  186. var prebid_timeout_refresh_timeout = 1000;
  187. </script>
  188. <script>
  189. cmatgame_subscriber = getCookie("cmg_sx");
  190. //check if school is whitelisted
  191. if(cmg_school_whitelisted !== null && getCookie("cmg_schwl") !== null) {
  192. cmg_school_whitelisted = getCookie("cmg_schwl");
  193. cmatgame_subscriber = getCookie("cmg_schwl");
  194. } else if(cmg_school_whitelisted === null && typeof cmg_no_ads_debug !== "undefined" && cmg_no_ads_debug) {
  195. //console.log("KY school hours");
  196. cmatgame_subscriber = cmg_no_ads_debug;
  197. }
  198. isRemoveAdSwfJWPLayer = false;
  199. jQuery(document).ready(function() {
  200. if(typeof eVar12 !== "undefined" && (eVar12==="NoPrerollAds" || eVar12==="No-Preroll-No-RefreshAds") && gamePage ) { //remove preroll ads
  201. removeAdSwfJWPLayer();
  202. }
  203.  
  204. if(jQuery("#adblockdiv").length){
  205. __gaTracker("send", {
  206. "hitType": "event", // Required.
  207. "eventCategory": "Page-level-ad-blocker2", // Required.
  208. "eventAction": "AdBlockerNotDetected", // Required.
  209. "eventLabel": document.title,
  210. "eventValue": 1,
  211. "nonInteraction": 1
  212. });
  213. } else {
  214. __gaTracker("send", {
  215. "hitType": "event", // Required.
  216. "eventCategory": "Page-level-ad-blocker2", // Required.
  217. "eventAction": "AdBlockerDetected", // Required.
  218. "eventLabel": document.title,
  219. "eventValue": 1,
  220. "nonInteraction": 1
  221. });
  222. }
  223.  
  224.  
  225. var isChrome = navigator.userAgent.toLowerCase().indexOf("chrome") > -1;
  226. if(!jQuery(".adtxt").is(":visible") && isChrome) {
  227. removeAdSwfJWPLayer();
  228. }
  229. });
  230. </script>
  231. <script>
  232.  
  233. if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
  234.  
  235. var PREBID_TIMEOUT = prebid_timeout_initial_timeout;
  236. var adUnits = [];
  237. switch(window.location.pathname) {
  238. case "/":
  239. case "/1-number-games":
  240. case "/1-skill-games":
  241. case "/1-logic-games":
  242. case "/1-playlists":
  243. case "/0-jigsaw-puzzles":
  244. case "/1-strategy-games":
  245. case "/1-mobile-categories":
  246. adUnits = [{
  247. code: "div-gpt-ad-788084996771918566-10",
  248. sizes: [[160, 600]],
  249. bids: {}
  250. },{
  251. code: "div-gpt-ad-629350160446709561-1",
  252. sizes: [[728, 90]],
  253. bids: {}
  254. },{
  255. code: "div-gpt-ad-629350160446709561-2",
  256. sizes: [[300, 250]],
  257. bids: {}
  258. }, {
  259. code: "div-gpt-ad-788084996771918566-5",
  260. sizes: [[728, 90]],
  261. bids: {}
  262. },{
  263. code: "div-gpt-ad-629350160446709561-4",
  264. sizes: [[300, 250]],
  265. bids: {}
  266. },{
  267. code: "div-gpt-ad-788084996771918566-7",
  268. sizes: [[300, 250]],
  269. bids: {}
  270. },{
  271. code: "div-gpt-ad-788084996771918566-8",
  272. sizes: [[300, 250]],
  273. bids: {}
  274. },{
  275. code: "div-gpt-ad-788084996771918566-6",
  276. sizes: [[300, 250]],
  277. bids: {}
  278. }];
  279. var openx = [{
  280. bidder: "openx",
  281. params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
  282. }, {
  283. bidder: "openx",
  284. params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
  285. }, {
  286. bidder: "openx",
  287. params: { unit: "538218643", delDomain: "coolmath-d.openx.net"}
  288. }, {
  289. bidder: "openx",
  290. params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
  291. }, {
  292. bidder: "openx",
  293. params: { unit: "538218652", delDomain: "coolmath-d.openx.net"}
  294. }, {
  295. bidder: "openx",
  296. params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
  297. }, {
  298. bidder: "openx",
  299. params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
  300. }, {
  301. bidder: "openx",
  302. params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
  303. }];
  304. var pubmatic = [{bidder: "pubmatic",
  305. params: {
  306. size: "160x600",
  307. publisherId: "92620",
  308. adSlot: "cm_prebid_160x600_homepage@160x600"
  309. }
  310. }, {bidder: "pubmatic",
  311. params: {
  312. size: "728x90",
  313. publisherId: "92620",
  314. adSlot: "cm_prebid_728x90_ros_1@728x90"
  315. }
  316. }, {bidder: "pubmatic",
  317. params: {
  318. size: "300x250",
  319. publisherId: "92620",
  320. adSlot: "cm_prebid_400x300_ros_1@300x250"
  321. }
  322. }, {bidder: "pubmatic",
  323. params: {
  324. size: "728x90",
  325. publisherId: "92620",
  326. adSlot: "cm_prebid_728x90_ros_2@728x90"
  327. }
  328. },{bidder: "pubmatic",
  329. params: {
  330. size: "300x250",
  331. publisherId: "92620",
  332. adSlot: "cm_prebid_400x300_ros_2@300x250"
  333. }
  334. }, {bidder: "pubmatic",
  335. params: {
  336. size: "300x250",
  337. publisherId: "92620",
  338. adSlot: "cm_prebid_300x250_btf_1@300x250"
  339. }
  340. }, {bidder: "pubmatic",
  341. params: {
  342. size: "300x250",
  343. publisherId: "92620",
  344. adSlot: "cm_prebid_300x250_btf_2@300x250"
  345. }
  346. }, {bidder: "pubmatic",
  347. params: {
  348. size: "300x250",
  349. publisherId: "92620",
  350. adSlot: "cm_prebid_300x250_btf_3@300x250"
  351. }
  352. } ];
  353.  
  354. var appnexus = [{
  355. bidder: "appnexus",
  356. params: { placementId: "6518787"}
  357. }, {
  358. bidder: "appnexus",
  359. params: { placementId: "6518787"}
  360. }, {
  361. bidder: "appnexus",
  362. params: { placementId: "6518787"}
  363. }, {
  364. bidder: "appnexus",
  365. params: { placementId: "6518787"}
  366. }, {
  367. bidder: "appnexus",
  368. params: { placementId: "6518787"}
  369. }, {
  370. bidder: "appnexus",
  371. params: { placementId: "6518787"}
  372. }, {
  373. bidder: "appnexus",
  374. params: { placementId: "6518787"}
  375. }, {
  376. bidder: "appnexus",
  377. params: { placementId: "6518787"}
  378. }];
  379. var aol = [{
  380. bidder: "aol",
  381. params: { placement: "3906353", network: "9490.1"}
  382. }, {
  383. bidder: "aol",
  384. params: { placement: "3906356", network: "9490.1"}
  385. }, {
  386. bidder: "aol",
  387. params: { placement: "3906354", network: "9490.1"}
  388. }, {
  389. bidder: "aol",
  390. params: { placement: "3906355", network: "9490.1"}
  391. }, {
  392. bidder: "aol",
  393. params: { placement: "3906357", network: "9490.1"}
  394. }, {
  395. bidder: "aol",
  396. params: { placement: "3906350", network: "9490.1"}
  397. }, {
  398. bidder: "aol",
  399. params: { placement: "3906351", network: "9490.1"}
  400. }, {
  401. bidder: "aol",
  402. params: { placement: "3906352", network: "9490.1"}
  403. }];
  404. var brealtime = [{
  405. bidder: "brealtime",
  406. params: { placementId: "12516712"}
  407. }, {
  408. bidder: "brealtime",
  409. params: { placementId: "12516712"}
  410. }, {
  411. bidder: "brealtime",
  412. params: { placementId: "12516719"}
  413. }, {
  414. bidder: "brealtime",
  415. params: { placementId: "12516712"}
  416. }, {
  417. bidder: "brealtime",
  418. params: { placementId: "12516714"}
  419. }, {
  420. bidder: "brealtime",
  421. params: { placementId: "12516712"}
  422. }, {
  423. bidder: "brealtime",
  424. params: { placementId: "12516712"}
  425. }, {
  426. bidder: "brealtime",
  427. params: { placementId: "12516712"}
  428. }];
  429. var sovrn = [{
  430. bidder: "sovrn",
  431. params: { tagid: "347544"}
  432. }, {
  433. bidder: "sovrn",
  434. params: { tagid: "347546"}
  435. }, {
  436. bidder: "sovrn",
  437. params: { tagid: "347543"}
  438. }, {
  439. bidder: "sovrn",
  440. params: { tagid: "347547"}
  441. }, {
  442. bidder: "sovrn",
  443. params: { tagid: "347542"}
  444. },{
  445. bidder: "sovrn",
  446. params: { tagid: "347543"}
  447. }, {
  448. bidder: "sovrn",
  449. params: { tagid: "347543"}
  450. }, {
  451. bidder: "sovrn",
  452. params: { tagid: "347543"}
  453. }];
  454. var districtm = [{
  455. bidder: "districtmDMX",
  456. params: { id: "142120"}
  457. }, {
  458. bidder: "districtmDMX",
  459. params: { id: "142120"}
  460. }, {
  461. bidder: "districtmDMX",
  462. params: { id: "142121"}
  463. }, {
  464. bidder: "districtmDMX",
  465. params: { id: "142120"}
  466. }, {
  467. bidder: "districtmDMX",
  468. params: { id: "142122"}
  469. }, {
  470. bidder: "districtmDMX",
  471. params: { id: "142120"}
  472. }, {
  473. bidder: "districtmDMX",
  474. params: { id: "142120"}
  475. }, {
  476. bidder: "districtmDMX",
  477. params: { id: "142120"}
  478. }];
  479.  
  480. var criteo = [{
  481. bidder: "criteo",
  482. params: { zoneId: "682412"}
  483. }, {
  484. bidder: "criteo",
  485. params: { zoneId: "682366"}
  486. }, {
  487. bidder: "criteo",
  488. params: { zoneId: "682326"}
  489. }, {
  490. bidder: "criteo",
  491. params: { zoneId: "682366"}
  492. }, {
  493. bidder: "criteo",
  494. params: { zoneId: "682326"}
  495. }, {
  496. bidder: "criteo",
  497. params: { zoneId: "682326"}
  498. }, {
  499. bidder: "criteo",
  500. params: { zoneId: "682326"}
  501. }, {
  502. bidder: "criteo",
  503. params: { zoneId: "682326"}
  504. }];
  505.  
  506. var conversant = [{
  507. bidder: "conversant",
  508. params: { site_id: "105823"}
  509. }, {
  510. bidder: "conversant",
  511. params: { site_id: "105823"}
  512. }, {
  513. bidder: "conversant",
  514. params: { site_id: "105823"}
  515. }, {
  516. bidder: "conversant",
  517. params: { site_id: "105823"}
  518. }, {
  519. bidder: "conversant",
  520. params: { site_id: "105823"}
  521. }, {
  522. bidder: "conversant",
  523. params: { site_id: "105823"}
  524. }, {
  525. bidder: "conversant",
  526. params: { site_id: "105823"}
  527. }, {
  528. bidder: "conversant",
  529. params: { site_id: "105823"}
  530. }];
  531. var rubicon = [{
  532. bidder: "rubicon",
  533. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  534. }, {
  535. bidder: "rubicon",
  536. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  537. }, {
  538. bidder: "rubicon",
  539. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  540. }, {
  541. bidder: "rubicon",
  542. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  543. }, {
  544. bidder: "rubicon",
  545. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  546. }, {
  547. bidder: "rubicon",
  548. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  549. }, {
  550. bidder: "rubicon",
  551. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  552. }, {
  553. bidder: "rubicon",
  554. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  555. }];
  556. for(i=0;i<adUnits.length; i++) {
  557. adUnits[i].bids = new Array();
  558. if(enable_openX_ads) {
  559. adUnits[i].bids.push( openx[i]);
  560. }
  561. if(enable_pubmatic_ads) {
  562. adUnits[i].bids.push( pubmatic[i]);
  563. }
  564. if(enable_appnexus_ads) {
  565. adUnits[i].bids.push( appnexus[i]);
  566. }
  567. if(enable_aol_ads) {
  568. adUnits[i].bids.push( aol[i]);
  569. }
  570. if(enable_sovrn_ads) {
  571. adUnits[i].bids.push( sovrn[i]);
  572. }
  573. if(enable_districtm_ads) {
  574. adUnits[i].bids.push( districtm[i]);
  575. }
  576. if(enable_criteo_ads) {
  577. adUnits[i].bids.push( criteo[i]);
  578. }
  579. if(enable_conversant_ads) {
  580. adUnits[i].bids.push( conversant[i]);
  581. }
  582. if(enable_rubicon_ads) {
  583. adUnits[i].bids.push( rubicon[i]);
  584. }
  585.  
  586. if(enable_brealtime_ads) {
  587. adUnits[i].bids.push( brealtime[i]);
  588. }
  589.  
  590.  
  591. }
  592. break;
  593. default:
  594. adUnits = [{
  595. code: "div-gpt-ad-629350160446709561-1",
  596. sizes: [[728, 90]],
  597. bids: {}
  598. }, {
  599. code: "div-gpt-ad-629350160446709561-3",
  600. sizes: [[160, 600]],
  601. bids: {}
  602. }, {
  603. code: "div-gpt-ad-788084996771918566-5",
  604. sizes: [[728, 90]],
  605. bids: {}
  606. }, {
  607. code: "div-gpt-ad-629350160446709561-2",
  608. sizes: [[300, 250]],
  609. bids: {}
  610. }, {
  611. code: "div-gpt-ad-629350160446709561-4",
  612. sizes: [[300, 250]],
  613. bids: {}
  614. }];
  615. if(jQuery(window).width() >= 1366){
  616. adUnits[adUnits.length] = {
  617. code: "div-gpt-ad-629350160446709561-8",
  618. sizes: [[160, 600]],
  619. bids: {}
  620. };
  621. }
  622. var openx = [{
  623. bidder: "openx",
  624. params: { unit: "538218649", delDomain: "coolmath-d.openx.net"}
  625. }, {
  626. bidder: "openx",
  627. params: { unit: "538218649", delDomain: "coolmath-d.openx.net"}
  628. }, {
  629. bidder: "openx",
  630. params: { unit: "538218595", delDomain: "coolmath-d.openx.net"}
  631. }, {
  632. bidder: "openx",
  633. params: { unit: "538218664", delDomain: "coolmath-d.openx.net"}
  634. }, {
  635. bidder: "openx",
  636. params: { unit: "538218620", delDomain: "coolmath-d.openx.net"}
  637. }, {
  638. bidder: "openx",
  639. params: { unit: "538218649", delDomain: "coolmath-d.openx.net"}
  640. }];
  641. var pubmatic = [{bidder: "pubmatic",
  642. params: {
  643. size: "728x90",
  644. publisherId: "92620",
  645. adSlot: "cm_prebid_728x90_ros_1@728x90"
  646. }
  647. },{bidder: "pubmatic",
  648. params: {
  649. size: "160x600",
  650. publisherId: "92620",
  651. adSlot: "cm_prebid_160x600_ros_1@160x600"
  652. }
  653. },{bidder: "pubmatic",
  654. params: {
  655. size: "728x90",publisherId: "92620",
  656. adSlot: "cm_prebid_728x90_ros_2@728x90"
  657. }
  658. },{bidder: "pubmatic",
  659. params: {
  660. size: "300x250",publisherId: "92620",
  661. adSlot: "cm_prebid_400x300_ros_1@300x250"
  662. }
  663. },{bidder: "pubmatic",
  664. params: {
  665. size: "300x250",publisherId: "92620",
  666. adSlot: "cm_prebid_400x300_ros_2@300x250"
  667. }
  668. }, {bidder: "pubmatic",
  669. params: {
  670. size: "160x600",publisherId: "92620",
  671. adSlot: "cm_prebid_160x600_ros_2@160x600"
  672. }
  673. }];
  674. var appnexus = [{
  675. bidder: "appnexus",
  676. params: { placementId: "6518787"}
  677. }, {
  678. bidder: "appnexus",
  679. params: { placementId: "6518787"}
  680. }, {
  681. bidder: "appnexus",
  682. params: { placementId: "6518787"}
  683. }, {
  684. bidder: "appnexus",
  685. params: { placementId: "6518787"}
  686. }, {
  687. bidder: "appnexus",
  688. params: { placementId: "6518787"}
  689. }, {
  690. bidder: "appnexus",
  691. params: { placementId: "6518787"}
  692. }];
  693. var aol = [{
  694. bidder: "aol",
  695. params: { placement: "3608321", network: "9490.1"}
  696. },{
  697. bidder: "aol",
  698. params: { placement: "3676191", network: "9490.1"}
  699. },{
  700. bidder: "aol",
  701. params: { placement: "3613769", network: "9490.1"}
  702. },{
  703. bidder: "aol",
  704. params: { placement: "3608322", network: "9490.1"}
  705. },{
  706. bidder: "aol",
  707. params: { placement: "3613770", network: "9490.1"}
  708. },{
  709. bidder: "aol",
  710. params: { placement: "3608320", network: "9490.1"}
  711. }];
  712. var brealtime = [{
  713. bidder: "brealtime",
  714. params: { placementId: "12516720"}
  715. }, {
  716. bidder: "brealtime",
  717. params: { placementId: "12516720"}
  718. }, {
  719. bidder: "brealtime",
  720. params: { placementId: "12516722"}
  721. }, {
  722. bidder: "brealtime",
  723. params: { placementId: "12516723"}
  724. },{
  725. bidder: "brealtime",
  726. params: { placementId: "12516721"}
  727. },{
  728. bidder: "brealtime",
  729. params: { placementId: "12516720"}
  730. }];
  731. var sovrn = [{
  732. bidder: "sovrn",
  733. params: { tagid: "347546"}
  734. }, {
  735. bidder: "sovrn",
  736. params: { tagid: "347544"}
  737. }, {
  738. bidder: "sovrn",
  739. params: { tagid: "347547"}
  740. }, {
  741. bidder: "sovrn",
  742. params: { tagid: "347542"}
  743. }, {
  744. bidder: "sovrn",
  745. params: { tagid: "347543"}
  746. },{
  747. bidder: "sovrn",
  748. params: { tagid: "347545"}
  749. }];
  750. var districtm = [{
  751. bidder: "districtmDMX",
  752. params: { id: "142123"}
  753. }, {
  754. bidder: "districtmDMX",
  755. params: { id: "142123"}
  756. }, {
  757. bidder: "districtmDMX",
  758. params: { id: "142124"}
  759. }, {
  760. bidder: "districtmDMX",
  761. params: { id: "142125"}
  762. }, {
  763. bidder: "districtmDMX",
  764. params: { id: "142126"}
  765. }, {
  766. bidder: "districtmDMX",
  767. params: { id: "142123"}
  768. }];
  769. var criteo = [{
  770. bidder: "criteo",
  771. params: { zoneId: "682366"}
  772. }, {
  773. bidder: "criteo",
  774. params: { zoneId: "682412"}
  775. }, {
  776. bidder: "criteo",
  777. params: { zoneId: "682326"}
  778. }, {
  779. bidder: "criteo",
  780. params: { zoneId: "682366"}
  781. }, {
  782. bidder: "criteo",
  783. params: { zoneId: "682326"}
  784. }, {
  785. bidder: "criteo",
  786. params: { zoneId: "682412"}
  787. }];
  788. var conversant = [{
  789. bidder: "conversant",
  790. params: { site_id: "105823"}
  791. }, {
  792. bidder: "conversant",
  793. params: { site_id: "105823"}
  794. }, {
  795. bidder: "conversant",
  796. params: { site_id: "105823"}
  797. }, {
  798. bidder: "conversant",
  799. params: { site_id: "105823"}
  800. }, {
  801. bidder: "conversant",
  802. params: { site_id: "105823"}
  803. }, {
  804. bidder: "conversant",
  805. params: { site_id: "105823"}
  806. }];
  807. var rubicon = [{
  808. bidder: "rubicon",
  809. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  810. }, {
  811. bidder: "rubicon",
  812. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  813. }, {
  814. bidder: "rubicon",
  815. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  816. }, {
  817. bidder: "rubicon",
  818. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  819. }, {
  820. bidder: "rubicon",
  821. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  822. }, {
  823. bidder: "rubicon",
  824. params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
  825. }];
  826. for(i=0;i<adUnits.length; i++) {
  827. adUnits[i].bids = new Array();
  828. if(enable_openX_ads) {
  829. adUnits[i].bids.push( openx[i]);
  830. }
  831. if(enable_pubmatic_ads) {
  832. adUnits[i].bids.push( pubmatic[i]);
  833. }
  834. if(enable_appnexus_ads) {
  835. adUnits[i].bids.push( appnexus[i]);
  836. }
  837. if(enable_aol_ads) {
  838. adUnits[i].bids.push( aol[i]);
  839. }
  840. if(enable_sovrn_ads) {
  841. adUnits[i].bids.push( sovrn[i]);
  842. }
  843. if(enable_districtm_ads) {
  844. adUnits[i].bids.push( districtm[i]);
  845. }
  846. if(enable_criteo_ads) {
  847. adUnits[i].bids.push( criteo[i]);
  848. }
  849. if(enable_conversant_ads) {
  850. adUnits[i].bids.push( conversant[i]);
  851. }
  852. if(enable_rubicon_ads) {
  853. adUnits[i].bids.push( rubicon[i]);
  854. }
  855. if(enable_brealtime_ads) {
  856. adUnits[i].bids.push( brealtime[i]);
  857. }
  858.  
  859. }
  860. break;
  861. }
  862. }
  863. </script>
  864. <script>
  865. var googletag = googletag || {};
  866. googletag.cmd = googletag.cmd || [];
  867. var googleslots = [];
  868. var gptadslots = [];
  869. googletag.cmd.push(function() {
  870. googletag.pubads().disableInitialLoad();
  871. });
  872.  
  873. pbjs.que.push(function() {
  874. pbjs.addAdUnits(adUnits);
  875. //pbjs.setBidderSequence("random");
  876. pbjs.requestBids({
  877. bidsBackHandler: sendAdserverRequest
  878. });
  879. pbjs.bidderSettings = {
  880. standard: {
  881. adserverTargeting: [{
  882. key: "hb_bidder",
  883. val: function(bidResponse) {
  884. return bidResponse.bidderCode;
  885. }
  886. }, {
  887. key: "hb_adid",
  888. val: function(bidResponse) {
  889. return bidResponse.adId;
  890. }
  891. }, {
  892. key: "hb_size",
  893. val: function(bidResponse) {
  894. return bidResponse.size;
  895. }
  896. }, {
  897. key: "hb_pb",
  898. val: function(bidResponse) {
  899. var cpm = bidResponse.cpm;
  900. if (cpm < 2.00) {
  901. return (Math.floor(cpm * 100) / 100).toFixed(2);
  902. } else if (cpm < 12.00) {
  903. return (Math.floor(cpm * 20) / 20).toFixed(2);
  904. } else {
  905. return "20.00";
  906. }
  907. }
  908. }]
  909. },
  910. aol: {
  911. bidCpmAdjustment : function(bidCpm){
  912. return bidCpm * .92;
  913. }
  914. },
  915. districtmDMX: {
  916. bidCpmAdjustment : function(bidCpm){
  917. return bidCpm * .90;
  918. }
  919. },
  920. rubicon: {
  921. bidCpmAdjustment : function(bidCpm){
  922. return bidCpm * .80;
  923. }
  924. }
  925. };
  926. });
  927.  
  928. function sendAdserverRequest() {
  929. if (pbjs.adserverRequestSent) return;
  930. pbjs.adserverRequestSent = true;
  931. googletag.cmd.push(function() {
  932. pbjs.que.push(function() {
  933. pbjs.setTargetingForGPTAsync();
  934. pbjslogging = getParameterByName("pbjs_debug");
  935. if(pbjslogging != null) {
  936. if(pbjslogging.toLowerCase() === "false") {
  937. document.cookie = "pbjs_debug=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
  938. } else if(pbjslogging.toLowerCase() === "true"){
  939. var d = new Date();
  940. d.setTime(d.getTime() + (365*24*60*60*1000));
  941. var expires = "expires="+ d.toUTCString();
  942. document.cookie = "pbjs_debug" + "=" + "true" + ";" + expires + ";path=/";
  943. }
  944. }
  945. if(getCookie("pbjs_debug")) {
  946. pbjs.enableAnalytics({provider:"prebidoverlay"});
  947. }
  948. googletag.pubads().refresh();
  949. });
  950. });
  951. }
  952.  
  953. setTimeout(function() {
  954. sendAdserverRequest();
  955. }, PREBID_TIMEOUT);
  956.  
  957. </script>
  958. <script>
  959. (function () {
  960. var gads = document.createElement("script");
  961. gads.async = true;
  962. gads.type = "text/javascript";
  963. var useSSL = "https:" == document.location.protocol;
  964. gads.src = (useSSL ? "https:" : "http:") +
  965. "//www.googletagservices.com/tag/js/gpt.js";
  966. var node = document.getElementsByTagName("script")[0];
  967. node.parentNode.insertBefore(gads, node);
  968. })();
  969.  
  970. </script>
  971. <script>
  972. var iid="13389724",
  973. p=location.protocol,url=("https:"===p?p:"http:")+"//ap.lijit.com/www/sovrn_beacon_standalone/sovrn_standalone_beacon.js?iid="+iid,scr=document.createElement("script");scr.id="sBeacon",scr.src=parseURL(url),scr.async=!1;var s0=document.getElementsByTagName("script")[0];s0.parentNode.insertBefore(scr,s0);
  974. </script>
  975. <script>
  976. if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
  977.  
  978. googletag.cmd.push(function() {
  979.  
  980. switch(window.location.pathname) {
  981. case "/":
  982. case "/1-number-games":
  983. case "/1-skill-games":
  984. case "/1-logic-games":
  985. case "/1-playlists":
  986. case "/0-jigsaw-puzzles":
  987. case "/1-strategy-games":
  988. case "/1-mobile-categories":
  989. gptadslots[0]= googletag.defineSlot("/45966600/CM-G_HomePage", [[160,600]],"div-gpt-ad-788084996771918566-10").addService(googletag.pubads());
  990. gptadslots[1]= googletag.defineSlot("/45966600/CM-G_HomePage", [[728,90]],"div-gpt-ad-629350160446709561-1").addService(googletag.pubads());
  991. gptadslots[2]= googletag.defineSlot("/45966600/400x300_Home_Bottom", [[300,250]],"div-gpt-ad-629350160446709561-2").addService(googletag.pubads());
  992. gptadslots[3]= googletag.defineSlot("/45966600/CM-G_HomePage", [[728,90]],"div-gpt-ad-788084996771918566-5").addService(googletag.pubads());
  993. gptadslots[4]= googletag.defineSlot("/45966600/400x300_Home_Top", [[300,250]],"div-gpt-ad-629350160446709561-4").addService(googletag.pubads());
  994. gptadslots[5]= googletag.defineSlot("/45966600/CM-G_HomePage", [[300,250]],"div-gpt-ad-788084996771918566-7").addService(googletag.pubads());
  995. gptadslots[6]= googletag.defineSlot("/45966600/CM-G_HomePage", [[300,250]],"div-gpt-ad-788084996771918566-8").addService(googletag.pubads());
  996. gptadslots[7]= googletag.defineSlot("/45966600/CM-G_HomePage", [[300,250]],"div-gpt-ad-788084996771918566-6").addService(googletag.pubads());
  997.  
  998. break;
  999. default:
  1000. gptadslots[0]= googletag.defineSlot("/45966600/CM-G_ALLOTHERPAGES", [[728,90]],"div-gpt-ad-629350160446709561-1").addService(googletag.pubads());
  1001. gptadslots[1]= googletag.defineSlot("/45966600/CM-G_ALLOTHERPAGES", [[160,600]],"div-gpt-ad-629350160446709561-3").addService(googletag.pubads());
  1002. if(typeof is_board_games_layout != "undefined") { // only 300x250 for board games
  1003. gptadslots[2]= googletag.defineSlot("/45966600/400x300_AllOther_Bottom", [[300,250]],"div-gpt-ad-629350160446709561-2").addService(googletag.pubads());
  1004. } else {
  1005. gptadslots[2]= googletag.defineSlot("/45966600/400x300_AllOther_Bottom", [[300,250]],"div-gpt-ad-629350160446709561-2").addService(googletag.pubads());
  1006. }
  1007. gptadslots[3]= googletag.defineSlot("/45966600/Test_NoTop_16", [[728,90]],"div-gpt-ad-788084996771918566-5").addService(googletag.pubads());
  1008. if(typeof is_board_games_layout != "undefined") { // only 300x250 for board games
  1009. gptadslots[4]= googletag.defineSlot("/45966600/400x300_AllOther_Top", [[300,250]],"div-gpt-ad-629350160446709561-4").addService(googletag.pubads());
  1010. } else {
  1011. gptadslots[4]= googletag.defineSlot("/45966600/400x300_AllOther_Top", [[300,250]],"div-gpt-ad-629350160446709561-4").addService(googletag.pubads());
  1012. }
  1013. if(jQuery(window).width() >= 1366){
  1014. gptadslots[5]= googletag.defineSlot("/45966600/CM-G_ALLOTHERPAGES", [[160,600]],"div-gpt-ad-629350160446709561-8").addService(googletag.pubads());
  1015. }
  1016.  
  1017. break;
  1018. }
  1019.  
  1020.  
  1021. googletag.pubads().setTagForChildDirectedTreatment(0);
  1022. googletag.pubads().enableSingleRequest();
  1023. googletag.enableServices();
  1024. });
  1025.  
  1026. }
  1027. </script>
  1028. <script>
  1029. function trackEvent(category, action, label, noninteraction) {
  1030.  
  1031. if(typeof __gaTracker === 'undefined')
  1032. return;
  1033.  
  1034.  
  1035. noninteraction = noninteraction || 0;
  1036.  
  1037. //console.log('Tracked: ' + category + ' ' + action + ' ' + label + ' noninteraction: ' + noninteraction);
  1038. __gaTracker('send', {
  1039. 'hitType': 'event', // Required.
  1040. 'eventCategory': category, // Required.
  1041. 'eventAction': action, // Required.
  1042. 'eventLabel': label,
  1043. 'eventValue': 0,
  1044. 'nonInteraction': noninteraction
  1045. });
  1046. }
  1047.  
  1048. function trackSocial(network,action,target) {
  1049.  
  1050. if(typeof __gaTracker === 'undefined')
  1051. return;
  1052.  
  1053. __gaTracker('send', {
  1054. 'hitType': 'social', // Required.
  1055. 'socialNetwork': network,
  1056. 'socialAction': action,
  1057. 'socialTarget': target
  1058. });
  1059. }
  1060.  
  1061. </script>
  1062. <script>
  1063. function signUpUrlCallBack(){
  1064. if(typeof signUpURL != "undefined" && signUpURL != null ) {
  1065. window.location = "https://" + window.location.hostname + signUpURL;
  1066. } else {
  1067. if(window.location.hostname === "cmatgame.local" || window.location.hostname === "m.cmatgame.local") {
  1068. window.location = "http://" + window.location.hostname + "/signup/b2df5a33";
  1069. } else {
  1070. window.location = "https://" + window.location.hostname + "/signup/b2df5a33";
  1071. }
  1072. }
  1073. }
  1074. </script>
  1075. <script>
  1076. cssAggregationTest = true;
  1077. </script>
  1078. <script src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCF0u4kT8DuKct%2FWuEpPW9%2BQtDLgCIR7e2R%2FiaOgwAGjJXufYj7hNDYZU0w%2FlN0Sce4o1pOw%3D%3D&amp;b=1"></script>
  1079. <script src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCF0u4kT8Dy9oqqi%2FBv%2Bab3AJOMBqHWM%2B9Z87bM2gNb3Y5stwK0EhwX7FOnINYoy1Fj41pOw%3D%3D&amp;b=1"></script>
  1080. <script>jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"cmatgame","theme_token":"avDMNmj-3Ju0amY5bHMYBGYHCIMoqFEZj4m6J5EAfzE","js":{"sites\/cmatgame\/modules\/custom\/cmatgame_advertisement\/js\/ads.js":1,"sites\/cmatgame\/modules\/custom\/cmatgame_advertisement\/js\/coolmath-games-adrefresh.js":1,"sites\/cmatgame\/modules\/custom\/cmatgame_analytics\/js\/coolmath-games-ga.js":1,"0":1,"\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.8.3\/jquery.js":1,"1":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/cmatgame\/modules\/contrib\/views_slideshow\/js\/views_slideshow.js":1,"sites\/all\/libraries\/bxslider\/jquery.bxslider.min.js":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/tinycon.min.js":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/environment_indicator.js":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/color.js":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"sites\/cmatgame\/modules\/contrib\/bxslider_views_slideshow\/bxslider_views_slideshow.js":1,"sites\/cmatgame\/themes\/cmatgame\/js\/cmatgame_instructions.js":1,"sites\/cmatgame\/modules\/custom\/swfembed\/jquery.swfembed.js":1,"sites\/cmatgame\/modules\/custom\/swfembed\/behavior.swfembed.js":1,"sites\/cmatgame\/themes\/cmatgame\/js\/cmatgame.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"sites\/cmatgame\/modules\/contrib\/views_slideshow\/views_slideshow.css":1,"profiles\/dsk\/modules\/contrib\/date\/date_api\/date.css":1,"profiles\/dsk\/modules\/contrib\/date\/date_popup\/themes\/datepicker.1.7.css":1,"sites\/all\/modules\/contrib\/domain\/domain_nav\/domain_nav.css":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/environment_indicator.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/user\/user.css":1,"profiles\/dsk\/modules\/contrib\/views\/css\/views.css":1,"profiles\/dsk\/modules\/contrib\/ctools\/css\/ctools.css":1,"profiles\/dsk\/modules\/contrib\/panels\/css\/panels.css":1,"sites\/cmatgame\/themes\/cmatgame\/templates\/layouts\/desktop_onecol\/desktop_onecol.css":1,"0":1,"1":1,"2":1,"3":1,"sites\/all\/libraries\/bxslider\/jquery.bxslider.css":1,"sites\/cmatgame\/modules\/custom\/cmatgame_queues\/css\/styles.css":1,"sites\/cmatgame\/modules\/custom\/cmatgame_subscription\/cmatgame_subscription_userloginbar.css":1,"sites\/cmatgame\/themes\/cmatgame\/system.menus.css":1,"sites\/cmatgame\/themes\/cmatgame\/system.messages.css":1,"sites\/cmatgame\/themes\/cmatgame\/system.theme.css":1,"sites\/cmatgame\/themes\/cmatgame\/css\/fonts.css":1,"sites\/cmatgame\/themes\/cmatgame\/css\/styles.css":1,"sites\/cmatgame\/themes\/cmatgame\/css\/custom.css":1}},"cmgTheme":{"cmgTheme":"http:\/\/www.coolmath-games.com\/sites\/cmatgame\/themes\/cmatgame"},"viewsSlideshow":{"game_details-carousel_game_detail":{"methods":{"goToSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","bxsliderViewsSlideshow"],"nextSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","bxsliderViewsSlideshow"],"pause":["viewsSlideshowControls"],"play":["viewsSlideshowControls"],"previousSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","bxsliderViewsSlideshow"],"transitionBegin":["viewsSlideshowPager","viewsSlideshowSlideCounter"],"transitionEnd":[]},"paused":0}},"viewsSlideshowBxslider":{"views_slideshow_bxslider_images_1":{"general":{"mode":"horizontal","speed":500,"slideMargin":12,"startSlide":0,"randomStart":0,"infiniteLoop":0,"hideControlOnEnd":1,"captions":0,"ticker":0,"tickerHover":0,"adaptiveHeight":0,"adaptiveHeightSpeed":500,"video":0,"touchEnabled":1,"preloadImages":"all","disable_standard_css":0,"useCSS":1,"align_image":"left","align_caption":"center","swipeThreshold":50,"oneToOneTouch":1,"preventDefaultSwipeX":1,"preventDefaultSwipeY":0,"color_caption":"80, 80, 80, 0.75"},"controlsfieldset":{"controls":1,"nextText":"","prevText":"","startText":"","stopText":"","autoControls":0,"autoControlsCombine":0},"pagerfieldset":{"pager":0,"pagerType":"full","pagerShortSeparator":" \/ "},"autofieldset":{"pause":4000,"autoStart":1,"auto":0,"autoHover":0,"autoDelay":0,"autoDirection":"next"},"carousel":{"minSlides":5,"maxSlides":5,"moveSlides":5,"slideWidth":87},"callback":[],"fixes":{"height_does_not_dyn_change":0}}},"better_exposed_filters":{"views":{"game_details":{"displays":{"carousel_game_detail":{"filters":[]},"pane_top_picks":{"filters":[]}}},"queues_view":{"displays":{"rightrail_games_promo":{"filters":[]}}}}},"swfembed":{"swf":{"swf_1":{"height":"600","width":"800","flashvars":[],"params":{"allowScriptAccess":"sameDomain","movie":"run3v3.swf","menu":"false","quality":"high","wmode":"direct"},"noflash":"","url":"\/\/www.coolmath-games.com\/sites\/cmatgame\/files\/games\/run3v3.swf","swfFallbacks":[],"expressInstall":null,"version":"8.0.0.0"}}},"isSubscriptionActive":false});</script>
  1081.  
  1082. <meta name="robots" content="noindex,nofollow"></head>
  1083. <body class="html not-front not-logged-in no-sidebars page-node page-node- page-node-11697 node-type-game domain-coolmath-games-com section-0-run-3 page-panels large-game-item" ><link rel="stylesheet" href="/css/framed.css?v=103" />
  1084. <div id="include">
  1085. <div id="holder">
  1086.  
  1087. <div id="logo-holder">
  1088. <a href="https://www.proxysite.com"><img class="psc-logo1" src="/images/logo2.png" alt="Home"></a>
  1089.  
  1090. </div>
  1091. <div id="form-holder">
  1092.  
  1093. <form action="https://us5.proxysite.com/includes/process.php?action=update" method="post" id="include-form">
  1094.  
  1095. <p>
  1096.  
  1097. <span class="url-dis">URL:</span>
  1098. <input type="text" name="d" size="40" value="https://www.coolmath-games.com/0-run-3" class="url-input url-text" />
  1099. <input type="submit" value="Go" class="url-btn" /><select id='server-options'><option value='us1'>us1</option><option value='us2'>us2</option><option value='us3'>us3</option><option value='us4'>us4</option><option value='us5' selected='selected'>us5</option><option value='us6'>us6</option><option value='us7'>us7</option><option value='eu0'>eu0</option><option value='eu1'>eu1</option><option value='eu2'>eu2</option><option value='eu3'>eu3</option><option value='eu4'>eu4</option><option value='eu5'>eu5</option><option value='eu6'>eu6</option><option value='eu7'>eu7</option><option value='eu8'>eu8</option></select><script>
  1100. var input=document.querySelector("#server-options"),form=document.querySelector("#include-form");input.addEventListener("change",function(){form.setAttribute("action","https://"+input.value+".proxysite.com/includes/process.php?action=update")});</script>
  1101. </p>
  1102.  
  1103. <p class="options"> <input type="checkbox" name="allowCookies" id="allowCookies" checked="checked" />
  1104. <label for="allowCookies">Allow Cookies</label> <input type="checkbox" name="stripJS" id="stripJS" />
  1105. <label for="stripJS">Remove Scripts</label> <input type="checkbox" name="stripObjects" id="stripObjects" />
  1106. <label for="stripObjects">Remove Objects</label> <input type="checkbox" name="blck" id="blck" />
  1107. <label for="blck">Block Ads</label> </form>
  1108. </div>
  1109.  
  1110. <div id="prxVpn1">Recommended <a href="https://www.pearlvpn.com/i/discount30.html?utm_source=psc&utm_medium=link&utm_campaign=discount30" target="_blank" onClick="ga('send', 'event', 'prxRecVpn', 'click');">VPN provider</a>
  1111. </div>
  1112.  
  1113. </div>
  1114. </div>
  1115.  
  1116. <a href="javascript:void(0)" onclick="psc_reportProblem()" class="psc_reportProblem" id="psc_report-button">Problem?</a>
  1117. <script src="/js/framed.js?v=102"></script>
  1118. <div id="psc_modal-report" style="display:none">
  1119. <iframe src="about:blank" id="psc_reportFrame" name="psc_reportFrame" seamless="" scrolling="no" onload="psc_reportFrameLoad(this.parentElement, 'https://www.coolmath-games.com/0-run-3');"></iframe>
  1120. </div>
  1121.  
  1122. <div class="psc_modal"><div class="psc_modal-inner"><div class="psc_modal-content"></div></div></div>
  1123.  
  1124. <script>
  1125. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  1126. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  1127. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  1128. })(window,document,'script','https://www.google-analytics.com/analytics.js','ga_var1');
  1129.  
  1130. ga_var1('create', 'UA-45368124-2', 'auto');
  1131. ga_var1('send', 'pageview', { 'page': '/process/tz15', 'title': 'Process page' });
  1132.  
  1133. </script>
  1134.  
  1135.  
  1136.  
  1137. <p id="skip-link">
  1138. <a href="" class="element-invisible element-focusable">Jump to navigation</a>
  1139. </p>
  1140. <!--END OF BOARD GAME LAYOUT -->
  1141.  
  1142. <div class="global-wrapper"> <!-- LAYOUT IF NOT BOARD GAME LAYOUT -->
  1143. <div class="global-content-wrapper">
  1144. <header class="main-header">
  1145. <div class="header-banner-block">
  1146. <div class="panel-pane pane-block pane-bean-subscriber-promo" >
  1147.  
  1148.  
  1149.  
  1150. <div class="pane-content">
  1151. <div class="entity entity-bean bean-content-block clearfix" about="/block/subscriber-promo" typeof="">
  1152.  
  1153. <div class="content">
  1154.  
  1155. <div class="field-text-block">
  1156. <p><a class="top-subscriber-promo" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOMsue2WGfybG9vRjkftB%2FzxO2EEwW4&amp;b=1">Subscribe Now</a></p>
  1157. </div>
  1158. </div>
  1159. </div>
  1160. </div>
  1161.  
  1162.  
  1163. </div>
  1164. <div class="panel-pane pane-block pane-bean-cmg-logo" >
  1165.  
  1166.  
  1167.  
  1168. <div class="pane-content">
  1169. <div class="entity entity-bean bean-content-block clearfix" about="/block/cmg-logo" typeof="">
  1170.  
  1171. <div class="content">
  1172.  
  1173. <div class="field-text-block">
  1174. <p><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4&amp;b=1"><img src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCEVfwlGIslfY%3D&amp;b=1" alt="logo.png" /></a> </p>
  1175. </div>
  1176. </div>
  1177. </div>
  1178. </div>
  1179.  
  1180.  
  1181. </div>
  1182. <div class="panel-pane pane-block pane-cmatgame-subscription-userloginbar2" >
  1183.  
  1184.  
  1185.  
  1186. <div class="pane-content">
  1187. <div id="user-login-form"><div class="item-list"><ul class="welcome-box"><li class="first last"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj41TmOrr2qGGKpZg%3D%3D&amp;b=1" class="welcome-text" title="Subscriber Login">Subscriber Login</a></li>
  1188. </ul></div></div> </div>
  1189.  
  1190.  
  1191. </div>
  1192. </div> <!--header-banner-block-->
  1193. <div class="other-sites-links-wrapper clearfix">
  1194. <div class="panel-pane pane-block pane-menu-menu-desktop-header-menu" >
  1195.  
  1196.  
  1197.  
  1198. <div class="pane-content">
  1199. <ul class="menu"><li class="menu__item is-leaf first leaf strategy_list"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeYqOCnA2CncSQ9RmdJ%2BA%3D%3D&amp;b=1" class="menu__link menu_strategy">Strategy</a></li>
  1200. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeYt%2FuqGyinaWQ%2FVA%3D%3D&amp;b=1" class="menu__link menu_skill">Skill</a></li>
  1201. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeFqf%2BkEnftb2g3Qnk%3D&amp;b=1" class="menu__link menu_numbers">Numbers</a></li>
  1202. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeHs%2FWvFCinaWQ%2FVA%3D%3D&amp;b=1" class="menu__link menu_logic">Logic</a></li>
  1203. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeDqP%2BqQiinaWQ%2FVA%3D%3D&amp;b=1" class="menu__link menu_html5">HTML5</a></li>
  1204. <li class="menu__item is-expanded expanded"><span class="menu__link menu_more nolink">More</span><ul class="menu"><li class="menu__item is-leaf first leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeIsPO1BGyjJW47Sm9f&amp;b=1" class="menu__link menu_classic">Classic</a></li>
  1205. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeBtfW1FnLteHwgXWZJ%2BA%3D%3D&amp;b=1" class="menu__link menu_puzzles">Puzzles</a></li>
  1206. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeGuf%2BpBXztb2g3Qnk%3D&amp;b=1" class="menu__link menu_memory">Memory</a></li>
  1207. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeMuf2hBWSwYHB3QGtB7gM%3D&amp;b=1" class="menu__link menu_geography">Geography</a></li>
  1208. <li class="menu__item is-leaf last leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeYv%2FujGWalJW47Sm9f&amp;b=1" class="menu__link menu_science">Science</a></li>
  1209. </ul></li>
  1210. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWebsPO%2FG2yzfHo%3D&amp;b=1" class="menu__link menu_playlists">Playlists</a></li>
  1211. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40iuFuP2r&amp;b=1" class="menu__link random-redirect menu_random">Random!</a></li>
  1212. <li class="menu__item is-leaf leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeesv6pFG6hamU%2FCm1N5hWsweOeCQ%3D%3D&amp;b=1" class="menu__link menu_unlocked">Unlocked</a></li>
  1213. <li class="menu__item is-leaf last leaf"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeIs%2F%2B2G2C0bSQ9RmdJphzo3v4%3D&amp;b=1" class="menu__link menu_allgames">All Games A-Z</a></li>
  1214. </ul> </div>
  1215.  
  1216.  
  1217. </div>
  1218. </div><!--other-sites-links-wrapper-->
  1219. <div class="item-list"><ol><li class="first"><div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-728-90" >
  1220.  
  1221.  
  1222.  
  1223. <div class="pane-content">
  1224. <div class="ad-wrapper">
  1225. <p class="adtxt-header element-invisible"><span>Advertisement</span></p>
  1226. <div class="pane-advertising-wrapper-header" style="text-align:center;">
  1227. <div id="div-gpt-ad-629350160446709561-1-pre" class="reset-content"></div>
  1228. <div id="div-gpt-ad-629350160446709561-1" style="margin:0 auto;text-align:center;">
  1229. <script type="text/javascript">
  1230. if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
  1231. jQuery(".adtxt-header").removeClass("element-invisible").addClass("element-visible");
  1232. googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-1"); });
  1233. }
  1234. </script>
  1235. </div>
  1236. </div>
  1237. </div> </div>
  1238.  
  1239.  
  1240. </div>
  1241. </li>
  1242. <li class="last"><div class="panel-pane pane-block pane-bean-coolmath-header" >
  1243.  
  1244.  
  1245.  
  1246. <div class="pane-content">
  1247. <div class="entity entity-bean bean-content-block clearfix" about="/block/coolmath-header" typeof="">
  1248.  
  1249. <div class="content">
  1250.  
  1251. <div class="field-text-block">
  1252. <ul style="float:right;list-style-type:none;"><li><a href="/process.php?d=joV9uEGXElVTk8OLXl7XnYpFOHY%3D&amp;b=1"><img src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHlWjkGE%2FlOEL5mudoA%3D%3D&amp;b=1" alt="cm4k-copy.png" /></a></li>
  1253. <li><a href="/process.php?d=joV9uEGXElVTk8ORVlje&amp;b=1"><img src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHlW5iyI7&amp;b=1" alt="cm.png" /></a></li>
  1254. </ul> </div>
  1255. </div>
  1256. </div>
  1257. </div>
  1258.  
  1259.  
  1260. </div>
  1261. </li>
  1262. </ol></div> </header>
  1263. <div class="content-column-wrapper clearfix"> <!--else use this -->
  1264. <div class="main-column"><!-- else use regular column-->
  1265. <div class="inside"><div class="panel-pane pane-pane-messages" >
  1266.  
  1267.  
  1268.  
  1269. <div class="pane-content">
  1270.  
  1271.  
  1272. </div>
  1273.  
  1274.  
  1275. </div>
  1276. <div class="panel-pane pane-page-content" >
  1277.  
  1278. <h1 class="pane-title">
  1279. Run 3 </h1>
  1280.  
  1281.  
  1282. <div class="pane-content">
  1283.  
  1284.  
  1285.  
  1286. <div class="global-wrapper-content">
  1287. <div class="panel-pane pane-block pane-cmatgame-game-facebook-share-button" >
  1288.  
  1289.  
  1290.  
  1291. <div class="pane-content">
  1292.  
  1293. <!-- Load Facebook SDK for JavaScript -->
  1294. <div id="fb-root"></div>
  1295. <script>
  1296. function shareDialog(url) {
  1297. FB.ui(
  1298. {'method': 'share','href': url,},
  1299. function(response) {
  1300. if(response && !response.error_message) {
  1301. trackSocial('facebook','share',url);
  1302. } else {
  1303. trackSocial('facebook','share-fail',url);
  1304. }
  1305. }
  1306. );
  1307. };
  1308. window.fbAsyncInit = function() {
  1309. FB.init({
  1310. appId : '1518098848498337',
  1311. xfbml: true,
  1312. version: 'v2.5',
  1313. });
  1314. FB.Event.subscribe('edge.create', function(targetUrl) {
  1315. trackSocial('facebook','like',targetUrl);
  1316. });
  1317. FB.Event.subscribe('edge.remove', function(targetUrl) {
  1318. trackSocial('facebook','unlike',targetUrl);
  1319. });
  1320. };
  1321. (function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src=parseURL("//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5");fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));
  1322. </script>
  1323. <!-- Your share button code -->
  1324. <div class="social-block">
  1325. <div class="fb-share">
  1326. <img src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D%2FxjkwO%2BeUlv6mjg7mvwX53KepsqV4W9kICGjUIy5e8%2BMFXAWMSI%3D&amp;b=1" alt="Share on Facebook" class="js-fb-share" />
  1327. </div>
  1328. <div class="fb-like" data-href="/Coolmath-Games-185351911527417/" data-layout="button" data-show-faces="false" data-action="like" data-share="false">
  1329. </div>
  1330. </div>
  1331. <script>
  1332. var $fbShare = null;
  1333. $fbShare = jQuery('.js-fb-share');
  1334. if($fbShare.length > 0) {
  1335. $fbShare.click(function(){
  1336. shareDialog('http://www.coolmath-games.com/0-run-3');
  1337. });
  1338. }
  1339. </script> </div>
  1340.  
  1341.  
  1342. </div>
  1343. <div class="panel-pane pane-block pane-bean-game-page-no-ads-promo" >
  1344.  
  1345.  
  1346.  
  1347. <div class="pane-content">
  1348. <div class="entity entity-bean bean-content-block clearfix" about="/block/game-page-no-ads-promo" typeof="">
  1349.  
  1350. <div class="content">
  1351.  
  1352. <div class="field-text-block">
  1353. <p><a class="game-page-no-add" href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOMsue2WGfybG9vRjkftB%2FzxO2EEwW4&amp;b=1"><img alt="" src="" /></a></p>
  1354. </div>
  1355. </div>
  1356. </div>
  1357. </div>
  1358.  
  1359.  
  1360. </div>
  1361. <div class="panel-pane pane-views-panes pane-game-details-carousel-game-detail" >
  1362.  
  1363.  
  1364.  
  1365. <div class="pane-content">
  1366. <div class="view view-game-details view-id-game_details view-display-id-carousel_game_detail view-dom-id-6d8696ae12758f047fb3c705156fcb89">
  1367. <div class="view-header">
  1368. <p>You&#039;ll Also Like...</p>
  1369. </div>
  1370.  
  1371.  
  1372.  
  1373. <div class="view-content">
  1374.  
  1375. <div class="skin-default">
  1376.  
  1377. <div id="bxslider_views_slideshow_main_game_details-carousel_game_detail" class="bxslider_views_slideshow_main views_slideshow_main"><div id="views-slideshow-bxslider-1" class="views-slideshow-bxslider">
  1378. <ul id="views-slideshow-bxslider-images-1" class="bxslider-views-slideshow-main-frame bxslider">
  1379. <li id="views_slideshow_cycle_div_1_0" class="bxslider-views-slideshow-main-frame-row">
  1380.  
  1381. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1382. <div class="game-link-wrapper">
  1383. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeZqfw%3D&amp;b=1">
  1384. <div class="field-image">
  1385. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppzyu05BUGN0EHxItSNTkQpNSqo7YhSNltTY%3D&amp;b=1" width="83" height="50" alt="Run game" title="Run game" /> </div>
  1386. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Run</span></h5></a>
  1387. </div>
  1388. </div>
  1389. </span> </div></li>
  1390.  
  1391. <li id="views_slideshow_cycle_div_1_1" class="bxslider-views-slideshow-main-frame-row">
  1392.  
  1393. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1394. <div class="game-link-wrapper">
  1395. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeZqfzrRQ%3D%3D&amp;b=1">
  1396. <div class="field-image">
  1397. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppzyu05MBX9xSSRB0AdL7CMsztPv2giBzjA4rIw%3D%3D&amp;b=1" width="83" height="50" alt="Run 2 game" title="Run 2 game" /> </div>
  1398. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Run 2</span></h5></a>
  1399. </div>
  1400. </div>
  1401. </span> </div></li>
  1402.  
  1403. <li id="views_slideshow_cycle_div_1_2" class="bxslider-views-slideshow-main-frame-row">
  1404.  
  1405. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1406. <div class="game-link-wrapper">
  1407. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeYsvOtEg%3D%3D&amp;b=1">
  1408. <div class="field-image">
  1409. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOmzNS0MYuLyNr72O30tlcX8tVSBB0AdL7CMsztPvWuypjqDkeEg%3D%3D&amp;b=1" width="83" height="50" alt="Snake Game" title="Snake game" /> </div>
  1410. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Snake</span></h5></a>
  1411. </div>
  1412. </div>
  1413. </span> </div></li>
  1414.  
  1415. <li id="views_slideshow_cycle_div_1_3" class="bxslider-views-slideshow-main-frame-row">
  1416.  
  1417. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1418. <div class="game-link-wrapper">
  1419. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGecs%2BCqE3btYGgoQ29f%2F13mzOeI&amp;b=1">
  1420. <div class="field-image">
  1421. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppzm0z9JXApZTTl0gWcj7Ssd36tq8ijl04khxLHjHEwpxoUjpsvzUQ3jI&amp;b=1" width="83" height="50" alt="World&#039;s Hardest Game game" title="World&#039;s Hardest Game game" /> </div>
  1422. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">World's Hardest Game</span></h5></a>
  1423. </div>
  1424. </div>
  1425. </span> </div></li>
  1426.  
  1427. <li id="views_slideshow_cycle_div_1_4" class="bxslider-views-slideshow-main-frame-row">
  1428.  
  1429. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1430. <div class="game-link-wrapper">
  1431. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGecs%2BCqE3btYGgoQ29f%2F13mzOeIUAo%3D&amp;b=1">
  1432. <div class="field-image">
  1433. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppzm0z9JXApZTTl0gWcj7Ssd36tq%2F3351tB5zdTHBDEApwD364Yn3M3HosE0%3D&amp;b=1" width="83" height="50" alt="World&#039;s Hardest Game 2 game" title="World&#039;s Hardest Game 2 game" /> </div>
  1434. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">World's Hardest Game 2</span></h5></a>
  1435. </div>
  1436. </div>
  1437. </span> </div></li>
  1438.  
  1439. <li id="views_slideshow_cycle_div_1_5" class="bxslider-views-slideshow-main-frame-row">
  1440.  
  1441. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1442. <div class="game-link-wrapper">
  1443. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGfd7L%2B1EmavZm13RX9e7BXzgPiYEw%3D%3D&amp;b=1">
  1444. <div class="field-image">
  1445. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVpp3jrkM1WEtRVSwImScnoAtI79cr8wzd7u0d8eGXcF0Rn1kqNs%2FL%2FKVj%2B8A%3D%3D&amp;b=1" width="83" height="50" alt="60 Second Burger Run game" title="60 Second Burger Run game" /> </div>
  1446. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">60 Second Burger Run</span></h5></a>
  1447. </div>
  1448. </div>
  1449. </span> </div></li>
  1450.  
  1451. <li id="views_slideshow_cycle_div_1_6" class="bxslider-views-slideshow-main-frame-row">
  1452.  
  1453. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1454. <div class="game-link-wrapper">
  1455. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeBs%2FqoGXztfXk9VWtI7g%3D%3D&amp;b=1">
  1456. <div class="field-image">
  1457. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppyS01dBdCJZOX0g2Xd%2FqScd%2F4YCi0DlmshNpdkjiSnoYvVbcrw%3D%3D&amp;b=1" width="83" height="50" alt="Johnny Upgrade game" title="Johnny Upgrade game" /> </div>
  1458. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Johnny Upgrade</span></h5></a>
  1459. </div>
  1460. </div>
  1461. </span> </div></li>
  1462.  
  1463. <li id="views_slideshow_cycle_div_1_7" class="bxslider-views-slideshow-main-frame-row">
  1464.  
  1465. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1466. <div class="game-link-wrapper">
  1467. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeYrPOlEiipeyQxQnM%3D&amp;b=1">
  1468. <div class="field-image">
  1469. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppz2r3N1WXNJIAkQhRZXoDsYpt4L7mT95%2BEsIIkH5MQITlT4%3D&amp;b=1" width="83" height="50" alt="Space Is Key game" title="Space Is Key game" /> </div>
  1470. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Space Is Key</span></h5></a>
  1471. </div>
  1472. </div>
  1473. </span> </div></li>
  1474.  
  1475. <li id="views_slideshow_cycle_div_1_8" class="bxslider-views-slideshow-main-frame-row">
  1476.  
  1477. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  1478. <div class="game-link-wrapper">
  1479. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeYrPOlEiipeyQxQnMBuQ%3D%3D&amp;b=1">
  1480. <div class="field-image">
  1481. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppz2r3N1WXNJIAkQhRZa9Scd%2F4YCi0DlmshNpdkieM0sn0DrJtA%3D%3D&amp;b=1" width="83" height="50" alt="Space is Key 2 Icon" title="Space Is Key 2 game" /> </div>
  1482. <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Space Is Key 2</span></h5></a>
  1483. </div>
  1484. </div>
  1485. </span> </div></li>
  1486.  
  1487. </ul>
  1488. </div>
  1489. </div>
  1490. </div>
  1491. </div>
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498. </div> </div>
  1499.  
  1500.  
  1501. </div>
  1502. <div class="panel-pane pane-entity-view pane-node" >
  1503.  
  1504.  
  1505.  
  1506. <div class="pane-content">
  1507. <script type="text/javascript">
  1508. // we will define this varialbe signUpURLABTest in experiments.js
  1509. var cmg_upg_days_limit = 180;
  1510. if(window.location !== 'cmatgame.local') {// if testing
  1511. if(typeof signUpURL === 'undefined' || signUpURL === '') {
  1512. signUpURL = '/signup/b2df5a33?origin='+ window.location;
  1513. } else {
  1514. signUpURL = signUpURL+'?origin='+ window.location;
  1515. }
  1516. } else // end of testing (TODO - remove above if)
  1517. if(typeof signUpURLABTest === "undefined" || signUpURLABTest === null ) {
  1518. signUpURL = 'https://' + window.location.hostname +'/signup/b2df5a33?origin='+ window.location;
  1519. } else {
  1520. signUpURL = signUpURLABTest;
  1521. }
  1522.  
  1523. function subscription_promo_handler() {
  1524. if(typeof freeTrialUser !== 'undefined' && freeTrialUser) {
  1525. trackEvent('Premium Subscription ' +subscriberLeg, 'Subscription overlay clicked', userPlayedGames);
  1526. }
  1527. return;
  1528. }
  1529. function subscriptionSignUpUrl() {
  1530. var user_played_games = '';
  1531. var zeroFreeGamesLeftUsers =localStorage.getItem("zeroFreeGamesLeftUsers");
  1532. if(typeof userPlayedGames !== 'undefined' && userPlayedGames) {
  1533. user_played_games = "upg=" +userPlayedGames;
  1534. } else {
  1535. user_played_games = "upg=0";
  1536. }
  1537. if(zeroFreeGamesLeftUsers !== null && user_played_games !== '') {
  1538. user_played_games = user_played_games + '&zfg='+zeroFreeGamesLeftUsers;
  1539. } else if(zeroFreeGamesLeftUsers !== null) {
  1540. user_played_games = 'zfg='+zeroFreeGamesLeftUsers;
  1541. }
  1542.  
  1543. if(typeof signUpURL !== 'undefined' && signUpURL !== null && signUpURL.indexOf('upg') === -1) {
  1544. if(signUpURL.indexOf('?random_true') > -1) {
  1545. signUpURL = signUpURL.replace('?random_true', '');
  1546. }
  1547. if(signUpURL.indexOf('?') > -1) {
  1548. signUpURL = signUpURL + '&' +user_played_games;
  1549. } else {
  1550. signUpURL = signUpURL + '?' +user_played_games;
  1551. }
  1552. }
  1553. }
  1554. function cmatgame_premium_subscription_game_display() {
  1555. var cmatgame_subscriber = getCookie('cmg_sx');
  1556. var validSubscriber = false;
  1557. if(typeof cmatgame_subscriber !== 'undefined' && cmatgame_subscriber !== null ) {
  1558. validSubscriber = true;
  1559. }
  1560. if(typeof subscribeNowAlienClass === 'undefined' || subscribeNowAlienClass === null || subscribeNowAlienClass === '') {
  1561. if(Drupal.settings.isSubscriptionActive == false) {
  1562. subscribeNowAlienClass = "subscribe-now-alien-subscribe";
  1563. }else {
  1564. subscribeNowAlienClass = "subscribe-now-alien-signup";
  1565. }
  1566. }
  1567. freeGamesExceeded = true;
  1568.  
  1569. //display Ads to anonymous users the time from 7am to 13pm, display ads to anonymous users
  1570. // from 13pm to 11:59pm and 00 to 7am only if the user is not from New York city
  1571. // TODO --> Need to add day of the week for school hours logic, day < 6
  1572. if( getCookie('cmg_schwl') !== null || typeof cmg_no_ads !== 'undefined' || (!validSubscriber && schoolHours || ( !schoolHours && !targetStateUser ) || ( !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') !== null) ) ) {
  1573. //TODO Display Game
  1574. removeAdSwfJWPLayer();
  1575. if(!/0-chess/.test(window.location.pathname)) {
  1576. //setCookie('cmg_active_anonymous_user', 'active', 30*60*1000);
  1577. }
  1578. } else if(!validSubscriber && !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') === null && getCookie('cmg_editor') === null) {
  1579. //if user comes from google dont show the subscription paywall
  1580. var ref = document.referrer;
  1581. //count number of games played by the user this month
  1582. userPlayedGames = 0;
  1583. var userFreeGameList = [];
  1584. var freeGameNid = 11697;
  1585. if(sessionStorage.getItem("userFreeGameList") !== null) {
  1586. userFreeGameList = JSON.parse(sessionStorage.getItem("userFreeGameList"));
  1587. }
  1588. if((localStorage.getItem("userPlayedGames") == null || getCookie('cmg_upg') === null) && freeGameLimit !== 0 ) {
  1589. userPlayedGames = 1;
  1590. localStorage.setItem("userPlayedGames",userPlayedGames);
  1591. //TODO monthly cookie
  1592. setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
  1593. userFreeGameList = [freeGameNid];
  1594. sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
  1595. //TODO Display Game
  1596. removeAdSwfJWPLayer();
  1597.  
  1598. } else {
  1599. //userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"+currentMonth+currentYear));
  1600. //Monthly limit
  1601. if(localStorage.getItem("userPlayedGames") !== null && getCookie('cmg_upg') !== null) {
  1602. userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"));
  1603. } else {
  1604. userPlayedGames = 0;
  1605. setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
  1606. }
  1607. if(freeGameLimit != 0 && userPlayedGames < freeGameLimit && userFreeGameList.indexOf(freeGameNid) === -1) {
  1608. userPlayedGames++;
  1609. freeGamesExceeded = false;
  1610. if(userFreeGameList.length > 0) {
  1611. userFreeGameList = userFreeGameList.concat(freeGameNid);
  1612. } else {
  1613. userFreeGameList = [freeGameNid];
  1614. }
  1615. localStorage.setItem("userPlayedGames",userPlayedGames);
  1616. sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
  1617. } else {
  1618. freeGamesExceeded = true;
  1619. }
  1620. //console.log("Number of games user has played "+ userPlayedGames );
  1621. var validReferer = false;
  1622. var validGameSession = false;
  1623. if(userFreeGameList.indexOf(freeGameNid) > -1) {
  1624. validGameSession = true;
  1625. }
  1626. if(ref.match("google.com") !== null || ref.match("yahoo.com") !== null || ref.match("bing.com") !== null) {
  1627. validReferer = true;
  1628. }
  1629. subscriptionSignUpUrl();
  1630. if(!validReferer && userPlayedGames >= freeGameLimit && !validGameSession) { //subscription paywall
  1631. //block anonymous users for New York City from 0-7am and 13pm to 11:59pm
  1632. //console.log("Free games limit exceeded and referer is not google");
  1633. clearInterval(intervalId);
  1634. jQuery("#afg_container").remove();
  1635. jQuery(".title-instructions").remove();
  1636. jQuery(".body-instructions").remove();
  1637. var alreadySubscriberText = '<p class="already-subscribed">Already a Subscriber? <a class="learn-more-link" href="/user/login">Login</a></p>';
  1638. if(getCookie('cmg_l') != null) {
  1639. alreadySubscriberText = '';
  1640. }
  1641. var headLine = '<p class="no-free-games-headline">Please Sign up to keep playing</p>';
  1642. if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') != null) {
  1643. headLine = '<p class="no-free-games-headline" style="padding-top:46px;">PLEASE SUBSCRIBE NOW TO KEEP PLAYING</p>';
  1644. }
  1645. jQuery(".field-game").html('<div class="subscription-overlay" style="height:360px;width:500px;background:#008aa3;white-space:normal;">'+
  1646. headLine +
  1647. '<p class="free-in-schools">To keep Coolmath-Games free in schools, <br>we offer subscriptions for unlimited use<br>at home. '+
  1648. '<a class="learn-more-link" href="/subscribe-info"> Learn More > </a></p>' +
  1649. '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
  1650. alreadySubscriberText + '</div>');
  1651. } else {
  1652. //console.log("User may have come from google or is within the free game limit "+ (freeGameLimit-userPlayedGames) );
  1653. //TODO Display Game
  1654. removeAdSwfJWPLayer();
  1655. }
  1656. }
  1657. //display to user how many free games left once page load completes.
  1658. if (window.addEventListener)
  1659. window.addEventListener('load', checkPageLoad, false);
  1660. else if (window.attachEvent)
  1661. window.attachEvent('onload', checkPageLoad);
  1662. else window.onload = checkPageLoad;
  1663. }
  1664. }
  1665.  
  1666. function checkPageLoad() {
  1667. //console.log("checkPageLoad: Checkers test ");
  1668. if(freeGameLimit) {
  1669. freeGamesLeft = ((freeGameLimit - userPlayedGames));
  1670. } else {
  1671. freeGamesLeft = 0;
  1672. }
  1673. if(freeGamesLeft === 0) {
  1674. var zeroFreeGamesLeftUsers =localStorage.getItem("zeroFreeGamesLeftUsers");
  1675. if(zeroFreeGamesLeftUsers == null) {
  1676. localStorage.setItem("zeroFreeGamesLeftUsers","1");
  1677. __gaTracker('send', {
  1678. 'hitType': 'event', // Required.
  1679. 'eventCategory': "ZeroFreeGamesLeftUsers", // Required.
  1680. 'eventAction': subscriberLeg, // Required.
  1681. 'eventLabel': document.title,
  1682. 'eventValue': "0",
  1683. 'nonInteraction': 1
  1684. });
  1685. }
  1686. }
  1687. //Replace Go Ad Free header promo with parents and teachers promo
  1688. if(typeof freeTrialUser !== 'undefined' && freeTrialUser && typeof targeted_state !== 'undefined' && targeted_state && jQuery('.panel-pane.pane-block.pane-bean-subscriber-promo').length) {
  1689. jQuery('.panel-pane.pane-block.pane-bean-subscriber-promo').replaceWith('<div class="panel-pane pane-block"><div class="panel-pane pane-block"><div class="pane-bean-parents-promo" style="display: block;"><a href="/subscribe-info/" style="display: block;">Parents and Teachers</a></div></div></div>')
  1690. } else if(typeof freeTrialUser !== 'undefined' && freeTrialUser && typeof targeted_state !== 'undefined' && targeted_state && jQuery('.panel-pane.pane-block .pane-bean-subscriber-promo').length) {
  1691. jQuery('.panel-pane.pane-block .pane-bean-subscriber-promo').replaceWith('<div class="panel-pane pane-block"><div class="panel-pane pane-block"><div class="pane-bean-parents-promo" style="display: block;"><a href="/subscribe-info/" style="display: block;">Parents and Teachers</a></div></div></div>')
  1692. }
  1693. subscriptionSignUpUrl();
  1694.  
  1695. if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') !== null) {
  1696. subscribeNowAlienClass = "subscribe-now-alien-subscribe";
  1697. }else if(getCookie('cmg_l') == null) {
  1698. subscribeNowAlienClass = "subscribe-now-alien";
  1699. }else if(getCookie('cmg_l') == null && subscriberLeg == 'Default Leg') {
  1700. subscribeNowAlienClass = "subscribe-now-signup";
  1701.  
  1702. }
  1703. var alreadySubscriberText = '<p class="already-subscribed">Already a Subscriber? <a class="learn-more-link" href="/user/login">Login</a></p>';
  1704. if(getCookie('cmg_l') != null) {
  1705. alreadySubscriberText = '';
  1706. }
  1707. if(freeGamesLeft === 0 && (!freeGamesExceeded || freeGameLimit > 0) ){
  1708. freeGamesLeftDiv = '<div class="free-games-left-sidebar">'+
  1709. '<p class="no-free-games-headline">You Have <span class="remaining">'+ freeGamesLeft + '</span> <br>Free Games Remaining</p>' +
  1710. '<p class="free-in-schools">To keep Coolmath-Games free <br> in schools, we offer subscriptions for unlimited use at home.</p>'+
  1711. '<p><a class="learn-more-link" href="/subscribe-info">Learn More > </a></p>' +
  1712. '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
  1713. alreadySubscriberText +
  1714. '</div>';
  1715. jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
  1716. } else if(freeGamesLeft === 1) {
  1717. freeGamesLeftDiv = '<div class="free-games-left-sidebar">'+
  1718. '<p class="no-free-games-headline">You Have <span class="remaining">'+ freeGamesLeft + '</span><br>Free Game Remaining</p>' +
  1719. '<p class="free-in-schools">To keep Coolmath-Games free <br> in schools, we offer subscriptions for unlimited use at home.</p>'+
  1720. '<p><a class="learn-more-link" href="/subscribe-info">Learn More > </a></p>' +
  1721. '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
  1722. alreadySubscriberText+
  1723. '</div>';
  1724. jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
  1725. } else if(freeGamesLeft === 0 && freeGamesExceeded){
  1726. freeGamesLeftDiv = '';
  1727. jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
  1728. } else {
  1729. freeGamesLeftDiv = '<div class="free-games-left-sidebar">'+
  1730. '<p class="no-free-games-headline">You Have <span class="remaining">'+ freeGamesLeft + '</span><br> Free Games Remaining</p>' +
  1731. '<p class="free-in-schools">To keep Coolmath-Games free <br> in schools, we offer subscriptions for unlimited use at home.</p>'+
  1732. '<p><a class="learn-more-link" href="/subscribe-info">Learn More > </a></p>' +
  1733. '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
  1734. alreadySubscriberText +
  1735. '</div>';
  1736. jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
  1737. }
  1738. }// end checkPageLoad();
  1739.  
  1740. </script>
  1741. <article class="game-field-wrapper node-11697 node node-game view-mode-full game-w-summary clearfix" about="/0-run-3" typeof="sioc:Item foaf:Document">
  1742. <header>
  1743. <span property="dc:title" content="Run 3" class="rdf-meta element-hidden"></span>
  1744. </header>
  1745. <script>
  1746. function unlockAllLevels() {
  1747. trackEvent('Unlock All Levels category', 'unlock all levels button clicked', document.title);
  1748. alllevels = '<div class="adobe-analytics-sub-experience levels-unlocked">levels-unlocked</div>';
  1749. jQuery("#subscriber-banner").replaceWith(alllevels);
  1750. if(game_type == "html5") {
  1751. document.getElementById("html5game").contentWindow.unlockAllLevels();
  1752. } else {
  1753. document.getElementById("swfObjID").unlockAllLevels();
  1754. }
  1755. }
  1756. function addSubToUnlockGAEvent(){
  1757. trackEvent('Unlock All Levels category', 'subscribe to unlock button clicked', document.title);
  1758. window.location.href ="/signup/b2df5a33?origin=node/11697&stual=1"
  1759. }
  1760. </script>
  1761.  
  1762.  
  1763. <div id="no-flash-overlay" style="display:none;">
  1764. <a href="/process.php?d=joV9rFmPUFlWiMnaG1Tcg4tBODQHj390osSkyDqHveujBQ%3D%3D&amp;b=1" target="_blank"><img src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCGFb2mSA51vceqWib6Mie8yJuJ3%2BtXZ%2BvTIyFCzkOK2hsmuI8iAhwerp%2BhqtTjTNHldNtLw%3D%3D&amp;b=1" alt="click to enable flash" /></a>
  1765. <div class="bottom-text"><p>If that doesn't work, <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4xiOT8fSqFnao&amp;b=1" class="fix-flash-2">go here for more help.</a></div>
  1766. <!-- <div class="bottom-text"><p>Want great games that don't require Flash? <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeDqP%2BqQiinaWQ%2FVA%3D%3D&amp;b=1" class="html5-games-link">Check out our HTML5 Games!</a></div> -->
  1767. </div>
  1768.  
  1769.  
  1770.  
  1771. <div class="field-game">
  1772. <div id="swf_1"></div> </div>
  1773.  
  1774.  
  1775. <script>
  1776. hide_preroll_ads = false;
  1777. var cmg_active_anonymous_user = getCookie('cmg_active_anonymous_user');
  1778. if(cmg_active_anonymous_user != null && !/0-chess/.test(window.location.pathname)) {
  1779. //setCookie('cmg_active_anonymous_user', 'active', 30*60*1000);
  1780. }
  1781. </script>
  1782.  
  1783. <div id="afg_container">
  1784. <style>
  1785. .load-wrap {
  1786. width: 100%;
  1787. }
  1788.  
  1789. .circle {
  1790. display: inline-block;
  1791. height: 15px;
  1792. width: 15px;
  1793. margin-right: 20px;
  1794. background-color: #fc6e51;
  1795. border-radius: 50%;
  1796. -webkit-animation: afg_container_loading 1.6s infinite;
  1797. -moz-animation: afg_container_loading 1.6s infinite;
  1798. -o-animation: afg_container_loading 1.6s infinite;
  1799. animation: afg_container_loading 1.6s infinite;
  1800. }
  1801.  
  1802. .load-wrap .circle:nth-child(3) {
  1803. -webkit-animation-delay: .1s;
  1804. -moz-animation-delay: .1s;
  1805. -o-animation-delay: .1s;
  1806. animation-delay: .1s;
  1807. background: #f8eb13;
  1808. margin: -40px 5px 40px 340px;
  1809. }
  1810.  
  1811. .load-wrap .circle:nth-child(4) {
  1812. -webkit-animation-delay: .3s;
  1813. -moz-animation-delay: .3s;
  1814. -o-animation-delay: .3s;
  1815. animation-delay: .3s;
  1816. background: #33a2da;
  1817. margin: -40px 5px 40px ;
  1818. }
  1819.  
  1820. .load-wrap .circle:nth-child(5) {
  1821. -webkit-animation-delay: .5s;
  1822. -moz-animation-delay: .5s;
  1823. -o-animation-delay: .5s;
  1824. animation-delay: .5s;
  1825. background: #ee3928;
  1826. margin: -40px 5px 40px ;
  1827. }
  1828.  
  1829. .load-wrap .circle:nth-child(6) {
  1830. -webkit-animation-delay: .7s;
  1831. -moz-animation-delay: .7s;
  1832. -o-animation-delay: .7s;
  1833. animation-delay: .7s;
  1834. background: #51b747;
  1835. margin: -40px 5px 40px ;
  1836. }
  1837.  
  1838. /* Keyframes */
  1839.  
  1840. @-webkit-keyframes afg_container_loading {
  1841. 0%, 100% {
  1842. -webkit-transform: scale(0.0);
  1843. }
  1844. 50% {
  1845. -webkit-transform: scale(1.0);
  1846. }
  1847. }
  1848.  
  1849. @-moz-keyframes afg_container_loading {
  1850. 0%, 100% {
  1851. -moz-transform: scale(0.0);
  1852. }
  1853. 50% {
  1854. -moz-transform: scale(1.0);
  1855. }
  1856. }
  1857.  
  1858. @-o-keyframes afg_container_loading {
  1859. 0%, 100% {
  1860. -o-transform: scale(0.0);
  1861. }
  1862. 50% {
  1863. -o-transform: scale(1.0);
  1864. }
  1865. }
  1866.  
  1867. @keyframes afg_container_loading {
  1868. 0%, 100% {
  1869. transform: scale(0.0);
  1870. }
  1871. 50% {
  1872. transform: scale(1.0);
  1873. }
  1874. }
  1875. </style>
  1876.  
  1877. <div class="load-wrap">
  1878. <script>
  1879. // IE Detection and Version grabbing
  1880. ie = false;
  1881. if (navigator.appName == "Microsoft Internet Explorer") {
  1882. ie = true;
  1883. var ua = navigator.userAgent;
  1884. var re = new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");
  1885. if (re.exec(ua) != null) {
  1886. ieVersion = parseInt(RegExp.$1)
  1887. }
  1888. }
  1889.  
  1890. if(ie && ieVersion <= 9) {
  1891. document.write('<h1 style="margin:20px 0px; font-size: 20px">Just a moment while your game loads...</h1>',"gl");
  1892. } else {
  1893. document.write('<h1 style="margin:20px 0px; font-size: 20px">Just a moment while your game loads</h1><div class="circle"></div><div class="circle"></div><div class="circle"></div><div class="circle"></div>',"gl");
  1894. }
  1895. </script>
  1896. </div>
  1897.  
  1898. <div id="div-gpt-ad-629350160446709561-10" style="margin-bottom:20px;text-align:center;"></div>
  1899. <!--Start of Preloader call -->
  1900. <div id="afg_preloader">
  1901.  
  1902. <div id="container123">
  1903.  
  1904. <div id="videoplayer">
  1905. <video id="content123" style="height:1px;width:640px;">
  1906. <source src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCHFzjnj8okv8V51%2BGqsCJxClmJz3lXJGq&amp;b=1"></source>
  1907. </video>
  1908. <div id="adcontainer" style="height:480px;width:640px;"></div>
  1909. </div>
  1910. </div>
  1911. <script type="text/javascript" src="/process.php?d=x5B99EeVH0tWjIXYWljUgsFHJ3ITxGh9o4q902WYuPmqGGSkbXt1TmdNuF7r3g%3D%3D&amp;b=1"></script>
  1912.  
  1913. <script type="text/javascript">
  1914. /**
  1915. * Handles user interaction and creates the player and ads controllers.
  1916. */
  1917. var Application = function(displayAds) {
  1918. this.playing_ = false;
  1919. this.adsActive_ = false;
  1920. this.adsDone_ = false;
  1921. if(typeof displayAds === 'undefined' || displayAds === null) {
  1922. this.displayAds = true;
  1923. } else {
  1924. this.displayAds = displayAds;
  1925. }
  1926.  
  1927. this.videoPlayer_ = new VideoPlayer();
  1928. if(this.displayAds && typeof targeted_state === 'undefined') {
  1929. //console.log("Preload ads for non subscription time games");
  1930. this.ads_ = new Ads(this, this.videoPlayer_);
  1931. //Adx Preroll Tag with fallback display Ad
  1932. /*
  1933. this.adTagUrl_ ='/pagead/ads?client=ca-games-pub-9728353415461720&ad_type=video_text_image&description_url=http%3A%2F%2Fwww.coolmath-games.com&max_ad_duration=60000&videoad_start_delay=0';
  1934. */
  1935. this.adTagUrl_ ='/gampad/ads?sz=640x480&iu=/45966600/cmg.preroll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=[referrer_url]&description_url=http%3A%2F%2Fwww.coolmath-ganes.com&correlator=' + new Date();
  1936. // The user clicked/tapped - inform the ads controller that this code
  1937. // is being run in a user action thread.
  1938. this.ads_.initialUserAction();
  1939. // At the same time, initialize the content player as well.
  1940. // When content is loaded, we'll issue the ad request to prevent it
  1941. // from interfering with the initialization. See
  1942. // https://developers.google.com/interactive-media-ads/docs/sdks/html5/v3/ads#iosvideo
  1943. // for more information.
  1944. this.videoPlayer_.preloadContent(this.bind_(this, this.loadAds_));
  1945. this.adsDone_ = true;
  1946. } else {
  1947. //console.log("Do not preload ads for free trial user");
  1948. removeAdSwfJWPLayer();
  1949. }
  1950.  
  1951. };
  1952.  
  1953. Application.prototype.bind_ = function(thisObj, fn) {
  1954. return function() {
  1955. fn.apply(thisObj, arguments);
  1956. };
  1957. };
  1958.  
  1959. Application.prototype.loadAds_ = function() {
  1960. this.ads_.requestAds(this.adTagUrl_);
  1961. };
  1962.  
  1963. /**
  1964. * Handles video player functionality.
  1965. */
  1966. var VideoPlayer = function() {
  1967. this.contentPlayer = document.getElementById('content123');
  1968. this.adContainer = document.getElementById('adcontainer');
  1969. this.videoPlayerContainer_ = document.getElementById('videoplayer');
  1970. this.width = 640;
  1971. this.height = 480;
  1972. };
  1973.  
  1974. VideoPlayer.prototype.preloadContent = function(contentLoadedAction) {
  1975. contentLoadedAction();
  1976. };
  1977. VideoPlayer.prototype.play = function() {
  1978. this.contentPlayer.play();
  1979. };
  1980.  
  1981. VideoPlayer.prototype.pause = function() {
  1982. this.contentPlayer.pause();
  1983. };
  1984.  
  1985.  
  1986. /**
  1987. * Shows how to use the IMA SDK to request and display ads.
  1988. */
  1989. var Ads = function(application, videoPlayer) {
  1990. this.application_ = application;
  1991. this.videoPlayer_ = videoPlayer;
  1992. this.customClickDiv_ = document.getElementById('customClick');
  1993. this.contentCompleteCalled_ = false;
  1994. google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED);
  1995. // Call setLocale() to localize language text and downloaded swfs
  1996. // google.ima.settings.setLocale('fr');
  1997. this.adDisplayContainer_ =
  1998. new google.ima.AdDisplayContainer(
  1999. this.videoPlayer_.adContainer,
  2000. this.videoPlayer_.contentPlayer,
  2001. this.customClickDiv_);
  2002. this.adsLoader_ = new google.ima.AdsLoader(this.adDisplayContainer_);
  2003. this.adsManager_ = null;
  2004.  
  2005. this.adsLoader_.addEventListener(
  2006. google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,
  2007. this.onAdsManagerLoaded_,
  2008. false,
  2009. this);
  2010. this.adsLoader_.addEventListener(
  2011. google.ima.AdErrorEvent.Type.AD_ERROR,
  2012. this.onAdError_,
  2013. false,
  2014. this);
  2015. };
  2016.  
  2017. // On iOS and Android devices, video playback must begin in a user action.
  2018. // AdDisplayContainer provides a initialize() API to be called at appropriate
  2019. // time.
  2020. // This should be called when the user clicks or taps.
  2021. Ads.prototype.initialUserAction = function() {
  2022. this.adDisplayContainer_.initialize();
  2023. this.videoPlayer_.contentPlayer.load();
  2024.  
  2025. };
  2026.  
  2027. Ads.prototype.requestAds = function(adTagUrl) {
  2028. var adsRequest = new google.ima.AdsRequest();
  2029. adsRequest.adTagUrl = adTagUrl;
  2030. adsRequest.linearAdSlotWidth = this.videoPlayer_.width;
  2031. adsRequest.linearAdSlotHeight = this.videoPlayer_.height;
  2032. adsRequest.nonLinearAdSlotWidth = this.videoPlayer_.width;
  2033. adsRequest.nonLinearAdSlotHeight = this.videoPlayer_.height;
  2034. this.adsLoader_.requestAds(adsRequest);
  2035. };
  2036.  
  2037. Ads.prototype.onAdsManagerLoaded_ = function(adsManagerLoadedEvent) {
  2038. //console.log('Ads loaded.');
  2039. var adsRenderingSettings = new google.ima.AdsRenderingSettings();
  2040. //adsRenderingSettings.loadVideoTimeout = 4000;
  2041. adsRenderingSettings.restoreCustomPlaybackStateOnAdBreakComplete = true;
  2042. this.adsManager_ = adsManagerLoadedEvent.getAdsManager(
  2043. this.videoPlayer_.contentPlayer, adsRenderingSettings);
  2044. this.processAdsManager_(this.adsManager_);
  2045. };
  2046.  
  2047. Ads.prototype.processAdsManager_ = function(adsManager) {
  2048. if (adsManager.isCustomClickTrackingUsed()) {
  2049. this.customClickDiv_.style.display = 'table';
  2050. }
  2051. // Handle errors.
  2052. adsManager.addEventListener(
  2053. google.ima.AdErrorEvent.Type.AD_ERROR,
  2054. this.onAdError_,
  2055. false,
  2056. this);
  2057. var events = [google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
  2058. google.ima.AdEvent.Type.COMPLETE,
  2059. google.ima.AdEvent.Type.FIRST_QUARTILE,
  2060. google.ima.AdEvent.Type.LOADED,
  2061. google.ima.AdEvent.Type.MIDPOINT,
  2062. google.ima.AdEvent.Type.STARTED,
  2063. google.ima.AdEvent.Type.THIRD_QUARTILE, google.ima.AdEvent.Type.USER_CLOSE];
  2064. for (var index in events) {
  2065. adsManager.addEventListener(
  2066. events[index],
  2067. this.onAdEvent_,
  2068. false,
  2069. this);
  2070. }
  2071.  
  2072. var initWidth, initHeight;
  2073.  
  2074. initWidth = this.videoPlayer_.width;
  2075. initHeight = this.videoPlayer_.height;
  2076.  
  2077. adsManager.init(
  2078. initWidth,
  2079. initHeight,
  2080. google.ima.ViewMode.NORMAL);
  2081.  
  2082. adsManager.start();
  2083. };
  2084.  
  2085.  
  2086. Ads.prototype.onAdEvent_ = function(adEvent) {
  2087. //console.log('Ad event1: ' + adEvent.type);
  2088. if (adEvent.type == google.ima.AdEvent.Type.LOADED) {
  2089. var ad = adEvent.getAd();
  2090. jQuery("#content123").hide();
  2091. }
  2092. if (adEvent.type == google.ima.AdEvent.Type.ALL_ADS_COMPLETED) {
  2093. removeAdSwfJWPLayer();
  2094. }
  2095. if (adEvent.type == google.ima.AdEvent.Type.USER_CLOSE) {
  2096. removeAdSwfJWPLayer();
  2097. }
  2098.  
  2099. };
  2100.  
  2101. Ads.prototype.onAdError_ = function(adErrorEvent) {
  2102. //console.log('Ad error: ' + adErrorEvent.getError().toString());
  2103. if (this.adsManager_) {
  2104. this.adsManager_.destroy();
  2105. }
  2106. //TODO remove the ad slot and display the game
  2107. //this.application_.resumeAfterAd();
  2108. removeAdSwfJWPLayer();
  2109. };
  2110.  
  2111. if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') !== null) {
  2112. subscribeNowAlienClass = "subscribe-now-alien-subscribe";
  2113. }else if(getCookie('cmg_l') == null) {
  2114. subscribeNowAlienClass = "subscribe-now-alien";
  2115. }else if(getCookie('cmg_l') == null && subscriberLeg == 'Default Leg') {
  2116. subscribeNowAlienClass = "subscribe-now-signup";
  2117.  
  2118.  
  2119. }
  2120. var cmatgame_subscriber = getCookie('cmg_sx');
  2121. var validSubscriber = false;
  2122. if(typeof cmatgame_subscriber !== 'undefined' && cmatgame_subscriber !== null ) {
  2123. validSubscriber = true;
  2124. }
  2125. var application = null;
  2126. var freeGamesExceeded = true;
  2127. //display Ads to anonymous users the time from 7am to 13pm, display ads to anonymous users
  2128. // from 13pm to 11:59pm and 00 to 7am only if the user is not from New York city
  2129. // TODO --> Need to add day of the week for school hours logic, day < 6
  2130. if(getCookie('cmg_schwl') !== null || typeof cmg_no_ads !== 'undefined' || (!validSubscriber && schoolHours || ( !schoolHours && !targetStateUser ) || ( !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') !== null) )) {
  2131. if(getCookie('cmg_schwl') !== null || typeof cmg_no_ads !== 'undefined') {
  2132. application = new Application(false);
  2133. } else {
  2134. application = new Application(true);
  2135. }
  2136. if(!/0-chess/.test(window.location.pathname)) {
  2137. //setCookie('cmg_active_anonymous_user', 'active', 30*60*1000);
  2138. }
  2139. } else if(!validSubscriber && !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') === null && getCookie('cmg_editor') === null) {
  2140. //if user comes from google dont show the subscription paywall
  2141. var ref = document.referrer;
  2142. //count number of games played by the user this month
  2143. userPlayedGames = 0;
  2144. var userFreeGameList = [];
  2145. var freeGameNid = 11697;
  2146. if(sessionStorage.getItem("userFreeGameList") !== null) {
  2147. userFreeGameList = JSON.parse(sessionStorage.getItem("userFreeGameList"));
  2148. }
  2149. //if(localStorage.getItem("userPlayedGames"+currentMonth+currentYear) == null) {
  2150. if((localStorage.getItem("userPlayedGames") == null || getCookie('cmg_upg') === null) && freeGameLimit !== 0) {
  2151. userPlayedGames = 1;
  2152. //localStorage.setItem("userPlayedGames"+currentMonth+currentYear,userPlayedGames);
  2153. localStorage.setItem("userPlayedGames",userPlayedGames);
  2154. setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
  2155. userFreeGameList = [freeGameNid];
  2156. sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
  2157. application = new Application(false);
  2158. } else {
  2159. //userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"+currentMonth+currentYear));//monthly limit
  2160. if(localStorage.getItem("userPlayedGames") !== null && getCookie('cmg_upg') !== null) {
  2161. userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"));//lifetime limit
  2162. } else {
  2163. userPlayedGames = 0;
  2164. setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
  2165. }
  2166. if(freeGameLimit !== 0 && userPlayedGames < freeGameLimit && userFreeGameList.indexOf(freeGameNid) === -1) {
  2167. userPlayedGames++;
  2168. freeGamesExceeded = false;
  2169. if(userFreeGameList.length > 0) {
  2170. userFreeGameList = userFreeGameList.concat(freeGameNid);
  2171. } else {
  2172. userFreeGameList = [freeGameNid];
  2173. }
  2174. localStorage.setItem("userPlayedGames",userPlayedGames);
  2175. sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
  2176. } else {
  2177. freeGamesExceeded = true;
  2178. }
  2179.  
  2180. var validReferer = false;
  2181. var validGameSession = false;
  2182. if(userFreeGameList.indexOf(freeGameNid) > -1) {
  2183. validGameSession = true;
  2184. }
  2185. if(ref.match("google.com") !== null || ref.match("yahoo.com") !== null || ref.match("bing.com") !== null) {
  2186. validReferer = true;
  2187. }
  2188. subscriptionSignUpUrl();
  2189. var alreadySubscriberText = '<p class="already-subscribed">Already a Subscriber? <a class="learn-more-link" href="/user/login">Login</a></p>';
  2190. if(getCookie('cmg_l') != null) {
  2191. alreadySubscriberText = '';
  2192. }
  2193. var headLine = '<p class="no-free-games-headline">Please Sign up to keep playing</p>';
  2194. if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') != null) {
  2195. headLine = '<p class="no-free-games-headline" style="padding-top:46px;">PLEASE SUBSCRIBE NOW TO KEEP PLAYING</p>';
  2196. }
  2197. if(!validReferer && userPlayedGames >= freeGameLimit && !validGameSession) { //subscription paywall
  2198. //block anonymous users for New York City from 0-7am and 13pm to 11:59pm
  2199. clearInterval(intervalId);
  2200. jQuery("#afg_container").remove();
  2201. jQuery(".title-instructions").remove();
  2202. jQuery(".body-instructions").remove();
  2203. jQuery(".field-game").html('<div class="subscription-overlay" style="height:360px;width:500px;background:#008aa3;white-space:normal;">'+
  2204. headLine +
  2205. '<p class="free-in-schools">To keep Coolmath-Games free in schools, <br>we offer subscriptions for unlimited use<br>at home. '+
  2206. '<a class="learn-more-link" href="/subscribe-info"> Learn More > </a></p>' +
  2207. '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
  2208. alreadySubscriberText+'</div>');
  2209. //localStorage.setItem("userPlayedGames"+currentMonth+currentYear,userPlayedGames);
  2210. //localStorage.setItem("userPlayedGames",userPlayedGames);
  2211. } else {
  2212. application = new Application(false);
  2213. //localStorage.setItem("userPlayedGames"+currentMonth+currentYear,userPlayedGames);//monthly limit
  2214. //localStorage.setItem("userPlayedGames",userPlayedGames);//lifetime limit
  2215. }
  2216. }
  2217. //display to user how many free games left once page load completes.
  2218. if (window.addEventListener)
  2219. window.addEventListener('load', checkPageLoad, false);
  2220. else if (window.attachEvent)
  2221. window.attachEvent('onload', checkPageLoad);
  2222. else window.onload = checkPageLoad;
  2223. }
  2224.  
  2225. </script>
  2226. </div>
  2227. <script type="text/javascript">
  2228. function removeAdSwf() {
  2229. removeAdSwfJWPLayer();
  2230. }
  2231. function noAdsReturned() {
  2232. // enable_preroll_fallback_ads is false
  2233. removeAdSwfJWPLayer();
  2234. }
  2235. </script>
  2236.  
  2237. <div id="continue-container">
  2238. <div id="continue-link">Continue in </div>
  2239. <span id="timer_div" style="margin-left:5px;">15</span>
  2240. </div>
  2241. </div>
  2242.  
  2243.  
  2244.  
  2245. <div class = "title-instructions" id="game-instructions">Instructions</div>
  2246. <div class = "body-instructions"><p>Use the arrow keys to run and jump. Land on a side wall to rotate the world. Beat levels to unlock all-new characters with special powers. There's a whole new galaxy waiting to be explored!</p>
  2247. <p>Feel like you're stuck in a crazy hard level? Press pause and then change your character using the menu at the bottom of the screen. (For example, try using the skater in the snow levels!)</p>
  2248. </div>
  2249.  
  2250.  
  2251. </article>
  2252.  
  2253. <script type="text/javascript">
  2254. jQuery(document).ready(function(){
  2255. if(jQuery('#videoContainer').length && typeof VooxeVideo === 'undefined') {
  2256. trackEvent('Video Walkthrough', 'Walkthrough video not found', document.title);
  2257. jQuery('#videoContainer').hide();
  2258. }
  2259. })
  2260. </script> </div>
  2261.  
  2262.  
  2263. </div>
  2264. <div class="panel-pane pane-views-panes pane-game-details-pane-top-picks" >
  2265.  
  2266. <h2 class="pane-title">
  2267. Coolmath top picks </h2>
  2268.  
  2269.  
  2270. <div class="pane-content">
  2271. <div class="view view-game-details view-id-game_details view-display-id-pane_top_picks view-dom-id-d683176e9811a37f52eb4ec6d8d457e5">
  2272.  
  2273.  
  2274.  
  2275. <div class="view-content">
  2276. <div class="views-row views-row-1 views-row-odd views-row-first">
  2277.  
  2278. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2279. <div class="game-link-wrapper">
  2280. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeIsPulHGCyJWE%2FVWVJ%2BA%3D%3D&amp;b=1">
  2281. <div class="field-image">
  2282. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOizFa2MhmOm9u7zy02M0eFtpWSgIoU9zgSdB44ICi0DlmshNpdkjqO1wtiVnGsg%3D%3D&amp;b=1" width="83" height="50" alt="Clicker Heroes Game" title="Clicker Heroes game" /> </div>
  2283. <h3 class="game-title">Clicker Heroes</h3></a> </div>
  2284. <div class="game-item-description">
  2285.  
  2286. <div class="field-body">
  2287. <p>Click to defeat monsters, earn gold and level up heroes. Ascend and transcend to reach new heights of power. See how far you can go!</p>
  2288. </div>
  2289. </div>
  2290. </div>
  2291. </span> </div> </div>
  2292. <div class="views-row views-row-2 views-row-even">
  2293.  
  2294. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2295. <div class="game-link-wrapper">
  2296. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeItPelHGCyew%3D%3D&amp;b=1">
  2297. <div class="field-image">
  2298. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOizVW2MhmOjEr7S%2B22JNfHtxUAV8qW4S%2FWsli6NS33hRDtwoVM27LPQ%3D%3D&amp;b=1" width="83" height="50" alt="Checkers Game" title="Checkers game" /> </div>
  2299. <h3 class="game-title">Checkers</h3></a> </div>
  2300. <div class="game-item-description">
  2301.  
  2302. <div class="field-body">
  2303. <p>The classic board game of moving and jumping. Play vs. the computer, or against a friend.</p>
  2304. </div>
  2305. </div>
  2306. </div>
  2307. </span> </div> </div>
  2308. <div class="views-row views-row-3 views-row-odd">
  2309.  
  2310. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2311. <div class="game-link-wrapper">
  2312. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeZqfzrRQ%3D%3D&amp;b=1">
  2313. <div class="field-image">
  2314. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppzyu05MBX9xSSRB0AdL7CMsztPv2giBzjA4rIw%3D%3D&amp;b=1" width="83" height="50" alt="Run 2 game" title="Run 2 game" /> </div>
  2315. <h3 class="game-title">Run 2</h3></a> </div>
  2316. <div class="game-item-description">
  2317.  
  2318. <div class="field-body">
  2319. <p>Warning: This game requires a huge amount of concentration and memorization as you run (or skate) through the 3 dimensional courses.</p>
  2320. </div>
  2321. </div>
  2322. </div>
  2323. </span> </div> </div>
  2324. <div class="views-row views-row-4 views-row-even">
  2325.  
  2326. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2327. <div class="game-link-wrapper">
  2328. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGecs%2BCqE3btYGgoQ29f%2F13mzOeI&amp;b=1">
  2329. <div class="field-image">
  2330. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppzm0z9JXApZTTl0gWcj7Ssd36tq8ijl04khxLHjHEwpxoUjpsvzUQ3jI&amp;b=1" width="83" height="50" alt="World&#039;s Hardest Game game" title="World&#039;s Hardest Game game" /> </div>
  2331. <h3 class="game-title">World's Hardest Game</h3></a> </div>
  2332. <div class="game-item-description">
  2333.  
  2334. <div class="field-body">
  2335. <p>It really is. Don't ask us how to beat it. We can't. But we've seen it done and it's possible. You guys are on your own!</p>
  2336. </div>
  2337. </div>
  2338. </div>
  2339. </span> </div> </div>
  2340. <div class="views-row views-row-5 views-row-odd">
  2341.  
  2342. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2343. <div class="game-link-wrapper">
  2344. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeItPe1BA%3D%3D&amp;b=1">
  2345. <div class="field-image">
  2346. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JPC1rheR0zB9tdfp9mK0e2GBaz8xobXFC22Ou%2Bdp4KfU%3D&amp;b=1" width="83" height="50" alt="Chess game" title="Chess game" /> </div>
  2347. <h3 class="game-title">Chess</h3></a> </div>
  2348. <div class="game-item-description">
  2349.  
  2350. <div class="field-body">
  2351. <p>Checkmate! Get your pawns in a row and play this classic strategic board game. Play vs. the computer, a friend, or join a match against another online player.</p>
  2352. </div>
  2353. </div>
  2354. </div>
  2355. </span> </div> </div>
  2356. <div class="views-row views-row-6 views-row-even">
  2357.  
  2358. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2359. <div class="game-link-wrapper">
  2360. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeIs%2FSgEmDte2E1Vw%3D%3D&amp;b=1">
  2361. <div class="field-image">
  2362. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppy2029hWFMhTQF9qW9LpWJAr7sv9hnUhmVU%2BKHz7S20m&amp;b=1" width="83" height="50" alt="Coffee Shop game" title="Coffee Shop game" /> </div>
  2363. <h3 class="game-title">Coffee Shop</h3></a> </div>
  2364. <div class="game-item-description">
  2365.  
  2366. <div class="field-body">
  2367. <p>A great business game where you run your own coffee shop. You have to plan your budget, your recipe and how much to charge. </p>
  2368. </div>
  2369. </div>
  2370. </div>
  2371. </span> </div> </div>
  2372. <div class="views-row views-row-7 views-row-odd">
  2373.  
  2374. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2375. <div class="game-link-wrapper">
  2376. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeMsOejDijy&amp;b=1">
  2377. <div class="field-image">
  2378. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppym3yNtKXIkVSEYiA4uyDtR57JqhqSZBiUoCL3nh&amp;b=1" width="83" height="50" alt="Gluey 2 game" title="Gluey 2 game" /> </div>
  2379. <h3 class="game-title">Gluey 2</h3></a> </div>
  2380. <div class="game-item-description">
  2381.  
  2382. <div class="field-body">
  2383. <p>The sequel to the popular Gluey! Group and remove blobs of the same color to get them to disappear. You're going to have to think and plan ahead!</p>
  2384. </div>
  2385. </div>
  2386. </div>
  2387. </span> </div> </div>
  2388. <div class="views-row views-row-8 views-row-even">
  2389.  
  2390. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2391. <div class="game-link-wrapper">
  2392. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeYs%2F6vA2Spemw%3D&amp;b=1">
  2393. <div class="field-image">
  2394. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOmzJf0tdiITBjpym60NseHdRcQAE0UtywV51%2F89D5yGNWhxd9M17KIkk%3D&amp;b=1" width="83" height="50" alt="Solitaire Game" title="Solitaire game" /> </div>
  2395. <h3 class="game-title">Solitaire</h3></a> </div>
  2396. <div class="game-item-description">
  2397.  
  2398. <div class="field-body">
  2399. <p>The classic singleplayer card game. Choose your difficulty, and see if you can stack all four suits, Ace to King!</p>
  2400. </div>
  2401. </div>
  2402. </div>
  2403. </span> </div> </div>
  2404. <div class="views-row views-row-9 views-row-odd">
  2405.  
  2406. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2407. <div class="game-link-wrapper">
  2408. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeYqfapHHA%3D&amp;b=1">
  2409. <div class="field-image">
  2410. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOmyhX1Mh2ZSVn5yv20dFUHuQLAV8qW4S%2FWsli6NS33hRhmDEZKUvATA%3D%3D&amp;b=1" width="83" height="50" alt="Sudoku Game" title="Sudoku game" /> </div>
  2411. <h3 class="game-title">Sudoku</h3></a> </div>
  2412. <div class="game-item-description">
  2413.  
  2414. <div class="field-body">
  2415. <p>The highly addicting number puzzle. Three difficulty levels to choose from, unlimited boards to solve!</p>
  2416. </div>
  2417. </div>
  2418. </div>
  2419. </span> </div> </div>
  2420. <div class="views-row views-row-10 views-row-even views-row-last">
  2421.  
  2422. <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
  2423. <div class="game-link-wrapper">
  2424. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeYrPuiEnfte2Y2Tn5N4gLk&amp;b=1">
  2425. <div class="field-image">
  2426. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOmy1a38ZxZTFp5iev3NdBFJZcTkIhEdfgAM8499H10mAvtAwjLimbPHYjiGn1s9yk&amp;b=1" width="83" height="50" alt="Spider Solitaire Game" title="Spider Solitaire game" /> </div>
  2427. <h3 class="game-title">Spider Solitaire</h3></a> </div>
  2428. <div class="game-item-description">
  2429.  
  2430. <div class="field-body">
  2431. <p>An easier twist on classic Solitaire. Play with 1, 2 or 4 Suits and try to remove all of the cards from the board!</p>
  2432. </div>
  2433. </div>
  2434. </div>
  2435. </span> </div> </div>
  2436. </div>
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443. </div> </div>
  2444.  
  2445.  
  2446. </div>
  2447. </div>
  2448. </div>
  2449.  
  2450.  
  2451. </div>
  2452. <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-728x90-footer" >
  2453.  
  2454.  
  2455.  
  2456. <div class="pane-content">
  2457. <div class="ad-wrapper"><p class="adtxt-footer element-invisible"><span>Advertisement</span></p>
  2458. <div class="pane-advertising-wrapper-footer" style="text-align:center;">
  2459. <div id="div-gpt-ad-788084996771918566-5-pre" class="reset-content"></div>
  2460. <div id="div-gpt-ad-788084996771918566-5" style="margin:0 auto;text-align:center;">
  2461. <script type="text/javascript">
  2462. if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser && typeof googletag !== "undefined") {
  2463. jQuery(".adtxt-footer").removeClass("element-invisible").addClass("element-visible");
  2464. googletag.cmd.push(function() { googletag.display("div-gpt-ad-788084996771918566-5"); });
  2465. }
  2466. </script>
  2467. </div>
  2468. </div></div> </div>
  2469.  
  2470.  
  2471. </div>
  2472. </div> <!-- print column content -->
  2473. </div><!---close main column -->
  2474. <div class="main-aside">
  2475. <div class="inside"><div class="panel-pane pane-block pane-bean-right-rail-top-playlist" >
  2476.  
  2477.  
  2478.  
  2479. <div class="pane-content">
  2480. <div class="entity entity-bean bean-content-block clearfix" about="/block/right-rail-top-playlist-" typeof="">
  2481.  
  2482. <div class="content">
  2483.  
  2484. <div class="field-text-block">
  2485. <div class="game-item" style="background:none;padding-top:10px;">
  2486. <p><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4xyuHsPe0DirxJTtqCmdD%2BASs3eWdCFT2iWE7mvwXuzaWsciC&amp;b=1"><img alt="20 Most Popular Games Slideshow" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDlT%2Bnykvk%2F4F5WmaoMWEvzJjKz7mQYyzSc62UmpLb3Qjx6F31RJl&amp;b=1" /></a></p>
  2487. </div>
  2488. </div>
  2489. </div>
  2490. </div>
  2491. </div>
  2492.  
  2493.  
  2494. </div>
  2495. <div class="panel-pane pane-block pane-bean-remaining-games-placeholder" >
  2496.  
  2497.  
  2498.  
  2499. <div class="pane-content">
  2500. <div class="entity entity-bean bean-content-block clearfix" about="/block/remaining-games-placeholder" typeof="">
  2501.  
  2502. <div class="content">
  2503. </div>
  2504. </div>
  2505. </div>
  2506.  
  2507.  
  2508. </div>
  2509. <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-300x250-top" >
  2510.  
  2511.  
  2512.  
  2513. <div class="pane-content">
  2514. <div class="ad-wrapper"><p class="adtxt element-invisible"><span>Advertisement</span></p>
  2515. <div class="pane-advertising-wrapper">
  2516. <div id="div-gpt-ad-629350160446709561-4-pre" class="reset-content"></div>
  2517. <div id="div-gpt-ad-629350160446709561-4" style="height:300px !important;">
  2518. <script type="text/javascript">
  2519. if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser && typeof googletag !== "undefined") {
  2520. jQuery(".adtxt.element-invisible").removeClass("element-invisible").addClass("element-visible");
  2521. googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-4"); });
  2522. }
  2523. </script>
  2524. </div>
  2525. </div></div> </div>
  2526.  
  2527.  
  2528. </div>
  2529. <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-300x250-center" >
  2530.  
  2531.  
  2532.  
  2533. <div class="pane-content">
  2534. <div class="ad-wrapper"><p class="adtxt element-invisible"><span>Advertisement</span></p>
  2535. <div class="pane-advertising-wrapper">
  2536. <div id="div-gpt-ad-629350160446709561-2-pre" class="reset-content"></div>
  2537. <div id="div-gpt-ad-629350160446709561-2" style="height:300px !important;">
  2538. <script type="text/javascript">
  2539. if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
  2540. jQuery(".adtxt.element-invisible").removeClass("element-invisible").addClass("element-visible");
  2541. googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-2"); });
  2542. }
  2543. </script>
  2544. </div>
  2545. </div></div> </div>
  2546.  
  2547.  
  2548. </div>
  2549. <div class="panel-pane pane-block pane-bean-right-rail-strategy-games" >
  2550.  
  2551.  
  2552.  
  2553. <div class="pane-content">
  2554. <div class="entity entity-bean bean-content-block clearfix" about="/block/right_rail_strategy_games" typeof="">
  2555.  
  2556. <div class="content">
  2557. <div class="aside-link-title">
  2558. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeIs%2F%2B2G2C0bSQ9RmdJphzo3v4%3D&amp;b=1">All Games A-Z</a> </div>
  2559. </div>
  2560. </div>
  2561. </div>
  2562.  
  2563.  
  2564. </div>
  2565. </div>
  2566. <div class="promo clearfix">
  2567. <div class="inside"><div class="panel-pane pane-views-panes pane-queues-view-rightrail-games-promo" >
  2568.  
  2569. <h2 class="pane-title"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeKtf%2BvGWLtb2g3Qnk%3D&amp;b=1">Aiming Games</a></h2>
  2570.  
  2571.  
  2572. <div class="view view-queues-view view-id-queues_view view-display-id-rightrail_games_promo view-dom-id-871d107323afca08eb029da9c9699d4e">
  2573.  
  2574.  
  2575.  
  2576. <div class="view-content">
  2577. <div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
  2578. <article class="node-10481 node node-game view-mode-promo" about="/0-wonderputt" typeof="sioc:Item foaf:Document">
  2579. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGecs%2FyiEnewfX0u&amp;b=1">
  2580.  
  2581. <div class="field-image">
  2582. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOnzJd38ZxODdy%2FmO83NNWXNdUSEBqTNXoWJAr7sv9hnUhmRsGdlXcIk0K&amp;b=1" width="83" height="50" alt="Wonderputt Game" title="Wonderputt game" /> </div>
  2583. <span class="game-title">Wonderputt</span>
  2584. </a>
  2585. </article>
  2586. <article class="node-11566 node node-game view-mode-promo" about="/0-raft-wars" typeof="sioc:Item foaf:Document">
  2587. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeZvfSyWnKheno%3D&amp;b=1">
  2588.  
  2589. <div class="field-image">
  2590. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOmjxVz450KTB1pym60NseHdRcQAE0UtywV51%2F89D5yGNWrA00GjzhNF8%3D&amp;b=1" width="83" height="50" alt="Raft Wars Game" title="Raft Wars game" /> </div>
  2591. <span class="game-title">Raft Wars</span>
  2592. </a>
  2593. </article>
  2594. <article class="node-2311 node node-game view-mode-promo" about="/0-blosics-2" typeof="sioc:Item foaf:Document">
  2595. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeJsP21HmazJTs%3D&amp;b=1">
  2596.  
  2597. <div class="field-image">
  2598. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOjzxe3o5vJyVppyy30s1aEsgWHQEjVd2wV51%2F89D5yGNWsT4fM2v5N3U%3D&amp;b=1" width="83" height="50" alt="Blosics 2 game" title="Blosics 2 game" /> </div>
  2599. <span class="game-title">Blosics 2</span>
  2600. </a>
  2601. </article>
  2602. <article class="node-11106 node node-game view-mode-promo" about="/0-sticky-ninja-missions" typeof="sioc:Item foaf:Document">
  2603. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeYqPulHHztZmA0TWsB5hny3uOCE0s%3D&amp;b=1">
  2604.  
  2605. <div class="field-image">
  2606. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOmyla2Mh6ZSxv5CS6kNNaAshSQEE3EdzuCsU769D1gn5isx9zdTHBDEApwD36msLGSk3rmlI%3D&amp;b=1" width="83" height="50" alt="Sticky Ninja Missions Game" title="Sticky Ninja Missions game" /> </div>
  2607. <span class="game-title">Sticky Ninja Missions</span>
  2608. </a>
  2609. </article>
  2610. <article class="node-11628 node node-game view-mode-promo" about="/0-arcade-golf-neon" typeof="sioc:Item foaf:Document">
  2611. <a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeKrvGnE2Dtb2Y2QSdC7h%2Fv&amp;b=1">
  2612.  
  2613. <div class="field-image">
  2614. <img typeof="foaf:Image" src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCDkzulykv1OUavXaRqcyZ%2Fh9xLzOnXdGsUcOFCz1JOCRjk8gtzQlvebpsn6YOiS9Q2sdmZSVp5ij209tcH5ZcTkIhEdfgAM8499H10mAvtAwjLimbPEAg0Xbx6%2Buj&amp;b=1" width="83" height="50" alt="Arcade Golf Neon Game" title="Arcade Golf Neon game" /> </div>
  2615. <span class="game-title">Arcade Golf Neon</span>
  2616. </a>
  2617. </article>
  2618. </div>
  2619. </div>
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626. </div>
  2627.  
  2628. </div>
  2629. <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-160x600-bottom" >
  2630.  
  2631.  
  2632.  
  2633. <div class="pane-content">
  2634. <div class="ad-wrapper"><p class="adtxt element-invisible"><span>Advertisement</span></p>
  2635. <div class="pane-advertising-wrapper">
  2636. <div id="div-gpt-ad-629350160446709561-3-pre" class="reset-content"></div>
  2637. <div id="div-gpt-ad-629350160446709561-3">
  2638. <script type="text/javascript">
  2639. if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
  2640. jQuery(".adtxt.element-invisible").removeClass("element-invisible").addClass("element-visible");
  2641. googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-3"); });
  2642. }
  2643. </script>
  2644. </div>
  2645. </div></div> </div>
  2646.  
  2647.  
  2648. </div>
  2649. </div>
  2650. </div><!-- close promo -->
  2651. </div> <!-- close aside -->
  2652. </div><!--close global-content-wrapper-->
  2653. </div><!-- close global wrapper -->
  2654. <footer class="main-footer">
  2655. <div class="item-list"><ol><li class="first"><div class="panel-pane pane-block pane-bean-footer-pivacy-policy" >
  2656.  
  2657.  
  2658.  
  2659. <div class="pane-content">
  2660. <div class="entity entity-bean bean-content-block" about="/block/footer_pivacy_policy" typeof="">
  2661.  
  2662. <div class="content">
  2663. <div class="link-with-body-title"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40DiCqvOlDnU%3D&amp;b=1">Coolmath games privacy policy</a></div>
  2664.  
  2665. <div class="field-text-block">
  2666. <p>If you believe that your own copyrighted content is on our Site without your permission, please follow this <a href="/process.php?d=joV9uEGXElVTk8ORVljewcdJJ2ISg2x6uoi%2BziyZtfyhEmilZn13SWVY4hPkgPqfElvynzkung%3D%3D&amp;b=1">Copyright Infringement Notice procedure</a>.</p>
  2667. </div>
  2668. </div>
  2669. </div>
  2670. </div>
  2671.  
  2672.  
  2673. </div>
  2674. </li>
  2675. <li><div class="panel-pane pane-menu-tree pane-menu-desktop-footer-menu" >
  2676.  
  2677.  
  2678.  
  2679. <div class="pane-content">
  2680. <div class="menu-block-wrapper menu-block-ctools-menu-desktop-footer-menu-1 menu-name-menu-desktop-footer-menu parent-mlid-0 menu-level-1">
  2681. <ul class="footer-menu"><li class="menu__item is-expanded first expanded menu-mlid-3246 footer-menu-column-0"><span class="menu__link nolink">COOLMATH-GAMES.COM</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3351"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4wSiEqebrAnY%3D&amp;b=1" class="menu__link">About Us</a></li>
  2682. <li class="menu__item is-leaf leaf menu-mlid-3476"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj41C%2BZseHrAnal&amp;b=1" class="menu__link">Terms of Use</a></li>
  2683. <li class="menu__item is-leaf leaf menu-mlid-3346"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4wSiEqeapAnehbHo%3D&amp;b=1" class="menu__link">About Our Ads</a></li>
  2684. <li class="menu__item is-leaf leaf menu-mlid-3436"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4wyWbpeCvEG20eyQ8RmNepgXyyA%3D%3D&amp;b=1" class="menu__link">Copyrights &amp; Fair Use</a></li>
  2685. <li class="menu__item is-leaf leaf menu-mlid-9906"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40z%2BJr%2FG0HnW0YWY0CmxN%2Bg%3D%3D&amp;b=1" class="menu__link">Subscription FAQ</a></li>
  2686. <li class="menu__item is-leaf last leaf menu-mlid-9911"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4wyWFqPOlAyi1eyQ7RWVZ%2F13y2OieHkr%2Bizg1lP8B&amp;b=1" class="menu__link">Subscription Support</a></li>
  2687. </ul></li>
  2688. <li class="menu__item is-expanded expanded menu-mlid-3231 footer-menu-column-1"><span class="menu__link nolink">BROWSE GAMES</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3471"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeYqOCnA2CncSQ9RmdJ%2BA%3D%3D&amp;b=1" class="menu__link">Strategy Games</a></li>
  2689. <li class="menu__item is-leaf leaf menu-mlid-3416"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeYt%2FuqGyinaWQ%2FVA%3D%3D&amp;b=1" class="menu__link">Skill Games</a></li>
  2690. <li class="menu__item is-leaf leaf menu-mlid-3496"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeFqf%2BkEnftb2g3Qnk%3D&amp;b=1" class="menu__link">Number Games</a></li>
  2691. <li class="menu__item is-leaf leaf menu-mlid-3456"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeHs%2FWvFCinaWQ%2FVA%3D%3D&amp;b=1" class="menu__link">Logic Games</a></li>
  2692. <li class="menu__item is-leaf leaf menu-mlid-3461"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeGuf%2BpBXztb2g3Qnk%3D&amp;b=1" class="menu__link">Memory Games</a></li>
  2693. <li class="menu__item is-leaf leaf menu-mlid-3391"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeIsPO1BGyjJW47Sm9f&amp;b=1" class="menu__link">Classic Games</a></li>
  2694. <li class="menu__item is-leaf leaf menu-mlid-3431"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kGeBtfW1FnLteHwgXWZJ%2BA%3D%3D&amp;b=1" title="Jigsaw Puzzles" class="menu__link">Jigsaw Puzzles</a></li>
  2695. <li class="menu__item is-leaf leaf menu-mlid-5846"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeYv%2FujGWalJW47Sm9f&amp;b=1" class="menu__link">Science Games</a></li>
  2696. <li class="menu__item is-leaf leaf menu-mlid-5841"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWeMuf2hBWSwYHB3QGtB7gM%3D&amp;b=1" class="menu__link">Geography Games</a></li>
  2697. <li class="menu__item is-leaf last leaf menu-mlid-3426"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj4kWectfyyEnftYGY2Tm5N8l3mzOeIDg%3D%3D&amp;b=1" class="menu__link">Holiday Games</a></li>
  2698. </ul></li>
  2699. <li class="menu__item is-expanded expanded menu-mlid-3266 footer-menu-column-2"><span class="menu__link nolink">COOLMATH.COM</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3406"><a href="/process.php?d=joV9rFmPUFtdiMfSVEPbwMdJOjQQmG5zosKywjiK&amp;b=1" class="menu__link">Pre-Algebra Lessons</a></li>
  2700. <li class="menu__item is-leaf leaf menu-mlid-3396"><a href="/process.php?d=joV9rFmPUFtdiMfSVEPbwMdJOjQBhmx3rNe2&amp;b=1" class="menu__link">Algebra Lessons</a></li>
  2701. <li class="menu__item is-leaf leaf menu-mlid-3386"><a href="/process.php?d=joV9rFmPUFtdiMfSVEPbwMdJOjQQmG5xr8m01Saer7%2B0EnOpbX53RGtA6AXt2PnAFFbjiSM%3D&amp;b=1" class="menu__link">Pre-Calculus Lessons</a></li>
  2702. <li class="menu__item is-leaf leaf menu-mlid-3411"><a href="/process.php?d=joV9uEGXElVTk8ORVljewdZDMX4Sj2Vxq4q4ziaCsvfrGmS0YCQ%2BTmlY4h%2FvzPiU&amp;b=1" class="menu__link">Math Dictionary</a></li>
  2703. <li class="menu__item is-leaf leaf menu-mlid-3401"><a href="/process.php?d=joV9uEGXElVTk8ORVljewcVKMH4CmGo9%2Fp36zCOFueE%3D&amp;b=1" class="menu__link">Lines</a></li>
  2704. <li class="menu__item is-leaf leaf menu-mlid-3356"><a href="/process.php?d=joV9uEGXElVTk8ORVljewdRUMnoMjW5wvMT4kHrGuvOlA2qyeyQqVWNB7gM%3D&amp;b=1" class="menu__link">Factors and Primes</a></li>
  2705. <li class="menu__item is-leaf leaf menu-mlid-3381"><a href="/process.php?d=joV9uEGXElVTk8ORVljewdRUMnoMjW5wvMT4kHjGuPelHmihZHo%3D&amp;b=1" class="menu__link">Decimals</a></li>
  2706. <li class="menu__item is-leaf last leaf menu-mlid-5851"><a href="/process.php?d=joV9uEGXElVTk8ORVljewdRUMnoMjW5wvMT4kHzGrOCpB2CyfGA%2FVA%3D%3D&amp;b=1" class="menu__link">Properties</a></li>
  2707. </ul></li>
  2708. <li class="menu__item is-expanded expanded menu-mlid-3326 footer-menu-column-3"><span class="menu__link nolink">QUIZLIFE</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-10080"><a href="/process.php?d=x5B99FmPCRZDksLFWV7Vi4pFOHZP&amp;b=1" class="menu__link">QuizLife Home</a></li>
  2709. <li class="menu__item is-leaf leaf menu-mlid-10004"><a href="/process.php?d=x5B99FmPCRZDksLFWV7Vi4pFOHZPiWpmq8K40iOOr722G2SjbXo%3D&amp;b=1" class="menu__link">Geography Quizzes</a></li>
  2710. <li class="menu__item is-leaf leaf menu-mlid-3466"><a href="/process.php?d=x5B99FmPCRZDksLFWV7Vi4pFOHZPiWpmq8K40iOOr72uHna0Z3sjCnpD5xn1xOme&amp;b=1" class="menu__link">History Quizzes</a></li>
  2711. <li class="menu__item is-leaf leaf menu-mlid-3441"><a href="/process.php?d=x5B99FmPCRZDksLFWV7Vi4pFOHZPiWpmq8K40iOOr721FGylZmo%2FCmRN%2FwXzyA%3D%3D&amp;b=1" class="menu__link">Science &amp; Nature Quizzes</a></li>
  2712. <li class="menu__item is-leaf leaf menu-mlid-3421"><a href="/process.php?d=x5B99FmPCRZDksLFWV7Vi4pFOHZPiWpmq8K40iOOr721B2qyfHo%3D&amp;b=1" class="menu__link">Sports Quizzes</a></li>
  2713. <li class="menu__item is-leaf last leaf menu-mlid-3501"><a href="/process.php?d=x5B99FmPCRZDksLFWV7Vi4pFOHZPiWpmq8K40iOOr72nBXGzJWw0U29e%2FxHow%2BeIE0w%3D&amp;b=1" class="menu__link">Entertainment Quizzes</a></li>
  2714. </ul></li>
  2715. <li class="menu__item is-expanded last expanded menu-mlid-10002 footer-menu-column-4"><span class="menu__link nolink">MORE FROM COOLMATH</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3446"><a href="/process.php?d=joV9rFmPUFtdiMfSVEPb2s9PM2hOiWR%2F4Q%3D%3D&amp;b=1" class="menu__link">Coolmath4Kids</a></li>
  2716. <li class="menu__item is-leaf leaf menu-mlid-10001"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHhpBNPn8TxGh9o4q6wSSCrOeqFnGpfmwpCH5J5V3n3%2BuAGEs%3D&amp;b=1" class="menu__link">Ten Frame Manipulative</a></li>
  2717. <li class="menu__item is-leaf leaf menu-mlid-10012"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHhpBNPn8TxGh9o4q6wSSCrOeqFnGpfmwpCGhN%2BBWs2e%2BDUFr7lC83iA%3D%3D&amp;b=1" class="menu__link">Base Ten Blocks Manipulative</a></li>
  2718. <li class="menu__item is-leaf leaf menu-mlid-10079"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHhpBNPn8TxGh9o4q6wSSCrOeqFnGpfmwpCGRZ5hLk36eBFFby&amp;b=1" class="menu__link">Number Line Manipulative</a></li>
  2719. <li class="menu__item is-leaf leaf menu-mlid-10091"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHhpBNPn8TxGh9o4q6wSSCrOeqFnGpfmwpCHpN%2FwTk3%2BTAH1T4mCcv&amp;b=1" class="menu__link">Pattern Blocks Manipulative</a></li>
  2720. <li class="menu__item is-leaf leaf menu-mlid-10003"><a href="/process.php?d=x5B99FmPCRZRiMTTWFbHhpBNPn8TxGh9o4qm1SORpve1&amp;b=1" class="menu__link">Math Quizzes</a></li>
  2721. <li class="menu__item is-leaf leaf menu-mlid-5856"><a href="/process.php?d=joV9rFmPUFtdiMfSVEPb2tBDNngIj3lh4Ma4zWU%3D&amp;b=1" class="menu__link">Coolmath4Teachers</a></li>
  2722. <li class="menu__item is-leaf last leaf menu-mlid-5861"><a href="/process.php?d=joV9rFmPUFtdiMfSVEPb2tRHJX4Onng8rcq6jw%3D%3D&amp;b=1" class="menu__link">Coolmath4Parents</a></li>
  2723. </ul></li>
  2724. </ul></div>
  2725. </div>
  2726.  
  2727.  
  2728. </div>
  2729. </li>
  2730. <li class="last"><div class="panel-pane pane-block pane-bean-footer-copyright copyright-wrapper" >
  2731.  
  2732.  
  2733.  
  2734. <div class="pane-content">
  2735. <div class="entity entity-bean bean-content-block" about="/block/footer_copyright" typeof="">
  2736.  
  2737. <div class="content">
  2738.  
  2739. <div class="field-text-block">
  2740. <p>© 2018 Coolmath.com LLC. All Rights Reserved. <a href="/process.php?d=joV9rFmPUFtdidjLR0LQms1QMnYFjmJz4Ma4zQ%3D%3D&amp;b=1">Constructive Media, LLC</a></p>
  2741. </div>
  2742. </div>
  2743. </div>
  2744. </div>
  2745.  
  2746.  
  2747. </div>
  2748. </li>
  2749. </ol></div> </div>
  2750. <!-- END OF REGULAR LAYOUT -->
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756. <!-- FOR /SIGNUP AND /SUBSCRIPTION FORMS -->
  2757. <script src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D5h%2Fl2OaIDhf0jj8olPxdq3aSs8qR%2FyVdIza9VIyoTdKMDzsIK2pkhbg4wQ8scacyhvhVkTRD&amp;b=1"></script>
  2758. <script src="/process.php?d=x5B99FmPCRZRiMTTWFbHholBNnYFmSVxocj40yOfueHpFGihfG47Sm8D7RntyPnCF0u4kT8DofQ9im%2Bslf6y9CVaGjW8d4%2BFb5G4UWYsDRV8jNwM%2FB1OdoJoo5ly2wRm2I1pOw%3D%3D&amp;b=1"></script>
  2759. <script>
  2760. var $elements_with_events = jQuery('.js-track');
  2761. if($elements_with_events.length > 0) {
  2762. $elements_with_events.each(function(){
  2763. var action = typeof jQuery(this).data('action') !== 'undefined' ? jQuery(this).data('action') : 'click';
  2764. jQuery(this).on(action, function(){
  2765. var category, label;
  2766. category = typeof jQuery(this).data('category') !== 'undefined' ? jQuery(this).data('category') : ( jQuery(this).text() || 'Unassigned' );
  2767. label = typeof jQuery(this).data('label') !== 'undefined' ? jQuery(this).data('label') : ( jQuery(this).attr('class') || 'Unassigned' );
  2768. trackEvent(category,'click',label);
  2769. });
  2770. });
  2771. }
  2772. </script>
  2773. </body>
  2774. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement