title: How to rotate an image using pure javascript in old browsers
body: <p>It was several years ago (almost 7 years) when I wanted to rotate an image in <strong>IE6</strong>. I searched and I found a JavaScript code that rotated an image. I started reading the code and I found out that in some parts of that code the Shift operator has been employed for rotating an image. 
  I was wondering how we can rotate an image <strong>without</strong> using frameworks and new features in the new browsers like CSS3, .... </p>
  
  <p>Is the shift operators can help us to rotate an image? If so, how?</p>