﻿var sponsor_count;var sponsor_interval;var old_sponsor = 0;var current_sponsor=0;$(document).ready(function(){sponsor_count=$("div.sponsor").size();$("div.sponsor:eq("+current_sponsor+")").css('top','0px');sponsor_interval=setInterval(sponsor_rotate,10000);$('#scrollup').hover(function(){clearInterval(sponsor_interval);},function(){sponsor_interval=setInterval(sponsor_rotate,5000);sponsor_rotate();});});function sponsor_rotate(){current_sponsor=(old_sponsor+1)%sponsor_count;$("div.sponsor:eq("+old_sponsor+")").animate({top: -555},"slow",function(){$(this).css('top','560px');});$("div.sponsor:eq("+current_sponsor+")").show().animate({top: 0},"slow");  old_sponsor=current_sponsor;}