<!-- CONTIGO
var arAbasMalhoCONTIGO = new Array();
arAbasMalhoCONTIGO[0] = new stAbaMalhoCONTIGO('0','1ano.jpg','2anos.jpg');
arAbasMalhoCONTIGO[1] = new stAbaMalhoCONTIGO('1','1ano.jpg','2anos.jpg');
	
function stAbaMalhoCONTIGO(num,on,off){
	this.num = num;
	this.on = on;
	this.off = off;
}		

function AlternarAbasMalhoCONTIGO(num,on,off){
	for (i=0;i<arAbasMalhoCONTIGO.length;i++)
	{
		UTIL.GetObject('malhoCONTIGO'+arAbasMalhoCONTIGO[i].num).style.display = 'none';
		UTIL.GetObject('imgMalhoCONTIGO'+arAbasMalhoCONTIGO[i].num).src = 'http://imagens.assineabril.com/AssineAbril/novo/revistasdigitais/css/img/'+arAbasMalhoCONTIGO[i].off;
	}
	UTIL.GetObject('malhoCONTIGO'+num).style.display = 'block';
	UTIL.GetObject('imgMalhoCONTIGO'+num).src = 'http://imagens.assineabril.com/AssineAbril/novo/revistasdigitais/css/img/'+on;
}


<!-- VIP
var arAbasMalhoVIP = new Array();
arAbasMalhoVIP[0] = new stAbaMalhoVIP('0','1ano.jpg','2anos.jpg');
arAbasMalhoVIP[1] = new stAbaMalhoVIP('1','1ano.jpg','2anos.jpg');
	
function stAbaMalhoVIP(num,on,off){
	this.num = num;
	this.on = on;
	this.off = off;
}		

function AlternarAbasMalhoVIP(num,on,off){
	for (i=0;i<arAbasMalhoVIP.length;i++)
	{
		UTIL.GetObject('malhoVIP'+arAbasMalhoVIP[i].num).style.display = 'none';
		UTIL.GetObject('imgMalhoVIP'+arAbasMalhoVIP[i].num).src = 'http://imagens.assineabril.com/AssineAbril/novo/revistasdigitais/css/img/'+arAbasMalhoVIP[i].off;
	}
	UTIL.GetObject('malhoVIP'+num).style.display = 'block';
	UTIL.GetObject('imgMalhoVIP'+num).src = 'http://imagens.assineabril.com/AssineAbril/novo/revistasdigitais/css/img/'+on;
}

