/* we need jQuery!!!! */

function checkAds()
{
    $j('.adsBlock').each(function() {
        var img = $j(this).find("img");
        if (img.length > 0)
        {
            if(img.attr('src').indexOf('817-grey.gif') > -1)
            {
                $j(this).hide();
            }
        }
    });
}
checkAds();