
jQuery(document).ready(function(){matchHeight();maskBox();$('.careerBox').mouseover(function(){$(this).addClass("boxHover");});$('.careerBox').mouseout(function(){$(this).removeClass("boxHover");});});function matchHeight(){var tabHeight=new Array();var globalHeight=0;$(".careerInnerContent").each(function(){tabHeight.push($(this).height());});tabHeight.sort(compare);tabHeight.reverse();globalHeight=tabHeight[0];$(".careerInnerContent").css("height",globalHeight);}
function maskBox(){$(".careerBox").each(function(){var heighContainer=$(this).height();$(this).css("height",heighContainer);});$(".careerBox").each(function(){var urlMask=$(this).children(".contentCareerBox").children(".btnCareer").attr("href");var relMask=$(this).children(".contentCareerBox").children(".btnCareer").attr("rel");$(this).append("<a href='"+urlMask+"' rel='"+relMask+"' class='maskBox'></a>");});}
function compare(a,b){return a-b;}
