var timer=new Array();
		var browser = navigator.appName;
		var ver=0;
		if(browser=="Netscape" || browser=="Opera")
			ver=1;
		function scroller(asd,updown,aaa){
			var thediv=document.getElementById(asd);
			if(updown==1){
				var thehight=thediv.childNodes[ver].offsetHeight-parseInt(thediv.style.height);
				if(aaa==1)
					thediv.scrollTop=thehight;
				aaa=0;
				if(thediv.scrollTop==0)
					thediv.scrollTop=thehight;
				thediv.scrollTop=thediv.scrollTop-1;
			}else{
				if(aaa==document.getElementById(asd).scrollTop)
					thediv.scrollTop=0;
				aaa=thediv.scrollTop;
				thediv.scrollTop=thediv.scrollTop+1;
			}
				timer[asd]=setTimeout("scroller('"+asd+"',"+updown+","+aaa+")",40);
		}
		function stopscroller(asd2){
					clearTimeout(timer[asd2]);
		}
		
function equalBlocks(num)
{
	var maxHeight = 0;
	var block;
	for (i = 1 ; i <= num ; i++)
	{
		block = document.getElementById("block"+i);
		if (block.offsetHeight > maxHeight)
			maxHeight = block.offsetHeight;
	}
	for (i = 1 ; i <= num ; i++)
	{
		document.getElementById("block"+i).style.height = maxHeight+"px";
	}
}