function updateViewportDimensions(){var e=window,t=document,n=t.documentElement,i=t.getElementsByTagName("body")[0],r=e.innerWidth||n.clientWidth||i.clientWidth,a=e.innerHeight||n.clientHeight||i.clientHeight;return{width:r,height:a}}function loadGravatars(){viewport=updateViewportDimensions(),viewport.width>=768&&jQuery(".comment img[data-gravatar]").each(function(){jQuery(this).attr("src",$(this).attr("data-gravatar"))})}function is_touch_device(){return!!("ontouchstart"in window)}var cssua=function(e,t,n){var i=/\s*([\-\w ]+)[\s\/\:]([\d_]+\b(?:[\-\._\/]\w+)*)/,r=/([\w\-\.]+[\s\/][v]?[\d_]+\b(?:[\-\._\/]\w+)*)/g,a=/\b(?:(blackberry\w*|bb10)|(rim tablet os))(?:\/(\d+\.\d+(?:\.\w+)*))?/,o=/\bsilk-accelerated=true\b/,s=/\bfluidapp\b/,c=/(\bwindows\b|\bmacintosh\b|\blinux\b|\bunix\b)/,l=/(\bandroid\b|\bipad\b|\bipod\b|\bwindows phone\b|\bwpdesktop\b|\bxblwp7\b|\bzunewp7\b|\bwindows ce\b|\bblackberry\w*|\bbb10\b|\brim tablet os\b|\bmeego|\bwebos\b|\bpalm|\bsymbian|\bj2me\b|\bdocomo\b|\bpda\b|\bchtml\b|\bmidp\b|\bcldc\b|\w*?mobile\w*?|\w*?phone\w*?)/,u=/(\bxbox\b|\bplaystation\b|\bnintendo\s+\w+)/,d={parse:function(e,t){var n={};if(t&&(n.standalone=t),e=(""+e).toLowerCase(),!e)return n;for(var d,p,h=e.split(/[()]/),m=0,f=h.length;f>m;m++)if(m%2){var b=h[m].split(";");for(d=0,p=b.length;p>d;d++)if(i.exec(b[d])){var g=RegExp.$1.split(" ").join("_"),v=RegExp.$2;(!n[g]||parseFloat(n[g])<parseFloat(v))&&(n[g]=v)}}else if(b=h[m].match(r))for(d=0,p=b.length;p>d;d++)g=b[d].split(/[\/\s]+/),g.length&&"mozilla"!==g[0]&&(n[g[0].split(" ").join("_")]=g.slice(1).join("-"));return l.exec(e)?(n.mobile=RegExp.$1,a.exec(e)&&(delete n[n.mobile],n.blackberry=n.version||RegExp.$3||RegExp.$2||RegExp.$1,RegExp.$1?n.mobile="blackberry":"0.0.1"===n.version&&(n.blackberry="7.1.0.0"))):c.exec(e)?n.desktop=RegExp.$1:u.exec(e)&&(n.game=RegExp.$1,d=n.game.split(" ").join("_"),n.version&&!n[d]&&(n[d]=n.version)),n.intel_mac_os_x?(n.mac_os_x=n.intel_mac_os_x.split("_").join("."),delete n.intel_mac_os_x):n.cpu_iphone_os?(n.ios=n.cpu_iphone_os.split("_").join("."),delete n.cpu_iphone_os):n.cpu_os?(n.ios=n.cpu_os.split("_").join("."),delete n.cpu_os):"iphone"!==n.mobile||n.ios||(n.ios="1"),n.opera&&n.version?(n.opera=n.version,delete n.blackberry):o.exec(e)?n.silk_accelerated=!0:s.exec(e)&&(n.fluidapp=n.version),n.applewebkit?(n.webkit=n.applewebkit,delete n.applewebkit,n.opr&&(n.opera=n.opr,delete n.opr,delete n.chrome),n.safari&&(n.chrome||n.crios||n.opera||n.silk||n.fluidapp||n.phantomjs||n.mobile&&!n.ios?delete n.safari:n.safari=n.version&&!n.rim_tablet_os?n.version:{419:"2.0.4",417:"2.0.3",416:"2.0.2",412:"2.0",312:"1.3",125:"1.2",85:"1.0"}[parseInt(n.safari,10)]||n.safari)):n.msie||n.trident?(n.opera||(n.ie=n.msie||n.rv),delete n.msie,n.windows_phone_os?(n.windows_phone=n.windows_phone_os,delete n.windows_phone_os):("wpdesktop"===n.mobile||"xblwp7"===n.mobile||"zunewp7"===n.mobile)&&(n.mobile="windows desktop",n.windows_phone=9>+n.ie?"7.0":10>+n.ie?"7.5":"8.0",delete n.windows_nt)):(n.gecko||n.firefox)&&(n.gecko=n.rv),n.rv&&delete n.rv,n.version&&delete n.version,n},format:function(e){var t="",n;for(n in e)if(n&&e.hasOwnProperty(n)){var i=n,r=e[n],i=i.split(".").join("-"),a=" ua-"+i;if("string"==typeof r){for(var r=r.split(" ").join("_").split(".").join("-"),o=r.indexOf("-");o>0;)a+=" ua-"+i+"-"+r.substring(0,o),o=r.indexOf("-",o+1);a+=" ua-"+i+"-"+r}t+=a}return t},encode:function(e){var t="",n;for(n in e)n&&e.hasOwnProperty(n)&&(t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}};return d.userAgent=d.ua=d.parse(t,n),t=d.format(d.ua)+" js",e.className=e.className?e.className.replace(/\bno-js\b/g,"")+t:t.substr(1),d}(document.documentElement,navigator.userAgent,navigator.standalone),viewport=updateViewportDimensions(),waitForFinalEvent=function(){var e={};return function(t,n,i){i||(i="Don't call this twice without a uniqueId"),e[i]&&clearTimeout(e[i]),e[i]=setTimeout(t,n)}}(),timeToWaitForLast=100;jQuery(document).ready(function($){function e(){n.width()<900&&n.width()>767?$("#logo img").addClass("swirl").attr("src","http://dev.brandsite.jockeyinternational.com/wp-content/themes/jockeyintl/library/images/jockey_swirl.png"):$("#logo img").removeClass("swirl").attr("src","http://dev.brandsite.jockeyinternational.com/wp-content/themes/jockeyintl/library/images/jockey_logo.png"),n.width()<768&&$(".about-jockey #banner").css({"background-position":"20% "+-scrollPos/2+"px"})}var t,n=$(window);e(),n.resize(function(){clearTimeout(t),t=setTimeout(e,100)})}),jQuery(document).ready(function($){function e(){return window.pageYOffset||document.documentElement.scrollTop}function t(){$(document).scroll(function(){var e=$(this).scrollTop();$("#banner-text").css({top:e/3+"px",opacity:1-e/259}),$("#banner").css({"background-position":"center "+-e/2+"px"}),$(".show-youre-jockey #banner").css({"background-position":"90% "+-e/2+"px"})})}var n=69;$(window).scroll(function(){var t=e();t>=n?($(".header, .header-background").addClass("shrink"),$("body").addClass("header-shrink"),$(".breadcrumbs-outer").addClass("bc-sticky")):($(".header, .header-background").removeClass("shrink"),$("body").removeClass("header-shrink"),$(".breadcrumbs-outer").removeClass("bc-sticky"))}),$(".ipad, .iphone").length>0&&($(".header, .header-background").addClass("shrink-mobile"),$(".breadcrumbs").addClass("bc-sticky")),navigator.userAgent.match(/iPhone/i)&&(0||$("body").addClass("iphone4")),t(),$("#menu-item-290 > ul.sub-menu").hover(function(){$("#menu-item-290 > a").toggleClass("jockey-red")}),$("#menu-item-291 > ul.sub-menu").hover(function(){$("#menu-item-291 > a").toggleClass("jockey-red")}),$("#menu-item-6530 > ul.sub-menu").addClass("partner-ul"),$("#menu-item-6530 > ul li").slice(0,10).wrapAll("<div class='partner-group columnleft'>").hover(function(){$("#menu-item-6530 > a").toggleClass("jockey-red")}),$("#menu-item-6530 > ul li").slice(10,20).wrapAll("<div class='partner-group columnright'>").hover(function(){$("#menu-item-6530 > a").toggleClass("jockey-red")}),$("<br />").insertAfter(".entry-content iframe"),$("video").css("width","100%"),$("video").css("height","100%"),$('iframe[src*="youtube"]').attr("src",function(e,t){return t+"?wmode=transparent"}),$(".entry-content .wp-post-image").each(function(){$(this).attr("data-no-retina","")})}),jQuery(document).ready(function($){is_touch_device()&&$("#menu-main li:not(.mobile-tl) > ul").each(function(e,t){$(t).prev("a:first").click(function(e){e.preventDefault()})})}),!function(){function e(){}function t(e){return a.retinaImageSuffix+e}function n(e,n){if(this.path=e||"","undefined"!=typeof n&&null!==n)this.at_2x_path=n,this.perform_check=!1;else{if(void 0!==document.createElement){var i=document.createElement("a");i.href=this.path,i.pathname=i.pathname.replace(o,t),this.at_2x_path=i.href}else{var r=this.path.split("?");r[0]=r[0].replace(o,t),this.at_2x_path=r.join("?")}this.perform_check=!0}}function i(e){this.el=e,this.path=new n(this.el.getAttribute("src"),this.el.getAttribute("data-at2x"));var t=this;this.path.check_2x_variant(function(e){e&&t.swap()})}var r="undefined"==typeof exports?window:exports,a={retinaImageSuffix:"@2x",check_mime_type:!0,force_original_dimensions:!0};r.Retina=e,e.configure=function(e){null===e&&(e={});for(var t in e)e.hasOwnProperty(t)&&(a[t]=e[t])},e.init=function(e){null===e&&(e=r);var t=e.onload||function(){};e.onload=function(){var e,n,r=document.getElementsByTagName("img"),a=[];for(e=0;e<r.length;e+=1)n=r[e],n.getAttributeNode("data-no-retina")||a.push(new i(n));t()}},e.isRetina=function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";return r.devicePixelRatio>1?!0:r.matchMedia&&r.matchMedia(e).matches?!0:!1};var o=/\.\w+$/;r.RetinaImagePath=n,n.confirmed_paths=[],n.prototype.is_external=function(){return!(!this.path.match(/^https?\:/i)||this.path.match("//"+document.domain))},n.prototype.check_2x_variant=function(e){var t,i=this;return this.is_external()?e(!1):this.perform_check||"undefined"==typeof this.at_2x_path||null===this.at_2x_path?this.at_2x_path in n.confirmed_paths?e(!0):(t=new XMLHttpRequest,t.open("HEAD",this.at_2x_path),t.onreadystatechange=function(){if(4!==t.readyState)return e(!1);if(t.status>=200&&t.status<=399){if(a.check_mime_type){var r=t.getResponseHeader("Content-Type");if(null===r||!r.match(/^image/i))return e(!1)}return n.confirmed_paths.push(i.at_2x_path),e(!0)}return e(!1)},void t.send()):e(!0)},r.RetinaImage=i,i.prototype.swap=function(e){function t(){n.el.complete?(a.force_original_dimensions&&(n.el.setAttribute("width",n.el.offsetWidth),n.el.setAttribute("height",n.el.offsetHeight)),n.el.setAttribute("src",e)):setTimeout(t,5)}"undefined"==typeof e&&(e=this.path.at_2x_path);var n=this;t()},e.isRetina()&&e.init(r)}(),function(e){"use strict";function t(){x(!0)}var n={};e.respond=n,n.update=function(){};var i=[],r=function(){var t=!1;try{t=new e.XMLHttpRequest}catch(n){t=new e.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),a=function(e,t){var n=r();n&&(n.open("GET",e,!0),n.onreadystatechange=function(){4!==n.readyState||200!==n.status&&304!==n.status||t(n.responseText)},4!==n.readyState&&n.send(null))},o=function(e){return e.replace(n.regex.minmaxwh,"").match(n.regex.other)};if(n.ajax=a,n.queue=i,n.unsupportedmq=o,n.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},n.mediaQueriesSupported=e.matchMedia&&null!==e.matchMedia("only all")&&e.matchMedia("only all").matches,!n.mediaQueriesSupported){var s=e.document,c=s.documentElement,l=[],u=[],d=[],p={},h=30,m=s.getElementsByTagName("head")[0]||c,f=s.getElementsByTagName("base")[0],b=m.getElementsByTagName("link"),g,v,y,w=function(){var e,t=s.createElement("div"),n=s.body,i=c.style.fontSize,r=n&&n.style.fontSize,a=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=a=s.createElement("body"),n.style.background="none"),c.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(t),a&&c.insertBefore(n,c.firstChild),e=t.offsetWidth,a?c.removeChild(n):n.removeChild(t),c.style.fontSize=i,r&&(n.style.fontSize=r),e=y=parseFloat(e)},x=function(t){var n="clientWidth",i=c[n],r="CSS1Compat"===s.compatMode&&i||s.body[n]||i,a={},o=b[b.length-1],p=(new Date).getTime();if(t&&g&&h>p-g)return e.clearTimeout(v),void(v=e.setTimeout(x,h));g=p;for(var f in l)if(l.hasOwnProperty(f)){var _=l[f],k=_.minw,E=_.maxw,T=null===k,j=null===E,C="em";k&&(k=parseFloat(k)*(k.indexOf(C)>-1?y||w():1)),E&&(E=parseFloat(E)*(E.indexOf(C)>-1?y||w():1)),_.hasquery&&(T&&j||!(T||r>=k)||!(j||E>=r))||(a[_.media]||(a[_.media]=[]),a[_.media].push(u[_.rules]))}for(var S in d)d.hasOwnProperty(S)&&d[S]&&d[S].parentNode===m&&m.removeChild(d[S]);d.length=0;for(var R in a)if(a.hasOwnProperty(R)){var N=s.createElement("style"),A=a[R].join("\n");N.type="text/css",N.media=R,m.insertBefore(N,o.nextSibling),N.styleSheet?N.styleSheet.cssText=A:N.appendChild(s.createTextNode(A)),d.push(N)}},_=function(e,t,i){var r=e.replace(n.regex.comments,"").replace(n.regex.keyframes,"").match(n.regex.media),a=r&&r.length||0;t=t.substring(0,t.lastIndexOf("/"));var s=function(e){return e.replace(n.regex.urls,"$1"+t+"$2$3")},c=!a&&i;t.length&&(t+="/"),c&&(a=1);for(var d=0;a>d;d++){var p,h,m,f;c?(p=i,u.push(s(e))):(p=r[d].match(n.regex.findStyles)&&RegExp.$1,u.push(RegExp.$2&&s(RegExp.$2))),m=p.split(","),f=m.length;for(var b=0;f>b;b++)h=m[b],o(h)||l.push({media:h.split("(")[0].match(n.regex.only)&&RegExp.$2||"all",rules:u.length-1,hasquery:h.indexOf("(")>-1,minw:h.match(n.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:h.match(n.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}x()},k=function(){if(i.length){var t=i.shift();a(t.href,function(n){_(n,t.href,t.media),p[t.href]=!0,e.setTimeout(function(){k()},0)})}},E=function(){for(var t=0;t<b.length;t++){var n=b[t],r=n.href,a=n.media,o=n.rel&&"stylesheet"===n.rel.toLowerCase();r&&o&&!p[r]&&(n.styleSheet&&n.styleSheet.rawCssText?(_(n.styleSheet.rawCssText,r,a),p[r]=!0):(!/^([a-zA-Z:]*\/\/)/.test(r)&&!f||r.replace(RegExp.$1,"").split("/")[0]===e.location.host)&&("//"===r.substring(0,2)&&(r=e.location.protocol+r),i.push({href:r,media:a})))}k()};E(),n.update=E,n.getEmValue=w,e.addEventListener?e.addEventListener("resize",t,!1):e.attachEvent&&e.attachEvent("onresize",t)}}(this),function(e){function t(e){return e.replace(M,G).replace(P,function(e,t,a){for(var o=a.split(","),s=0,c=o.length;c>s;s++){var l=u(o[s])+V,d=[];o[s]=l.replace(H,function(e,t,a,o,s){if(t)return d.length>0&&(r(l.substring(0,s),d),d=[]),t;var c=a?i(a):n(o);return c?(d.push(c),"."+c.className):e})}return t+o.join(",")})}function n(e){return!F||F.test(e)?{className:o(e),applyClass:!0}:null}function i(t){var n=!0,i=o(t.slice(1)),r=":not("==t.substring(0,5),a,s;r&&(t=t.slice(5,-1));var c=t.indexOf("(");if(c>-1&&(t=t.substring(0,c)),":"==t.charAt(0))switch(t.slice(1)){case"root":n=function(e){return r?e!=x:e==x};break;case"target":if(8==k){n=function(t){var n=function(){var e=location.hash,n=e.slice(1);return r?e==U||t.id!=n:e!=U&&t.id==n};return h(e,"hashchange",function(){d(t,i,n())}),n()};break}return!1;case"checked":n=function(e){return B.test(e.type)&&h(e,"propertychange",function(){"checked"==event.propertyName&&d(e,i,e.checked!==r)}),e.checked!==r};break;case"disabled":r=!r;case"enabled":n=function(e){return q.test(e.tagName)?(h(e,"propertychange",function(){"$disabled"==event.propertyName&&d(e,i,e.$disabled===r)}),j.push(e),e.$disabled=e.disabled,e.disabled===r):":enabled"==t?r:!r};break;case"focus":a="focus",s="blur";case"hover":a||(a="mouseenter",s="mouseleave"),n=function(e){return h(e,r?s:a,function(){d(e,i,!0)}),h(e,r?a:s,function(){d(e,i,!1)}),r};break;default:if(!z.test(t))return!1}return{className:i,applyClass:n}}function r(e,t){var n,i=e.replace(I,U);(i==U||i.charAt(i.length-1)==V)&&(i+="*");try{n=T(i)}catch(r){s("Selector '"+e+"' threw exception '"+r+"'")}if(n)for(var o=0,c=n.length;c>o;o++){for(var l=n[o],u=l.className,d=0,h=t.length;h>d;d++){var m=t[d];a(l,m)||!m.applyClass||m.applyClass!==!0&&m.applyClass(l)!==!0||(u=p(u,m.className,!0))}l.className=u}}function a(e,t){return new RegExp("(^|\\s)"+t.className+"(\\s|$)").test(e.className)}function o(e){return R+"-"+(6==k&&S?C++:e.replace(L,function(e){return e.charCodeAt(0)}))}function s(t){e.console&&e.console.log(t)}function c(e){return e.replace(W,G)}function l(e){return c(e).replace(Q,V)}function u(e){return l(e.replace(D,G).replace(X,G))}function d(e,t,n){var i=e.className,r=p(i,t,n);r!=i&&(e.className=r,e.parentNode.className+=U)}function p(e,t,n){var i=RegExp("(^|\\s)"+t+"(\\s|$)"),r=i.test(e);return n?r?e:e+V+t:r?c(e.replace(i,G)):e}function h(e,t,n){e.attachEvent("on"+t,n)}function m(){if(e.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){return null}}function f(e){return _.open("GET",e,!1),_.send(),200==_.status?_.responseText:U}function b(e,t){function n(e){return e.substring(0,e.indexOf("/",8))}if(/^https?:\/\//i.test(e))return n(t)==n(e)?e:null;if("/"==e.charAt(0))return n(t)+e;var i=t.split(/[?#]/)[0];return"?"!=e.charAt(0)&&"/"!=i.charAt(i.length-1)&&(i=i.substring(0,i.lastIndexOf("/")+1)),i+e}function g(e){return e?f(e).replace(N,U).replace(A,function(t,n,i,r,a){return g(b(i||a,e))}).replace(O,function(t,n,i){return n=n||U," url("+n+b(i,e)+n+") "}):U}function v(){for(var e,n,i=w.getElementsByTagName("BASE"),r=i.length>0?i[0].href:w.location.href,a=0;a<w.styleSheets.length;a++)n=w.styleSheets[a],n.href!=U&&(e=b(n.href,r),e&&(n.cssText=t(g(e))));j.length>0&&setInterval(function(){for(var e=0,t=j.length;t>e;e++){var n=j[e];n.disabled!==n.$disabled&&(n.disabled?(n.disabled=!1,n.$disabled=!0,n.disabled=!0):n.$disabled=n.disabled)}},250)}function y(e,t){var n=!1,i=!0,r=function(i){("readystatechange"!=i.type||"complete"==w.readyState)&&(("load"==i.type?e:w).detachEvent("on"+i.type,r,!1),!n&&(n=!0)&&t.call(e,i.type||i))},a=function(){try{x.doScroll("left")}catch(e){return void setTimeout(a,50)}r("poll")};if("complete"==w.readyState)t.call(e,U);else{if(w.createEventObject&&x.doScroll){try{i=!e.frameElement}catch(o){}i&&a()}h(w,"readystatechange",r),h(e,"load",r)}}if(/*@cc_on!@*/0){var w=document,x=w.documentElement,_=m(),k=/MSIE (\d+)/.exec(navigator.userAgent)[1];if(!("CSS1Compat"!=w.compatMode||6>k||k>8)&&_){var E={NW:"*.Dom.select",MooTools:"$$",DOMAssistant:"*.$",Prototype:"$$",YAHOO:"*.util.Selector.query",Sizzle:"*",jQuery:"*",dojo:"*.query"},T,j=[],C=0,S=!0,R="slvzr",N=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g,A=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))[^;]*;/g,O=/\burl\(\s*(["']?)(?!data:)([^"')]+)\1\s*\)/g,z=/^:(empty|(first|last|only|nth(-last)?)-(child|of-type))$/,M=/:(:first-(?:line|letter))/g,P=/(^|})\s*([^\{]*?[\[:][^{]+)/g,H=/([ +~>])|(:[a-z-]+(?:\(.*?\)+)?)|(\[.*?\])/g,I=/(:not\()?:(hover|enabled|disabled|focus|checked|target|active|visited|first-line|first-letter)\)?/g,L=/[^\w-]/g,q=/^(INPUT|SELECT|TEXTAREA|BUTTON)$/,B=/^(checkbox|radio)$/,F=k>6?/[\$\^*]=(['"])\1/:null,D=/([(\[+~])\s+/g,X=/\s+([)\]+~])/g,Q=/\s+/g,W=/^\s*((?:[\S\s]*\S)?)\s*$/,U="",V=" ",G="$1";y(e,function(){for(var t in E){var n,i,r=e;if(e[t]){for(n=E[t].replace("*",t).split(".");(i=n.shift())&&(r=r[i]););if("function"==typeof r)return T=r,void v()}}})}}}(this);