<script type="text/javascript">
$(function(){$(window).scroll(function(){if ($(this).scrollTop() > 120){$('.scroll').fadeIn();}else{$('.scroll').fadeOut();}});
$(function(){$('.scroll').click(function(){$("html,body").animate({scrollTop:0},1200); return false;});});});
</script>
<style type="text/css" media="all">.scroll {display:none;}.scroll a {position:fixed; right:40px; background: url(scroll/top.png); bottom:1%; width:94px; height:30px;}.scroll a:hover {background: url(scroll/top.png) 0 92px; }.scroll img{position:fixed; right:3%; bottom:1%;}</style>
<div class="scroll"><a><img src="scroll/bg.gif" title="الرجوع للأعلى" alt="الرجوع للأعلى" ></a></div>