window.Runway={loaded:true,params:{bundle:false
/*useLocalResources*/
},importers:{},locales:["en"]};Runway.swf="/images/runway";Runway.flashVersion={major:10,minor:0,revision:12};Runway.themes={pristine:{topColor:"white",bottomColor:"white"},arctic:{topColor:"#e8e8e8",bottomColor:"#e8e8ff"},midnight:{topColor:"black",bottomColor:"black"},sunset:{topColor:"#110022",bottomColor:"#220000"},pitchblack:{topColor:"black",bottomColor:"black"}};Runway.hasRightFlashVersion=function(){return Runway.Flash.hasVersionOrLater(Runway.flashVersion.major,Runway.flashVersion.minor,Runway.flashVersion.revision)};Runway.create=function(b,a){return new Runway._Impl(b,a)};Runway.createOrShowInstaller=function(b,a){if(Runway.hasRightFlashVersion()){return Runway.create(b,a)}else{b.innerHTML='<div class="runway-noflash-message">Flash Player is needed to view this content.<br/><a href="http://get.adobe.com/flashplayer/">Download the latest Flash Player</a>.</div>'}return null};Runway._Impl=function(b,a){this._elmt=b;this._options=a||{};this._installUI()};Runway._Impl.prototype._installUI=function(){this._flashObjectID="runway"+new Date().getTime()+Math.floor(Math.random()*1000000);var c=this;var d=function(){Runway.Dispatcher.release(arguments.callee);c._onReady()};var e=["onReady="+Runway.Dispatcher.wrap(d)];var a={onSelect:true,onZoom:true,onTitleClick:true,onTitleMouseOver:true,onTitleMouseOut:true,onSubtitleClick:true,onSubtitleMouseOver:true,onSubtitleMouseOut:true,onSideSlideMouseOver:true,onSideSlideMouseOut:true};for(var f in a){if(f in this._options){e.push(f+"="+Runway.Dispatcher.wrap(this._options[f]))}}for(var f in this._options){if(this._options.hasOwnProperty(f)){if(f!="onReady"&&!(f in a)){e.push(f+"="+this._options[f])}}}this._elmt.innerHTML=Runway.Flash.generateObjectEmbedHTML("src",Runway.swf,"width","100%","height","100%","align","middle","id",this._flashObjectID,"quality","high","bgcolor","#ffffff","name","Runway","allowScriptAccess","always","type","application/x-shockwave-flash","pluginspage","http://www.adobe.com/go/getflashplayer","FlashVars",e.join("&"));this._flashObject=document[this._flashObjectID]||window[this._flashObjectID];var b=function(g){if(g.stopPropagation){g.stopPropagation()}g.cancelBubble=true;if(g.preventDefault){g.preventDefault()}g.returnValue=false;return false}};Runway._Impl.prototype.getID=function(){return this._flashObjectID};Runway._Impl.prototype.clearRecords=function(){this._flashObject.clearRecords()};Runway._Impl.prototype.addRecords=function(a){this._flashObject.addRecords(a)};Runway._Impl.prototype.setRecords=function(a){this._flashObject.setRecords(a)};Runway._Impl.prototype.setThemeName=function(a){this._flashObject.setThemeName(a)};Runway._Impl.prototype.getProperty=function(a){return this._flashObject.getProperty(a)};Runway._Impl.prototype.setProperty=function(a,b){this._flashObject.setProperty(a,b)};Runway._Impl.prototype.select=function(a){this._flashObject.select(a)};Runway._Impl.prototype.getSelectedIndex=function(){return this._flashObject.getSelectedIndex()};Runway._Impl.prototype.getSlideCount=function(){return this._flashObject.getSlideCount()};Runway._Impl.prototype._onReady=function(){if("onReady" in this._options){this._options.onReady()}};var possibleSettings={reflectivity:"number",reflectionExtent:"number",spread:"number",centerSpread:"number",recede:"number",tilt:"number",backgroundGradient:["none","single","double"],backgroundColor:"color",backgroundColorTop:"color",backgroundColorMiddle:"color",backgroundColorBottom:"color",showTitle:"boolean",titleFontFamily:"string",titleFontSize:"number",titleFontBold:"boolean",titleColor:"color",showSubtitle:"boolean",subtitleFontFamily:"string",subtitleFontSize:"number",subtitleFontBold:"boolean",subtitleColor:"color"};function onThemeChange(a){var b=a.options[a.selectedIndex].value;var c=Runway.themes[b];widget.setThemeName(b);document.body.style.backgroundColor=c.topColor;document.body.className="theme-"+b;document.getElementById("bottom-panel").style.backgroundColor=c.bottomColor;generateSettingPanel()}function generateSettingPanel(){var h=document.getElementById("settings-panel");h.innerHTML="";var d=document.createElement("table");h.appendChild(d);for(var g in possibleSettings){var f=d.insertRow(d.rows.length);var c=f.insertCell(0);var b=f.insertCell(1);c.innerHTML=g;var e=widget.getProperty(g);var a=possibleSettings[g];if(typeof a=="string"){if(a=="boolean"){generateBooleanSetting(b,g,e)}else{generateTextSetting(b,g,e)}}else{generateSelectSetting(b,g,e,a)}}}function generateTextSetting(a,c,d){var b=document.createElement("input");a.appendChild(b);b.value=d;b.onchange=function(){widget.setProperty(c,b.value);b.value=widget.getProperty(c)}}function generateBooleanSetting(a,c,d){var b=document.createElement("input");b.type="checkbox";a.appendChild(b);b.checked=d;b.onclick=function(){widget.setProperty(c,b.checked);b.checked=widget.getProperty(c)}}function generateSelectSetting(b,c,f,h){var a=document.createElement("select");b.appendChild(a);for(var d=0;d<h.length;d++){var e=document.createElement("option");e.value=h[d];e.innerHTML=h[d];a.appendChild(e)}function g(j){for(var k=0;k<h.length;k++){if(j==h[k]){a.selectedIndex=k;return}}}g(f);a.onchange=function(){widget.setProperty(c,a.options[a.selectedIndex].value);g(widget.getProperty(c))}}var widget;function load_runway(b,a){widget=Runway.createOrShowInstaller(document.getElementById("runway"),{slideSize:b,backgroundColorTop:"#fff",backgroundColorMiddle:"#fff",onReady:function(){widget.setRecords(a);widget.select(7)},onSelect:function(d,e){var c=a[d];console.log(c)}})};
