Rotate circle zub

by AJIEKCEU

HTML

<script src="http://jqueryrotate.googlecode.com/files/jQueryRotateCompressed.2.2.js"></script>
<div class="wrapper">
    <div id="circle">
        <img src="http://yanovich.by/temp/inner.png" />
    </div>    
</div>

CSS

.wrapper  {
    padding: 40px;
    width: 215px;
    height: 215px;
    position: relative;
    background-color: #444;
}
#circle  {
    position: absolute;
    top: 10px;
    left: 10;
    background: url(http://yanovich.by/temp/circle.png) no-repeat;
    width: 213px;
    height: 214px;
    
}
#circle img  {
    position: absolute;
    top: 5px;
    left: 4px;
    width: 205px;
    height: 204px;
}

JavaScript

var angle = 0;
setInterval(function(){
      angle+=3;
     jQuery("#circle").rotate(angle);
},100);