imagenes = new armarvector ("cabecera/1.jpg" ,"cabecera/2.jpg" ,"cabecera/3.jpg" ,"cabecera/4.jpg","cabecera/5.jpg","cabecera/6.jpg");

function random() {
 hoy= new Date();
 maximo=6;
 segundos=hoy.getSeconds();
 if (segundos==0) {segundos=1}

 while (segundos>maximo) {segundos=segundos-maximo}
 document.write ('<IMG SRC="'+imagenes[segundos]+'" border="0">');
}

function armarvector (v1, v2, v3 , v4 , v5 ,v6) 
{ this[1]=v1;
 this[2]=v2;
this[3]=v3;
this[4]=v4;
this[5]=v5;
 this[6]=v6

}
