<div class="pr competitionHome">
  <div class="homePageBtn edu-txt-center">
    <div class="inline">
      <a href="<%= competitions_hn_path %>" target="_blank" class="homeBtn mr60">湖南赛区</a>
      <a href="<%= competitions_db_path %>" target="_blank" class="homeBtn">东北赛区</a>
    </div>
  </div>
</div>
<script>
$(function(){
  resize();
    $(".newContainer").css({"min-height":"900px"});
})
function resize(){
    var height=parseInt(document.body.scrollHeight)-295;
    $(".competitionHome").height(height);
}
$(window).resize(function(){
    resize();
})
</script>