/*function bannerRotativo() {
	left = 0;
	largura = 0;
	if (contagem>0) {
		for (var n=1;n<=contagem;n++) {
			var titulo = "titulo_"+n;
			var imagem = "imagem_"+n;
			if (document.getElementById(imagem).width<2) {
				marginImagem = 0;
			} else {
				marginImagem = 10;
			}
			largura = largura + document.getElementById(titulo).width + document.getElementById(imagem).width + 25 + marginImagem + 130 + 10;
		}
	}
	if (contagem_banner>0) {
		for (var n=1;n<=contagem_banner;n++) {
			var banner = "banner_"+n;
			largura = largura + document.getElementById(banner).width + 26;
		}
	}
	
	if (contagem_banner_flash>0) {
		for (var n=1;n<=contagem_banner_flash;n++) {
			var banner_flash = "banner_flash_"+n;
			largura = largura + parseInt(document.getElementById(banner_flash).width) + 26;
			//alert(largura);
		}
	}
	move();

}
function move() {
	if (document.getElementById("registro").style.left.slice(0,-2) >= -(largura/5)) 
	{
		left = left -2;
	} else {
		left = 0;
	}
	document.getElementById("registro").style.left = left + "px";	
	t = setTimeout(move,30);
}

function para() {
	clearTimeout(t);
}

bottom = -200;
velocidade = 1;
pixel = 5;
function apareceBarra() {
	tempo = setTimeout(apareceBarra,velocidade);
	if (document.getElementById("barra").style.bottom.slice(0,-2) <= -30)
	{
		bottom = bottom + 5;
		velocidade = 1;
	} else {	
		bottom = bottom + pixel;
		if (pixel!=1) {
			pixel = pixel - 0.5;
		}
		if (document.getElementById("barra").style.bottom.slice(0,-2) >= 0) {
			clearTimeout(tempo);
			bottom = 0;
			bannerRotativo();
		}
	}
	document.getElementById("barra").style.bottom = bottom + "px";
}
*/

function trocaIdioma(idIdioma) {
	  window.location.replace("gisele_default.asp?ididioma="+idIdioma);
	
}