<!-- 
function banner(imgSource,width,height,chance) { 
this.imgSource = imgSource; 
this.width = width; 
this.height = height; 
this.chance = chance; 
} 
function dispBanner() { 
with (this){ //document.write("<A HREF=" + url + "><IMG SRC='" + imgSource + "' WIDTH=468 HEIGHT=60 BORDER=0 ALT='" + alt + "'></A>"); 
//document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='320' height='320'>"); 
//document.write(" <param name='movie' value='"+imgSource+"'>"); 
//document.write("  <param name='quality' value='high'>"); 
//document.write(" <embed src='"+imgSource+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='32' height='32'></embed>"); 
//document.write("</object>"); 
}
} 
banner.prototype.dispBanner = dispBanner; 
banners = new Array(); 

banners[0] = new banner("imagens/banner/bijupira.jpg", 
"521", 
"86", 
10); 
banners[1] = new banner("imagens/banner/mero.jpg", 
"521", 
"86", 
10); 

sum_of_all_chances = 0; 
for (i = 0; i < banners.length; i++) { 
sum_of_all_chances += banners[i].chance; 
} 
function randomBanner() { 
chance_limit = 0; 
randomly_selected_chance = Math.round((sum_of_all_chances - 1) * Math.random()) + 1; 
for (i = 0; i < banners.length; i++) { 
chance_limit += banners[i].chance; 
if (randomly_selected_chance <= chance_limit) { 
document.write("<IMG SRC='" + banners[i].imgSource + "' BORDER=0 ></A>"); 
//with (this){ 
//document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+banners[i].width+"' height='"+banners[i].height+"'>"); 
//document.write(" <param name='movie' value='"+banners[i].imgSource+"'>"); 
//document.write("  <param name='quality' value='high'>"); 
//document.write(" <embed src='"+banners[i].imgSource+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+banners[i].width+"' height='"+banners[i].height+"'></embed>"); 
//document.write("</object>"); 
//}

return banners[i]; 
break; 
} 
} 
} 
function setacor(obj,cor,sublinha){	
	if(sublinha == 1 ){
		obj.style.textDecoration="underline";
		}else{
		obj.style.textDecoration="none";
		}
	obj.style.backgroundColor=cor;
	}
function setacor2(obj,cor,sublinha,obj1,cor1){	
	if(sublinha == 1 ){
		obj.style.textDecoration="underline";
		}else{
		obj.style.textDecoration="none";
		}
	obj.style.color=cor;
	document.getElementById(obj1).style.backgroundColor=cor1;
	}
	
	
// End --> 
