jQuery(document).ready(function() {
	
  // corta os parágrafos grandes (acima de tantos caracteres)
  $('p.depoimento').expander({
    slicePoint:       210,  // default is 100
    widow:            50,
    expandText:         '...[continua]', // default is 'read more...'
    userCollapseText: '[^]'  // default is '[collapse expanded text]'
  });
  
    // corta os parágrafos grandes (acima de tantos caracteres)
  $('div.noticiatexto').expander({
    slicePoint:       200,  // default is 100
    widow:            10,
    expandText:         '...[continua]', // default is 'read more...'
    userCollapseText: '[^]'  // default is '[collapse expanded text]'
  });

  

  /*
  // define link para fechar mapa
  $('a#fechar').click(function(){
       $('div.endereco').empty();
       }); 
  

	
  // cria DIV contendo iframe para mapa
  $('img#mapa').click(function(){
  $('div.endereco').append(
  $.DIV({id:'mapa'},
       $.DIV({id:'mapa_controle'}),
       $.A({id:'fechar'},'fechar')
  ));
  
$("div#mapa").googleMap(-8.0305, -34.920, 16, {
		  controls: ["GSmallMapControl", "GMapTypeControl"],
		  markers: $(".geo")
	  });  
  
  $('img#mapa').hover(function() {
	$(this).css("cursor","pointer");
	});
	
	$('a.fechar').livequery('hover', function() {
	$(this).css("cursor","pointer");
	});*/
	

});
