Need to add autorotation in this Javascript

Printable View