$(document).ready(function() {
$.tablesorter.defaults.widgets = ['zebra'];
  $(".tablesorter tr").mouseover(function() { 
    $(this).addClass("over"); 
  });  
  $(".tablesorter tr").mouseout(function() { 
    $(this).removeClass("over"); 
  }); 
   
  $(".tablesorter").tablesorter({ 
    
        headers: { 
           			
           0: { sorter: false }, 	
           4: { sorter: false },				
           5: { sorter: false },
           7: { sorter: false },
           9: { sorter: false },
          10: { sorter: false } 		
        } 
    });

	$('.openModal').click(function(e) {
		e.preventDefault();
		$('#basicModalContent').modal();
		if (location.hostname == this.hostname) {
		var $target = $(this.hash);
      	$target = $target.length && $target || $('[name=' + this.hash.slice(1) +']');
			if ($target.length) {
				var targetOffset = $target.offset().top;
				$('html,body').animate({scrollTop: targetOffset}, 500);
			}
		}
	});
	$('.openModal360').click(function(e) {
		e.preventDefault();
		$('#basicModalContent360').modal();
		if (location.hostname == this.hostname) {
		var $target = $(this.hash);
      	$target = $target.length && $target || $('[name=' + this.hash.slice(1) +']');
			if ($target.length) {
				var targetOffset = $target.offset().top;
				$('html,body').animate({scrollTop: targetOffset}, 500);
			}
		}
	});


});
