// Banner Add JS - jQuery Based

$(document).ready(function() {
    
    // check if popup has content
    if ($('#banner-ad-content').length) { 
        
        $('#banner-ad').slideDown(2000);
        
        $('#close-btn img').click(function() {
            $('#banner-ad').fadeOut(500);
        });
        
        setTimeout(function () { 
            $('#banner-ad').fadeOut(1000);
        }, 14000);
        
    }

});