var x2;
var mover2 = 0;
var larguracontainer2 = 920;

function moveLeft2(){    
    
    larguraScroll = document.getElementById('scrolabbleslider2').style.width;
    
    
    totalLargura = (larguraScroll.substring(0,(larguraScroll.length-2))-larguracontainer2);
        
    x2 = window.setInterval(function goLeft2(){
            
            mover2 = mover2 + 6;
            
            if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
                 var ieversion=new Number(RegExp.$1);
                  if (ieversion>=6 && ieversion <7){
                      mover2 = mover2 + 2;   
                  }
            }            
            document.getElementById('scrolabbleslider2').style.marginLeft = -(mover2) +'px'; 
            
            
            if(mover2 > totalLargura){
                window.clearInterval(x2);
            }
    },5);
}


function moveRight2(){    
    x2 = window.setInterval(function goRight2(){
            mover2 = mover2 - 6;
            
            if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
                 var ieversion=new Number(RegExp.$1);
                  if (ieversion>=6 && ieversion <7){
                      mover2 = mover2 - 2;   
                  }
            }            
            document.getElementById('scrolabbleslider2').style.marginLeft = -(mover2) +'px';
            if(mover2 < 1){
                   window.clearInterval(x2);
                   document.getElementById('scrolabbleslider2').style.marginLeft = '0px';
            }   
    },5);
}


function stopMove2(){
    window.clearInterval(x2);
}

