var ScrollHeadline_Var=[];function ScrollHeadline_Register(d,b,a){var c=$(d).identify();ScrollHeadline_Var[c]=1;Event.observe($(d),"mouseover",function(f){ScrollHeadline_Var[c]=0});Event.observe($(d),"mouseout",function(f){ScrollHeadline_Var[c]=1});setInterval(function(){if(ScrollHeadline_Var[c]==1){var g=$(d).childElements();if(g.length > b){for(var f=0;f<g.length;f+=b){for(var e=0;e<b&&f+e<g.length;e++){if(f==0){g[f+e].addClassName("goToBottom")}}}new Effect.Move($(d),{x:0,y:-1*a,afterFinish:function(h){for(var j=0;j<g.length;j++){	if(g[j].hasClassName("goToBottom")){		$(d).appendChild(g[j].remove());		g[j].removeClassName("goToBottom")	}}h.element.style.top="0px"}})}}},3000)};
