function Random(img_rmd,cuantos,path,alto,ancho)
{
	cuantos = cuantos -1;
	var i = Math.round(cuantos*Math.random());
	if ( i > cuantos) { i == cuantos; }
	if ( i < 0 ) { i == 0; }
	document.write("<IMG SRC='" + path + img_rmd[i] + "' WIDTH='" + ancho + "' HEIGHT='" + alto + "'>");
}
function RandomReciente(img_rec,cuantos_rec,path_rec,alto_rec,ancho_rec)
{
	cuantos_rec = cuantos_rec -1;
	var i = Math.round(cuantos_rec*Math.random());
	if ( i > cuantos_rec) { i == cuantos_rec; }
	if ( i < 0 ) { i == 0; }
	document.write("<IMG SRC='" + path_rec + img_rec[i] + "' WIDTH='" + ancho_rec + "' HEIGHT='" + alto_rec + "'>");
}
function Randombanner(img_bann,cuantos_bann,path_bann,alto_bann,ancho_bann,liga_bann)
{
	cuantos_bann = cuantos_bann -1;
	var i = Math.round(cuantos_bann*Math.random());
	if ( i > cuantos_bann ) { i == cuantos_bann; }
	if ( i < 0 ) { i == 0; }
	document.write("<A HREF='" + liga_bann[i] + "'><IMG SRC='" + path_bann + img_bann[i] + "' WIDTH='" + ancho_bann + "' HEIGHT='" + alto_bann + "' BORDER='0'></A>");
}
function Randombanner1(img_bann1,cuantos_bann1,path_bann1,alto_bann1,ancho_bann1,liga_bann1)
{
	cuantos_bann1 = cuantos_bann1 -1;
	var i = Math.round(cuantos_bann1*Math.random());
	if ( i > cuantos_bann1 ) { i == cuantos_bann1; }
	if ( i < 0 ) { i == 0; }
	document.write("<A HREF='" + liga_bann1[i] + "'><IMG SRC='" + path_bann1 + img_bann1[i] + "' WIDTH='" + ancho_bann1 + "' HEIGHT='" + alto_bann1 + "' BORDER='0'></A>");
}
function Randomsup1(img_sup1,cuantos_sup1,path_sup1,alto_sup1,ancho_sup1)
{
	cuantos_sup1 = cuantos_sup1 -1;
	var i = Math.round(cuantos_sup1*Math.random());
	if ( i > cuantos_sup1) { i == cuantos_sup1; }
	if ( i < 0 ) { i == 0; }
	document.write("<IMG SRC='" + path_sup1 + img_sup1[i] + "' WIDTH='" + ancho_sup1 + "' HEIGHT='" + alto_sup1 + "'>");
}
function Randomsup2(img_sup2,cuantos_sup2,path_sup1,alto_sup2,ancho_sup2,liga_rmd)
{
	cuantos_sup2 = cuantos_sup2 -1;
	var i = Math.round(cuantos_sup2*Math.random());
	if ( i > cuantos_sup2 ) { i == cuantos_sup2; }
	if ( i < 0 ) { i == 0; }
	document.write("<A HREF='" + liga_rmd[i] + "'><IMG SRC='" + path_sup1 + img_sup2[i] + "' WIDTH='" + ancho_sup2 + "' HEIGHT='" + alto_sup2 + "' BORDER='0'></A>");
}
function Randomsup3(img_sup3,cuantos_sup3,path_sup1,alto_sup3,ancho_sup3)
{
	cuantos_sup3 = cuantos_sup3 -1;
	var i = Math.round(cuantos_sup3*Math.random());
	if ( i > cuantos_sup3) { i == cuantos_sup3; }
	if ( i < 0 ) { i == 0; }
	document.write("<IMG SRC='" + path_sup1 + img_sup3[i] + "' WIDTH='" + ancho_sup3 + "' HEIGHT='" + alto_sup3 + "'>");
}
function Randomnota1(img_nota1,cuantos_nota1,path_notas,alto_nota1,ancho_nota1)
{
	cuantos_nota1 = cuantos_nota1 -1;
	var i = Math.round(cuantos_nota1*Math.random());
	if ( i > cuantos_nota1 ) { i == cuantos_nota1; }
	if ( i < 0 ) { i == 0; }
	//document.write("<IMG SRC='" + path_sup + img_sup[i] + "' WIDTH='" + ancho_sup + "' HEIGHT='" + alto_sup + "'>");
	
document.write("<tr>");
document.write("<td valign=top class=Portada_Noticias_Subtitular>"+tit_nota1[i]+" </span><span class=Portada_Sub_reciente><br>");
document.write("<tr>");
document.write("<tr>");
document.write("<td width=100% valign=top><div align=center>");
document.write("<img src='" + path_notas + img_nota1[i] +"' WIDTH='" + ancho_nota1 + "' HEIGHT='" + alto_nota1 + "' border=0></a></td> <td width=2 valign=top><a href="+liga_nota1[i]+">");
document.write("<tr>");
document.write("<td valign=top><span class=Portada_Sub_reciente_res>"+texto_nota1[i]+"<br><br>");
document.write("<a href="+liga_nota1[i]+" class=link_tapiz><img src=\"imagenes/mas.gif\" width=59 height=9 align=right border=0></a></span></td>");

}
function Randomnota2(img_nota2,cuantos_nota2,path_notas,alto_nota2,ancho_nota2)
{
	cuantos_nota2 = cuantos_nota2 -1;
	var i = Math.round(cuantos_nota2*Math.random());
	if ( i > cuantos_nota2 ) { i == cuantos_nota2; }
	if ( i < 0 ) { i == 0; }
	//document.write("<IMG SRC='" + path_sup + img_sup[i] + "' WIDTH='" + ancho_sup + "' HEIGHT='" + alto_sup + "'>");
	

document.write("<tr>");
document.write("<td valign=top class=Portada_Noticias_Subtitular>"+tit_nota2[i]+" </span><span class=Portada_Sub_reciente><br>");
document.write("<tr>");
document.write("<tr>");
document.write("<td width=100% valign=top><div align=center>");
document.write("<img src='" + path_notas + img_nota2[i] +"' WIDTH='" + ancho_nota2 + "' HEIGHT='" + alto_nota2 + "' border=0></a></td> <td width=1 valign=top><a href="+liga_nota2[i]+">");
document.write("<tr>");
document.write("<td valign=top><span class=Portada_Sub_reciente_res>"+texto_nota2[i]+"<br><br>");
document.write("<a href="+liga_nota2[i]+" class=link_tapiz><img src=\"imagenes/mas.gif\" width=59 height=9 align=right border=0></a></span></td>");

}
function Randomnota3(img_nota3,cuantos_nota3,path_notas,alto_nota3,ancho_nota3)
{
	cuantos_nota3 = cuantos_nota3 -1;
	var i = Math.round(cuantos_nota3*Math.random());
	if ( i > cuantos_nota3 ) { i == cuantos_nota3; }
	if ( i < 0 ) { i == 0; }
	//document.write("<IMG SRC='" + path_sup + img_sup[i] + "' WIDTH='" + ancho_sup + "' HEIGHT='" + alto_sup + "'>");
	
document.write("<tr>");
document.write("<td valign=top class=Portada_Noticias_Subtitular>"+tit_nota3[i]+" </span><span class=Portada_Sub_reciente><br>");
document.write("<tr>");
document.write("<tr>");
document.write("<td width=100% valign=top><div align=center>");
document.write("<img src='" + path_notas + img_nota3[i] +"' WIDTH='" + ancho_nota3 + "' HEIGHT='" + alto_nota3 + "' border=0></a></td> <td width=2 valign=top><a href="+liga_nota3[i]+">");
document.write("<tr>");
document.write("<td valign=top><span class=Portada_Sub_reciente_res>"+texto_nota3[i]+"<br><br>");
document.write("<a href="+liga_nota3[i]+" class=link_tapiz><img src=\"imagenes/mas.gif\" width=59 height=9 align=right border=0></a></span></td>");

}
function Randomnota4(img_nota4,cuantos_nota4,path_notas,alto_nota4,ancho_nota4)
{
	cuantos_nota4 = cuantos_nota4 -1;
	var i = Math.round(cuantos_nota4*Math.random());
	if ( i > cuantos_nota4 ) { i == cuantos_nota4; }
	if ( i < 0 ) { i == 0; }
	//document.write("<IMG SRC='" + path_sup + img_sup[i] + "' WIDTH='" + ancho_sup + "' HEIGHT='" + alto_sup + "'>");
	
document.write("<tr>");
document.write("<td valign=top class=Portada_Noticias_Subtitular>"+tit_nota4[i]+" </span><span class=Portada_Sub_reciente><br>");
document.write("<tr>");
document.write("<tr>");
document.write("<td width=100% valign=top><div align=center>");
document.write("<img src='" + path_notas + img_nota4[i] +"' WIDTH='" + ancho_nota4 + "' HEIGHT='" + alto_nota4 + "' border=0></a></td> <td width=2 valign=top><a href="+liga_nota4[i]+">");
document.write("<tr>");
document.write("<td valign=top><span class=Portada_Sub_reciente_res>"+texto_nota4[i]+"<br><br>");
document.write("<a href="+liga_nota4[i]+" class=link_tapiz><img src=\"imagenes/mas.gif\" width=59 height=9 align=right border=0></a></span></td>");

}