function randomImg() {

	var myImages = new Array();
        
	myImages[1] = "../sistema/imagens/topo/topo02.jpg";
	myImages[2] = "../sistema/imagens/topo/topo03.jpg";
	myImages[3] = "../sistema/imagens/topo/topo04.jpg";
        myImages[4] = "../sistema/imagens/topo/topo01.jpg";
	
	var rnd = Math.floor(Math.random() * myImages.length);
	if(rnd == 0){
	rnd = 1;
	}

        if(rnd == 1){
	document.write('<style>#topo a.link{margin: 10px 0 0 290px;}</style>');
	}
	
	document.write('<style>#topo{background:url('+myImages[rnd]+') no-repeat;}</style>');
	
	}
