<script>
function nextpage(){
$('.contract-view').hide();
var dropdown2 = $('#select').val();
var next = $('#select').val(dropdown2+"1");
$('#view'+$(next).val()).show();
}
function previouspage(){
$('.contract-view').hide();
var dropdown = $('#select').val();
var previous = $('#select').val(dropdown-"1");
$('#view'+$(previous).val()).show();
}
</script>