var current_id = '0';
var current_two_id = '0';
var currenet_top=0;
var currenet_top_two=0;
var dump_var=0;
var dump_var_2=0;
var step=1;
var speed=100;
var size_parent=0;
var size_child=0;
var to_scroll=false;
function startScrolling() {
	current_id="#text_news";
	if($("#text_news").parent().height()>=$("#text_news").height()){
		;
	}else{
		$("#text_news2").css({top: $("#text_news2").parent().height()});
		size_parent=$(current_id).parent().height();
		size_child	=$(current_id).height();
		setTimeout('listSlideUp()', speed);
	}
}
function listSlideUp(){
	currenet_top-=step;
	if(currenet_top+(size_child-size_parent)<0){
		current_two_id=current_id;
		currenet_top_two=currenet_top;
		currenet_top	=	size_parent;
		to_scroll=true;
		switch (current_id){
			case "#text_news":
					current_id="#text_news2";
					break;
			case "#text_news2":
					current_id="#text_news";
					break;
		}
	}
	$(current_id).css({top: currenet_top});
	if(to_scroll==true){
		listSlideUpTwo();
	}
	setTimeout('listSlideUp()', speed);
}
function listSlideUpTwo(){
	currenet_top_two-=step;
	if(currenet_top_two+size_child<0){
		current_two_id="";
		currenet_top_two="0";
		$(current_two_id).css({top: size_parent});
		to_scroll=false;
		return;
	}
	$(current_two_id).css({top: currenet_top_two});
}