<style>#divLawyer {
height: 242px;
width: 250px;
background: url(http://moisrex.rozblog.com/user/Avatar/moisrex/heydarifard.png) no-repeat;
position: absolute;
bottom: 0;
left: 8px;
background-position: 0;
}
</style>
<div id="divLawyer" style="background-position:-100px 0px;left:8px;"></div>
<script>
setInterval(function(){
if(document.getElementById('divLawyer').style.backgroundPosition=='-100px 0px')
document.getElementById('divLawyer').style.backgroundPosition='-70px 0px';
else
document.getElementById('divLawyer').style.backgroundPosition='-120px 0px';
},1200);
setInterval(function(){
if(document.getElementById('divLawyer').style.backgroundPosition=='-120px 0px')
document.getElementById('divLawyer').style.backgroundPosition='-70px 0px';
else
document.getElementById('divLawyer').style.backgroundPosition='-100px 0px';
},1700);
</script>