
	bannerArray    = new Array()
	bannerArray[0] = "Adiccion_01.swf"
	bannerArray[2] = "Alcohol_01.swf"
	bannerArray[6] = "YaNo_02.swf"
	bannerArray[3] = "Alcoholismo_01.swf"
	bannerArray[4] = "bannerNewDim_01.swf"
	bannerArray[5] = "YaNo_01.swf"
	bannerArray[1] = "Adiccion_02.swf"

function getRandom(max)
{
	return (Math.floor(Math.random()*max));
}

function displayBannerRandom()
{
	bannerSelect = getRandom(7)
	bannerName = "./Banners/" + bannerArray[bannerSelect]
//	alert( "bannerName=" + bannerSelect + " " + bannerName )

	document.write('<TABLE width=100% ALIGN="center" BORDER=0 width=100% CELLSPACING=0 CELLPADDING=0>')
	document.write('<TR>')
	document.write('<TD ALIGN="center" >')
	document.write('<object type="application/x-shockwave-flash" data="'+bannerName+'" width=480 height=80 id="xy">')
	document.write('<param name="movie" value="'+bannerName+'" />')
	document.write('<param name="loop" value="false" />')
	document.write('<param name="menu" value="false" />')
	document.write('<param name="scale" value="exactfit" />')
	document.write('<param name="quality" value="high" />')
	document.write('<param name="bgcolor" value="#FFFFFF" />')
	document.write('</object></a></TD></TR>')
	document.write('</TABLE>')
}
