// products-001
window.addEvent('domready', function(){ 
var totIncrement1=0;
var increment1=350;
var maxRightIncrement1=increment1*(-0);
var fx1 = new Fx.Style('products-mylist-001', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('products-prev-001').addEvents({ 
'click':function(event){ 
if(totIncrement1<0){
totIncrement1=totIncrement1+increment1;
fx1.stop()
fx1.start(totIncrement1);
}
}			  	  
}); 
// EVENTS for the button "next"
$('products-next-001').addEvents({ 
'click':function(event){ 
if(totIncrement1>maxRightIncrement1){
totIncrement1 = totIncrement1-increment1;
fx1.stop()
fx1.start(totIncrement1);
}
}		  		  
})
});
// products-002
window.addEvent('domready', function(){ 
var totIncrement2=0;
var increment2=350;
var maxRightIncrement2=increment2*(-0);
var fx2 = new Fx.Style('products-mylist-002', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('products-prev-002').addEvents({ 
'click':function(event){ 
if(totIncrement2<0){
totIncrement2=totIncrement2+increment2;
fx2.stop()
fx2.start(totIncrement2);
}
}			  	  
}); 
// EVENTS for the button "next"
$('products-next-002').addEvents({ 
'click':function(event){ 
if(totIncrement2>maxRightIncrement2){
totIncrement2 = totIncrement2-increment2;
fx2.stop()
fx2.start(totIncrement2);
}
}		  		  
})
});
// products-003
window.addEvent('domready', function(){ 
var totIncrement3=0;
var increment3=350;
var maxRightIncrement3=increment3*(-0);
var fx3 = new Fx.Style('products-mylist-003', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('products-prev-003').addEvents({ 
'click':function(event){ 
if(totIncrement3<0){
totIncrement3=totIncrement3+increment3;
fx3.stop()
fx3.start(totIncrement3);
}
}			  	  
}); 
// EVENTS for the button "next"
$('products-next-003').addEvents({ 
'click':function(event){ 
if(totIncrement3>maxRightIncrement3){
totIncrement3 = totIncrement3-increment3;
fx3.stop()
fx3.start(totIncrement3);
}
}		  		  
})
});
// products-004
window.addEvent('domready', function(){ 
var totIncrement4=0;
var increment4=350;
var maxRightIncrement4=increment4*(-0);
var fx4 = new Fx.Style('products-mylist-004', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('products-prev-004').addEvents({ 
'click':function(event){ 
if(totIncrement4<0){
totIncrement4=totIncrement4+increment4;
fx4.stop()
fx4.start(totIncrement4);
}
}			  	  
}); 
// EVENTS for the button "next"
$('products-next-004').addEvents({ 
'click':function(event){ 
if(totIncrement4>maxRightIncrement4){
totIncrement4 = totIncrement4-increment4;
fx4.stop()
fx4.start(totIncrement4);
}
}		  		  
})
});
// products-005
window.addEvent('domready', function(){ 
var totIncrement5=0;
var increment5=350;
var maxRightIncrement5=increment5*(-0);
var fx5 = new Fx.Style('products-mylist-005', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('products-prev-005').addEvents({ 
'click':function(event){ 
if(totIncrement5<0){
totIncrement5=totIncrement5+increment5;
fx5.stop()
fx5.start(totIncrement5);
}
}			  	  
}); 
// EVENTS for the button "next"
$('products-next-005').addEvents({ 
'click':function(event){ 
if(totIncrement5>maxRightIncrement5){
totIncrement5 = totIncrement5-increment5;
fx5.stop()
fx5.start(totIncrement5);
}
}		  		  
})
});
// products-006
window.addEvent('domready', function(){ 
var totIncrement6=0;
var increment6=350;
var maxRightIncrement6=increment6*(-0);
var fx6 = new Fx.Style('products-mylist-006', 'margin-left', {
duration:1000,
transition:Fx.Transitions.Back.easeInOut,
wait:true
});
// EVENTS for the button "previous"
$('products-prev-006').addEvents({ 
'click':function(event){ 
if(totIncrement6<0){
totIncrement6=totIncrement6+increment6;
fx6.stop()
fx6.start(totIncrement6);
}
}			  	  
}); 
// EVENTS for the button "next"
$('products-next-006').addEvents({ 
'click':function(event){ 
if(totIncrement6>maxRightIncrement6){
totIncrement6 = totIncrement6-increment6;
fx6.stop()
fx6.start(totIncrement6);
}
}		  		  
})
});