I would suggest you to use data-*
to store id which you can use in event handler and use a single class for binding event
HTML
<div>
<p><a class="bypasstab" data-id="0" href="#box_collateral_0_6">Show More</a></p>
<p><a class="bypasstab" data-id="1" href="#box_collateral_0_6">Show More</a></p>
<p><a class="bypasstab" data-id="2" href="#box_collateral_0_6">Show More</a></p>
<p><a class="bypasstab" data-id="3" href="#box_collateral_0_6">Show More</a></p>
.....
</div>
Script
$('.bypasstab').click(function(e){
e.preventDefault();
$('.tabitemli6 a').click();
$('#tab_item' + $(this).data('id')).click();
$('html, body').animate({
scrollTop: $("#dettitle").offset().top
}, 2000);
});