The ECC found there were massive irregularities in those ballots , and threw out a third of the votes cast for President Hamid Karzai .