TOWER 1
TOWER 2
TOWER 3
No. of disks
Minimum no. of moves  
Your no. of moves

This DHTML script is featured on Dynamic Drive.