You do not have to post for these silly mistakes. Here is what is wrong:
You have put :
setTimeout = ( "rotate()", 4*1000 );
Instead of this:
setTimeout ( "rotate()", 4*1000 );
You should have copy/pasted that code
When you think you have done a lot, then be ready for YOUR downfall.