/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */ (function(e){var t={};e.respond=t;t.update=function(){}; t.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(t.mediaQueriesSupported){return;}var x=e.document,s=x.documentElement,i=[],k=[],q=[],o={},h=30,f=x.getElementsByTagName("head")[0]||s,g=x.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){for(var B=0; B-1,minw:G.match(/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:G.match(/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")}); }}j();},l,r,w=function(){var A,B=x.createElement("div"),y=x.body,z=false;B.style.cssText="position:absolute;font-size:1em;width:1em";if(!y){y=z=x.createElement("body"); y.style.background="none";}y.appendChild(B);s.insertBefore(y,s.firstChild);A=B.offsetWidth;if(z){s.removeChild(y);}else{y.removeChild(B);}A=p=parseFloat(A); return A;},p,j=function(K){var P="clientWidth",B=s[P],z=x.compatMode==="CSS1Compat"&&B||x.body[P]||B,N={},O=b[b.length-1],A=(new Date()).getTime();if(K&&l&&A-l-1?(p||w()):1); }if(!!H){H=parseFloat(H)*(H.indexOf(y)>-1?(p||w()):1);}if(!L.hasquery||(!J||!M)&&(J||z>=E)&&(M||z<=H)){if(!N[L.media]){N[L.media]=[];}N[L.media].push(k[L.rules]); }}}for(var G in q){if(q.hasOwnProperty(G)){if(q[G]&&q[G].parentNode===f){f.removeChild(q[G]);}}}for(var F in N){if(N.hasOwnProperty(F)){var D=x.createElement("style"),C=N[F].join("\n"); D.type="text/css";D.media=F;f.insertBefore(D,O.nextSibling);if(D.styleSheet){D.styleSheet.cssText=C;}else{D.appendChild(x.createTextNode(C));}q.push(D); }}},n=function(y,A){var z=c();if(!z){return;}z.open("GET",y,true);z.onreadystatechange=function(){if(z.readyState!==4||z.status!==200&&z.status!==304){return; }A(z.responseText);};if(z.readyState===4){return;}z.send(null);},c=(function(){var y=false;try{y=new e.XMLHttpRequest();}catch(z){y=new e.ActiveXObject("Microsoft.XMLHTTP"); }return function(){return y;};})();a();t.update=a;function u(){j(true);}if(e.addEventListener){e.addEventListener("resize",u,false);}else{if(e.attachEvent){e.attachEvent("onresize",u); }}})(this); /*! A fix for the iOS orientationchange zoom bug. Script by @scottjehl, rebound by @wilto. MIT / GPLv2 License. */ (function(n){var d=navigator.userAgent; if(!(/iPhone|iPad|iPod/.test(navigator.platform)&&/OS [1-5]_[0-9_]* like Mac OS X/i.test(d)&&d.indexOf("AppleWebKit")>-1)){return;}var m=n.document;if(!m.querySelector){return; }var o=m.querySelector("meta[name=viewport]"),a=o&&o.getAttribute("content"),l=a+",maximum-scale=1",e=a+",maximum-scale=10",h=true,k,j,i,c;if(!o){return; }function g(){o.setAttribute("content",e);h=true;}function b(){o.setAttribute("content",l);h=false;}function f(p){c=p.accelerationIncludingGravity;k=Math.abs(c.x); j=Math.abs(c.y);i=Math.abs(c.z);if((!n.orientation||n.orientation===180)&&(k>7||((i>6&&j<8||i<8&&j>6)&&k>5))){if(h){b();}}else{if(!h){g();}}}n.addEventListener("orientationchange",g,false); n.addEventListener("devicemotion",f,false);})(this); /*! * FitVids 1.0 * * Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/ * * Date: Thu Sept 01 18:00:00 2011 -0500 */ (function(a){a.fn.fitVids=function(b){var c={customSelector:null}; if(!document.getElementById("fit-vids-style")){var e=document.createElement("div"),d=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0]; e.className="fit-vids-style";e.id="fit-vids-style";e.style.display="none";e.innerHTML="­"; d.parentNode.insertBefore(e,d);}if(b){a.extend(c,b);}return this.each(function(){var f=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"]; if(c.customSelector){f.push(c.customSelector);}var g=a(this).find(f.join(","));g=g.not("object object");g.each(function(){var l=a(this);if(this.tagName.toLowerCase()==="embed"&&l.parent("object").length||l.parent(".fluid-width-video-wrapper").length){return; }var h=(this.tagName.toLowerCase()==="object"||(l.attr("height")&&!isNaN(parseInt(l.attr("height"),10))))?parseInt(l.attr("height"),10):l.height(),i=!isNaN(parseInt(l.attr("width"),10))?parseInt(l.attr("width"),10):l.width(),j=h/i; if(!l.attr("id")){var k="fitvid"+Math.floor(Math.random()*999999);l.attr("id",k);}l.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",(j*100)+"%"); l.removeAttr("height").removeAttr("width");});});};})(jQuery); /*!
crossbrowser support * @author Manuel Bieh * @url http://www.manuel-bieh.de/ * @version 0.9 * @license http://www.gnu.org/licenses/lgpl-3.0.txt LGPL * Date $LastChangedDate: 2011-08-03 08:43:30 +0200 (Mi, 03 Aug 2011) $ */ jQuery(function(a){(function(){var c=this; this.hideDetailChildren=function(h){var f=h instanceof jQuery?h[0].childNodes:h.childNodes,j=f.length;a(h).attr("open",false);if(a.browser.safari==true){for(var e=0; e");g.text(f[e].textContent).hide();a(f[e]).after(g);f[e].textContent="";j++;}}}a.each(f,function(i,l){if(a(l)[0].nodeType==1&&l==a(l).parent().find("> summary:first-of-type")[0]){if(a(l).data("processed")!=true){a(l).css({display:"block",cursor:"pointer"}).data("processed",true).addClass("detailHidden").bind("click",function(){c.toggleDetailChildren(a(this)); });a(h).prepend(a(l));}}else{if(a(l)[0].nodeType==3&&!l.isElementContentWhitespace&&!!a.browser.safari==false){var m=a("");m.text(l.textContent).hide(); a(l).after(m);l.textContent="";}else{if(a(h).find("> summary").length==0){var k=a("").text("Details").css({display:"block",cursor:"pointer"}).data("processed",true).addClass("detailHidden").bind("click",function(){c.toggleDetailChildren(a(this)); });a(h).prepend(k);}}}a(h).find("> :visible:not(summary:first-child)").hide();});};this.showDetailChildren=function(e){a(e).attr("open",true);a.each(a(e).find("> *"),function(g,f){a(f).show(); });};this.toggleDetailChildren=function(e){if(e.hasClass("detailHidden")){e.removeClass("detailHidden");c.showDetailChildren(e.parents("details")[0]);}else{e.addClass("detailHidden"); c.hideDetailChildren(e.parents("details")[0]);}};var d=(function(i){var g=i.createElement("details"),f,e,h;if(!("open" in g)){return false;}e=i.body||(function(){var j=i.documentElement; f=true;return j.insertBefore(i.createElement("body"),j.firstElementChild||j.firstChild);}());g.innerHTML="ab";g.style.display="block"; e.appendChild(g);h=g.offsetHeight;g.open=true;h=h!=g.offsetHeight;e.removeChild(g);if(f){e.parentNode.removeChild(e);}return h;}(document));if(d==false){if(a("details").length!==0){var b=a("