﻿// we need to check any overflowing headings (so the padding can be changed to fit in the bg images)
$(function() {
        
    // sub nav items
    $(".leftContent .subNav a").each(function() {
        if ($(this).height() > 14) {
            $(this).css({ paddingTop: "1px" });
        }
    });

    $(".leftContent h2").each(function() {
        if ($(this).height() > 22) {
            $(this).css({ paddingTop: "16px" });
        }
    });

    $(".adBox_title div").each(function() {
        if ($(this).height() > 17) {
            $(this).css({ paddingTop: "15px" });
        }
    });
	
	$(".title").each(function() {
        if ($(this).height() > 17) {
            $(this).css({ paddingTop: "15px" });
        }
    });

});
