		function showMethod(ident){
			var wynik='<table>';
			for(i in ident) wynik+='<tr><td>'+i+'</td><td>'+ident[i]+'</td></tr>';
			$('wynik').innerHTML=wynik+'</table>';
		}
		
		var fish = new Class({
			minZoom : 50,
			maxZoom : 80,
			initialize: function(handle) {					
				this.handle = $(handle);
				if(this.handle==null) return;
				this.items = this.handle.getElements('img');
				this.effects = [] 
				this.items.each(function(el) {
					el.index=el.src;
					el.addEvent('mouseover', function(e) { this.magnify(el); }.bind(this));
					el.addEvent('mouseout', function(e) {  this.shrink(el); }.bind(this));
					this.effects[el.index] = new Fx.Morph(el,{wait: false,duration: 200,fps:25, transition: 'sine:in'});
					//this.effects[el.index] = new Fx.Morph(el,{wait: false,duration: 200,fps:25, transition: 'sine:in', onComplete:function(){ this.complete(el); }.bind(this)});
					//this.effects[el.index] = new Fx.Morph(el,{wait: false,duration: 300,fps:25, transition: 'bounce:out', onComplete:function(){ this.complete(el); }.bind(this)});
				}, this);
			},
			magnify: function(el) {
				//el.set('src',el.get('highsrc'));
				//el.set('highsrc',el.index);				
				this.effects[el.index].start({
					'height': this.maxZoom + 'px',
					'width': this.maxZoom + 'px',
					
					//'margin-top': '-'+(this.maxZoom/2)+'px'	
					'margin-top': '-' + ((this.maxZoom - el.getStyle('height').toInt())) + 'px'						
				});								
			},
			shrink: function(el) {
				//el.set('highsrc',el.get('src'));
				//el.set('src',el.index);
				this.effects[el.index].start({
					'height': this.minZoom + 'px',
					'width': this.minZoom + 'px',	
					
					'margin-top': '0px'						
				});		
			}			
		});
		
			
		var bigIcons = new Class({
			minZoom : 120,
			maxZoom : 180,
			initialize: function(handle) {					
				this.el = $(handle);	
				if(this.el==null) return;
				this.img = this.el.getElement('img');
				this.el.index=this.el.src;
				this.el.addEvent('mouseover', function(e) { this.magnify(); }.bind(this));
				this.el.addEvent('mouseout', function(e) {  this.shrink(); }.bind(this));
				this.effect = new Fx.Morph(this.img,{wait: false,duration: 200,fps:25, transition: 'sine:in'});				
			},
			magnify: function(el) {
				
				this.effect.start({
					'height': this.maxZoom + 'px',
					'width': this.maxZoom + 'px',
					
					'margin-top': '-' + ((this.maxZoom - this.el.getStyle('height').toInt())/2) + 'px'
					//'margin-bottom': '-' + ((this.maxZoom - this.el.getStyle('height').toInt())/2) + 'px'						
				});								
			},
			shrink: function() {
				this.effect.start({
					'height': this.minZoom + 'px',
					'width': this.minZoom + 'px',	
					
					'margin-top': '0px',				
					'margin-bottom': '0px'
				});		
			}			
		});
		
//		window.addEvent('domready', function(){
//			new fish($('dock'));
//		});
			
		window.addEvent('domready', function(){			
			new bigIcons($('przeg'));
			new bigIcons($('podaj'));
		}); 
		
		
		
		var fishDzial = new Class({
			minZoom : 50,
			maxZoom : 80,
			initialize: function(handle) {					
				this.handle = $(handle);				
				if(this.handle==null) return;
				this.items = this.handle.getElements('img');
				this.effects = [] 
				this.items.each(function(el) {
					el.index=el.src;
					el.addEvent('mouseover', function(e) { this.magnify(el); }.bind(this));
					el.addEvent('mouseout', function(e) {  this.shrink(el); }.bind(this));
					this.effects[el.index] = new Fx.Morph(el,{wait: false,duration: 200,fps:25, transition: 'sine:in'});
				}, this);
			},
			magnify: function(el) {
				el.setStyle('position','relative');
				//el.set('src',el.get('highsrc'));
				//el.set('highsrc',el.index);				
				this.effects[el.index].start({
					'height': this.maxZoom + 'px',
					'width': this.maxZoom + 'px',	
					'margin-top': '-' + ((this.maxZoom - el.getStyle('height').toInt())) + 'px'					
				});								
			},
			shrink: function(el) {
				el.setStyle('position','');
				//el.set('highsrc',el.get('src'));
				//el.set('src',el.index);
				this.effects[el.index].start({
					'height': this.minZoom + 'px',
					'width': this.minZoom + 'px',					
					'margin-top': '0px'						
				});		
			}			
		});
		
		window.addEvent('domready', function(){
			new fishDzial($('Tdzialy'));
			
		});