Guilt by Association
Corollary of Ad Hominem. Argument based on an opponent's repuation, the company he/she keeps, etc., rather than the issue at hand.
ex. "He's running for office? Well hell no, I won't be voting for him! He used to hang around with that group of hooligans on the corner. Nothing good ever came from them, so obviously he can't be worth a quarter.