
// ----- SCROLL --- //

function left(obj,mask){
	y = parseInt(obj.style.left);
	altura_obj = parseInt(obj.clientWidth);
	largura_mask = parseInt(mask.clientWidth);
	if(y >= (largura_mask - altura_obj))
	{
		obj.style.left = y-5+'px';
	}
		
}

function right(obj,mask){
	y = parseInt(obj.style.left);
	if(y+2 <= 0)
	{
		obj.style.left = y+5+'px';
	}
}
// - FIM SCROLL --- //

  
