document.write('<div id=\"in2era\"><!-- Text &copy; 2017 Jill McDougall. Illustrations &copy; 2017 Nathan Kolic. First published online 2017. Copyright and all rights reserved by Era Publications. --><script type=\"text/javascript\">var head = document.getElementsByTagName(\"head\")[0] || document.documentElement;var productID = \"wings-phonics-online\";var bookID = \"bb-brave-bob\";var lang = \"en_au\";var basePath = \"https://s3-ap-southeast-1.amazonaws.com/in2era/private/\";var xmlPath = basePath + productID + \"/books/\" + bookID + \"/\";var buttonsPath = basePath + productID + \"/buttons/\";var coversPath = basePath + productID + \"/books/\" + bookID + \"/covers/\";var pageImagesPath = basePath + productID + \"/books/\" + bookID + \"/pages/\";var wordsAudioPath = basePath + productID + \"/audio/\" + lang + \"/words/\";var pageAudioPath = basePath + productID + \"/books/\" + bookID + \"/audio/\" + lang + \"/\";var copyright = \"\"; var in2era = {};in2era.vars = { \"bookID\":bookID, \"productID\":productID, \"xmlPath\":xmlPath, \"buttonsPath\":buttonsPath, \"coversPath\":coversPath, \"pageImagesPath\":pageImagesPath, \"wordsAudioPath\":wordsAudioPath, \"pageAudioPath\":pageAudioPath, \"lang\":lang };function loadScripts ( filesToLoad ) {var numToLoad = filesToLoad.length;var numLoaded = 0;for ( var a = 1; a <= numToLoad; a++ ) {window[\"script\" + a] = document.createElement(\"script\");window[\"script\" + a].src = filesToLoad[a - 1];/* Attach handlers for all browsers */window[\"script\" + a].onload = window[\"script\" + a].onreadystatechange = function() {if ( ( numLoaded < numToLoad ) && (!this.readyState ||this.readyState === \"loaded\" || this.readyState === \"complete\") ) {numLoaded++;if ( numLoaded >= numToLoad ) {ERABook.loadStep1( in2era.vars.bookID, in2era.vars.productID, in2era.vars.xmlPath, in2era.vars.buttonsPath, in2era.vars.coversPath, in2era.vars.pageImagesPath, in2era.vars.wordsAudioPath, in2era.vars.pageAudioPath, in2era.vars.lang );/* Handle memory leak in IE */for ( var b = 1; b <= numToLoad; b++ ) {window[\"script\" + b].onload = window[\"script\" + b].onreadystatechange = null;}}}};/* Use insertBefore instead of appendChildto circumvent an IE6 bug. */head.insertBefore( window[\"script\" + a], head.firstChild );}}loadScripts( [ basePath + \"wings-phonics-online/soundjs-0.6.2.min.js\", basePath + \"wings-phonics-online/book.js\" ] );<\/script><div id=\"in2era-container\"><script type=\"text/javascript\">document.write( copyright );<\/script><canvas id=\"myCanvas\" style=\"top:0px; left:0px;\" width=\"840\" height=\"440\"><\/canvas><div id=\"fpsCounter\" style=\"position:absolute; top:0px; left: 0px\"><\/div><\/div><\/div>');
var _gaq = [['_setAccount','#{APP_CONFIG[:google_analytics_ua]}'],['_setCustomVar', 1, 'Distributor', '{{distributor_name}}', 3],['_setCustomVar', 2, 'Domain', document.domain, 3],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js"; s.parentNode.insertBefore(g,s)}(document,"script"));
