jQuery.fn.toggleText = function(a,b) {
return   this.html(this.html().replace(new RegExp("("+a+"|"+b+")"),function(x){return(x==a)?b:a;}));
}

$(document).ready(function(){
$('.tg2').before('<span><strong>Ver - In Ceram &dArr;</strong></span>');
$('.tg2').css('display', 'none')
$('span', '#box-toggle').click(function() {
$(this).next().slideToggle('slow')
.siblings('.tg2:visible').slideToggle('fast');
// aqui começa o funcionamento do plugin
$(this).toggleText('Ver','Fechar')
.siblings('span').next('.tg2:visible').prev()
.toggleText('Mais','Menos')
});
})

$(document).ready(function(){
$('.tg3').before('<span><strong>Ver - IPS Empress &dArr;</strong></span>');
$('.tg3').css('display', 'none')
$('span', '#box-toggle').click(function() {
$(this).next().slideToggle('slow')
.siblings('.tg3:visible').slideToggle('fast');
// aqui começa o funcionamento do plugin
$(this).toggleText('Ver','Fechar')
.siblings('span').next('.tg3:visible').prev()
.toggleText('Mais','Menos')
});
})

$(document).ready(function(){
$('.tg4').before('<span><strong>Ver - IPS E-MAX &dArr;</strong></span>');
$('.tg4').css('display', 'none')
$('span', '#box-toggle').click(function() {
$(this).next().slideToggle('slow')
.siblings('.tg4:visible').slideToggle('fast');
// aqui começa o funcionamento do plugin
$(this).toggleText('Ver','Fechar')
.siblings('span').next('.tg4:visible').prev()
.toggleText('Mais','Menos')
});
})





