// Comienzo
var banners = 4;// En la variable "banner" definimos la cantidad de banners, en este caso serán 3
// Definimos las propiedades del banner en cada posibilidad
// Archivo SWF, ancho y alto.
var ahora = new Date()
var segundos = ahora.getSeconds()
var ad = segundos % banners;
ad +=1;
if (ad==1) {
flash="/Banners/anunciantes/banner_radar_170x100.swf"
width="170";
height="100";
}
if (ad==2) {
flash="/Banners/anunciantes/desarrollosrurales170x250.swf"
width="170";
height="250";
}
if (ad==3) {
flash="/Banners/anunciantes/lanuevaestrella170x250.swf"
width="170";
height="250";
}
if (ad==4) {
flash="/Banners/anunciantes/paivaclasificadosbanner425x425.swf"
width="170";
height="180";
}


//if (ad==3) {
//flash="banner3.swf"
//width="468";
//height="60";
//}
document.write('<center>');
document.write('<OBJECT CLASSID=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=' + width + ' height=' + height + ' CODEBASE=\"http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0\">');
document.write('<PARAM NAME=\"MOVIE\" VALUE=\"' + flash + '\">');
document.write('<PARAM NAME=\"PLAY\" VALUE=\"true\">');
document.write('<PARAM NAME=\"LOOP\" VALUE=\"true\">');
document.write('<PARAM NAME=\"QUALITY\" VALUE=\"high\">');
document.write('<EMBED SRC=' + flash + ' width=' + width + ' height=' + height + ' PLAY=\"true\" LOOP=\"true\" QUALITY=\"high\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version=ShockwaveFlash\">');
document.write('</EMBED>');
document.write('</OBJECT>');
document.write('</center>');
// Fin
