$(document).ready(function(){var li=0;var nPartner=16;function scrollPrev(){li=li-1;if(li>=0){var anchor='li:eq('+li+')';$('div.wrapperPartner').scrollTo(anchor,800,{axis:'x'});}else{li=0;}}
function scrollNext(){li=li-0+1;if(li<=nPartner){var anchor='li:eq('+li+')';$('div.wrapperPartner').scrollTo(anchor,800,{axis:'x'});}else{li=0;var anchor='li:eq('+li+')';$('div.wrapperPartner').scrollTo(anchor,2,{axis:'x'});}}
$('#buttScrollPrev').click(function(event){event.preventDefault();clearInterval(tPartner);scrollPrev();});$('#buttScrollNext').click(function(event){event.preventDefault();clearInterval(tPartner);scrollNext();});$('div.wrapperPartner').scrollTo('li:eq(0)',800,{axis:'x'});var tPartner=setInterval(function(){scrollNext();},2800);});
