text: !function(e){e.fn.fitVids=function(t){var r={customSelector:null},n=document.createElement("div"),a=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return n.className="fit-vids-style",n.innerHTML="&shy;<style>               .fluid-width-video-wrapper {                 width: 100%;                              position: relative;                       padding: 0;                            }                                                                                   .fluid-width-video-wrapper iframe,        .fluid-width-video-wrapper object,        .fluid-width-video-wrapper embed {           position: absolute;                       top: 0;                                   left: 0;                                  width: 100%;                              height: 100%;                          }                                       </style>",a.parentNode.insertBefore(n,a),t&&e.extend(r,t),this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];r.customSelector&&t.push(r.customSelector);var n=e(this).find(t.join(","));n.each(function(){var t=e(this);if(!("embed"==this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){var r="object"==this.tagName.toLowerCase()||t.attr("height")?t.attr("height"):t.height(),n=t.attr("width")?t.attr("width"):t.width(),a=r/n;if(!t.attr("id")){var i="fitvid"+Math.floor(999999*Math.random());t.attr("id",i)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*a+"%"),t.removeAttr("height").removeAttr("width")}})})}}(jQuery),function(e){e.fn.autoTOC=function(t){function r(r,n){o=l[r].tagName?e.trim(l[r].tagName).toUpperCase():"";var a=n%s==0;if(!a&&r+1<l.length&&t.avoidOrphans)for(var i=l[r+1].tagName?e.trim(l[r+1].tagName).toUpperCase():"",c=t.selector.toUpperCase().split(","),u=0;!a&&u<c.length-1;u++){var f=e.trim(c[u]),d=e.trim(c[u+1]);f==o&&d==i&&(a=!0)}return a}function n(){var t=["autoTOC","AutoTOC","_autoTOC"];for(var r in t)for(var n=0;1e3>n;n*=10){var a=""+n;if(0==n&&(n=1,a=""),e("a[name^="+t[r]+a+"]").length<1)return t[r]+a}return""}function a(e){if(e>0&&t.colSuffixSections&&t.colSuffixSections.length>0){var r=c-e;if(r>=0&&r<t.colSuffixSections.length&&t.colSuffixSections[r])return"\n"+t.colSuffixSections[r]+"\n"}return""}var i="1.3 (24-Mar-2011)",t=jQuery.extend({selector:"h1,h2,h3,h4,h5,h6",autoIndent:!0,indentLevels:null,cols:4,colSuffixSections:null,avoidOrphans:!0,LIclassPrefix:null,addInfo:!1,debug:!1},t);t.debug&&(window.status="");var o,l=e(t.selector),s=parseInt((l.length+t.cols-1)/t.cols),c=0,u=new Array;if(t.autoIndent){t.indentLevels=new Array,u=t.selector.replace(/ /g,"").toUpperCase().split(",");for(var f=0;f<u.length;f++)t.indentLevels[u[f]]=f}return this.each(function(){for(var s=0,f="",d=0,h=0,p="",g="",m=0,v=0,b=0,w=new Array,C=0;C<l.length;C++)r(C,v)&&(c++,v=0),v++,u.length>0&&t.indentLevels[o]&&(w[o]=-1);for(var C=0,y=0;C<u.length;C++){var x=u[C];-1==w[x]&&(w[x]=y++)}if(t.debug){var S="";for(var C in w)S+="\n"+C+" : "+w[C];alert(u.length+"-Selectors: "+u+" "+w.length+" indentLevels:"+S)}v=0;for(var b=0,C=0;C<l.length;C++){if(r(C,v)){if(C>0){for(var y=0;b>y;y++)p+=g;p+=g+a(m)+"</td>"}m++,v=0,p+="<td><ul>\n",g="</ul>",b=w[o];for(var y=0;b>y;y++)p+="<ul>"}var $=e(l.get(C)),L=e($).find("a[name]"),T="notKnown!",N=w[o],O=" indentLevel="+b+" itemIndent="+N;if(b>N)for(;b>N;b--)p+=g;else if(N>b)for(;N>b;b++)p+="<ul>";O=" title='From "+o+" indent="+N+O+"'",t.debug||(O=""),L.length>0?T=e(L[0]).attr("name"):(""==f&&(d++,f=n(),""==f&&h++),""!=f&&(T=f+"-"+ ++s,e($).wrapInner("<a name='"+T+"'></a>")));var j="";t.LIclassPrefix&&""!=e.trim(t.LIclassPrefix)&&""!=o&&(j=" class='"+t.LIclassPrefix+"-"+o+"'"),p+="<li"+j+O+"><a href='#"+T+"'>"+$.text()+"</a></li>\n",v++}""!=g&&(p+=g+a(m)+"</td>\n");var I="";(t.addInfo||h>0)&&(I=" title='Generated by autoTOC version "+i+"\n items="+l.length+"\n autoAnchorsAdded="+s+(h>0?"\n autoAnchorFailures="+h:"")+"'"),e(this).append("<table width='100%'"+I+"><tr>\n"+p+"</tr></table>\n")})}}(jQuery),!function(e){e.fn.toc=function(t){var r,n=this,a=e.extend({},jQuery.fn.toc.defaults,t),i=e(a.container),o=e(a.selectors,i),l=[],s=a.prefix+"-active",c=function(){for(var t=0,r=arguments.length;r>t;t++){var n=arguments[t],a=e(n);if(a.scrollTop()>0)return a;a.scrollTop(1);var i=a.scrollTop()>0;if(a.scrollTop(0),i)return a}return[]},u=c(a.container,"body","html"),f=function(t){if(a.smoothScrolling){t.preventDefault();var r=e(t.target).attr("href"),i=e(r);u.animate({scrollTop:i.offset().top},400,"swing",function(){location.hash=r})}e("li",n).removeClass(s),e(t.target).parent().addClass(s)},d=function(){r&&clearTimeout(r),r=setTimeout(function(){for(var t,r=e(window).scrollTop(),i=0,o=l.length;o>i;i++)if(l[i]>=r){e("li",n).removeClass(s),t=e("li:eq("+(i-1)+")",n).addClass(s),a.onHighlight(t);break}},50)};return a.highlightOnScroll&&(e(window).bind("scroll",d),d()),this.each(function(){var t=e(this),r=e("<ul/>");o.each(function(n,i){var o=e(i);l.push(o.offset().top-a.highlightOffset);var s=(e("<span/>").attr("id",a.anchorName(n,i,a.prefix)).insertBefore(o),e("<a/>").text(a.headerText(n,i,o)).attr("href","#"+a.anchorName(n,i,a.prefix)).bind("click",function(r){f(r),t.trigger("selected",e(this).attr("href"))})),c=e("<li/>").addClass(a.itemClass(n,i,o,a.prefix)).append(s);r.append(c)}),t.html(r)})},jQuery.fn.toc.defaults={container:"body",selectors:"h1,h2,h3",smoothScrolling:!0,prefix:"toc",onHighlight:function(){},highlightOnScroll:!0,highlightOffset:100,anchorName:function(e,t,r){return r+e},headerText:function(e,t,r){return r.text()},itemClass:function(e,t,r,n){return n+"-"+r[0].tagName.toLowerCase()}}}(jQuery),!function($){$.fn.dynamicBreadcrumbs=function(options){function setUpTrail(e){var t=settings.firstCrumbLabel+$(location).attr("pathname");console.log(t);var r=t.split("/");console.log(r);var n=cleanse(r.slice(0));if(console.log(n),!(n.length<=2)){var a=new Array;a.push({name:n[0],value:"/"});var i=$("<ul>");i.append(buildCrumb(a[0]).addClass(settings.firstCrumbClass));for(var o=1;o<n.length-1;o++)a.push({name:n[o],value:a[o-1].value+r[o]+"/"}),i.append(o==n.length-1?buildLastCrumb(a[o]):buildCrumb(a[o]));e.append(i)}}function cleanse(labels){for(var i=0;i<labels.length;i++){labels[i]=labels[i].replace(/-/gi," "),labels[i]=labels[i].replace(/.html/gi,""),labels[i]="uppercase"==settings.crumbCase?labels[i].toUpperCase():"lowercase"==settings.crumbCase?labels[i].toLowerCase():labels[i].toLowerCase().capitalize();for(var w=0;w<settings.keywords.length;w++)labels[i]=labels[i].replace(eval("/"+settings.keywords[w]+"/gi"),settings.keywords[w])}return labels}function buildCrumb(e){return $("<li>").append($("<a>").attr("href",e.value).append(e.name))}function buildLastCrumb(e){return $("<li>").append(e.name)}String.prototype.capitalize=String.prototype.capitalize||function(){return this.replace(/(^|\s)([a-z])/g,function(e,t,r){return t+r.toUpperCase()})};var settings=$.extend({},$.fn.dynamicBreadcrumbs.defaults,options);return this.each(function(){setUpTrail($(this))})},jQuery.fn.dynamicBreadcrumbs.defaults={firstCrumbLabel:"Home",firstCrumbClass:"first",crumbCase:"capitalize",keywords:["en US"]}}(jQuery);var siteArea=$(document).jurlp("path")[0][1];$("body").addClass(siteArea),$(".table-of-contents").collapse(),$(".table-of-contents").on("shown",function(){$(this).find(".toc-toggle span").fadeOut(function(){$(this).text("Hide all guides").fadeIn("fast")})}),$(".table-of-contents").on("hidden",function(){$(this).find(".toc-toggle span").fadeOut(function(){$(this).text("Show all guides").fadeIn("fast")})}),$(".video-container").fitVids(),$(".breadcrumb li").last().addClass("active"),$(document).ready(function(){$("#toc").toc({selectors:"h2,h3",container:"#content",smoothScrolling:!0,prefix:"toc",onHighlight:function(){},highlightOnScroll:!0,highlightOffset:100,anchorName:function(e,t,r){return r+e},headerText:function(e,t,r){return r.text()},itemClass:function(e,t,r){return r[0].tagName.toLowerCase()}})});