<div id="bl">
<img src="images/brin.png" id="f">
<img src="images/girl.png" id="s">
<img src="images/my.png" id="t">
</div>
$(document).scroll(function() {
if( $(this).scrollTop() > 50 ) {
$( "#s" ).animate({ "margin-left": "-350px" }, 300 );
$( "#f" ).animate({ "margin-left": "350px" }, 300 );
}
});
#bl img {
width: 300px;
position: absolute;
}