 var bB=Class.create();bB.prototype={templates:{navigationVisible:''},initialize:function(l){this.at={};var bF=C('SelectedPicturesList')||{};$H(bF).each(function(el){this.aE({id:el.value,nocookie:true});}.bindAsEventListener(this));w('SelectedPicturesList',this.at);},aE:function(l){if(this.bs(l))return;this.at[l.id]=l.id;var img=new Image();img.src=l.id.replace('slides','thumbs');var maxSize=$('Bar_visibleArea_showArea').getHeight()-20;var bE=A(75,75,img.width,img.height);new Insertion.Top('Bar_visibleArea_showArea',this.itemTemplate.evaluate({id:l.id,htmlfilename:l.id.replace('.JPG','.html'),height:bE.height,width:bE.width}));new Draggable('Bar_visibleArea_selectedThumb_'+l.id,{revert:true});if(!l.nocookie){w('SelectedPicturesList',this.at);}},aN:function(l){if(!this.bs(l))return;Element.remove('Bar_visibleArea_selectedThumb_'+l.id);this.at[l.id]=null;w('SelectedPicturesList',this.at);},bs:function(l){if(this.at[l.id]!=null)return true;}};
