<!-- Mas trucos y scripts en http://www.javascript.com.mx -->
<!-- Comienza
var mfBanners = [
['http://comunidadhosanna.wordpress.com/2009/03/13/5to-aniversario-de-hosanna-diriamba/', 'banner/banner_hdiriamba.jpg','12/10/09'],
['http://comunidadhosanna.wordpress.com/2009/03/13/5to-aniversario-de-hosanna-diriamba/', 'banner/banner_hdiriamba.jpg','12/10/09'],
['', 'banner/banner_marzo.jpg','12/10/09'],
['', 'banner/banner_cumbrelider.jpg','12/10/09'],
['http://comunidadhosanna.wordpress.com/2009/02/20/proyecto-un-vaso-de-leche/', 'banner/banner_leche.jpg','12/10/09'],
['http://www.radiomil.org/en_vivo.html', 'banner/radio_mil.jpg','12/10/09'],
['descargas/Boletines_Dominicales/2009/boletin_15marzo09.pdf', 'banner/boletindominical.jpg','12/10/09'],
];

var mfBannerIndex = 0;
function openwindow(){
	window.open('http://www.radiomil.org/en_vivo.html/','Windowname','width=300,top=0,left=0,resizable,scrollbars,height=250');  
	return false;
}

function mfBannerChange() {
	var htmlString;
	var urlradio = '';
	if(mfBanners[mfBannerIndex][0]!=""){
	 	if(mfBanners[mfBannerIndex][0]=='http://www.radiomil.org/en_vivo.html'){
				    htmlString = '<a href="#"  onclick="openwindow();"><img border="0" height="136" src="'+mfBanners[mfBannerIndex][1]+'"/></a>';
		}else{
					htmlString = '<a target="_blank" href="'+mfBanners[mfBannerIndex][0]+'"> <img border="0" height="136" src="'+mfBanners[mfBannerIndex][1]+'"/></a>';
		}
		
		
	}else{
		htmlString = '<img border="0" src="'+mfBanners[mfBannerIndex][1]+'"/>';
	}
	
                                                      
	
	document.getElementById('banner').innerHTML = htmlString;
	
	if(mfBannerIndex < mfBanners.length - 1){
		mfBannerIndex++;
	}else{
		mfBannerIndex = 0;
	}
	
}
setInterval("mfBannerChange()", 5000);


//  End -->