k guys sorry for not posting i got a new seagate 1TB HDD as a replacement and it is working fine from last 10 days.even that 500GB HDD also got replaced.actuall the current shock was not because of earthing but it was because of the power cord cable which i got with my seasonic psu.i replaced it with a another cable which i had and everything got solved.that seasonic one doesn't have the third upper big pin in its plug.there is only a hole in that place.may be that was causing the problem because if i am right that is the ground pin in that.i don;t know why seasonic missed that.
@braindead,
you can also download seatools for DOS burn it on a cd or dvd abd boot from that DVD and you can zero write that HDD completely by selecting i guess complete format(or something like that.i do't remember it) it will reallocate all the Bad sectors but if the bad sector is because of malfunctioning of the drive then again you will see bad sectors within
some time of use and only solution is buying a new one.