");return e>=0?{content:t.substr(4,e),length:e+3}:void 0},endTag:function(){var e=t.match(a);return e?{tagName:e[1],length:e[0].length}:void 0},atomicTag:function(){var e=T.startTag();if(e){var n=t.slice(e.length);if(n.match(new RegExp("\\s*"+e.tagName+"\\s*>","i"))){var a=n.match(new RegExp("([\\s\\S]*?)\\s*"+e.tagName+"\\s*>","i"));if(a)return{tagName:e.tagName,attrs:e.attrs,content:a[1],length:a[0].length+e.length}}}},startTag:function(){var e=t.indexOf(">");if(-1===e)return null;var a=t.match(n);if(a){var i={},o={},u=a[2];return a[2].replace(r,function(t,e){if(arguments[2]||arguments[3]||arguments[4]||arguments[5])if(arguments[5])i[arguments[5]]="",o[e]=!0;else{var n=arguments[2]||arguments[3]||arguments[4]||s.test(e)&&e||"";i[e]=g(n)}else i[e]=null;u=u.replace(t,"")}),{tagName:a[1],attrs:i,booleanAttrs:o,rest:u,unary:!!a[3],length:a[0].length}}},chars:function(){var e=t.indexOf("<");return{length:e>=0?e:t.length}}},v=function(){for(var e in p)if(p[e].test(t)){i&&console.log("suspected "+e);var n=T[e]();return n?(i&&console.log("parsed "+e,n),n.type=n.type||e,n.text=t.substr(0,n.length),t=t.slice(n.length),n):null}},h=function(t){for(var e;e=v();)if(t[e.type]&&t[e.type](e)===!1)return},d=function(){var e=t;return t="",e},N=function(){return t};return o.fix&&!function(){var e=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,n=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i,a=[];a.last=function(){return this[this.length-1]},a.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},a.containsTagName=function(t){for(var e,n=0;e=this[n];n++)if(e.tagName===t)return!0;return!1};var r=function(t){return t&&"startTag"===t.type&&(t.unary=e.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t},s=v,i=function(){var e=t,n=r(s());return t=e,n},u=function(){var t=a.pop();m(""+t.tagName+">")},c={startTag:function(t){var e=t.tagName;"TR"===e.toUpperCase()&&a.lastTagNameEq("TABLE")?(m(""),g()):o.fix_selfClose&&n.test(e)&&a.containsTagName(e)?a.lastTagNameEq(e)?u():(m(""+t.tagName+">"),g()):t.unary||a.push(t)},endTag:function(t){var e=a.last();e?o.fix_tagSoup&&!a.lastTagNameEq(t.tagName)?u():a.pop():o.fix_tagSoup&&f()}},f=function(){s(),g()},g=function(){var t=i();t&&c[t.type]&&c[t.type](t)};v=function(){return g(),r(s())}}(),{append:l,readToken:v,readTokens:h,clear:d,rest:N,stack:c}}var e=function(){var t,e={},n=this.document.createElement("div");return t="
",n.innerHTML=t,e.tagSoup=n.innerHTML!==t,n.innerHTML="
",e.selfClose=2===n.childNodes.length,e}(),n=/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,a=/^<\/([\-A-Za-z0-9_]+)[^>]*>/,r=/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,s=/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i,i=!1;t.supports=e,t.tokenToString=function(t){var e={comment:function(t){return"");return b>=0?{content:a.substr(4,b),length:b+3}:void 0},endTag:function(){var b=a.match(d);return b?{tagName:b[1],length:b[0].length}:void 0},atomicTag:function(){var b=p.startTag();if(b){var c=a.slice(b.length);if(c.match(new RegExp("\\s*"+b.tagName+"\\s*>","i"))){var d=c.match(new RegExp("([\\s\\S]*?)\\s*"+b.tagName+"\\s*>","i"));if(d)return{tagName:b.tagName,attrs:b.attrs,content:d[1],length:d[0].length+b.length}}}},startTag:function(){var b=a.indexOf(">");if(-1===b)return null;var d=a.match(c);if(d){var g={};return d[2].replace(e,function(a,b){var c=arguments[2]||arguments[3]||arguments[4]||f.test(b)&&b||null;g[b]=l(c)}),{tagName:d[1],attrs:g,unary:!!d[3],length:d[0].length}}},chars:function(){var b=a.indexOf("<");return{length:b>=0?b:a.length}}},q=function(){for(var b in o)if(o[b].test(a)){g&&console.log("suspected "+b);var c=p[b]();return c?(g&&console.log("parsed "+b,c),c.type=c.type||b,c.text=a.substr(0,c.length),a=a.slice(c.length),c):null}},r=function(a){for(var b;b=q();)if(a[b.type]&&a[b.type](b)===!1)return},s=function(){var b=a;return a="",b},t=function(){return a};return h.fix&&!function(){var b=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,c=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i,d=[];d.last=function(){return this[this.length-1]},d.lastTagNameEq=function(a){var b=this.last();return b&&b.tagName&&b.tagName.toUpperCase()===a.toUpperCase()},d.containsTagName=function(a){for(var b,c=0;b=this[c];c++)if(b.tagName===a)return!0;return!1};var e=function(a){return a&&"startTag"===a.type&&(a.unary=b.test(a.tagName)||a.unary),a},f=q,g=function(){var b=a,c=e(f());return a=b,c},i=function(){var a=d.pop();n(""+a.tagName+">")},j={startTag:function(a){var b=a.tagName;"TR"===b.toUpperCase()&&d.lastTagNameEq("TABLE")?(n(""),l()):h.fix_selfClose&&c.test(b)&&d.containsTagName(b)?d.lastTagNameEq(b)?i():(n(""+a.tagName+">"),l()):a.unary||d.push(a)},endTag:function(a){var b=d.last();b?h.fix_tagSoup&&!d.lastTagNameEq(a.tagName)?i():d.pop():h.fix_tagSoup&&k()}},k=function(){f(),l()},l=function(){var a=g();a&&j[a.type]&&j[a.type](a)};q=function(){return l(),e(f())}}(),{append:m,readToken:q,readTokens:r,clear:s,rest:t,stack:j}}var b=function(){var a,b={},c=this.document.createElement("div");return a="
",c.innerHTML=a,b.tagSoup=c.innerHTML!==a,c.innerHTML="
",b.selfClose=2===c.childNodes.length,b}(),c=/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,d=/^<\/([\-A-Za-z0-9_]+)[^>]*>/,e=/([\-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,f=/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i,g=!1;a.supports=b,a.tokenToString=function(a){var b={comment:function(a){return"<--"+a.content+"-->"},endTag:function(a){return""+a.tagName+">"},atomicTag:function(a){return console.log(a),b.startTag(a)+a.content+b.endTag(a)},startTag:function(a){var b="<"+a.tagName;for(var c in a.attrs){var d=a.attrs[c];b+=" "+c+'="'+(d?d.replace(/(^|[^\\])"/g,'$1\\"'):"")+'"'}return b+(a.unary?"/>":">")},chars:function(a){return a.text}};return b[a.type](a)},a.escapeAttributes=function(a){var b={};for(var c in a){var d=a[c];b[c]=d&&d.replace(/(^|[^\\])"/g,'$1\\"')}return b};for(var h in b)a.browserHasFlaw=a.browserHasFlaw||!b[h]&&h;this.htmlParser=a}(),function(){function a(){}function b(a){return a!==m&&null!==a}function c(a){return"function"==typeof a}function d(a,b,c){var d,e=a&&a.length||0;for(d=0;e>d;d++)b.call(c,a[d],d)}function e(a,b,c){var d;for(d in a)a.hasOwnProperty(d)&&b.call(c,d,a[d])}function f(a,b){return e(b,function(b,c){a[b]=c}),a}function g(a,c){return a=a||{},e(c,function(c,d){b(a[c])||(a[c]=d)}),a}function h(a){try{return o.call(a)}catch(b){var c=[];return d(a,function(a){c.push(a)}),c}}function i(a){return a&&"tagName"in a?!!~a.tagName.toLowerCase().indexOf("script"):!1}function j(a){return a&&"tagName"in a?!!~a.tagName.toLowerCase().indexOf("style"):!1}var k={afterAsync:a,afterDequeue:a,afterStreamStart:a,afterWrite:a,beforeEnqueue:a,beforeWrite:function(a){return a},done:a,error:function(a){throw a},releaseAsync:!1},l=this,m=void 0;if(!l.postscribe){var n=!1,o=Array.prototype.slice,p=function(a){return a[a.length-1]},q=function(){function a(a,c,d){var e=k+c;if(2===arguments.length){var f=a.getAttribute(e);return b(f)?String(f):f}b(d)&&""!==d?a.setAttribute(e,d):a.removeAttribute(e)}function g(b,c){var d=b.ownerDocument;f(this,{root:b,options:c,win:d.defaultView||d.parentWindow,doc:d,parser:htmlParser("",{autoFix:!0}),actuals:[b],proxyHistory:"",proxyRoot:d.createElement(b.nodeName),scriptStack:[],writeQueue:[]}),a(this.proxyRoot,"proxyof",0)}var k="data-ps-";return g.prototype.write=function(){[].push.apply(this.writeQueue,arguments);for(var a;!this.deferredRemote&&this.writeQueue.length;)a=this.writeQueue.shift(),c(a)?this.callFunction(a):this.writeImpl(a)},g.prototype.callFunction=function(a){var b={type:"function",value:a.name||a.toString()};this.onScriptStart(b),a.call(this.win,this.doc),this.onScriptDone(b)},g.prototype.writeImpl=function(a){this.parser.append(a);for(var b,c,d,e=[];(b=this.parser.readToken())&&!(c=i(b))&&!(d=j(b));)e.push(b);this.writeStaticTokens(e),c&&this.handleScriptToken(b),d&&this.handleStyleToken(b)},g.prototype.writeStaticTokens=function(a){var b=this.buildChunk(a);if(b.actual)return b.html=this.proxyHistory+b.actual,this.proxyHistory+=b.proxy,this.proxyRoot.innerHTML=b.html,n&&(b.proxyInnerHTML=this.proxyRoot.innerHTML),this.walkChunk(),n&&(b.actualInnerHTML=this.root.innerHTML),b},g.prototype.buildChunk=function(a){var b=this.actuals.length,c=[],e=[],f=[];return d(a,function(a){if(c.push(a.text),a.attrs){if(!/^noscript$/i.test(a.tagName)){var d=b++;e.push(a.text.replace(/(\/?>)/," "+k+"id="+d+" $1")),"ps-script"!==a.attrs.id&&"ps-style"!==a.attrs.id&&f.push("atomicTag"===a.type?"":"<"+a.tagName+" "+k+"proxyof="+d+(a.unary?" />":">"))}}else e.push(a.text),f.push("endTag"===a.type?a.text:"")}),{tokens:a,raw:c.join(""),actual:e.join(""),proxy:f.join("")}},g.prototype.walkChunk=function(){for(var c,d=[this.proxyRoot];b(c=d.shift());){var e=1===c.nodeType,f=e&&a(c,"proxyof");if(!f){e&&(this.actuals[a(c,"id")]=c,a(c,"id",null));var g=c.parentNode&&a(c.parentNode,"proxyof");g&&this.actuals[g].appendChild(c)}d.unshift.apply(d,h(c.childNodes))}},g.prototype.handleScriptToken=function(a){var b=this.parser.clear();b&&this.writeQueue.unshift(b),a.src=a.attrs.src||a.attrs.SRC,a.src&&this.scriptStack.length?this.deferredRemote=a:this.onScriptStart(a);var c=this;this.writeScriptToken(a,function(){c.onScriptDone(a)})},g.prototype.handleStyleToken=function(a){var b=this.parser.clear();b&&this.writeQueue.unshift(b),a.type=a.attrs.type||a.attrs.TYPE||"text/css",this.writeStyleToken(a),b&&this.write()},g.prototype.writeStyleToken=function(a){var b=this.buildStyle(a);this.insertStyle(b),a.content&&(b.styleSheet&&!b.sheet?b.styleSheet.cssText=a.content:b.appendChild(this.doc.createTextNode(a.content)))},g.prototype.buildStyle=function(a){var b=this.doc.createElement(a.tagName);return b.setAttribute("type",a.type),e(a.attrs,function(a,c){b.setAttribute(a,c)}),b},g.prototype.insertStyle=function(a){this.writeImpl('');var b=this.doc.getElementById("ps-style");b.parentNode.replaceChild(a,b)},g.prototype.onScriptStart=function(a){a.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(a)},g.prototype.onScriptDone=function(a){return a!==this.scriptStack[0]?void this.options.error({message:"Bad script nesting or script finished twice"}):(this.scriptStack.shift(),this.write.apply(this,a.outerWrites),void(!this.scriptStack.length&&this.deferredRemote&&(this.onScriptStart(this.deferredRemote),this.deferredRemote=null)))},g.prototype.writeScriptToken=function(a,b){var c=this.buildScript(a),d=this.shouldRelease(c),e=this.options.afterAsync;a.src&&(c.src=a.src,this.scriptLoadHandler(c,d?e:function(){b(),e()}));try{this.insertScript(c),(!a.src||d)&&b()}catch(f){this.options.error(f),b()}},g.prototype.buildScript=function(a){var b=this.doc.createElement(a.tagName);return e(a.attrs,function(a,c){b.setAttribute(a,c)}),a.content&&(b.text=a.content),b},g.prototype.insertScript=function(a){this.writeImpl('');var b=this.doc.getElementById("ps-script");b.parentNode.replaceChild(a,b)},g.prototype.scriptLoadHandler=function(a,b){function c(){a=a.onload=a.onreadystatechange=a.onerror=null}function d(){c(),b()}function e(a){c(),g(a),b()}var g=this.options.error;f(a,{onload:function(){d()},onreadystatechange:function(){/^(loaded|complete)$/.test(a.readyState)&&d()},onerror:function(){e({message:"remote script failed "+a.src})}})},g.prototype.shouldRelease=function(a){var b=/^script$/i.test(a.nodeName);return!b||!!(this.options.releaseAsync&&a.src&&a.hasAttribute("async"))},g}();l.postscribe=function(){function b(){var a,b=j.shift();b&&(a=p(b),a.afterDequeue(),b.stream=d.apply(null,b),a.afterStreamStart())}function d(c,d,g){function j(a){a=g.beforeWrite(a),m.write(a),g.afterWrite(a)}m=new q(c,g),m.id=i++,m.name=g.name||m.id,e.streams[m.name]=m;var k=c.ownerDocument,l={close:k.close,open:k.open,write:k.write,writeln:k.writeln};f(k,{close:a,open:a,write:function(){return j(h(arguments).join(""))},writeln:function(){return j(h(arguments).join("")+"\n")}});var n=m.win.onerror||a;return m.win.onerror=function(a,b,c){g.error({msg:a+" - "+b+":"+c}),n.apply(m.win,arguments)},m.write(d,function(){f(k,l),m.win.onerror=n,g.done(),m=null,b()}),m}function e(d,e,f){c(f)&&(f={done:f}),f=g(f,k),d=/^#/.test(d)?l.document.getElementById(d.substr(1)):d.jquery?d[0]:d;var h=[d,e,f];return d.postscribe={cancel:function(){h.stream?h.stream.abort():h[1]=a}},f.beforeEnqueue(h),j.push(h),m||b(),d.postscribe}var i=0,j=[],m=null;return f(e,{streams:{},queue:j,WriteStream:q})}()}}();var ad_code='Reklama';var ad_code2='Reklama';var ad_code3='Reklama';var quizData={"title":"Kt\u00f3ra ewolucja Eevee odzwierciedla Tw\u00f3j charakter?","description":"Sorry, za te b\u0142\u0119dy na miniaturce, ale program nie posiada znak\u00f3w typu \u00f3 lub \u017c ~Dashie","type":"person","questions":[{"text":"Je\u015bli mia\u0142by\u015b by\u0107 pokemonem jakiego \u017cywio\u0142u by\u0142by\u015b?","type":"images","id":"93275","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_f04e42c1fa67.jpg","result_text":"","result_image":"","answers":[{"id":"388301","text":"ciemno\u015bci ","correct":"0","result":"96746,96746","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_474130ad491e.jpg"},{"id":"388302","text":"psychiki","correct":"0","result":"96747,96747","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_db7125a6b536.jpg"},{"id":"388303","text":"elektyczno\u015bci","correct":"0","result":"96747,96747","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_eb996c1fc78b.jpg"},{"id":"388304","text":"nie wiem, chc\u0119 by\u0107 zwyk\u0142ym, szarym sob\u0105","correct":"0","result":"96750,96750","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_e1c5e1a29265.jpg"},{"id":"388305","text":"ognia","correct":"0","result":"96749,96749","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_d79f755fcf6e.jpg"},{"id":"388306","text":"lodu\/wody","correct":"0","result":"96751,96751,96752,96752","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_af39d90a4748.jpg"},{"id":"388307","text":"natury ","correct":"0","result":"96754,96754","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_74fd2482e0e4.jpg"},{"id":"388308","text":"sam nie wiem, chc\u0119 by\u0107 legend\u0105! ","correct":"0","result":"96753,96753","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_2d8fe42e182d2.jpg"}]},{"text":"Wierzysz w mi\u0142o\u015b\u0107?","type":"images","id":"93276","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_73c749a431ee.jpg","result_text":"","result_image":"","answers":[{"id":"388309","text":"tak, mam ju\u017c drug\u0105 po\u0142\u00f3wk\u0119 ","correct":"0","result":"96748,96748,96749,96753,96753,96754","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_0a743193c5c5.jpg"},{"id":"388310","text":"tak, ale chyba mnie nikt nie kocha","correct":"0","result":"96749,96749,96751,96751,96752,96752,96754","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_7c6b32d49052.jpg"},{"id":"388311","text":"nie, ale fajnie by by\u0142o mie\u0107 drug\u0105 po\u0142\u00f3wk\u0119 obok ","correct":"0","result":"96746,96746,96747,96747","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_516a8971b79d.jpg"}]},{"text":"Ilu masz przyjaci\u00f3\u0142?","type":"text","id":"93277","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_2d8ffca82b14.jpg","result_text":"","result_image":"","answers":[{"id":"388312","text":"Zaledwie kilku, jestem dosy\u0107 nie\u015bmia\u0142y","correct":"0","result":"96750,96750","image":""},{"id":"388313","text":"5-7 ma\u0142o os\u00f3b mnie lubi","correct":"0","result":"96751,96751,96752,96752","image":""},{"id":"388314","text":"Tych z k\u00f3\u0142ka przyrodniczego","correct":"0","result":"96754,96754","image":""},{"id":"388315","text":"Mam wielu przyjaci\u00f3\u0142","correct":"0","result":"96748,96748,96749,96749,96753,96753","image":""},{"id":"388316","text":"Nie potrzebuj\u0119 ich","correct":"0","result":"96746,96746,96747","image":""},{"id":"388317","text":"Wol\u0119 si\u0119 uczy\u0107","correct":"0","result":"96747,96747","image":""}]},{"text":"Kt\u00f3ra ewolucja podoba Ci si\u0119 najbardziej z wygl\u0105du?","type":"images","id":"93278","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_dae915cef126.jpg","result_text":"","result_image":"","answers":[{"id":"388318","text":"espeon","correct":"0","result":"96747,96747","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_1a720bd92222.jpeg"},{"id":"388319","text":"umbreon","correct":"0","result":"96746,96746","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_c71bb0ba69d2.jpg"},{"id":"388320","text":"glaceon","correct":"0","result":"96751,96751","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_c8273084473f.jpg"},{"id":"388321","text":"leafreon","correct":"0","result":"96754,96754","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_692b9ee57b50.jpeg"},{"id":"388322","text":"eevee","correct":"0","result":"96750,96750","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_641a91245a7b.jpg"},{"id":"388323","text":"jolteon","correct":"0","result":"96748,96748","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_3d65097af00d.jpeg"},{"id":"388324","text":"vayporeon ","correct":"0","result":"","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_399011b36cf7.jpeg"},{"id":"388325","text":"sylveon","correct":"0","result":"","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_645861233786.jpg"},{"id":"388326","text":"flareon","correct":"0","result":"96749,96749","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_7a55dfcc9cc2.jpeg"}]},{"text":"Co zazwyczaj robisz podczas przerwy w szkole?","type":"text","id":"93279","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_facf206ab0f5.jpeg","result_text":"","result_image":"","answers":[{"id":"388327","text":"ucze si\u0119 na nast\u0119pn\u0105 lekcj\u0119","correct":"0","result":"96747,96747,96751,96752,96754","image":""},{"id":"388328","text":"siedz\u0119 sam","correct":"0","result":"96750,96750,96751,96751,96752,96752","image":""},{"id":"388329","text":"jestem w towarzystwie moich przyjaci\u00f3\u0142","correct":"0","result":"96748,96748,96749,96749,96753,96753","image":""},{"id":"388330","text":"siedzi\u0119 gdzie\u015b w oddali od debili ze szko\u0142y ","correct":"0","result":"96746,96746,96747","image":""}]},{"text":"Jaka pora roku jest Twoj\u0105 ulubion\u0105?","type":"text","id":"93280","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_16a5e2943b6a.jpg","result_text":"","result_image":"","answers":[{"id":"388331","text":"wiosna","correct":"0","result":"96752,96752,96753,96754,96754","image":""},{"id":"388332","text":"jesie\u0144","correct":"0","result":"96750,96750","image":""},{"id":"388333","text":"lato","correct":"0","result":"96749,96749","image":""},{"id":"388334","text":"zima","correct":"0","result":"96751,96751","image":""},{"id":"388335","text":"sam nie wiem ","correct":"0","result":"96746,96746,96747,96747,96748,96748,96753,96753","image":""}]},{"text":"Co ludzie o Tobie s\u0105dz\u0105?","type":"text","id":"93281","image":"","result_text":"","result_image":"","answers":[{"id":"388336","text":"my\u015bl\u0105, \u017ce jestem nawiedzony","correct":"0","result":"96746,96746","image":""},{"id":"388337","text":"kujon ","correct":"0","result":"96747,96747","image":""},{"id":"388338","text":"odludek","correct":"0","result":"96747,96750,96750","image":""},{"id":"388339","text":"dusza towarzystwa","correct":"0","result":"96748,96748,96749,96749,96753,96753","image":""},{"id":"388340","text":"sam nie wiem","correct":"0","result":"96751,96751,96754,96754","image":""}]},{"text":"Jaki jest Tw\u00f3j styl?","type":"text","id":"93282","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_7626ee265c68.jpeg","result_text":"","result_image":"","answers":[{"id":"388341","text":"emo ","correct":"0","result":"96746,96746","image":""},{"id":"388342","text":"zwyczajny, mo\u017ce troch\u0119 sportowy","correct":"0","result":"96747,96747,96750,96750,96751","image":""},{"id":"388343","text":"\\\"grzeczny ucze\u0144\\\"","correct":"0","result":"96751,96751,96752,96752,96754,96754","image":""},{"id":"388344","text":"s\u0142odki ","correct":"0","result":"96753","image":""},{"id":"388345","text":"zale\u017cy od nastroju","correct":"0","result":"96748,96748,96749,96749","image":""}]},{"text":"Czuje si\u0119 dobrze jako Ty?","type":"text","id":"93283","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_d8fe42e182db.jpg","result_text":"","result_image":"","answers":[{"id":"388346","text":"tak ","correct":"0","result":"96748,96748,96749,96749,96753,96753","image":""},{"id":"388347","text":"grunt to poczucie w\u0142asnej warto\u015bci","correct":"0","result":"96747,96747","image":""},{"id":"388348","text":"czuje si\u0119 dos\u0142ownie, jak \u015bmie\u0107","correct":"0","result":"96750,96750,96751,96752","image":""},{"id":"388349","text":"no nawet","correct":"0","result":"96754,96754","image":""},{"id":"388350","text":"czy \u017cycie ma sens, tego nie wiem","correct":"0","result":"96746,96746","image":""}]},{"text":"Podoba\u0142 Ci si\u0119 quiz?","type":"text","id":"93284","image":"http:\/\/filing.pl\/wp-content\/uploads\/2015\/03\/filing_images_44f3c2f937c4.jpg","result_text":"","result_image":"","answers":[{"id":"388351","text":"tak","correct":"0","result":"96746,96747,96748,96749,96750,96751,96752,96753,96754","image":""},{"id":"388352","text":"nie","correct":"0","result":"","image":""}]}],"results":[{"title":"Umbreon","id":"96746","description":"
Twoim odpowiednikiem jest Umbreon! Zgrywasz wielkiego w\u0142adc\u0119 mroku, g\u0142\u0119boko w \u015brodku jednak jeste\u015b wra\u017cliwy na krytyk\u0119 oraz zdanie innych. Przez innych ludzi sta\u0142e\u015b si\u0119 typem samotnika i odludka. Dla Ciebie mrok jest cz\u0119\u015bci\u0105 \u017cycia.","from":"0","to":"0"},{"title":"Espeon","id":"96747","description":"
Twoim odpowiednikiem jest Espeon! Wielbisz samotno\u015b\u0107. Zazwyczaj siedzisz sam, lubisz poch\u0142on\u0105\u0107 si\u0119 w lekturze najlepiej z kubkiem kakao i jakim\u015b ciastkiem na przegryzk\u0119. Z ch\u0119ci\u0105 nawi\u0105zujesz przyja\u017anie, cho\u0107 ludzie uznaj\u0105 Ci\u0119 za dziwaka. Nie smu\u0107 si\u0119 i b\u0105d\u017a sob\u0105!","from":"0","to":"0"},{"title":"Jolteon","id":"96748","description":"
Twoim odpowiednikiem jest Jolteon!\r\nJeste\u015b wr\u0119cz \"elektryzuj\u0105cy\"! Zara\u017casz ludzi swoim humorem oraz optymizmem. Masz wielu przyjaci\u00f3\u0142, jeste\u015b wr\u0119cz rozchwytywany przez znajomych. Jeste\u015b jednym s\u0142owem bardzo towarzyski!","from":"0","to":"0"},{"title":"Flareon","id":"96749","description":"
Twoim odpowiednikiem jest Flareon! \r\nJeste\u015b wr\u0119cz idealnym przyjacielem! Zawsze u\u015bmiechni\u0119ty i weso\u0142y, ale te\u017c z nutk\u0105 rozwagi. Masz wielu przyjaci\u00f3\u0142 i znajomych, poniewa\u017c umiesz z \u0142atwo\u015bci\u0105 rozgrza\u0107 atmosfer\u0119. Jednak uwa\u017caj, jeste\u015b te\u017c dosy\u0107 \u0142atwowierny, a nie ka\u017cdy Tw\u00f3j przyjaciel jest szczery i prawdziwy.","from":"0","to":"0"},{"title":"Eevee","id":"96750","description":"
Twoim odpowiednikiem jest Eevee!\r\nJeste\u015b nie\u015bmia\u0142y. Zazwyczaj siedzisz na uboczu i z tego powodu nie masz zbyt wielu przyjaci\u00f3\u0142. Zawsze jednak znajdzie si\u0119 dw\u00f3ch, z kt\u00f3rymi si\u0119 dogadasz. Jednak za bardzo dajesz sobie wej\u015b\u0107 na g\u0142ow\u0119, postaraj sie by\u0107 bardziej otwartym i optymistycznie spogl\u0105da\u0107 w oczy \u017cycia.","from":"0","to":"0"},{"title":"Glaceon","id":"96751","description":"
Twoim odpowiednikiem jest Glaceon! Wielbisz zim\u0119 i wszystko co z ni\u0105 zwi\u0105zane: \u015bnie\u017cki, \u015bwi\u0119ta, \u015bnieg! Masz jednak sk\u0142onno\u015bci do kumulowania w sobie swych negatywnych emocji. Na to nie da si\u0119 ju\u017c nic poradzi\u0107. Jeste\u015b lekko nie\u015bmia\u0142y, dlatego Ci, tak zwani \"popularni\" mog\u0105 zacz\u0105\u0107 si\u0119 pastwi\u0107 nad osobami takimi, jak Ty . Postaraj si\u0119 odnale\u017a\u0107 innych podobnych do Ciebie i zaprzyja\u017ani\u0107 si\u0119!","from":"0","to":"0"},{"title":"Vayporeon","id":"96752","description":"
Twoim odpowiednikiem jest Vayporeon! \r\nSzczerze jeste\u015b taki nijaki, bez \u017cadnych barw i odcieni powiniene\u015b nauczy\u0107 si\u0119 w pe\u0142ni korzysta\u0107 z \u017cycia! Musisz wiedzie\u0107, \u017ce \u017cycie to nie tylko rutynowa nauka, ale te\u017c zabawa! Postaraj si\u0119 by\u0107 troch\u0119 bardziej zabawny, a przyjaciele, kt\u00f3rych utraci\u0142e\u015b powr\u00f3c\u0105 do Ciebie, jak bumerang!","from":"0","to":"0"},{"title":"Sylveon ","id":"96753","description":"
Twoim odpowiednikiem jest Sylveon! \r\nNie mo\u017cna Ci\u0119 opisa\u0107, lecz ja spr\u00f3buj\u0119. Jeste\u015b po prostu jedyny w swoim rodzaju. Jeste\u015b wr\u0119cz mieszank\u0105 wybuchow\u0105, czasem lubisz poby\u0107 sam, a czasem w gronie znajomych. Rzadko wychodzisz na \u0142ono natury, ale zawsze lubisz odwiedza\u0107 np. park. Kochasz swoj\u0105 rodzin\u0119 i jeste\u015b czasem wredny... Trzymaj tak dalej.","from":"0","to":"0"},{"title":"Leafreon","id":"96754","description":"
Twoim odpowiednikiem jest Leafreon! Kochasz sp\u0119dza\u0107 czas w towarzystwie zwierz\u0105t, ro\u015blin i ich mi\u0142o\u015bnik\u00f3w. Zgaduj\u0119, \u017ce w szkole najbardziej lubisz przyrod\u0119 (w zale\u017cno\u015bci od klasy) lub biologi\u0119 i geografi\u0119. S\u0105dz\u0119, \u017ce masz ca\u0142kiem spora grupk\u0119 przyjaci\u00f3\u0142, jednak jeste\u015b troch\u0119 ma\u0142o towarzyski. Ukrywasz swoje emocje pod grub\u0105 warstw\u0105 li\u015bci. Postaraj si\u0119 by\u0107 bardziej otwartym!","from":"0","to":"0"}]};jQuery(document).ready(function($){$('#modal-embed textarea').val(' ');$('div#modal-embed').on('show.bs.mlmodal',function(){$('.modal-login-backdrop').addClass('visible');});$('div#modal-embed').on('shown.bs.mlmodal',function(){var client=new ZeroClipboard($("#copy-btn"));client.on("copy",function(event){$('.copied').fadeIn(400,function(){$('.copied').delay(1000).fadeOut(400,function(){});});});$('.modal-login-backdrop').addClass('visible');});var $qu=$('.question-container.empty');var $a=$('.answer-container.empty');var $ai=$('.answer-container-img.empty');var $r=$('.result-container.empty');$.each(quizData.questions,function(i,v){var $tmpq=$qu.clone().removeClass('empty');$tmpq.show();$tmpq.attr('id','question-'+(i+1));if(v.image.length>0)
$tmpq.find('.question-content .image').append('
');$tmpq.find('.question-content .text').append(v.text);var cols=3;switch(v.answers.length){case 2:$tmpq.find('.question-answers').addClass('col-2');cols=2;break;default:$tmpq.find('.question-answers').addClass('col-3');cols=3;break;}
if($(window).width()<690)
cols=2;if(v.type=="text"){var long=false;$.each(v.answers,function(i,v){var $tmpa=$a.clone().removeClass('empty').show();$tmpa.attr('id','answer-'+(i+1));$tmpa.data('results',v.result);$tmpa.data('correct',v.correct);$tmpa.find('.text').append(v.text);if(v.text.length>30){long=true;}
$tmpq.find('.question-answers .answers-inner').append($tmpa);if((i+1)%cols==0)
$tmpq.find('.question-answers .answers-inner').append('');});if(long){$tmpq.find('.question-answers').addClass('long-answers');}}else{$.each(v.answers,function(i,v){var $tmpa=$ai.clone().removeClass('empty').show();$tmpa.attr('id','answer-'+(i+1));$tmpa.data('results',v.result);$tmpa.data('correct',v.correct);$tmpa.find('.image img').attr('src',v.image);$tmpa.find('.text').append(v.text);if(v.text.lenght==0){$tmpa.find('.text').remove();}
$tmpq.find('.question-answers .answers-inner').append($tmpa);if((i+1)%cols==0)
$tmpq.find('.question-answers .answers-inner').append('');});}
$('.question_boxes_inner').append(''+(i+1)+'');$('#quiz .questions-container').append($tmpq);if(i==Math.floor(quizData.questions.length*0.33)&&quizData.questions.length>3){$('#quiz .questions-container').append('');var a=document.getElementById('ad1');postscribe('#ad1',ad_code);}
if(i==Math.floor(quizData.questions.length*0.66)&&quizData.questions.length>6){$('#quiz .questions-container').append('');var b=document.getElementById('ad2');postscribe('#ad2',ad_code2);}
if(i==quizData.questions.length-1){$('#quiz .questions-container').append('');var c=document.getElementById('ad3');postscribe('#ad3',ad_code3);}});$('.question_box:first-child').addClass('question_box_done');$('#quiz').on('click','.quiz-nav',function(e){e.preventDefault();if($('.question:visible').prev('.question').length>0){$('.question:visible').hide().prev('.question').show();$('.question_box_done:last-child').removeClass('question_box_done');}
return false;});$('.answer:not(.disabled)').click(function(){if($(this).hasClass('disabled'))
return false;var result;$(this).parent().find('.answer').removeClass('checked');$(this).addClass('active checked');if(quizData.type=="trivia"){$(this).parent().find('.answer').addClass('disabled');if($(this).data('correct')=="1"){$(this).addClass('correct');}else{$(this).addClass('wrong');$(this).parent().find('.answer').each(function(){if($(this).data('correct')=="1")
$(this).addClass('correct');});}}
$('.question_box_done:last').next('.question_box').addClass('question_box_done');if($('#quiz .question:not(.empty)').length==$('#quiz .checked').length){if(quizData.type=="person"){var r={};for(res in quizData.results){r[quizData.results[res].id]=0;}
$('.answer.checked').each(function(){var rr=$(this).data('results');rr=rr.split(',');for(var tmp in rr){r[rr[tmp]]++;}});var b=0;for(var k in r){if(r[k]>b){b=r[k];result=k;}}
var final=getObjects(quizData.results,'id',result);$('.result-container .result-content').html(final[0].description);$('.result-container .result-title h2').html(final[0].title);$('.result-container').show();}else{var s=0;var final;$('.answer.checked').each(function(){if($(this).data('correct')=="1"){s++;}});$.each(quizData.results,function(i,v){if(parseInt(v.from)<=s&&parseInt(v.to)>=s){final=v;return false;}});$('.result-container .result-content').html(final.description);$('.result-container .result-title h2').html(final.title+' '+s+'/'+$('#quiz .question:not(.empty)').length);$('.result-container').show();}
$('html, body').animate({scrollTop:$('#result').offset().top-100},1000);$('.answer:not(.disabled)').off('click');}});function getObjects(obj,key,val){var objects=[];for(var i in obj){if(!obj.hasOwnProperty(i))continue;if(typeof obj[i]=='object'){objects=objects.concat(getObjects(obj[i],key,val));}else if(i==key&&obj[key]==val){objects.push(obj);}}
return objects;}
$(document).on('click','.quizshare',function(){var title=document.getElementsByTagName("title")[0].innerHTML;var desc=$(this).parents('.result-container').find('h2').text();var img=$(this).parents('.result-container').find('img').attr('src');var sTop=window.screen.height/2-(218);var sLeft=window.screen.width/2-(313);if(img!=undefined)
window.open('https://www.facebook.com/v2.2/dialog/feed?display=popup&app_id=179290305579706&link='+jQuery('link[rel=canonical]').attr('href')+'&picture='+img+'&redirect_uri=http://filing.pl/share.html'+'&name='+encodeURIComponent(title)+'&description='+encodeURIComponent(desc)+'&sdk=joey&version=v2.2','_blank','toolbar=0,status=0,width=580,height=400,top='+sTop+',left='+sLeft);else
window.open('https://www.facebook.com/v2.2/dialog/feed?display=popup&app_id=179290305579706&link='+jQuery('link[rel=canonical]').attr('href')+'&picture='+jQuery('meta[property="og:image"]').attr('content')+'&redirect_uri=http://filing.pl/share.html'+'&name='+encodeURIComponent(title)+'&description='+encodeURIComponent(desc)+'&sdk=joey&version=v2.2','_blank','toolbar=0,status=0,width=580,height=400,top='+sTop+',left='+sLeft);return false;});});-->
Reklama
Skomentuj
PRZEWIŃ W DÓŁ, ABY PRZECZYTAĆ NASTĘPNY ARTYKUŁ
'+(i+1)+'
');$('#quiz .questions-container').append($tmpq);if(i==Math.floor(quizData.questions.length*0.33)&&quizData.questions.length>3){$('#quiz .questions-container').append('');var a=document.getElementById('ad1');postscribe('#ad1',ad_code);}
if(i==Math.floor(quizData.questions.length*0.66)&&quizData.questions.length>6){$('#quiz .questions-container').append('');var b=document.getElementById('ad2');postscribe('#ad2',ad_code2);}
if(i==quizData.questions.length-1){$('#quiz .questions-container').append('');var c=document.getElementById('ad3');postscribe('#ad3',ad_code3);}});$('.question_box:first-child').addClass('question_box_done');$('#quiz').on('click','.quiz-nav',function(e){e.preventDefault();if($('.question:visible').prev('.question').length>0){$('.question:visible').hide().prev('.question').show();$('.question_box_done:last-child').removeClass('question_box_done');}
return false;});$('.answer:not(.disabled)').click(function(){if($(this).hasClass('disabled'))
return false;var result;$(this).parent().find('.answer').removeClass('checked');$(this).addClass('active checked');if(quizData.type=="trivia"){$(this).parent().find('.answer').addClass('disabled');if($(this).data('correct')=="1"){$(this).addClass('correct');}else{$(this).addClass('wrong');$(this).parent().find('.answer').each(function(){if($(this).data('correct')=="1")
$(this).addClass('correct');});}}
$('.question_box_done:last').next('.question_box').addClass('question_box_done');if($('#quiz .question:not(.empty)').length==$('#quiz .checked').length){if(quizData.type=="person"){var r={};for(res in quizData.results){r[quizData.results[res].id]=0;}
$('.answer.checked').each(function(){var rr=$(this).data('results');rr=rr.split(',');for(var tmp in rr){r[rr[tmp]]++;}});var b=0;for(var k in r){if(r[k]>b){b=r[k];result=k;}}
var final=getObjects(quizData.results,'id',result);$('.result-container .result-content').html(final[0].description);$('.result-container .result-title h2').html(final[0].title);$('.result-container').show();}else{var s=0;var final;$('.answer.checked').each(function(){if($(this).data('correct')=="1"){s++;}});$.each(quizData.results,function(i,v){if(parseInt(v.from)<=s&&parseInt(v.to)>=s){final=v;return false;}});$('.result-container .result-content').html(final.description);$('.result-container .result-title h2').html(final.title+' '+s+'/'+$('#quiz .question:not(.empty)').length);$('.result-container').show();}
$('html, body').animate({scrollTop:$('#result').offset().top-100},1000);$('.answer:not(.disabled)').off('click');}});function getObjects(obj,key,val){var objects=[];for(var i in obj){if(!obj.hasOwnProperty(i))continue;if(typeof obj[i]=='object'){objects=objects.concat(getObjects(obj[i],key,val));}else if(i==key&&obj[key]==val){objects.push(obj);}}
return objects;}
$(document).on('click','.quizshare',function(){var title=document.getElementsByTagName("title")[0].innerHTML;var desc=$(this).parents('.result-container').find('h2').text();var img=$(this).parents('.result-container').find('img').attr('src');var sTop=window.screen.height/2-(218);var sLeft=window.screen.width/2-(313);if(img!=undefined)
window.open('https://www.facebook.com/v2.2/dialog/feed?display=popup&app_id=179290305579706&link='+jQuery('link[rel=canonical]').attr('href')+'&picture='+img+'&redirect_uri=http://filing.pl/share.html'+'&name='+encodeURIComponent(title)+'&description='+encodeURIComponent(desc)+'&sdk=joey&version=v2.2','_blank','toolbar=0,status=0,width=580,height=400,top='+sTop+',left='+sLeft);else
window.open('https://www.facebook.com/v2.2/dialog/feed?display=popup&app_id=179290305579706&link='+jQuery('link[rel=canonical]').attr('href')+'&picture='+jQuery('meta[property="og:image"]').attr('content')+'&redirect_uri=http://filing.pl/share.html'+'&name='+encodeURIComponent(title)+'&description='+encodeURIComponent(desc)+'&sdk=joey&version=v2.2','_blank','toolbar=0,status=0,width=580,height=400,top='+sTop+',left='+sLeft);return false;});});-->
Reklama
Skomentuj
PRZEWIŃ W DÓŁ, ABY PRZECZYTAĆ NASTĘPNY ARTYKUŁ
