/*!
 * jQuery Color Animations v2.1.2
 * https://github.com/jquery/jquery-color
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * Date: Wed Jan 16 08:47:09 2013 -0600
 */
(function(o,d){var k="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",h=/^([\-+])=\s*(\d+\.?\d*)/,g=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(p){return[p[1],p[2],p[3],p[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(p){return[p[1]*2.55,p[2]*2.55,p[3]*2.55,p[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(p){return[parseInt(p[1],16),parseInt(p[2],16),parseInt(p[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(p){return[parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16),parseInt(p[3]+p[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(p){return[p[1],p[2]/100,p[3]/100,p[4]]}}],e=o.Color=function(q,r,p,s){return new o.Color.fn.parse(q,r,p,s)},j={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},n={"byte":{floor:true,max:255},percent:{max:1},degrees:{mod:360,floor:true}},m=e.support={},b=o("<p>")[0],a,l=o.each;b.style.cssText="background-color:rgba(1,1,1,.5)";m.rgba=b.style.backgroundColor.indexOf("rgba")>-1;l(j,function(p,q){q.cache="_"+p;q.props.alpha={idx:3,type:"percent",def:1}});function i(q,s,r){var p=n[s.type]||{};if(q==null){return(r||!s.def)?null:s.def}q=p.floor?~~q:parseFloat(q);if(isNaN(q)){return s.def}if(p.mod){return(q+p.mod)%p.mod}return 0>q?0:p.max<q?p.max:q}function f(p){var r=e(),q=r._rgba=[];p=p.toLowerCase();l(g,function(w,x){var u,v=x.re.exec(p),t=v&&x.parse(v),s=x.space||"rgba";if(t){u=r[s](t);r[j[s].cache]=u[j[s].cache];q=r._rgba=u._rgba;return false}});if(q.length){if(q.join()==="0,0,0,0"){o.extend(q,a.transparent)}return r}return a[p]}e.fn=o.extend(e.prototype,{parse:function(v,t,p,u){if(v===d){this._rgba=[null,null,null,null];return this}if(v.jquery||v.nodeType){v=o(v).css(t);t=d}var s=this,r=o.type(v),q=this._rgba=[];if(t!==d){v=[v,t,p,u];r="array"}if(r==="string"){return this.parse(f(v)||a._default)}if(r==="array"){l(j.rgba.props,function(w,x){q[x.idx]=i(v[x.idx],x)});return this}if(r==="object"){if(v instanceof e){l(j,function(w,x){if(v[x.cache]){s[x.cache]=v[x.cache].slice()}})}else{l(j,function(x,y){var w=y.cache;l(y.props,function(z,A){if(!s[w]&&y.to){if(z==="alpha"||v[z]==null){return}s[w]=y.to(s._rgba)}s[w][A.idx]=i(v[z],A,true)});if(s[w]&&o.inArray(null,s[w].slice(0,3))<0){s[w][3]=1;if(y.from){s._rgba=y.from(s[w])}}})}return this}},is:function(r){var p=e(r),s=true,q=this;l(j,function(t,v){var w,u=p[v.cache];if(u){w=q[v.cache]||v.to&&v.to(q._rgba)||[];l(v.props,function(x,y){if(u[y.idx]!=null){s=(u[y.idx]===w[y.idx]);return s}})}return s});return s},_space:function(){var p=[],q=this;l(j,function(r,s){if(q[s.cache]){p.push(r)}});return p.pop()},transition:function(q,w){var r=e(q),s=r._space(),t=j[s],u=this.alpha()===0?e("transparent"):this,v=u[t.cache]||t.to(u._rgba),p=v.slice();r=r[t.cache];l(t.props,function(A,C){var z=C.idx,y=v[z],x=r[z],B=n[C.type]||{};if(x===null){return}if(y===null){p[z]=x}else{if(B.mod){if(x-y>B.mod/2){y+=B.mod}else{if(y-x>B.mod/2){y-=B.mod}}}p[z]=i((x-y)*w+y,C)}});return this[s](p)},blend:function(s){if(this._rgba[3]===1){return this}var r=this._rgba.slice(),q=r.pop(),p=e(s)._rgba;return e(o.map(r,function(t,u){return(1-q)*p[u]+q*t}))},toRgbaString:function(){var q="rgba(",p=o.map(this._rgba,function(r,s){return r==null?(s>2?1:0):r});if(p[3]===1){p.pop();q="rgb("}return q+p.join()+")"},toHslaString:function(){var q="hsla(",p=o.map(this.hsla(),function(r,s){if(r==null){r=s>2?1:0}if(s&&s<3){r=Math.round(r*100)+"%"}return r});if(p[3]===1){p.pop();q="hsl("}return q+p.join()+")"},toHexString:function(p){var q=this._rgba.slice(),r=q.pop();if(p){q.push(~~(r*255))}return"#"+o.map(q,function(s){s=(s||0).toString(16);return s.length===1?"0"+s:s}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});e.fn.parse.prototype=e.fn;function c(t,s,r){r=(r+1)%1;if(r*6<1){return t+(s-t)*r*6}if(r*2<1){return s}if(r*3<2){return t+(s-t)*((2/3)-r)*6}return t}j.hsla.to=function(t){if(t[0]==null||t[1]==null||t[2]==null){return[null,null,null,t[3]]}var p=t[0]/255,w=t[1]/255,x=t[2]/255,z=t[3],y=Math.max(p,w,x),u=Math.min(p,w,x),A=y-u,B=y+u,q=B*0.5,v,C;if(u===y){v=0}else{if(p===y){v=(60*(w-x)/A)+360}else{if(w===y){v=(60*(x-p)/A)+120}else{v=(60*(p-w)/A)+240}}}if(A===0){C=0}else{if(q<=0.5){C=A/B}else{C=A/(2-B)}}return[Math.round(v)%360,C,q,z==null?1:z]};j.hsla.from=function(w){if(w[0]==null||w[1]==null||w[2]==null){return[null,null,null,w[3]]}var v=w[0]/360,u=w[1],t=w[2],r=w[3],x=t<=0.5?t*(1+u):t+u-t*u,y=2*t-x;return[Math.round(c(y,x,v+(1/3))*255),Math.round(c(y,x,v)*255),Math.round(c(y,x,v-(1/3))*255),r]};l(j,function(q,s){var r=s.props,p=s.cache,u=s.to,t=s.from;e.fn[q]=function(z){if(u&&!this[p]){this[p]=u(this._rgba)}if(z===d){return this[p].slice()}var w,y=o.type(z),v=(y==="array"||y==="object")?z:arguments,x=this[p].slice();l(r,function(A,C){var B=v[y==="object"?A:C.idx];if(B==null){B=x[C.idx]}x[C.idx]=i(B,C)});if(t){w=e(t(x));w[p]=x;return w}else{return e(x)}};l(r,function(v,w){if(e.fn[v]){return}e.fn[v]=function(A){var C=o.type(A),z=(v==="alpha"?(this._hsla?"hsla":"rgba"):q),y=this[z](),B=y[w.idx],x;if(C==="undefined"){return B}if(C==="function"){A=A.call(this,B);C=o.type(A)}if(A==null&&w.empty){return this}if(C==="string"){x=h.exec(A);if(x){A=B+parseFloat(x[2])*(x[1]==="+"?1:-1)}}y[w.idx]=A;return this[z](y)}})});e.hook=function(q){var p=q.split(" ");l(p,function(r,s){o.cssHooks[s]={set:function(w,x){var u,v,t="";if(x!=="transparent"&&(o.type(x)!=="string"||(u=f(x)))){x=e(u||x);if(!m.rgba&&x._rgba[3]!==1){v=s==="backgroundColor"?w.parentNode:w;while((t===""||t==="transparent")&&v&&v.style){try{t=o.css(v,"backgroundColor");v=v.parentNode}catch(y){}}x=x.blend(t&&t!=="transparent"?t:"_default")}x=x.toRgbaString()}try{w.style[s]=x}catch(y){}}};o.fx.step[s]=function(t){if(!t.colorInit){t.start=e(t.elem,s);t.end=e(t.end);t.colorInit=true}o.cssHooks[s].set(t.elem,t.start.transition(t.end,t.pos))}})};e.hook(k);o.cssHooks.borderColor={expand:function(q){var p={};l(["Top","Right","Bottom","Left"],function(s,r){p["border"+r+"Color"]=q});return p}};a=o.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(jQuery);
/*!
 * jQuery Color Animations v2.1.2 - SVG Color Names
 * https://github.com/jquery/jquery-color
 *
 * Remaining HTML/CSS color names per W3C's CSS Color Module Level 3.
 * http://www.w3.org/TR/css3-color/#svg-color
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * Date: Wed Jan 16 08:47:09 2013 -0600
 */
jQuery.extend(jQuery.Color.names,{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32"});
/*
 * tilesA
 */
function tileCreator(){function b(){var l=document.createElement("style");l.type="text/css";l.innerHTML=".rower a{display:block}.rower>.col{overflow:hidden;box-shadow:0 10px 10px black;margin:3px;background-color:#ffc0cb;min-width:200px;min-height:250px;max-height:250px;max-width:300px;float:left;overflow:hidden}.rower{margin-left:auto;margin-right:auto;display:table;text-align:center}.tilesHolder{margin:5% auto}.cover{height:5px;position:absolute;z-index:-1;background-color:rgba(0,0,0,1);border-bottom:1px solid grey;max-width:300px;min-width:250px;}.trigger{position:absolute;z-index:3;background-color:transparent}.textMessage{opacity:0;padding:10px;max-width:250px;margin-top:40%;text-align:left;vertical-align:bottom;color:#fff;font-size:12px;font-weight:200}.cover img{position:absolute;left:0;margin-top:1%;opacity:0;float:left;width:70px;padding-right:10px;margin-top:10px}.textMessage>h3{position:absolute;top:23%;left:26%;float:right;font-weight:400;font-size:24px}@media(max-width:768px){.textMessage>h3{top:10%!important}}.textMessage>p{margin-top:5px;padding:5px;background-color:rgba(0,0,0,.5);border:2px dashed white}";document.getElementsByTagName("head")[0].appendChild(l);$(".textMessage").addClass("cuprum");$(".textMessage>h3").addClass("arvo")}b();var f=[];var j=function(l,t,p,s,m,q,r,n,u,o){this.controlClass="tile";this.name=l;this.subtitle=s;this.place="."+t;this.cover=m;this.fontColor=q;this.img=r;this.imgAlt=n;this.minicon=u;this.linker=o;this.header=p;this.birthCounter=$("."+this.controlClass).length;this.giveBirth=function(){f.push(('<div style="width:100%; height:100%" class="'+this.controlClass+" "+this.name+'"><div class="trigger"></div><div class="cover"><a target="_blank" class="link" href="'+this.linker+'"><img style="float:left"src="'+this.minicon+'" alt="minicon"></a><div class="textMessage"><h3>'+this.header+"</h3><p>"+this.subtitle+'</p></div></div><img class="tileBg" src="'+r+'" alt="'+n+'">'));this.logCount=function(){console.log("We've got "+this.birthCounter+" tile(s).")}}};function d(){$(".trigger").tooltip(true);$(".trigger").css("cursor","pointer");$(".trigger").click(function(q){var o=q.currentTarget.parentNode.className;var n=o.split(/[ ,]+/);var p=$("."+n[1]).find("a").attr("href");window.location.href=p});if($.browser.mobile){$(".trigger").on("touchenter",function(n){l(n)})}else{$(".trigger").on("mouseover",function(n){m(n)})}function m(u){var q=u.currentTarget.parentNode.className;var s=q.split(/[ ,]+/);var r=$(".col").eq(1).css("height");$("."+s[1]+" > .cover").css("z-index","14");$("."+s[1]+" > .tileBg").css("z-index","13");$("."+s[1]+" > .trigger").css("z-index","20");var t=Math.random();var n=255*Math.random();var p=255*Math.random();var v=255*Math.random();var o="rgba("+n.toFixed()+","+p.toFixed()+","+v.toFixed()+","+t.toFixed(2)+")";$(".bgCover").animate({backgroundColor:o},300,function(){jQuery.queue($(".bgCover")[0],"fx",[]);$(".bgCover").stop()});$("."+s[1]).parent().animate({borderSpacing:0.9},{step:function(w,x){$(this).css("-webkit-transform","scale("+w+")");$(this).css("-moz-transform","scale("+w+")");$(this).css("transform","scale("+w+")")},duration:"fast"},"linear");$("."+s[1]+" > .cover").animate({height:r,backgroundColor:"rgba(0,0,0,.5)",borderColor:"white",borderWidth:4},500,function(){jQuery.queue($("."+s[1]+" > .cover")[0],"fx",[]);$("."+s[1]+" > .cover").stop();$("."+s[1]+" > .cover  *").animate({opacity:1},300,function(){jQuery.queue($("."+s[1]+" > .cover  *")[0],"fx",[]);$("."+s[1]+" > .cover  *").stop()});$("."+s[1]+" > .cover  img").animate({marginTop:"20%"},300,function(){jQuery.queue($("."+s[1]+" > .cover  img")[0],"fx",[]);$("."+s[1]+" > .cover  img").stop()})})}if($.browser.mobile){$(".trigger").on("touchleave",function(n){l(n)})}else{$(".trigger").on("mouseout",function(n){l(n)})}function l(p){$(".bgCover").animate({backgroundColor:"rgba(0,0,0,.0)"},300,function(){});var o=p.currentTarget.parentNode.className;var n=o.split(/[ ,]+/);$("."+n[1]+" > .cover").css("z-index","-1");$("."+n[1]+" > .tileBg").css("z-index","1");$("."+n[1]+" > .trigger").css("z-index","1");$("."+n[1]+" > .cover").animate({height:"5px",backgroundColor:"rgba(0,0,0,1)",borderColor:"grey",borderWidth:1},500,function(){$("."+n[1]+" > .cover > *").css("opacity","0");$("."+n[1]+" > .cover  img").css("opacity","0")});$("."+n[1]).parent().animate({borderSpacing:1},{step:function(q,r){if(q<1){q=1}$(this).css("-webkit-transform","scale("+q+")");$(this).css("-moz-transform","scale("+q+")");$(this).css("transform","scale("+q+")")},duration:"fast"},"linear")}}var k=6;function i(){if($(".tile").length){$(".tilesHolder").html('<div class="rower"><div class="col"></div><div class="col"></div><div class="col" ></div></div><div class="rower"><div class="col" ></div><div class="col" ></div><div class="col" ></div></div><div class="rower"><div class="col"></div><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div><div class="col"></div></div>');g()}else{$(".tilesHolder").html('<div class="rower"><div class="col"></div><div class="col"></div><div class="col" ></div></div><div class="rower"><div class="col" ></div><div class="col" ></div><div class="col" ></div></div><div class="rower"><div class="col"></div><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div><div class="col"></div></div>');h(k);g()}}function e(){if($(".tile").length){$(".tilesHolder").html('<div class="rower"><div class="col"></div><div class="col"></div></div><div class= "rower"><div class= "col"></div><div class= "col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div>');g()}else{$(".tilesHolder").html('<div class="rower"><div class="col"></div><div class="col"></div></div><div class= "rower"><div class= "col"></div><div class= "col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div><div class="rower"><div class="col"></div><div class="col"></div></div>');h(k);g()}}function c(){if($(".tile").length){$(".tilesHolder").html('<div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div>');g()}else{$(".tilesHolder").html('<div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col" ></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col" ></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div><div class="rower"><div class="col"></div></div>');h(k);g()}}function a(){var l=$(window).width();if(l<940){$(".col").css("width","250px");$(".trigger").css("width",$(".col").eq(1).width());$(".trigger").css("height",$(".col").eq(1).width());$(".tileBg").css("height",$(".col").eq(1).width())}else{if(l>940){setTimeout(function(){$(".trigger").css("width",$(".col").eq(1).width());$(".trigger").css("height",$(".col").eq(1).height());$(".tileBg").css("height",$(".col").eq(1).height())},10)}}if((l<918)&&(l>527)){if($(".rower").length!==5){e()}}else{if(l<=527){if($(".rower").length!==9){c()}}else{if($(".rower").length!==3){i()}}}}setTimeout(function(){a()},500);$(window).resize(function(){a()});$(window).load(function(){a();$(".trigger").trigger("mouseover");$(".trigger").trigger("mouseout");$(window).trigger("resize")});function h(m){var p=new Array();p[1]=new j("poll1","Tile1","AMD","Szablon Allegro utworzony na potrzeby oferty sprzedaży procesora AMD A10 k6800 4.4 Ghz.","black","white","http://static2.markii.pl/IMG/milan21.jpg","amd","http://static2.markii.pl/ICON/allegro.png","showroom/allegro/amd/index.html");p[0]=new j("poll2","Tile2","DieselCentrum Basic","Podstawowy temat kolorystyczny szablonu Allegro utworzonego na potrzeby ofert usługowo-sprzedażowych firmy DieeselCentrum","black","white","http://static2.markii.pl/IMG/diesel1.jpg","dieselB","http://static2.markii.pl/ICON/allegro.png","showroom/allegro/diesel/default.html");p[2]=new j("poll3","Tile3","DieselCentrum Alfa","Temat kolorystyczny szablonu Allegro utworzonego na potrzeby ofert usługowo-sprzedażowych firmy DieeselCentrum, inspirowany emblematem Alfa-Romeo","black","white","http://static2.markii.pl/IMG/diesel2.jpg","dieselB","http://static2.markii.pl/ICON/allegro.png","showroom/allegro/diesel/alfa.html");p[3]=new j("poll4","Tile4","DieselCentrum Ford","Temat kolorystyczny szablonu Allegro utworzonego na potrzeby ofert usługowo-sprzedażowych firmy DieeselCentrum, inspirowany emblematem Forda","black","white","http://static2.markii.pl/IMG/diesel3.jpg","dieselB","http://static2.markii.pl/ICON/allegro.png","showroom/allegro/diesel/ford.html");p[4]=new j("poll5","Tile5","PIT-Computers","Projekt szablonu Allegro dla firmy zajmującej się sprzedażą sprzętu elektronicznego.","black","white","http://static2.markii.pl/IMG/pit.jpg","pit","http://static2.markii.pl/ICON/allegro.png","showroom/allegro/pit/index.html");p[5]=new j("poll6","Tile6","Powrót do Portfolio","Sex - przepraszam chciałem sprawdzić czy stary trik na przyciągnięcie uwagi zadziałą;)","black","white","http://static2.markii.pl/IMG/back.png","backtobussines","http://static2.markii.pl/ICON/UI.png","portfolio.html");var n=m;for(var o=0;o<m;o++){p[o].giveBirth()}for(var l=0;l<$(".col").length;l++){if(l%2){$(".col").eq(l).addClass("animated wobble")}else{$(".col").eq(l).addClass("animated rotateIn")}}setTimeout(function(){for(var q=0;q<$(".col").length;q++){if(q%2){$(".col").eq(q).removeClass("animated wobble")}else{$(".col").eq(q).removeClass("animated rotateIn")}}},1500)}function g(){var p=f.length;if(p){var l=new Array();l=$(".col");for(var n=0;n<p;n++){$(".col").eq(n).html(f[n])}d();for(var o=0;o<$(".col").length;o++){if($(".col").eq(o).text()===""){$(".col").eq(o).css("display","none")}}$(".cover").css("width","100%");$(".trigger").css("width",$(".col").eq(1).width());$(".trigger").css("height",$(".col").eq(1).width());$(".tileBg").css("height",$(".col").eq(1).width());function m(){for(var r=0;r<$(".col").length;r++){if($(".col").eq(r).text()===""){$(".col").eq(r).css("display","none")}}for(var q=0;q<$(".col").length;q++){if(q%2){$(".col").eq(q).addClass("animated wobble")}else{$(".col").eq(q).addClass("animated rotateIn")}}setTimeout(function(){for(var s=0;s<$(".col").length;s++){if(s%2){$(".col").eq(s).removeClass("animated wobble")}else{$(".col").eq(s).removeClass("animated rotateIn")}}},1500)}m()}}};
/*!
 * Code v1 by @vip
 * Copyright 2014.
 *
 * Designed and built with all the love in the world by @vip
 */
function AJAXy(){$(window).trigger("resize");loadAJAX("return");loadAJAX("cookie");loadAJAX("p");loadAJAX("l");loadAJAX("tile")}(function(){cookieAlert();var e=new menuBars();var g=new socialMenu();function d(){$(".title").css("display","block !important")}function c(){$(".title").css("display","none")}function a(){$(".infoBox > h2").css("background-position","0px -"+window.pageYOffset/3+"px");$(".infoBox > p").eq(1).css("background-position","0px -"+window.pageYOffset/3+"px")}$(window).on("scroll",a);function b(){var h=window.innerWidth;if(h<990){c()}else{d()}if(h<840){e.smaller();g.addToPage(g.socialToolbar(),1)}else{e.normal();g.addToPage(g.showroom(),0)}$("img.lazy").lazy({combined:true,effect:"fadeIn",effectTime:1500})}$(window).bind("resize",function(){b()});function f(){loadAJAX("p");$(".infoBox > h2").addClass("lobster");$(".infoBox > p").eq(1).addClass("arvo");$("#footer").addClass("orbitron");$("body").eq(0).addClass("coda");$(".title").addClass("animated fadeIn");$("footer").addClass("animated fadeInUp");$("nav").addClass("animated fadeInDown");if(window.innerWidth<990){c()}else{d()}setTimeout(function(){correctSVG("svg","gif")},1000)}if(document.createElement("detect").style.mixBlendMode===""){}else{}$(window).on("mousemove",function(h){$("body").css("backgroundPosition","-"+h.pageX/12+"px")});$(window).load(function(){f()})}());