$(document).ready(function(){
 $(".links").click(function(){
  window.location = $(this).find("a").attr("href");
 });
})
