ArrowGallery={setup:function(){if(AC.Detector.isIE()){this.viewer=this.view.view.view();
this.view.view.view().observe("mouseover",function(a){this.viewer.addClassName("hover")
}.bind(this));document.body.observe("mouseover",function(a){var b=a.findElement("#"+this.viewer.id);
this.viewer.removeClassName("hover")}.bind(this))}},didAppendContent:function(a,b){this.view=a;
var c=a.currentSection;if(!c.arrows){c.arrows={};c.arrows.previous=new Element("a",{className:"arrow prev "+a.triggerClassName,href:"#previous"}).insert("&lt;");
c.arrows.next=new Element("a",{className:"arrow next "+a.triggerClassName,href:"#next"}).insert("&gt;");
c.content.insertBefore(c.arrows.next,c.content.firstChild);c.content.insertBefore(c.arrows.previous,c.content.firstChild)
}},didShow:function(b,c,a){this.view=b;this.setup();this.didAppendContent(b,a.content);
this.didShow=function(){}}};CloseButton={didAppendContent:function(a,c){this.view=a;
var d=a.currentSection;if(d.movieLink){if(!d.close){d.close=new Element("a",{className:"close "+a.triggerClassName,href:"#"}).insert("Close");
d.content.insertBefore(d.close,d.content.firstChild)}var b=(a.previousSection)?a.previousSection.id:a.orderedSections[0];
d.close.href="#"+b}},didShow:function(b,c,a){this.didAppendContent(b,a.content);
this.didShow=function(){}}};
