﻿var mostrado = 0;

function setFundo(){
	for (i = 0; i < 3; i++) {
		var numero = Math.floor(Math.random() * 6);	
		if (numero == mostrado) {
			continue;
		} else {
			mostrado = numero;
			break;
		}
	}
	document.getElementById("banner").className = "banner" + numero;
}