scrolltimer	= null;
delay		= 40;

function initScroll(){
	contentHeight = textObj.offsetHeight;
	up();
}

function down(){
	if(!loaded)return false;
	if(textObj.offsetTop < 50)textObj.style.top = (textObj.offsetTop + 1)+'px';
	else textObj.style.top = -contentHeight +'px';
	scrolltimer = setTimeout('down()',delay);
}

function up(){
	if(!loaded)return false;
	if(textObj.offsetTop > -contentHeight)textObj.style.top = (textObj.offsetTop - 1)+'px';
	else textObj.style.top = '50px';
	scrolltimer = setTimeout('up()',delay);
}

function pause(){clearTimeout(scrolltimer);}

function initDestaques(){
	destaquesObj 	  		 = d.getElementById('destaques');
	controlObj	 	  		 = d.getElementById('control');
	cliptextObj	 	  		 = d.getElementById('cliptext');
	textObj		 	  		 = d.getElementById('text');
	textObj.style.top 		 = '50px';
	textObj.style.visibility = 'visible';
}

