 var bq=Class.create();bq.prototype={bC:'',initialize:function(l){},cj:function(l){new Ajax.TemplateUpdater('GalleryArea',url({ag:'gallery',item:l.gallery}),null,{onComplete:this.m.bindAsEventListener(this)});},cH:function(){if(this.bC!='')Element.removeClassName(this.bC,'Gallery_imageFrame-hover');this.bC='';},m:function(l){document.getElementsByClassName('Gallery_imageFrame','GalleryArea').each(function(el){Event.observe(el,'click',function(ev){var as=new ay(el.id,'slides');V.show(as.au());this.cH();this.bC=el.id;Element.addClassName(this.bC,'Gallery_imageFrame-hover');Event.stop(ev);}.bindAsEventListener(this));Event.observe(el,'mouseover',function(ev){var as=new ay(el.id,'slides');Element.addClassName(el,'Gallery_imageFrame-hover');Event.stop(ev);}.bindAsEventListener(this));Event.observe(el,'mouseout',function(ev){var as=new ay(el.id,'slides');if(this.bC!=el.id)Element.removeClassName(el,'Gallery_imageFrame-hover');Event.stop(ev);}.bindAsEventListener(this));}.bindAsEventListener(this));}};
