var idToIgnore=false;var guidedTourDelegate={trackingNameForSection:function(a,c,b){if(c==idToIgnore||c=="hero"){return false
}return c},changeToDimensions:function(b){var a=this.view.view.view();if(a){var c=a.getDimensions();
if(this.view.options.shouldAnimateContentChange){new Effect.Parallel([new Effect.Scale(a,((b.width/c.width)*100),{scaleY:false,scaleContent:false,sync:true}),new Effect.Scale(a,((b.height/c.height)*100),{scaleX:false,scaleContent:false,sync:true})],{duration:this.view.options.animationDuration})
}else{a.style.width=b.width+"px";a.style.height=b.height+"px"}}},didAppendContent:function(b){this.init(b);
var a=b.currentSection;if(a){this.changeToDimensions(a.content.getDimensions())
}},init:function(a){if(!this.view){this.view=a}}};Event.observe(window,"load",function(){if(AC.Detector.isMobile()){$("hero").addClassName("mobile")
}else{var d=$$(".section");d.unshift($("hero"));idToIgnore=d[0];var a=d[0].getHeight();
$("moviecontainer").style.height=a+"px";d[0].remove();var c=new AC.ViewMaster.Tracker("click");
c.setDelegate(guidedTourDelegate);var b=new AC.ViewMaster.Viewer(d,"moviecontainer","size",{initialId:"hero",animationDuration:0.4,alwaysShowSection:true,shouldAnimateContentChange:true});
b.setDelegate(guidedTourDelegate);b.didAppendContent(d[0])}});
