vendor: 7,199 bytes, lines 1-2
1/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */ 2jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
2 3var stacks = {}; 4stacks.jQuery = jQuery.noConflict(true); 5stacks.com_elixir_stacks_grid = {}; 6stacks.com_elixir_stacks_grid = (function(stack) { 7var jQuery = stacks.jQuery;var $ = jQuery; 8(function() { 9 var Util, WeakMap, 10 __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; 11 12 Util = (function() { 13 function Util() {} 14 15 Util.prototype.extend = function(custom, defaults) { 16 var key, value; 17 for (key in custom) { 18 value = custom[key]; 19 if (value != null) { 20 defaults[key] = value; 21 } 22 } 23 return defaults; 24 }; 25 26 Util.prototype.isMobile = function(agent) { 27 return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent); 28 }; 29 30 return Util; 31 32 })(); 33 34 WeakMap = this.WeakMap || (WeakMap = (function() { 35 function WeakMap() { 36 this.keys = []; 37 this.values = []; 38 } 39 40 WeakMap.prototype.get = function(key) { 41 var i, item, _i, _len, _ref; 42 _ref = this.keys; 43 for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { 44 item = _ref[i]; 45 if (item === key) { 46 return this.values[i]; 47 } 48 } 49 }; 50 51 WeakMap.prototype.set = function(key, value) { 52 var i, item, _i, _len, _ref; 53 _ref = this.keys; 54 for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { 55 item = _ref[i]; 56 if (item === key) { 57 this.values[i] = value; 58 return; 59 } 60 } 61 this.keys.push(key); 62 return this.values.push(value); 63 }; 64 65 return WeakMap; 66 67 })()); 68 69 this.WOW = (function() { 70 WOW.prototype.defaults = { 71 boxClass: 'wow', 72 animateClass: 'animated', 73 offset: 0, 74 mobile: true 75 }; 76 77 function WOW(options) { 78 if (options == null) { 79 options = {}; 80 } 81 this.scrollCallback = __bind(this.scrollCallback, this); 82 this.scrollHandler = __bind(this.scrollHandler, this); 83 this.start = __bind(this.start, this); 84 this.scrolled = true; 85 this.config = this.util().extend(options, this.defaults); 86 this.animationNameCache = new WeakMap(); 87 } 88 89 WOW.prototype.init = function() { 90 var _ref; 91 this.element = window.document.documentElement; 92 if ((_ref = document.readyState) === "interactive" || _ref === "complete") { 93 return this.start(); 94 } else { 95 return document.addEventListener('DOMContentLoaded', this.start); 96 } 97 }; 98 99 WOW.prototype.start = function() { 100 var box, _i, _len, _ref; 101 this.boxes = this.element.getElementsByClassName(this.config.boxClass); 102 if (this.boxes.length) { 103 if (this.disabled()) { 104 return this.resetStyle(); 105 } else { 106 _ref = this.boxes; 107 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 108 box = _ref[_i]; 109 this.applyStyle(box, true); 110 } 111 window.addEventListener('scroll', this.scrollHandler, false); 112 window.addEventListener('resize', this.scrollHandler, false); 113 return this.interval = setInterval(this.scrollCallback, 50); 114 } 115 } 116 }; 117 118 WOW.prototype.stop = function() { 119 window.removeEventListener('scroll', this.scrollHandler, false); 120 window.removeEventListener('resize', this.scrollHandler, false); 121 if (this.interval != null) { 122 return clearInterval(this.interval); 123 } 124 }; 125 126 WOW.prototype.show = function(box) { 127 this.applyStyle(box); 128 return box.className = "" + box.className + " " + this.config.animateClass; 129 }; 130 131 WOW.prototype.applyStyle = function(box, hidden) { 132 var delay, duration, iteration; 133 duration = box.getAttribute('data-wow-duration');
vendor: 4,541 bytes, lines 134-291
134 delay = box.getAttribute('data-wow-delay'); 135 iteration = box.getAttribute('data-wow-iteration'); 136 return this.animate((function(_this) { 137 return function() { 138 return _this.customStyle(box, hidden, duration, delay, iteration); 139 }; 140 })(this)); 141 }; 142 143 WOW.prototype.animate = (function() { 144 if ('requestAnimationFrame' in window) { 145 return function(callback) { 146 return window.requestAnimationFrame(callback); 147 }; 148 } else { 149 return function(callback) { 150 return callback(); 151 }; 152 } 153 })(); 154 155 WOW.prototype.resetStyle = function() { 156 var box, _i, _len, _ref, _results; 157 _ref = this.boxes; 158 _results = []; 159 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 160 box = _ref[_i]; 161 _results.push(box.setAttribute('style', 'visibility: visible;')); 162 } 163 return _results; 164 }; 165 166 WOW.prototype.customStyle = function(box, hidden, duration, delay, iteration) { 167 if (hidden) { 168 this.cacheAnimationName(box); 169 } 170 box.style.visibility = hidden ? 'hidden' : 'visible'; 171 if (duration) { 172 this.vendorSet(box.style, { 173 animationDuration: duration 174 }); 175 } 176 if (delay) { 177 this.vendorSet(box.style, { 178 animationDelay: delay 179 }); 180 } 181 if (iteration) { 182 this.vendorSet(box.style, { 183 animationIterationCount: iteration 184 }); 185 } 186 this.vendorSet(box.style, { 187 animationName: hidden ? 'none' : this.cachedAnimationName(box) 188 }); 189 return box; 190 }; 191 192 WOW.prototype.vendors = ["moz", "webkit"]; 193 194 WOW.prototype.vendorSet = function(elem, properties) { 195 var name, value, vendor, _results; 196 _results = []; 197 for (name in properties) { 198 value = properties[name]; 199 elem["" + name] = value; 200 _results.push((function() { 201 var _i, _len, _ref, _results1; 202 _ref = this.vendors; 203 _results1 = []; 204 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 205 vendor = _ref[_i]; 206 _results1.push(elem["" + vendor + (name.charAt(0).toUpperCase()) + (name.substr(1))] = value); 207 } 208 return _results1; 209 }).call(this)); 210 } 211 return _results; 212 }; 213 214 WOW.prototype.vendorCSS = function(elem, property) { 215 var result, style, vendor, _i, _len, _ref; 216 style = window.getComputedStyle(elem); 217 result = style.getPropertyCSSValue(property); 218 _ref = this.vendors; 219 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 220 vendor = _ref[_i]; 221 result = result || style.getPropertyCSSValue("-" + vendor + "-" + property); 222 } 223 return result; 224 }; 225 226 WOW.prototype.animationName = function(box) { 227 var animationName; 228 try { 229 animationName = this.vendorCSS(box, 'animation-name').cssText; 230 } catch (_error) { 231 animationName = window.getComputedStyle(box).getPropertyValue('animation-name'); 232 } 233 if (animationName === 'none') { 234 return ''; 235 } else { 236 return animationName; 237 } 238 }; 239 240 WOW.prototype.cacheAnimationName = function(box) { 241 return this.animationNameCache.set(box, this.animationName(box)); 242 }; 243 244 WOW.prototype.cachedAnimationName = function(box) { 245 return this.animationNameCache.get(box); 246 }; 247 248 WOW.prototype.scrollHandler = function() { 249 return this.scrolled = true; 250 }; 251 252 WOW.prototype.scrollCallback = function() { 253 var box; 254 if (this.scrolled) { 255 this.scrolled = false; 256 this.boxes = (function() { 257 var _i, _len, _ref, _results; 258 _ref = this.boxes; 259 _results = []; 260 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 261 box = _ref[_i]; 262 if (!(box)) { 263 continue; 264 } 265 if (this.isVisible(box)) { 266 this.show(box); 267 continue; 268 } 269 _results.push(box); 270 } 271 return _results; 272 }).call(this); 273 if (!this.boxes.length) { 274 return this.stop(); 275 } 276 } 277 }; 278 279 WOW.prototype.offsetTop = function(element) { 280 var top; 281 while (element.offsetTop === void 0) { 282 element = element.parentNode; 283 } 284 top = element.offsetTop; 285 while (element = element.offsetParent) { 286 top += element.offsetTop; 287 } 288 return top; 289 }; 290 291 WOW.prototype.isVisible = function(box) {
292 var bottom, offset, top, viewBottom, viewTop; 293 offset = box.getAttribute('data-wow-offset') || this.config.offset; 294 viewTop = window.pageYOffset; 295 viewBottom = viewTop + this.element.clientHeight - offset; 296 top = this.offsetTop(box); 297 bottom = top + box.clientHeight; 298 return top <= viewBottom && bottom >= viewTop; 299 }; 300 301 WOW.prototype.util = function() { 302 return this._util || (this._util = new Util()); 303 }; 304 305 WOW.prototype.disabled = function() { 306 return !this.config.mobile && this.util().isMobile(navigator.userAgent); 307 }; 308 309 return WOW; 310 311 })(); 312 313}).call(this); 314 315 316 317$(window).load(function(){ 318 new WOW().init(); 319}); 320 321 322 323 324 325$(window).load(function(){ 326 new WOW().init(); 327}); 328 329 330 331return stack;})(stacks.com_elixir_stacks_grid); 332stacks.stacks_in_63_page135 = {}; 333stacks.stacks_in_63_page135 = (function(stack) { 334var jQuery = stacks.jQuery;var $ = jQuery; $(document).ready(function() { 335 336 337 $("#stacks_in_63_page135").closest(".stacks_out").css("overflow", "visible"); 338 $("#stacks_in_63_page135").closest(".stacks_in").css("overflow", "visible"); 339 if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){ 340 $(".stacks_top").css("overflow", "visible"); 341 } 342 343 344 // Disable animation on mobile devices if the user opts for it ... 345 346 347 348 349 }); 350 351 352 353return stack;})(stacks.stacks_in_63_page135);/* ClickIt javascript */ 354/* Copyright Bryn Owen Design, 2015 */ 355 356/* -----|____|---------------------------- */ 357/* ^ */ 358 359/* |------------------>| timeL */ 360/* -----|_______________________|--------- */ 361/* ^ */ 362 363/* |---------->| time2 */ 364/* -----|____|---|____|------------------- */ 365/* ^ */ 366 367function ClickIt_stacks_in_64_page135_init() { 368 ClickIt_Init_stacks_in_64_page135(); 369 /* disable touch double-click also needs zoom disable in viewport ... 370 if (("none" != "none") && ("ontouchend" in document)) { 371 var main = document.getElementById("stacks_in_64_page135"); 372 if (main) { 373 main.unbind('touchend.dblclick'); 374 } 375 } 376 */ 377 } 378 379function ClickIt_stacks_in_64_page135(event,down) { 380 381 var ev = event || window.event; 382 383 /* which direction was the click? */ 384 if (down >= 1) { 385 var clickd = true; 386 } else { 387 var clickd = false; 388 } 389 390 /* which mouse button was this? */ 391 if ((ev.which == 3) || (ev.button == 2)) { 392 var clickr = true; 393 } else { 394 var clickr = false; 395 } 396 397 /* right click no states */ 398 if (clickr) { 399 if (clickd) { 400 return ClickIt_Run_stacks_in_64_page135(1); 401 } 402 return false; 403 } 404 405 /* ignore dangling mouse up */ 406 if (!clickd && (window.ClickIt_State_stacks_in_64_page135 <= 0)) { return false; } 407 408 /* increase state counter 0=init, 1=down, 2=up, 3=down again, 4=up again */ 409 window.ClickIt_State_stacks_in_64_page135 += 1; 410 411 /* left mouse state machine */ 412 if (clickd) { 413 if (window.ClickIt_State_stacks_in_64_page135 <= 1) { 414 if (("none" == "none") && ("none" == "none")) { 415 ClickIt_Run_stacks_in_64_page135(0); 416 } else { 417 if ("none" != "none") { 418 window.ClickIt_Timerl_stacks_in_64_page135 = setTimeout("window.ClickIt_TL_stacks_in_64_page135 = true; ClickIt_Run_stacks_in_64_page135(0);",2000); 419 /* window.ClickIt_Intl_stacks_in_64_page135 = setInterval("ClickIt_Fader_stacks_in_64_page135();",100); */ 420 } 421 if ("none" != "none") { 422 window.ClickIt_Timer2_stacks_in_64_page135 = setTimeout("window.ClickIt_T2_stacks_in_64_page135 = true; ClickIt_Run_stacks_in_64_page135(0);",300); 423 } 424 } 425 return false; 426 } else { 427 ClickIt_Run_stacks_in_64_page135(0); 428 } 429 } 430 431 return false; 432 } 433 434/* from StackOverflow Pimp Trizkit */ 435function shadeBlend(p,c0,c1) { 436 var n=p<0?p*-1:p,u=Math.round,w=parseInt; 437 if(c0.length>7){ 438 var f=c0.split(","),t=(c1?c1:p<0?"rgb(0,0,0)":"rgb(255,255,255)").split(","),R=w(f[0].slice(4)),G=w(f[1]),B=w(f[2]); 439 return "rgb("+(u((w(t[0].slice(4))-R)*n)+R)+","+(u((w(t[1])-G)*n)+G)+","+(u((w(t[2])-B)*n)+B)+")" 440 } else { 441 var f=w(c0.slice(1),16),t=w((c1?c1:p<0?"#000000":"#FFFFFF").slice(1),16),R1=f>>16,G1=f>>8&0x00FF,B1=f&0x0000FF; 442 return "#"+(0x1000000+(u(((t>>16)-R1)*n)+R1)*0x10000+(u(((t>>8&0x00FF)-G1)*n)+G1)*0x100+(u(((t&0x0000FF)-B1)*n)+B1)).toString(16).slice(1) 443 } 444 } 445 446function ClickIt_Fader_stacks_in_64_page135() { 447 var main = document.getElementById("stacks_in_64_page135"); 448 document.getElementById("ClickIt_Info_stacks_in_64_page135").innerHTML = "color = " + main.style.backgroundColor; 449 main.style.backgroundColor = shadeBlend(5,main.style.backgroundColor); 450 } 451 452/* mode: 0=left, 1=right */ 453function ClickIt_Run_stacks_in_64_page135(mode) { 454 455 /* check state */ 456 if (mode >= 1) { 457 ClickIt_Hider_stacks_in_64_page135("1"); ClickIt_Hider_stacks_in_64_page135("2"); ClickIt_Hider_stacks_in_64_page135("l"); 458 return( ClickIt_Handler_stacks_in_64_page135("none", "", "ClickIt_Right_stacks_in_64_page135") ); 459 } 460 461 if (mode == 0) { 462 463 if (window.ClickIt_State_stacks_in_64_page135 <= 0) { return false; } 464 465 if (window.ClickIt_TL_stacks_in_64_page135) { 466 if (window.ClickIt_State_stacks_in_64_page135 == 1) { 467 ClickIt_Hider_stacks_in_64_page135("1"); ClickIt_Hider_stacks_in_64_page135("2"); ClickIt_Hider_stacks_in_64_page135("r"); 468 return( ClickIt_Handler_stacks_in_64_page135("none", "", "ClickIt_Long_stacks_in_64_page135") ); 469 } else { 470 ClickIt_Init_stacks_in_64_page135(); 471 } 472 } 473 474 if (("none" == "none") && ("none" == "none") && (window.ClickIt_State_stacks_in_64_page135 == 1)) { 475 ClickIt_Hider_stacks_in_64_page135("2"); ClickIt_Hider_stacks_in_64_page135("r"); ClickIt_Hider_stacks_in_64_page135("l"); 476 return( ClickIt_Handler_stacks_in_64_page135("page", "../../anti-stress/gesichter/teil1/", "ClickIt_Single_stacks_in_64_page135") ); 477 } 478 479 if (window.ClickIt_T2_stacks_in_64_page135) { 480 if (window.ClickIt_State_stacks_in_64_page135 == 2) { 481 ClickIt_Hider_stacks_in_64_page135("2"); ClickIt_Hider_stacks_in_64_page135("r"); ClickIt_Hider_stacks_in_64_page135("l"); 482 return( ClickIt_Handler_stacks_in_64_page135("page", "../../anti-stress/gesichter/teil1/", "ClickIt_Single_stacks_in_64_page135") ); 483 } 484 } else { 485 if (window.ClickIt_State_stacks_in_64_page135 == 3) { 486 ClickIt_Hider_stacks_in_64_page135("1"); ClickIt_Hider_stacks_in_64_page135("r"); ClickIt_Hider_stacks_in_64_page135("l"); 487 return( ClickIt_Handler_stacks_in_64_page135("none", "", "ClickIt_Double_stacks_in_64_page135") ); 488 } 489 } 490 491 } 492 493 return false;
494 } 495 496function ClickIt_Init_stacks_in_64_page135() { 497 /* reset all timers and state machine */ 498 clearTimeout(window.ClickIt_Timerl_stacks_in_64_page135); 499 clearTimeout(window.ClickIt_Timer2_stacks_in_64_page135); 500 clearInterval(window.ClickIt_Intl_stacks_in_64_page135); 501 window.ClickIt_TL_stacks_in_64_page135 = false; 502 window.ClickIt_T2_stacks_in_64_page135 = false; 503 window.ClickIt_State_stacks_in_64_page135 = 0; 504 } 505 506/* handle the action to take */ 507function ClickIt_Handler_stacks_in_64_page135(ctype,url,id) { 508 509 /* always reset the state */ 510 ClickIt_Init_stacks_in_64_page135(); 511 512 if (ctype == "none") { return true; } 513 514 if ((ctype == "page") && (url != "")) { 515 window.location.href = url; 516 return false; 517 } 518 519 if (ctype == "show") { 520 var cs = document.getElementById(id); 521 if (cs.style.display != "block") { 522 cs.style.display = "block"; 523 } else { 524 cs.style.display = "none"; 525 } 526 return true; 527 } 528 529 if (ctype == "popup") { 530 var cs = document.getElementById(id); 531 cs.style.display = "block"; 532 return true; 533 } 534 535 return false; 536 } 537 538/* hide the stack for other ids */ 539function ClickIt_Hider_stacks_in_64_page135(which) { 540 541 if (0 != 1) { return false; } 542 543 switch (which) { 544 case "1": 545 var ctype = "page"; 546 if ((ctype == "show") || (ctype == "popup")) { 547 var cs = document.getElementById("ClickIt_Single_stacks_in_64_page135"); 548 cs.style.display = "none"; 549 } 550 break; 551 case "2": 552 var ctype = "none"; 553 if ((ctype == "show") || (ctype == "popup")) { 554 var cs = document.getElementById("ClickIt_Double_stacks_in_64_page135"); 555 cs.style.display = "none"; 556 } 557 break; 558 case "r": 559 var ctype = "none"; 560 if ((ctype == "show") || (ctype == "popup")) { 561 var cs = document.getElementById("ClickIt_Right_stacks_in_64_page135"); 562 cs.style.display = "none"; 563 } 564 break; 565 case "l": 566 var ctype = "none"; 567 if ((ctype == "show") || (ctype == "popup")) { 568 var cs = document.getElementById("ClickIt_Long_stacks_in_64_page135"); 569 cs.style.display = "none"; 570 } 571 break; 572 } 573 574 return false; 575 } 576 577/* run the init on load and redraw whenever the window is resized if responsive */ 578stacks.jQuery(document).ready(function() { ClickIt_stacks_in_64_page135_init(); }); 579 580 581stacks.stacks_in_66_page135 = {}; 582stacks.stacks_in_66_page135 = (function(stack) { 583var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 584 585$(document).ready(function() { 586 587 588 // Helpers 589 var url = window.location; 590 var img = $('#imageWizardstacks_in_66_page135 img').attr('src'); 591 var alt = $('#imageWizardstacks_in_66_page135 img').attr('alt'); 592 593 // Pinterest helper 594 $("#socialButtonsstacks_in_66_page135 .pinterestHelper").click(function(e){ 595 e.preventDefault(); 596 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 597 }); 598 599}); 600 601return stack;})(stacks.stacks_in_66_page135);/* ClickIt javascript */ 602/* Copyright Bryn Owen Design, 2015 */ 603 604/* -----|____|---------------------------- */ 605/* ^ */ 606 607/* |------------------>| timeL */ 608/* -----|_______________________|--------- */ 609/* ^ */ 610 611/* |---------->| time2 */ 612/* -----|____|---|____|------------------- */ 613/* ^ */ 614 615function ClickIt_stacks_in_152_page135_init() { 616 ClickIt_Init_stacks_in_152_page135(); 617 /* disable touch double-click also needs zoom disable in viewport ... 618 if (("none" != "none") && ("ontouchend" in document)) { 619 var main = document.getElementById("stacks_in_152_page135"); 620 if (main) { 621 main.unbind('touchend.dblclick'); 622 } 623 } 624 */ 625 } 626 627function ClickIt_stacks_in_152_page135(event,down) { 628 629 var ev = event || window.event; 630 631 /* which direction was the click? */ 632 if (down >= 1) { 633 var clickd = true; 634 } else { 635 var clickd = false; 636 } 637 638 /* which mouse button was this? */ 639 if ((ev.which == 3) || (ev.button == 2)) { 640 var clickr = true; 641 } else { 642 var clickr = false; 643 } 644 645 /* right click no states */ 646 if (clickr) { 647 if (clickd) { 648 return ClickIt_Run_stacks_in_152_page135(1); 649 } 650 return false;
651 } 652 653 /* ignore dangling mouse up */ 654 if (!clickd && (window.ClickIt_State_stacks_in_152_page135 <= 0)) { return false; } 655 656 /* increase state counter 0=init, 1=down, 2=up, 3=down again, 4=up again */ 657 window.ClickIt_State_stacks_in_152_page135 += 1; 658 659 /* left mouse state machine */ 660 if (clickd) { 661 if (window.ClickIt_State_stacks_in_152_page135 <= 1) { 662 if (("none" == "none") && ("none" == "none")) { 663 ClickIt_Run_stacks_in_152_page135(0); 664 } else { 665 if ("none" != "none") { 666 window.ClickIt_Timerl_stacks_in_152_page135 = setTimeout("window.ClickIt_TL_stacks_in_152_page135 = true; ClickIt_Run_stacks_in_152_page135(0);",2000); 667 /* window.ClickIt_Intl_stacks_in_152_page135 = setInterval("ClickIt_Fader_stacks_in_152_page135();",100); */ 668 } 669 if ("none" != "none") { 670 window.ClickIt_Timer2_stacks_in_152_page135 = setTimeout("window.ClickIt_T2_stacks_in_152_page135 = true; ClickIt_Run_stacks_in_152_page135(0);",300); 671 } 672 } 673 return false; 674 } else { 675 ClickIt_Run_stacks_in_152_page135(0); 676 } 677 } 678 679 return false; 680 } 681 682/* from StackOverflow Pimp Trizkit */ 683function shadeBlend(p,c0,c1) { 684 var n=p<0?p*-1:p,u=Math.round,w=parseInt; 685 if(c0.length>7){ 686 var f=c0.split(","),t=(c1?c1:p<0?"rgb(0,0,0)":"rgb(255,255,255)").split(","),R=w(f[0].slice(4)),G=w(f[1]),B=w(f[2]); 687 return "rgb("+(u((w(t[0].slice(4))-R)*n)+R)+","+(u((w(t[1])-G)*n)+G)+","+(u((w(t[2])-B)*n)+B)+")" 688 } else { 689 var f=w(c0.slice(1),16),t=w((c1?c1:p<0?"#000000":"#FFFFFF").slice(1),16),R1=f>>16,G1=f>>8&0x00FF,B1=f&0x0000FF; 690 return "#"+(0x1000000+(u(((t>>16)-R1)*n)+R1)*0x10000+(u(((t>>8&0x00FF)-G1)*n)+G1)*0x100+(u(((t&0x0000FF)-B1)*n)+B1)).toString(16).slice(1) 691 } 692 } 693 694function ClickIt_Fader_stacks_in_152_page135() { 695 var main = document.getElementById("stacks_in_152_page135"); 696 document.getElementById("ClickIt_Info_stacks_in_152_page135").innerHTML = "color = " + main.style.backgroundColor; 697 main.style.backgroundColor = shadeBlend(5,main.style.backgroundColor); 698 } 699 700/* mode: 0=left, 1=right */ 701function ClickIt_Run_stacks_in_152_page135(mode) { 702 703 /* check state */ 704 if (mode >= 1) { 705 ClickIt_Hider_stacks_in_152_page135("1"); ClickIt_Hider_stacks_in_152_page135("2"); ClickIt_Hider_stacks_in_152_page135("l"); 706 return( ClickIt_Handler_stacks_in_152_page135("none", "", "ClickIt_Right_stacks_in_152_page135") ); 707 } 708 709 if (mode == 0) { 710 711 if (window.ClickIt_State_stacks_in_152_page135 <= 0) { return false; } 712 713 if (window.ClickIt_TL_stacks_in_152_page135) { 714 if (window.ClickIt_State_stacks_in_152_page135 == 1) { 715 ClickIt_Hider_stacks_in_152_page135("1"); ClickIt_Hider_stacks_in_152_page135("2"); ClickIt_Hider_stacks_in_152_page135("r"); 716 return( ClickIt_Handler_stacks_in_152_page135("none", "", "ClickIt_Long_stacks_in_152_page135") ); 717 } else { 718 ClickIt_Init_stacks_in_152_page135(); 719 } 720 } 721 722 if (("none" == "none") && ("none" == "none") && (window.ClickIt_State_stacks_in_152_page135 == 1)) { 723 ClickIt_Hider_stacks_in_152_page135("2"); ClickIt_Hider_stacks_in_152_page135("r"); ClickIt_Hider_stacks_in_152_page135("l"); 724 return( ClickIt_Handler_stacks_in_152_page135("page", "../../anti-stress/gesichter/teil2/", "ClickIt_Single_stacks_in_152_page135") ); 725 } 726 727 if (window.ClickIt_T2_stacks_in_152_page135) { 728 if (window.ClickIt_State_stacks_in_152_page135 == 2) { 729 ClickIt_Hider_stacks_in_152_page135("2"); ClickIt_Hider_stacks_in_152_page135("r"); ClickIt_Hider_stacks_in_152_page135("l"); 730 return( ClickIt_Handler_stacks_in_152_page135("page", "../../anti-stress/gesichter/teil2/", "ClickIt_Single_stacks_in_152_page135") ); 731 } 732 } else { 733 if (window.ClickIt_State_stacks_in_152_page135 == 3) { 734 ClickIt_Hider_stacks_in_152_page135("1"); ClickIt_Hider_stacks_in_152_page135("r"); ClickIt_Hider_stacks_in_152_page135("l"); 735 return( ClickIt_Handler_stacks_in_152_page135("none", "", "ClickIt_Double_stacks_in_152_page135") ); 736 } 737 } 738 739 } 740 741 return false; 742 } 743 744function ClickIt_Init_stacks_in_152_page135() { 745 /* reset all timers and state machine */ 746 clearTimeout(window.ClickIt_Timerl_stacks_in_152_page135); 747 clearTimeout(window.ClickIt_Timer2_stacks_in_152_page135); 748 clearInterval(window.ClickIt_Intl_stacks_in_152_page135); 749 window.ClickIt_TL_stacks_in_152_page135 = false;
750 window.ClickIt_T2_stacks_in_152_page135 = false; 751 window.ClickIt_State_stacks_in_152_page135 = 0; 752 } 753 754/* handle the action to take */ 755function ClickIt_Handler_stacks_in_152_page135(ctype,url,id) { 756 757 /* always reset the state */ 758 ClickIt_Init_stacks_in_152_page135(); 759 760 if (ctype == "none") { return true; } 761 762 if ((ctype == "page") && (url != "")) { 763 window.location.href = url; 764 return false; 765 } 766 767 if (ctype == "show") { 768 var cs = document.getElementById(id); 769 if (cs.style.display != "block") { 770 cs.style.display = "block"; 771 } else { 772 cs.style.display = "none"; 773 } 774 return true; 775 } 776 777 if (ctype == "popup") { 778 var cs = document.getElementById(id); 779 cs.style.display = "block"; 780 return true; 781 } 782 783 return false; 784 } 785 786/* hide the stack for other ids */ 787function ClickIt_Hider_stacks_in_152_page135(which) { 788 789 if (0 != 1) { return false; } 790 791 switch (which) { 792 case "1": 793 var ctype = "page"; 794 if ((ctype == "show") || (ctype == "popup")) { 795 var cs = document.getElementById("ClickIt_Single_stacks_in_152_page135"); 796 cs.style.display = "none"; 797 } 798 break; 799 case "2": 800 var ctype = "none"; 801 if ((ctype == "show") || (ctype == "popup")) { 802 var cs = document.getElementById("ClickIt_Double_stacks_in_152_page135"); 803 cs.style.display = "none"; 804 } 805 break; 806 case "r": 807 var ctype = "none"; 808 if ((ctype == "show") || (ctype == "popup")) { 809 var cs = document.getElementById("ClickIt_Right_stacks_in_152_page135"); 810 cs.style.display = "none"; 811 } 812 break; 813 case "l": 814 var ctype = "none"; 815 if ((ctype == "show") || (ctype == "popup")) { 816 var cs = document.getElementById("ClickIt_Long_stacks_in_152_page135"); 817 cs.style.display = "none"; 818 } 819 break; 820 } 821 822 return false; 823 } 824 825/* run the init on load and redraw whenever the window is resized if responsive */ 826stacks.jQuery(document).ready(function() { ClickIt_stacks_in_152_page135_init(); }); 827 828 829stacks.stacks_in_154_page135 = {}; 830stacks.stacks_in_154_page135 = (function(stack) { 831var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 832 833$(document).ready(function() { 834 835 836 // Helpers 837 var url = window.location; 838 var img = $('#imageWizardstacks_in_154_page135 img').attr('src'); 839 var alt = $('#imageWizardstacks_in_154_page135 img').attr('alt'); 840 841 // Pinterest helper 842 $("#socialButtonsstacks_in_154_page135 .pinterestHelper").click(function(e){ 843 e.preventDefault(); 844 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 845 }); 846 847}); 848 849return stack;})(stacks.stacks_in_154_page135);/* ClickIt javascript */ 850/* Copyright Bryn Owen Design, 2015 */ 851 852/* -----|____|---------------------------- */ 853/* ^ */ 854 855/* |------------------>| timeL */ 856/* -----|_______________________|--------- */ 857/* ^ */ 858 859/* |---------->| time2 */ 860/* -----|____|---|____|------------------- */ 861/* ^ */ 862 863function ClickIt_stacks_in_165_page135_init() { 864 ClickIt_Init_stacks_in_165_page135(); 865 /* disable touch double-click also needs zoom disable in viewport ... 866 if (("none" != "none") && ("ontouchend" in document)) { 867 var main = document.getElementById("stacks_in_165_page135"); 868 if (main) { 869 main.unbind('touchend.dblclick'); 870 } 871 } 872 */ 873 } 874 875function ClickIt_stacks_in_165_page135(event,down) { 876 877 var ev = event || window.event; 878 879 /* which direction was the click? */ 880 if (down >= 1) { 881 var clickd = true; 882 } else { 883 var clickd = false; 884 } 885 886 /* which mouse button was this? */ 887 if ((ev.which == 3) || (ev.button == 2)) { 888 var clickr = true; 889 } else { 890 var clickr = false; 891 } 892 893 /* right click no states */ 894 if (clickr) { 895 if (clickd) { 896 return ClickIt_Run_stacks_in_165_page135(1); 897 } 898 return false; 899 } 900 901 /* ignore dangling mouse up */ 902 if (!clickd && (window.ClickIt_State_stacks_in_165_page135 <= 0)) { return false; } 903 904 /* increase state counter 0=init, 1=down, 2=up, 3=down again, 4=up again */ 905 window.ClickIt_State_stacks_in_165_page135 += 1; 906 907 /* left mouse state machine */ 908 if (clickd) { 909 if (window.ClickIt_State_stacks_in_165_page135 <= 1) { 910 if (("none" == "none") && ("none" == "none")) { 911 ClickIt_Run_stacks_in_165_page135(0); 912 } else { 913 if ("none" != "none") { 914 window.ClickIt_Timerl_stacks_in_165_page135 = setTimeout("window.ClickIt_TL_stacks_in_165_page135 = true; ClickIt_Run_stacks_in_165_page135(0);",2000); 915 /* window.ClickIt_Intl_stacks_in_165_page135 = setInterval("ClickIt_Fader_stacks_in_165_page135();",100); */ 916 } 917 if ("none" != "none") { 918 window.ClickIt_Timer2_stacks_in_165_page135 = setTimeout("window.ClickIt_T2_stacks_in_165_page135 = true; ClickIt_Run_stacks_in_165_page135(0);",300); 919 } 920 } 921 return false;
922 } else { 923 ClickIt_Run_stacks_in_165_page135(0); 924 } 925 } 926 927 return false; 928 } 929 930/* from StackOverflow Pimp Trizkit */ 931function shadeBlend(p,c0,c1) { 932 var n=p<0?p*-1:p,u=Math.round,w=parseInt; 933 if(c0.length>7){ 934 var f=c0.split(","),t=(c1?c1:p<0?"rgb(0,0,0)":"rgb(255,255,255)").split(","),R=w(f[0].slice(4)),G=w(f[1]),B=w(f[2]); 935 return "rgb("+(u((w(t[0].slice(4))-R)*n)+R)+","+(u((w(t[1])-G)*n)+G)+","+(u((w(t[2])-B)*n)+B)+")" 936 } else { 937 var f=w(c0.slice(1),16),t=w((c1?c1:p<0?"#000000":"#FFFFFF").slice(1),16),R1=f>>16,G1=f>>8&0x00FF,B1=f&0x0000FF; 938 return "#"+(0x1000000+(u(((t>>16)-R1)*n)+R1)*0x10000+(u(((t>>8&0x00FF)-G1)*n)+G1)*0x100+(u(((t&0x0000FF)-B1)*n)+B1)).toString(16).slice(1) 939 } 940 } 941 942function ClickIt_Fader_stacks_in_165_page135() { 943 var main = document.getElementById("stacks_in_165_page135"); 944 document.getElementById("ClickIt_Info_stacks_in_165_page135").innerHTML = "color = " + main.style.backgroundColor; 945 main.style.backgroundColor = shadeBlend(5,main.style.backgroundColor); 946 } 947 948/* mode: 0=left, 1=right */ 949function ClickIt_Run_stacks_in_165_page135(mode) { 950 951 /* check state */ 952 if (mode >= 1) { 953 ClickIt_Hider_stacks_in_165_page135("1"); ClickIt_Hider_stacks_in_165_page135("2"); ClickIt_Hider_stacks_in_165_page135("l"); 954 return( ClickIt_Handler_stacks_in_165_page135("none", "", "ClickIt_Right_stacks_in_165_page135") ); 955 } 956 957 if (mode == 0) { 958 959 if (window.ClickIt_State_stacks_in_165_page135 <= 0) { return false; } 960 961 if (window.ClickIt_TL_stacks_in_165_page135) { 962 if (window.ClickIt_State_stacks_in_165_page135 == 1) { 963 ClickIt_Hider_stacks_in_165_page135("1"); ClickIt_Hider_stacks_in_165_page135("2"); ClickIt_Hider_stacks_in_165_page135("r"); 964 return( ClickIt_Handler_stacks_in_165_page135("none", "", "ClickIt_Long_stacks_in_165_page135") ); 965 } else { 966 ClickIt_Init_stacks_in_165_page135(); 967 } 968 } 969 970 if (("none" == "none") && ("none" == "none") && (window.ClickIt_State_stacks_in_165_page135 == 1)) { 971 ClickIt_Hider_stacks_in_165_page135("2"); ClickIt_Hider_stacks_in_165_page135("r"); ClickIt_Hider_stacks_in_165_page135("l"); 972 return( ClickIt_Handler_stacks_in_165_page135("page", "../../anti-stress/gesichter/teil3/", "ClickIt_Single_stacks_in_165_page135") ); 973 } 974 975 if (window.ClickIt_T2_stacks_in_165_page135) { 976 if (window.ClickIt_State_stacks_in_165_page135 == 2) { 977 ClickIt_Hider_stacks_in_165_page135("2"); ClickIt_Hider_stacks_in_165_page135("r"); ClickIt_Hider_stacks_in_165_page135("l"); 978 return( ClickIt_Handler_stacks_in_165_page135("page", "../../anti-stress/gesichter/teil3/", "ClickIt_Single_stacks_in_165_page135") ); 979 } 980 } else { 981 if (window.ClickIt_State_stacks_in_165_page135 == 3) { 982 ClickIt_Hider_stacks_in_165_page135("1"); ClickIt_Hider_stacks_in_165_page135("r"); ClickIt_Hider_stacks_in_165_page135("l"); 983 return( ClickIt_Handler_stacks_in_165_page135("none", "", "ClickIt_Double_stacks_in_165_page135") ); 984 } 985 } 986 987 } 988 989 return false; 990 } 991 992function ClickIt_Init_stacks_in_165_page135() { 993 /* reset all timers and state machine */ 994 clearTimeout(window.ClickIt_Timerl_stacks_in_165_page135); 995 clearTimeout(window.ClickIt_Timer2_stacks_in_165_page135); 996 clearInterval(window.ClickIt_Intl_stacks_in_165_page135); 997 window.ClickIt_TL_stacks_in_165_page135 = false; 998 window.ClickIt_T2_stacks_in_165_page135 = false; 999 window.ClickIt_State_stacks_in_165_page135 = 0; 1000 } 1001 1002/* handle the action to take */ 1003function ClickIt_Handler_stacks_in_165_page135(ctype,url,id) { 1004 1005 /* always reset the state */ 1006 ClickIt_Init_stacks_in_165_page135(); 1007 1008 if (ctype == "none") { return true; } 1009 1010 if ((ctype == "page") && (url != "")) { 1011 window.location.href = url; 1012 return false; 1013 } 1014 1015 if (ctype == "show") { 1016 var cs = document.getElementById(id); 1017 if (cs.style.display != "block") { 1018 cs.style.display = "block"; 1019 } else { 1020 cs.style.display = "none"; 1021 } 1022 return true; 1023 } 1024 1025 if (ctype == "popup") { 1026 var cs = document.getElementById(id); 1027 cs.style.display = "block"; 1028 return true; 1029 } 1030 1031 return false; 1032 } 1033 1034/* hide the stack for other ids */ 1035function ClickIt_Hider_stacks_in_165_page135(which) { 1036 1037 if (0 != 1) { return false; } 1038 1039 switch (which) { 1040 case "1": 1041 var ctype = "page"; 1042 if ((ctype == "show") || (ctype == "popup")) { 1043 var cs = document.getElementById("ClickIt_Single_stacks_in_165_page135"); 1044 cs.style.display = "none"; 1045 } 1046 break; 1047 case "2": 1048 var ctype = "none"; 1049 if ((ctype == "show") || (ctype == "popup")) { 1050 var cs = document.getElementById("ClickIt_Double_stacks_in_165_page135"); 1051 cs.style.display = "none"; 1052 } 1053 break; 1054 case "r": 1055 var ctype = "none"; 1056 if ((ctype == "show") || (ctype == "popup")) { 1057 var cs = document.getElementById("ClickIt_Right_stacks_in_165_page135"); 1058 cs.style.display = "none"; 1059 } 1060 break; 1061 case "l": 1062 var ctype = "none"; 1063 if ((ctype == "show") || (ctype == "popup")) { 1064 var cs = document.getElementById("ClickIt_Long_stacks_in_165_page135"); 1065 cs.style.display = "none"; 1066 } 1067 break; 1068 } 1069 1070 return false;
1071 } 1072 1073/* run the init on load and redraw whenever the window is resized if responsive */ 1074stacks.jQuery(document).ready(function() { ClickIt_stacks_in_165_page135_init(); }); 1075 1076 1077stacks.stacks_in_167_page135 = {}; 1078stacks.stacks_in_167_page135 = (function(stack) { 1079var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1080 1081$(document).ready(function() { 1082 1083 1084 // Helpers 1085 var url = window.location; 1086 var img = $('#imageWizardstacks_in_167_page135 img').attr('src'); 1087 var alt = $('#imageWizardstacks_in_167_page135 img').attr('alt'); 1088 1089 // Pinterest helper 1090 $("#socialButtonsstacks_in_167_page135 .pinterestHelper").click(function(e){ 1091 e.preventDefault(); 1092 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1093 }); 1094 1095}); 1096 1097return stack;})(stacks.stacks_in_167_page135);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.