Did you try reading the owners manual?
Did you try typing "reset ipod" on google?
http://docs.info.apple.com/article.html?artnum=61705
PS. You shouldn't leave your device connected to the charger for that long. It could fuck up your battery.
I was just thinking the other day while reading through some online consumer reviews on various products. One consumer review for a cordless phone mentioned problems with the keypads and the guy just shitted on the rating. Well, I went and got the phone anyway, and nothing was wrong with the keypads. Could it be that the guy was just a dumbass?