<!--inicio do letreiro de notícias-->
var news = new Array(
//ATENCAO! nao podera ser alterada a linha abaixo entre as barras
/*1*/[ "...”Técnicos qualificados, pontuais e competentes”... Villaggio Panamby" , "depoimentos.html#luis_alberto_ferreira" ] ,
/*2*/[ "...”ótimo atendimento, profissionais atenciosos”... - |Cond. Supreme|" , "depoimentos.html#denis" ] ,
/*3*/[ "...”100% no atendimento e na qualidade”... - |Ed. Villaggio Di Assis|", "depoimentos.html#abrahao_oliveira" ] ,
/*4*/[ "...”serviço e atendimento muito bom”... - |Cond. Ed. Paco de Pompéia|" , "depoimentos.html#marco_a_nascimento" ] ,
/*5*/[ "“estou muito contente com o serviço de manutenção”... - |Cond. Chez Dominique|" , "depoimentos.html#normildo_gomes" ] ,
/*6*/[ "...”atendimento técnico preciso e eficiente”... - |Cond. Happy Place|" , "depoimentos.html#ezequiel_costa" ] ,
/*7*/[ "...”estamos contentes com os serviços e funcionários capacitados”... - |Ed. Dijon|" , "depoimentos.html#haiala_simao" ] ,
/*8*/[ "...”a Ginastic Shop sempre foi muito prestativa”... - |Ed. Lazuli|", "depoimentos.html#aparecido_batista_da_silva" ] ,
/*9*/[ "...”estamos muito satisfeitos com a manutenção preventiva”... - |Conjunto Residência Canto dos Ipês|" , "depoimentos.html#irwin_a_ramos" ] ,
/*10*/[ "...”a Ginastic Shop sempre nos atendeu prontamente”... - |Casa de Navarra|" , "depoimentos.html#vital_ferreira_da_silva" ] ,
/*11*/[ "...”satisfeito tanto com o serviço como discrição e respeito”... - |Ed. San Martin|" , "depoimentos.html#waldermar_patrocínio_filho" ] ,
/*12*/[ "...”a Ginastic Shop foi rápida em nos atender”... - |Ed. Piazza Di Napoli|" , "depoimentos.html#antonio_de_souza" ] ,
/*13*/[ "...”estamos satisfeitos com os serviços e técnicos”... - |Ed. Villaggio Di Assis|", "depoimentos.html#claudionor_pereira" ] ,
/*14*/[ "...”Manutenção Boa e atendimento ótimo”... - |Condomínio Porto Fino|" , "depoimentos.html#Ildécio" ] ,
/*15*/[ "...”estamos imensamente satisfeitos com os trabalhos”... - |Itaim Loft|" , "depoimentos.html#ede_jose_de_souza" ] ,
/*16*/[ "...” estamos muito satisfeitos com o serviço e profissionais”... - |Ed. Palazzo Barberi|" , "depoimentos.html#joao_antonio_junior" ] ,
/*17*/[ "...”estamos muito satisfeitos com a Ginastic Shop”... - |Premium Space|" , "depoimentos.html#jose_a_do_o_filho" ] ,
/*18*/[ "...”a Ginastic Shop nos atendem rapidamente”... - |Villaggio de Anália Franco|" , "depoimentos.html#sandro_augusto" ] ,



[]
) ;

var ticker_layer = false ;
var step_time = 70 ;
var freeze_time = 4000 ;
var news_index = 0 ;
var title_index = 0 ;
var end_title = "_" ; //caracter responsavel em 'formar' outros caracteres
var title_max_size = 75 ;

for (var i=0;i<news.length-1;i++){
	t=news[i][0].replace(/\&quot;/gi,'"');
	if (t.length>title_max_size){
		t = t.substring( 0 , title_max_size ) ;
		t=t.substring(0,t.lastIndexOf(' '));
		t+='...';
	}
	news[i][0]=t;
}

function funcao_noticias(){
	window.setTimeout( "roll_ticker()" , step_time ) ;
}

function roll_ticker(){
	var title ;
	if ( title_index == 0 ){
		while ( document.getElementById('noticias').lastChild != null ){
			child = document.getElementById('noticias').lastChild ;
			document.getElementById('noticias').removeChild( child ) ;
		}
	}

	if ( news.length > news_index + 1 && news[news_index][0].length >= title_index ){
		title = news[ news_index ] ;
		document.getElementById('sistema_noticias').setAttribute( "href" , title[1] ) ;

		s_text = title[0].substring( title_index  , title_index + 1 ) ;
		title_index++ ;

		if ( document.getElementById('noticias').lastChild != null ){
			if ( document.getElementById('noticias').lastChild.nodeValue == "_" ){
				child = document.getElementById('noticias').lastChild ;
				document.getElementById('noticias').removeChild( child ) ;
			}
		}

		txt = document.createTextNode( s_text ) ;
		document.getElementById('noticias').appendChild( txt ) ;

		if ( title[0].length > title_index ) {
			if ( title_index % 10 != 0 ){
				txt = document.createTextNode( "_" ) ;
				document.getElementById('noticias').appendChild( txt ) ;
			}
		}
		window.setTimeout( "roll_ticker()" , step_time ) ;
	}
	else{
		news.length == news_index + 2 ? news_index = 0 : news_index++ ;
		title_index = 0 ;
		window.setTimeout( "roll_ticker()" , freeze_time ) ;
	}
}

<!--fim do letreiro de notícias-->

