$(document).ready(function () {

    //homepage two post hover effect
    $("#two_post .homepage_product_box img").mouseover(function () {
        $("#two_post .homepage_product_box").css("background-color", "#ebebeb");
        $("#two_post h5 a").css("color", "#333333");
    });

    $("#two_post h5 a").mouseover(function () {
        $("#two_post .homepage_product_box").css("background-color", "#ebebeb");
    });

    $("#two_post .homepage_product_box img").mouseout(function () {
        $("#two_post .homepage_product_box").css("background-color", "#faffff");
        $("#two_post h5 a").css("color", "#faffff");
    });

    $("#two_post h5 a").mouseout(function () {
        $("#two_post .homepage_product_box").css("background-color", "#faffff");
    });

    //homepage four post hover effect
    $("#four_post .homepage_product_box img").mouseover(function () {
        $("#four_post .homepage_product_box").css("background-color", "#ebebeb");
        $("#four_post h5 a").css("color", "#333333");
    });

    $("#four_post h5 a").mouseover(function () {
        $("#four_post .homepage_product_box").css("background-color", "#ebebeb");
    });

    $("#four_post .homepage_product_box img").mouseout(function () {
        $("#four_post .homepage_product_box").css("background-color", "#faffff");
        $("#four_post h5 a").css("color", "#faffff");
    });

    $("#four_post h5 a").mouseout(function () {
        $("#four_post .homepage_product_box").css("background-color", "#faffff");
    });

    //homepage heavy duty post hover effect
    $("#heavy_duty .homepage_product_box img").mouseover(function () {
        $("#heavy_duty .homepage_product_box").css("background-color", "#ebebeb");
        $("#heavy_duty h5 a").css("color", "#333333");
    });

    $("#heavy_duty h5 a").mouseover(function () {
        $("#heavy_duty .homepage_product_box").css("background-color", "#ebebeb");
    });

    $("#heavy_duty .homepage_product_box img").mouseout(function () {
        $("#heavy_duty .homepage_product_box").css("background-color", "#faffff");
        $("#heavy_duty h5 a").css("color", "#faffff");
    });

    $("#heavy_duty h5 a").mouseout(function () {
        $("#heavy_duty .homepage_product_box").css("background-color", "#faffff");
    });

    //homepage mobile column hover effect
    $("#mobile .homepage_product_box img").mouseover(function () {
        $("#mobile .homepage_product_box").css("background-color", "#ebebeb");
        $("#mobile h5 a").css("color", "#333333");
    });

    $("#mobile h5 a").mouseover(function () {
        $("#mobile .homepage_product_box").css("background-color", "#ebebeb");
    });

    $("#mobile .homepage_product_box img").mouseout(function () {
        $("#mobile .homepage_product_box").css("background-color", "#faffff");
        $("#mobile h5 a").css("color", "#faffff");
    });

    $("#mobile h5 a").mouseout(function () {
        $("#mobile .homepage_product_box").css("background-color", "#faffff");
    });

    //homepage low rise post hover effect
    $("#low_rise .homepage_product_box img").mouseover(function () {
        $("#low_rise .homepage_product_box").css("background-color", "#ebebeb");
        $("#low_rise h5 a").css("color", "#333333");
    });

    $("#low_rise h5 a").mouseover(function () {
        $("#low_rise .homepage_product_box").css("background-color", "#ebebeb");
    });

    $("#low_rise .homepage_product_box img").mouseout(function () {
        $("#low_rise .homepage_product_box").css("background-color", "#faffff");
        $("#low_rise h5 a").css("color", "#faffff");
    });

    $("#low_rise h5 a").mouseout(function () {
        $("#low_rise .homepage_product_box").css("background-color", "#faffff");
    });

    //homepage mid rise post hover effect
    $("#mid_rise .homepage_product_box img").mouseover(function () {
        $("#mid_rise .homepage_product_box").css("background-color", "#ebebeb");
        $("#mid_rise h5 a").css("color", "#333333");
    });

    $("#mid_rise h5 a").mouseover(function () {
        $("#mid_rise .homepage_product_box").css("background-color", "#ebebeb");
    });

    $("#mid_rise .homepage_product_box img").mouseout(function () {
        $("#mid_rise .homepage_product_box").css("background-color", "#faffff");
        $("#mid_rise h5 a").css("color", "#faffff");
    });

    $("#mid_rise h5 a").mouseout(function () {
        $("#mid_rise .homepage_product_box").css("background-color", "#faffff");
    });

    //homepage motorcycle hover effect
    $("#motorcycle .homepage_product_box img").mouseover(function () {
        $("#motorcycle .homepage_product_box").css("background-color", "#ebebeb");
        $("#motorcycle h5 a").css("color", "#333333");
    });

    $("#motorcycle h5 a").mouseover(function () {
        $("#motorcycle .homepage_product_box").css("background-color", "#ebebeb");
    });

    $("#motorcycle .homepage_product_box img").mouseout(function () {
        $("#motorcycle .homepage_product_box").css("background-color", "#faffff");
        $("#motorcycle h5 a").css("color", "#faffff");
    });

    $("#motorcycle h5 a").mouseout(function () {
        $("#motorcycle .homepage_product_box").css("background-color", "#faffff");
    });

});
