/*! Respond.js v1.1.0 (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */ (function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches; if(respond.mediaQueriesSupported){return;}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x; for(;B-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")}); }}j();},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body"); x.style.background="none";}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x);}else{x.removeChild(A);}z=p=parseFloat(z); return z;},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l-1?(p||v()):1); }if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1);}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[];}D[K.media].push(k[K.rules]); }}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E]);}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css"; M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F;}else{M.appendChild(w.createTextNode(F));}q.push(M);}},n=function(x,z){var y=c(); if(!y){return;}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return;}z(y.responseText);};if(y.readyState==4){return; }y.send(null);},c=(function(){var x=false;try{x=new XMLHttpRequest();}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP");}return function(){return x;};})(); a();respond.update=a;function t(){j(true);}if(e.addEventListener){e.addEventListener("resize",t,false);}else{if(e.attachEvent){e.attachEvent("onresize",t); }}})(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}; var e=document.createElement("div"),d=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];e.className="fit-vids-style"; 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*='www.youtube.com']","iframe[src*='www.youtube-nocookie.com']","iframe[src*='www.kickstarter.com']","object","embed"]; if(c.customSelector){f.push(c.customSelector);}var g=a(this).find(f.join(","));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("