var titulos = new Array();
var imagenes = new Array();
var dia = new Array();
var fecha = new Array();
var ambito = new Array();
diahoy=1;
meshoy=10;
anohoy=2023;
dia["8-9-2023"]="2023/09/08/";
fecha["8-9-2023"]="8-9-2023";
dia["9-9-2023"]="2023/09/09/";
fecha["9-9-2023"]="9-9-2023";
dia["9-9-2023"]="2023/09/09/";
fecha["9-9-2023"]="9-9-2023";
dia["10-9-2023"]="2023/09/10/";
fecha["10-9-2023"]="10-9-2023";
dia["10-9-2023"]="2023/09/10/";
fecha["10-9-2023"]="10-9-2023";
dia["13-9-2023"]="2023/09/13/";
fecha["13-9-2023"]="13-9-2023";
dia["14-9-2023"]="2023/09/14/";
fecha["14-9-2023"]="14-9-2023";
dia["15-9-2023"]="2023/09/15/";
fecha["15-9-2023"]="15-9-2023";
dia["16-9-2023"]="2023/09/16/";
fecha["16-9-2023"]="16-9-2023";
dia["16-9-2023"]="2023/09/16/";
fecha["16-9-2023"]="16-9-2023";
dia["17-9-2023"]="2023/09/17/";
fecha["17-9-2023"]="17-9-2023";
dia["17-9-2023"]="2023/09/17/";
fecha["17-9-2023"]="17-9-2023";
dia["21-9-2023"]="2023/09/21/";
fecha["21-9-2023"]="21-9-2023";
dia["22-9-2023"]="2023/09/22/";
fecha["22-9-2023"]="22-9-2023";
dia["23-9-2023"]="2023/09/23/";
fecha["23-9-2023"]="23-9-2023";
dia["23-9-2023"]="2023/09/23/";
fecha["23-9-2023"]="23-9-2023";
dia["24-9-2023"]="2023/09/24/";
fecha["24-9-2023"]="24-9-2023";
dia["24-9-2023"]="2023/09/24/";
fecha["24-9-2023"]="24-9-2023";
dia["26-9-2023"]="2023/09/26/";
fecha["26-9-2023"]="26-9-2023";
dia["27-9-2023"]="2023/09/27/";
fecha["27-9-2023"]="27-9-2023";
dia["28-9-2023"]="2023/09/28/";
fecha["28-9-2023"]="28-9-2023";
dia["29-9-2023"]="2023/09/29/";
fecha["29-9-2023"]="29-9-2023";
dia["30-9-2023"]="2023/09/30/";
fecha["30-9-2023"]="30-9-2023";
dia["30-9-2023"]="2023/09/30/";
fecha["30-9-2023"]="30-9-2023";
dia["1-10-2023"]="2023/10/01/";
fecha["1-10-2023"]="1-10-2023";
dia["1-10-2023"]="2023/10/01/";
fecha["1-10-2023"]="1-10-2023";
dia["5-10-2023"]="2023/10/05/";
fecha["5-10-2023"]="5-10-2023";
dia["6-10-2023"]="2023/10/06/";
fecha["6-10-2023"]="6-10-2023";
dia["7-10-2023"]="2023/10/07/";
fecha["7-10-2023"]="7-10-2023";
dia["7-10-2023"]="2023/10/07/";
fecha["7-10-2023"]="7-10-2023";
dia["7-10-2023"]="2023/10/07/";
fecha["7-10-2023"]="7-10-2023";
dia["8-10-2023"]="2023/10/08/";
fecha["8-10-2023"]="8-10-2023";
dia["8-10-2023"]="2023/10/08/";
fecha["8-10-2023"]="8-10-2023";
dia["11-10-2023"]="2023/10/11/";
fecha["11-10-2023"]="11-10-2023";
dia["12-10-2023"]="2023/10/12/";
fecha["12-10-2023"]="12-10-2023";
dia["12-10-2023"]="2023/10/12/";
fecha["12-10-2023"]="12-10-2023";
dia["12-10-2023"]="2023/10/12/";
fecha["12-10-2023"]="12-10-2023";
dia["13-10-2023"]="2023/10/13/";
fecha["13-10-2023"]="13-10-2023";
dia["13-10-2023"]="2023/10/13/";
fecha["13-10-2023"]="13-10-2023";
dia["14-10-2023"]="2023/10/14/";
fecha["14-10-2023"]="14-10-2023";
dia["14-10-2023"]="2023/10/14/";
fecha["14-10-2023"]="14-10-2023";
dia["14-10-2023"]="2023/10/14/";
fecha["14-10-2023"]="14-10-2023";
dia["15-10-2023"]="2023/10/15/";
fecha["15-10-2023"]="15-10-2023";
dia["15-10-2023"]="2023/10/15/";
fecha["15-10-2023"]="15-10-2023";
dia["19-10-2023"]="2023/10/19/";
fecha["19-10-2023"]="19-10-2023";
dia["20-10-2023"]="2023/10/20/";
fecha["20-10-2023"]="20-10-2023";
dia["20-10-2023"]="2023/10/20/";
fecha["20-10-2023"]="20-10-2023";
dia["21-10-2023"]="2023/10/21/";
fecha["21-10-2023"]="21-10-2023";
dia["21-10-2023"]="2023/10/21/";
fecha["21-10-2023"]="21-10-2023";
dia["22-10-2023"]="2023/10/22/";
fecha["22-10-2023"]="22-10-2023";
dia["22-10-2023"]="2023/10/22/";
fecha["22-10-2023"]="22-10-2023";
dia["22-10-2023"]="2023/10/22/";
fecha["22-10-2023"]="22-10-2023";
dia["23-10-2023"]="2023/10/23/";
fecha["23-10-2023"]="23-10-2023";
dia["25-10-2023"]="2023/10/25/";
fecha["25-10-2023"]="25-10-2023";
dia["26-10-2023"]="2023/10/26/";
fecha["26-10-2023"]="26-10-2023";
dia["27-10-2023"]="2023/10/27/";
fecha["27-10-2023"]="27-10-2023";
dia["28-10-2023"]="2023/10/28/";
fecha["28-10-2023"]="28-10-2023";
dia["28-10-2023"]="2023/10/28/";
fecha["28-10-2023"]="28-10-2023";
dia["29-10-2023"]="2023/10/29/";
fecha["29-10-2023"]="29-10-2023";
dia["29-10-2023"]="2023/10/29/";
fecha["29-10-2023"]="29-10-2023";
dia["30-10-2023"]="2023/10/30/";
fecha["30-10-2023"]="30-10-2023";
dia["31-10-2023"]="2023/10/31/";
fecha["31-10-2023"]="31-10-2023";
dia["31-10-2023"]="2023/10/31/";
fecha["31-10-2023"]="31-10-2023";
dia["1-11-2023"]="2023/11/01/";
fecha["1-11-2023"]="1-11-2023";
dia["1-11-2023"]="2023/11/01/";
fecha["1-11-2023"]="1-11-2023";
dia["2-11-2023"]="2023/11/02/";
fecha["2-11-2023"]="2-11-2023";
dia["3-11-2023"]="2023/11/03/";
fecha["3-11-2023"]="3-11-2023";
dia["4-11-2023"]="2023/11/04/";
fecha["4-11-2023"]="4-11-2023";
dia["4-11-2023"]="2023/11/04/";
fecha["4-11-2023"]="4-11-2023";
dia["5-11-2023"]="2023/11/05/";
fecha["5-11-2023"]="5-11-2023";
dia["5-11-2023"]="2023/11/05/";
fecha["5-11-2023"]="5-11-2023";
dia["5-11-2023"]="2023/11/05/";
fecha["5-11-2023"]="5-11-2023";
dia["5-11-2023"]="2023/11/05/";
fecha["5-11-2023"]="5-11-2023";
dia["7-11-2023"]="2023/11/07/";
fecha["7-11-2023"]="7-11-2023";
dia["9-11-2023"]="2023/11/09/";
fecha["9-11-2023"]="9-11-2023";
dia["10-11-2023"]="2023/11/10/";
fecha["10-11-2023"]="10-11-2023";
dia["11-11-2023"]="2023/11/11/";
fecha["11-11-2023"]="11-11-2023";
dia["11-11-2023"]="2023/11/11/";
fecha["11-11-2023"]="11-11-2023";
dia["12-11-2023"]="2023/11/12/";
fecha["12-11-2023"]="12-11-2023";
dia["12-11-2023"]="2023/11/12/";
fecha["12-11-2023"]="12-11-2023";
dia["14-11-2023"]="2023/11/14/";
fecha["14-11-2023"]="14-11-2023";
dia["16-11-2023"]="2023/11/16/";
fecha["16-11-2023"]="16-11-2023";
dia["17-11-2023"]="2023/11/17/";
fecha["17-11-2023"]="17-11-2023";
dia["17-11-2023"]="2023/11/17/";
fecha["17-11-2023"]="17-11-2023";
dia["17-11-2023"]="2023/11/17/";
fecha["17-11-2023"]="17-11-2023";
dia["18-11-2023"]="2023/11/18/";
fecha["18-11-2023"]="18-11-2023";
dia["18-11-2023"]="2023/11/18/";
fecha["18-11-2023"]="18-11-2023";
dia["19-11-2023"]="2023/11/19/";
fecha["19-11-2023"]="19-11-2023";
dia["19-11-2023"]="2023/11/19/";
fecha["19-11-2023"]="19-11-2023";
dia["19-11-2023"]="2023/11/19/";
fecha["19-11-2023"]="19-11-2023";
dia["21-11-2023"]="2023/11/21/";
fecha["21-11-2023"]="21-11-2023";
dia["22-11-2023"]="2023/11/22/";
fecha["22-11-2023"]="22-11-2023";
dia["23-11-2023"]="2023/11/23/";
fecha["23-11-2023"]="23-11-2023";
dia["24-11-2023"]="2023/11/24/";
fecha["24-11-2023"]="24-11-2023";
dia["25-11-2023"]="2023/11/25/";
fecha["25-11-2023"]="25-11-2023";
dia["25-11-2023"]="2023/11/25/";
fecha["25-11-2023"]="25-11-2023";
dia["25-11-2023"]="2023/11/25/";
fecha["25-11-2023"]="25-11-2023";
dia["26-11-2023"]="2023/11/26/";
fecha["26-11-2023"]="26-11-2023";
dia["26-11-2023"]="2023/11/26/";
fecha["26-11-2023"]="26-11-2023";
dia["30-11-2023"]="2023/11/30/";
fecha["30-11-2023"]="30-11-2023";
dia["1-12-2023"]="2023/12/01/";
fecha["1-12-2023"]="1-12-2023";
dia["2-12-2023"]="2023/12/02/";
fecha["2-12-2023"]="2-12-2023";
dia["2-12-2023"]="2023/12/02/";
fecha["2-12-2023"]="2-12-2023";
dia["2-12-2023"]="2023/12/02/";
fecha["2-12-2023"]="2-12-2023";
dia["3-12-2023"]="2023/12/03/";
fecha["3-12-2023"]="3-12-2023";
dia["3-12-2023"]="2023/12/03/";
fecha["3-12-2023"]="3-12-2023";
dia["6-12-2023"]="2023/12/06/";
fecha["6-12-2023"]="6-12-2023";
dia["6-12-2023"]="2023/12/06/";
fecha["6-12-2023"]="6-12-2023";
dia["8-12-2023"]="2023/12/08/";
fecha["8-12-2023"]="8-12-2023";
dia["8-12-2023"]="2023/12/08/";
fecha["8-12-2023"]="8-12-2023";
dia["9-12-2023"]="2023/12/09/";
fecha["9-12-2023"]="9-12-2023";
dia["9-12-2023"]="2023/12/09/";
fecha["9-12-2023"]="9-12-2023";
dia["9-12-2023"]="2023/12/09/";
fecha["9-12-2023"]="9-12-2023";
dia["10-12-2023"]="2023/12/10/";
fecha["10-12-2023"]="10-12-2023";
dia["10-12-2023"]="2023/12/10/";
fecha["10-12-2023"]="10-12-2023";
dia["15-12-2023"]="2023/12/15/";
fecha["15-12-2023"]="15-12-2023";
dia["16-12-2023"]="2023/12/16/";
fecha["16-12-2023"]="16-12-2023";
dia["16-12-2023"]="2023/12/16/";
fecha["16-12-2023"]="16-12-2023";
dia["16-12-2023"]="2023/12/16/";
fecha["16-12-2023"]="16-12-2023";
dia["17-12-2023"]="2023/12/17/";
fecha["17-12-2023"]="17-12-2023";
dia["17-12-2023"]="2023/12/17/";
fecha["17-12-2023"]="17-12-2023";
dia["21-12-2023"]="2023/12/21/";
fecha["21-12-2023"]="21-12-2023";
dia["22-12-2023"]="2023/12/22/";
fecha["22-12-2023"]="22-12-2023";
dia["23-12-2023"]="2023/12/23/";
fecha["23-12-2023"]="23-12-2023";
dia["23-12-2023"]="2023/12/23/";
fecha["23-12-2023"]="23-12-2023";
dia["26-12-2023"]="2023/12/26/";
fecha["26-12-2023"]="26-12-2023";
dia["27-12-2023"]="2023/12/27/";
fecha["27-12-2023"]="27-12-2023";
dia["28-12-2023"]="2023/12/28/";
fecha["28-12-2023"]="28-12-2023";
dia["29-12-2023"]="2023/12/29/";
fecha["29-12-2023"]="29-12-2023";
dia["30-12-2023"]="2023/12/30/";
fecha["30-12-2023"]="30-12-2023";
dia["2-1-2024"]="2024/01/02/";
fecha["2-1-2024"]="2-1-2024";
dia["3-1-2024"]="2024/01/03/";
fecha["3-1-2024"]="3-1-2024";
dia["5-1-2024"]="2024/01/05/";
fecha["5-1-2024"]="5-1-2024";
dia["11-1-2024"]="2024/01/11/";
fecha["11-1-2024"]="11-1-2024";
dia["12-1-2024"]="2024/01/12/";
fecha["12-1-2024"]="12-1-2024";
dia["13-1-2024"]="2024/01/13/";
fecha["13-1-2024"]="13-1-2024";
dia["14-1-2024"]="2024/01/14/";
fecha["14-1-2024"]="14-1-2024";
dia["18-1-2024"]="2024/01/18/";
fecha["18-1-2024"]="18-1-2024";
dia["19-1-2024"]="2024/01/19/";
fecha["19-1-2024"]="19-1-2024";
dia["20-1-2024"]="2024/01/20/";
fecha["20-1-2024"]="20-1-2024";
dia["20-1-2024"]="2024/01/20/";
fecha["20-1-2024"]="20-1-2024";
dia["21-1-2024"]="2024/01/21/";
fecha["21-1-2024"]="21-1-2024";
dia["21-1-2024"]="2024/01/21/";
fecha["21-1-2024"]="21-1-2024";
dia["25-1-2024"]="2024/01/25/";
fecha["25-1-2024"]="25-1-2024";
dia["26-1-2024"]="2024/01/26/";
fecha["26-1-2024"]="26-1-2024";
dia["27-1-2024"]="2024/01/27/";
fecha["27-1-2024"]="27-1-2024";
dia["27-1-2024"]="2024/01/27/";
fecha["27-1-2024"]="27-1-2024";
dia["27-1-2024"]="2024/01/27/";
fecha["27-1-2024"]="27-1-2024";
dia["28-1-2024"]="2024/01/28/";
fecha["28-1-2024"]="28-1-2024";
dia["28-1-2024"]="2024/01/28/";
fecha["28-1-2024"]="28-1-2024";
dia["31-1-2024"]="2024/01/31/";
fecha["31-1-2024"]="31-1-2024";
dia["1-2-2024"]="2024/02/01/";
fecha["1-2-2024"]="1-2-2024";
dia["2-2-2024"]="2024/02/02/";
fecha["2-2-2024"]="2-2-2024";
dia["3-2-2024"]="2024/02/03/";
fecha["3-2-2024"]="3-2-2024";
dia["4-2-2024"]="2024/02/04/";
fecha["4-2-2024"]="4-2-2024";
dia["4-2-2024"]="2024/02/04/";
fecha["4-2-2024"]="4-2-2024";
dia["8-2-2024"]="2024/02/08/";
fecha["8-2-2024"]="8-2-2024";
dia["9-2-2024"]="2024/02/09/";
fecha["9-2-2024"]="9-2-2024";
dia["10-2-2024"]="2024/02/10/";
fecha["10-2-2024"]="10-2-2024";
dia["10-2-2024"]="2024/02/10/";
fecha["10-2-2024"]="10-2-2024";
dia["10-2-2024"]="2024/02/10/";
fecha["10-2-2024"]="10-2-2024";
dia["11-2-2024"]="2024/02/11/";
fecha["11-2-2024"]="11-2-2024";
dia["11-2-2024"]="2024/02/11/";
fecha["11-2-2024"]="11-2-2024";
dia["11-2-2024"]="2024/02/11/";
fecha["11-2-2024"]="11-2-2024";
dia["14-2-2024"]="2024/02/14/";
fecha["14-2-2024"]="14-2-2024";
dia["15-2-2024"]="2024/02/15/";
fecha["15-2-2024"]="15-2-2024";
dia["16-2-2024"]="2024/02/16/";
fecha["16-2-2024"]="16-2-2024";
dia["17-2-2024"]="2024/02/17/";
fecha["17-2-2024"]="17-2-2024";
dia["17-2-2024"]="2024/02/17/";
fecha["17-2-2024"]="17-2-2024";
dia["18-2-2024"]="2024/02/18/";
fecha["18-2-2024"]="18-2-2024";
dia["18-2-2024"]="2024/02/18/";
fecha["18-2-2024"]="18-2-2024";
dia["22-2-2024"]="2024/02/22/";
fecha["22-2-2024"]="22-2-2024";
dia["23-2-2024"]="2024/02/23/";
fecha["23-2-2024"]="23-2-2024";
dia["24-2-2024"]="2024/02/24/";
fecha["24-2-2024"]="24-2-2024";
dia["24-2-2024"]="2024/02/24/";
fecha["24-2-2024"]="24-2-2024";
dia["25-2-2024"]="2024/02/25/";
fecha["25-2-2024"]="25-2-2024";
dia["25-2-2024"]="2024/02/25/";
fecha["25-2-2024"]="25-2-2024";
dia["25-2-2024"]="2024/02/25/";
fecha["25-2-2024"]="25-2-2024";
dia["27-2-2024"]="2024/02/27/";
fecha["27-2-2024"]="27-2-2024";
dia["29-2-2024"]="2024/02/29/";
fecha["29-2-2024"]="29-2-2024";
var flg = 0;
var fs = 1;
var bg = "white";
M = new Array("January","February",
"March","April","May","June",
"July","August","September",
"October","November","December");
D = new Array("L","M","X","J","V","S","D");
M2 = new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
M2b = new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Sep.","Octubre","Nov.","Dic.");
qURL = "https://www.tarambana.net/programacion/completa/";
messiguiente = M2b[10];
mesanterior = M2b[8];
anosiguiente = 2023;
anoanterior = 2023;
function getBgn(soloactual) {
//pdy = new Date(); // today
//pmo = pdy.getMonth(); // present month
//pyr = pdy.getYear(); // present year
// indicar el mes desde php
pdy = 1; // today
pmo = 9; // present month
pyr = 2023; // present year
if (pyr < 2000) // Y2K Fix, Isaac Powell
pyr = pyr + 1900; // http://onyx.idbsu.edu/~ipowell
document.write('
');
document.write(' |
');
if(!soloactual){
yr = yr1 = (pmo==0?pyr-1:pyr); // last month's year
mo = (pmo==0?11:pmo-1); // last month
bgn = new Date(M[mo]+" 1,"+yr1); // assign to date
Calendar(); // Send last month to screen
document.write(' | ');
}
yr = pyr; // present year
mo = pmo; // present month
bgn = new Date(M[mo]+" 1,"+yr); // assign to date
Calendar(); // Send this month to screen
document.write(' | ');
if(!soloactual){
// mes tres
nmes = pmo+1;
yr = (nmes>=12?pyr+1:pyr); // next month's year
mo = (nmes>=12?(nmes-12):pmo+1); // next month
bgn = new Date(M[mo]+" 1,"+yr); // assign to date
Calendar(); // Send next month to screen
document.write(' |
');
// mes cuatro
nmes = pmo+2;
yr = (nmes>=12?pyr+1:pyr); // next month's year
mo = (nmes>=12?(nmes-12):pmo+2); // next month
bgn = new Date(M[mo]+" 1,"+yr); // assign to date
Calendar(); // Send next month to screen
document.write(' | ');
// mes cinco
nmes = pmo+3;
yr = (nmes>=12?pyr+1:pyr); // next month's year
mo = (nmes>=12?(nmes-12):pmo+3); // next month
bgn = new Date(M[mo]+" 1,"+yr); // assign to date
Calendar(); // Send next month to screen
document.write(' | ');
// mes seis
nmes = pmo+4;
yr = (nmes>=12?pyr+1:pyr); // next month's year
mo = (nmes>=12?(nmes-12):pmo+4); // next month
bgn = new Date(M[mo]+" 1,"+yr); // assign to date
Calendar(); // Send next month to screen
document.write(' | ');
}
document.write('
'); // Finish up
}
/*window.onload = function (){
}*/
function Calendar(){
dy = bgn.getDay();
if(dy==0)dy=7;
yr = eval(yr);
d = "312831303130313130313031";
if (yr / 4 == Math.floor(yr / 4)) {
d = d.substring(0, 2) + "29" + d.substring(4, d.length);
}
pos = (mo * 2);
ld = eval(d.substring(pos, pos + 2));
document.write(""
+ "" + M2[mo] + " " + yr+ "<\/td><\/tr>|
");
for (var i = 0;i < 7;i ++) {
document.write(""+"" + D[i] + "<\/td>");
}
document.write("<\/tr>");
ctr = 0;
emul = 0;
for (var i = 1;i < 8; i++){
if (i < dy) {
document.write(""+"<\/td>");
}
else {
ctr++;
queclass = 'lnknormal';
qlink = '';
queover = '';
fcomparar = ctr+'-'+(mo+1)+'-'+yr;
if(fecha[fcomparar]==fcomparar){
qlink = qURL+dia[fcomparar];
queclass = 'lnkdestacado';
//queover = ' onmouseover="cambiatextofoto(\''+fcomparar+'\')"';
document.write(' | '+ '' + ctr + ''+ '<\/td>');
}else{
document.write(' | '+ ctr + '<\/td>');
}
}
}
document.write("<\/tr> | ");
while (ctr < ld) {
for (var i = 1;i < 8; i++){
ctr++;
emul++;
if (ctr > ld){
document.write(""+ " <\/td>");
}
else {
queclass = 'lnknormal';
qlink = '';
queover = '';
fcomparar = ctr+'-'+(mo+1)+'-'+yr;
if(fecha[fcomparar]==fcomparar){
qlink = qURL+dia[fcomparar];
queclass = 'lnkdestacado';
//queover = ' onmouseover="cambiatextofoto(\''+fcomparar+'\')"';
document.write(' | '+ '' + ctr + ''+ '<\/td>');
}else{
document.write(' | '+ ctr + '<\/td>');
}
}
}
document.write("<\/tr> | ");
}
document.write("<\/tr><\/table>");
}
//solo el mes actual
getBgn(true);
| |