$(document).ready(function(){$("#cover").append('<div class="image"></div>'),$("#cover").append('<div class="footer"><img src="../Images/covers/FFY2_cover-footer.png"></img></div>'),$("#cover").css({height:$(window).height()}),$("#cover .image").css({height:$(window).height()-420}),$(".chapter-opener").css({height:.75*$(window).height()});var imageHeight=.75*$(window).height();$(".chapter-opener .content").css({"margin-top":imageHeight-250}),$(window).resize(function(){$("#cover").css({height:$(window).height()}),$("#cover .image").css({height:$(window).height()-420}),$(".chapter-opener").css({height:.75*$(window).height()});var imageHeight=.75*$(window).height();$(".chapter-opener .content").css({"margin-top":imageHeight-250})}),$(".chapter-opener .chapter, .chapter-opener .title").wrapAll('<div class="masthead"></div>'),$(".chapter-opener .masthead").wrapInner('<div class="wrapper"></div>'),$(".chapter-opener .wrapper").wrapInner('<div class="inner"></div>'),$(".eoc").wrapInner('<div class="content"></div>'),$(".eoc .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".recipes .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".investigate-panel .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".design-brief-panel .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".collaborate-panel .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".solution-panel .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".reflect-panel .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".activity-panel").wrapInner('<div class="inner"></div>'),$(".activity-panel").prepend('<div class="top"></div>'),$('<div class="bottom"></div>').insertAfter(".activity-panel .inner"),$(".activity-panel .download a").html('<span class="icon-doc-solid"></span><div></div>'),$(".interactive-panel").wrapInner('<div class="inner"></div>'),$(".interactive-panel").prepend('<div class="top"></div>'),$('<div class="bottom"></div>').insertAfter(".interactive-panel .inner"),$("ol li").wrapInner('<span class="item"/></span>'),$('<span class="icon-search"></span>').insertAfter("figure a[data-reveal-id] img")});