Just write following function at end of the body e.g.
<html>
<body>
.
.
.
.
.
.
<script type="text/javascript">
function tick2() {
$('#ticker_02 li:first').slideUp(function () {
$(this).appendTo($('#ticker_02')).slideDown(); });
}
setInterval(function () { tick2() }, 3000);
</script>
</body>
</html>