Simple image rotation with pure javascript, no jQuery
<p>trying to come up with very simple image rotation using pure javascript without jQuery.</p>

<p>Something that I could call like that and it could place the image in same spot rotating it one by one.</p>

<pre><code>rotator('&lt;a href="link1"&gt;&lt;img src="image1.gif"/ &gt;&lt;/a&gt;','&lt;a href="link1"&gt;&lt;img src="image1.gif"/ &gt;&lt;/a&gt;');
</code></pre>

<p>maybe someone could suggest a way of doing it? thank you.</p>

<p>UPDATE: By Rotation I meant, one disappears, another appears. Not angle rotation.</p>
