// works-001
window.addEvent('domready', function(){ 
var totIncrement7=0;
var increment7=350;
var maxRightIncrement7=increment7*(-0);
var fx7 = new Fx.Style('works-mylist-001', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('works-prev-001').addEvents({ 
'click':function(event){ 
if(totIncrement7<0){
totIncrement7=totIncrement7+increment7;
fx7.stop()
fx7.start(totIncrement7);
}
}			  	  
}); 
// EVENTS for the button "next"
$('works-next-001').addEvents({ 
'click':function(event){ 
if(totIncrement7>maxRightIncrement7){
totIncrement7 = totIncrement7-increment7;
fx7.stop()
fx7.start(totIncrement7);
}
}		  		  
})
});
// works-002
window.addEvent('domready', function(){ 
var totIncrement8=0;
var increment8=350;
var maxRightIncrement8=increment8*(-1);
var fx8 = new Fx.Style('works-mylist-002', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('works-prev-002').addEvents({ 
'click':function(event){ 
if(totIncrement8<0){
totIncrement8=totIncrement8+increment8;
fx8.stop()
fx8.start(totIncrement8);
}
}			  	  
}); 
// EVENTS for the button "next"
$('works-next-002').addEvents({ 
'click':function(event){ 
if(totIncrement8>maxRightIncrement8){
totIncrement8 = totIncrement8-increment8;
fx8.stop()
fx8.start(totIncrement8);
}
}		  		  
})
});
// works-003
window.addEvent('domready', function(){ 
var totIncrement9=0;
var increment9=350;
var maxRightIncrement9=increment9*(-1);
var fx9 = new Fx.Style('works-mylist-003', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('works-prev-003').addEvents({ 
'click':function(event){ 
if(totIncrement9<0){
totIncrement9=totIncrement9+increment9;
fx9.stop()
fx9.start(totIncrement9);
}
}			  	  
}); 
// EVENTS for the button "next"
$('works-next-003').addEvents({ 
'click':function(event){ 
if(totIncrement9>maxRightIncrement9){
totIncrement9 = totIncrement9-increment9;
fx9.stop()
fx9.start(totIncrement9);
}
}		  		  
})
});