var titulos = new Array(); var imagenes = new Array(); var dia = new Array(); var fecha = new Array(); var ambito = new Array(); diahoy=1; meshoy=7; anohoy=2024; dia["1-5-2024"]="2024/05/01/"; fecha["1-5-2024"]="1-5-2024"; dia["1-5-2024"]="2024/05/01/"; fecha["1-5-2024"]="1-5-2024"; dia["1-5-2024"]="2024/05/01/"; fecha["1-5-2024"]="1-5-2024"; dia["2-5-2024"]="2024/05/02/"; fecha["2-5-2024"]="2-5-2024"; dia["2-5-2024"]="2024/05/02/"; fecha["2-5-2024"]="2-5-2024"; dia["3-5-2024"]="2024/05/03/"; fecha["3-5-2024"]="3-5-2024"; dia["4-5-2024"]="2024/05/04/"; fecha["4-5-2024"]="4-5-2024"; dia["4-5-2024"]="2024/05/04/"; fecha["4-5-2024"]="4-5-2024"; dia["5-5-2024"]="2024/05/05/"; fecha["5-5-2024"]="5-5-2024"; dia["5-5-2024"]="2024/05/05/"; fecha["5-5-2024"]="5-5-2024"; dia["8-5-2024"]="2024/05/08/"; fecha["8-5-2024"]="8-5-2024"; dia["9-5-2024"]="2024/05/09/"; fecha["9-5-2024"]="9-5-2024"; dia["10-5-2024"]="2024/05/10/"; fecha["10-5-2024"]="10-5-2024"; dia["11-5-2024"]="2024/05/11/"; fecha["11-5-2024"]="11-5-2024"; dia["11-5-2024"]="2024/05/11/"; fecha["11-5-2024"]="11-5-2024"; dia["11-5-2024"]="2024/05/11/"; fecha["11-5-2024"]="11-5-2024"; dia["12-5-2024"]="2024/05/12/"; fecha["12-5-2024"]="12-5-2024"; dia["16-5-2024"]="2024/05/16/"; fecha["16-5-2024"]="16-5-2024"; dia["17-5-2024"]="2024/05/17/"; fecha["17-5-2024"]="17-5-2024"; dia["18-5-2024"]="2024/05/18/"; fecha["18-5-2024"]="18-5-2024"; dia["18-5-2024"]="2024/05/18/"; fecha["18-5-2024"]="18-5-2024"; dia["19-5-2024"]="2024/05/19/"; fecha["19-5-2024"]="19-5-2024"; dia["19-5-2024"]="2024/05/19/"; fecha["19-5-2024"]="19-5-2024"; dia["20-5-2024"]="2024/05/20/"; fecha["20-5-2024"]="20-5-2024"; dia["22-5-2024"]="2024/05/22/"; fecha["22-5-2024"]="22-5-2024"; dia["23-5-2024"]="2024/05/23/"; fecha["23-5-2024"]="23-5-2024"; dia["24-5-2024"]="2024/05/24/"; fecha["24-5-2024"]="24-5-2024"; dia["25-5-2024"]="2024/05/25/"; fecha["25-5-2024"]="25-5-2024"; dia["25-5-2024"]="2024/05/25/"; fecha["25-5-2024"]="25-5-2024"; dia["26-5-2024"]="2024/05/26/"; fecha["26-5-2024"]="26-5-2024"; dia["26-5-2024"]="2024/05/26/"; fecha["26-5-2024"]="26-5-2024"; dia["28-5-2024"]="2024/05/28/"; fecha["28-5-2024"]="28-5-2024"; dia["29-5-2024"]="2024/05/29/"; fecha["29-5-2024"]="29-5-2024"; dia["30-5-2024"]="2024/05/30/"; fecha["30-5-2024"]="30-5-2024"; dia["31-5-2024"]="2024/05/31/"; fecha["31-5-2024"]="31-5-2024"; dia["1-6-2024"]="2024/06/01/"; fecha["1-6-2024"]="1-6-2024"; dia["1-6-2024"]="2024/06/01/"; fecha["1-6-2024"]="1-6-2024"; dia["1-6-2024"]="2024/06/01/"; fecha["1-6-2024"]="1-6-2024"; dia["2-6-2024"]="2024/06/02/"; fecha["2-6-2024"]="2-6-2024"; dia["3-6-2024"]="2024/06/03/"; fecha["3-6-2024"]="3-6-2024"; dia["4-6-2024"]="2024/06/04/"; fecha["4-6-2024"]="4-6-2024"; dia["5-6-2024"]="2024/06/05/"; fecha["5-6-2024"]="5-6-2024"; dia["7-6-2024"]="2024/06/07/"; fecha["7-6-2024"]="7-6-2024"; dia["8-6-2024"]="2024/06/08/"; fecha["8-6-2024"]="8-6-2024"; dia["9-6-2024"]="2024/06/09/"; fecha["9-6-2024"]="9-6-2024"; dia["9-6-2024"]="2024/06/09/"; fecha["9-6-2024"]="9-6-2024"; dia["13-6-2024"]="2024/06/13/"; fecha["13-6-2024"]="13-6-2024"; dia["14-6-2024"]="2024/06/14/"; fecha["14-6-2024"]="14-6-2024"; dia["15-6-2024"]="2024/06/15/"; fecha["15-6-2024"]="15-6-2024"; dia["20-6-2024"]="2024/06/20/"; fecha["20-6-2024"]="20-6-2024"; dia["21-6-2024"]="2024/06/21/"; fecha["21-6-2024"]="21-6-2024"; dia["22-6-2024"]="2024/06/22/"; fecha["22-6-2024"]="22-6-2024"; dia["24-6-2024"]="2024/06/24/"; fecha["24-6-2024"]="24-6-2024"; dia["29-6-2024"]="2024/06/29/"; fecha["29-6-2024"]="29-6-2024"; dia["30-6-2024"]="2024/06/30/"; fecha["30-6-2024"]="30-6-2024"; dia["5-7-2024"]="2024/07/05/"; fecha["5-7-2024"]="5-7-2024"; dia["6-7-2024"]="2024/07/06/"; fecha["6-7-2024"]="6-7-2024"; dia["6-7-2024"]="2024/07/06/"; fecha["6-7-2024"]="6-7-2024"; dia["7-7-2024"]="2024/07/07/"; fecha["7-7-2024"]="7-7-2024"; dia["7-7-2024"]="2024/07/07/"; fecha["7-7-2024"]="7-7-2024"; dia["10-7-2024"]="2024/07/10/"; fecha["10-7-2024"]="10-7-2024"; dia["11-7-2024"]="2024/07/11/"; fecha["11-7-2024"]="11-7-2024"; dia["12-7-2024"]="2024/07/12/"; fecha["12-7-2024"]="12-7-2024"; dia["13-7-2024"]="2024/07/13/"; fecha["13-7-2024"]="13-7-2024"; dia["13-7-2024"]="2024/07/13/"; fecha["13-7-2024"]="13-7-2024"; dia["14-7-2024"]="2024/07/14/"; fecha["14-7-2024"]="14-7-2024"; dia["14-7-2024"]="2024/07/14/"; fecha["14-7-2024"]="14-7-2024"; dia["17-7-2024"]="2024/07/17/"; fecha["17-7-2024"]="17-7-2024"; dia["18-7-2024"]="2024/07/18/"; fecha["18-7-2024"]="18-7-2024"; dia["19-7-2024"]="2024/07/19/"; fecha["19-7-2024"]="19-7-2024"; dia["20-7-2024"]="2024/07/20/"; fecha["20-7-2024"]="20-7-2024"; dia["20-7-2024"]="2024/07/20/"; fecha["20-7-2024"]="20-7-2024"; dia["21-7-2024"]="2024/07/21/"; fecha["21-7-2024"]="21-7-2024"; dia["21-7-2024"]="2024/07/21/"; fecha["21-7-2024"]="21-7-2024"; dia["27-7-2024"]="2024/07/27/"; fecha["27-7-2024"]="27-7-2024"; dia["28-7-2024"]="2024/07/28/"; fecha["28-7-2024"]="28-7-2024"; dia["28-7-2024"]="2024/07/28/"; fecha["28-7-2024"]="28-7-2024"; dia["28-7-2024"]="2024/07/28/"; fecha["28-7-2024"]="28-7-2024"; dia["13-9-2024"]="2024/09/13/"; fecha["13-9-2024"]="13-9-2024"; dia["14-9-2024"]="2024/09/14/"; fecha["14-9-2024"]="14-9-2024"; dia["14-9-2024"]="2024/09/14/"; fecha["14-9-2024"]="14-9-2024"; dia["14-9-2024"]="2024/09/14/"; fecha["14-9-2024"]="14-9-2024"; dia["15-9-2024"]="2024/09/15/"; fecha["15-9-2024"]="15-9-2024"; dia["15-9-2024"]="2024/09/15/"; fecha["15-9-2024"]="15-9-2024"; dia["19-9-2024"]="2024/09/19/"; fecha["19-9-2024"]="19-9-2024"; dia["20-9-2024"]="2024/09/20/"; fecha["20-9-2024"]="20-9-2024"; dia["21-9-2024"]="2024/09/21/"; fecha["21-9-2024"]="21-9-2024"; dia["21-9-2024"]="2024/09/21/"; fecha["21-9-2024"]="21-9-2024"; dia["22-9-2024"]="2024/09/22/"; fecha["22-9-2024"]="22-9-2024"; dia["22-9-2024"]="2024/09/22/"; fecha["22-9-2024"]="22-9-2024"; dia["26-9-2024"]="2024/09/26/"; fecha["26-9-2024"]="26-9-2024"; dia["27-9-2024"]="2024/09/27/"; fecha["27-9-2024"]="27-9-2024"; dia["28-9-2024"]="2024/09/28/"; fecha["28-9-2024"]="28-9-2024"; dia["28-9-2024"]="2024/09/28/"; fecha["28-9-2024"]="28-9-2024"; dia["28-9-2024"]="2024/09/28/"; fecha["28-9-2024"]="28-9-2024"; dia["29-9-2024"]="2024/09/29/"; fecha["29-9-2024"]="29-9-2024"; dia["29-9-2024"]="2024/09/29/"; fecha["29-9-2024"]="29-9-2024"; dia["3-10-2024"]="2024/10/03/"; fecha["3-10-2024"]="3-10-2024"; dia["3-10-2024"]="2024/10/03/"; fecha["3-10-2024"]="3-10-2024"; dia["4-10-2024"]="2024/10/04/"; fecha["4-10-2024"]="4-10-2024"; dia["5-10-2024"]="2024/10/05/"; fecha["5-10-2024"]="5-10-2024"; dia["5-10-2024"]="2024/10/05/"; fecha["5-10-2024"]="5-10-2024"; dia["6-10-2024"]="2024/10/06/"; fecha["6-10-2024"]="6-10-2024"; dia["6-10-2024"]="2024/10/06/"; fecha["6-10-2024"]="6-10-2024"; dia["10-10-2024"]="2024/10/10/"; fecha["10-10-2024"]="10-10-2024"; dia["11-10-2024"]="2024/10/11/"; fecha["11-10-2024"]="11-10-2024"; dia["12-10-2024"]="2024/10/12/"; fecha["12-10-2024"]="12-10-2024"; dia["12-10-2024"]="2024/10/12/"; fecha["12-10-2024"]="12-10-2024"; dia["13-10-2024"]="2024/10/13/"; fecha["13-10-2024"]="13-10-2024"; dia["13-10-2024"]="2024/10/13/"; fecha["13-10-2024"]="13-10-2024"; dia["17-10-2024"]="2024/10/17/"; fecha["17-10-2024"]="17-10-2024"; dia["18-10-2024"]="2024/10/18/"; fecha["18-10-2024"]="18-10-2024"; dia["19-10-2024"]="2024/10/19/"; fecha["19-10-2024"]="19-10-2024"; dia["19-10-2024"]="2024/10/19/"; fecha["19-10-2024"]="19-10-2024"; dia["20-10-2024"]="2024/10/20/"; fecha["20-10-2024"]="20-10-2024"; dia["20-10-2024"]="2024/10/20/"; fecha["20-10-2024"]="20-10-2024"; dia["24-10-2024"]="2024/10/24/"; fecha["24-10-2024"]="24-10-2024"; dia["25-10-2024"]="2024/10/25/"; fecha["25-10-2024"]="25-10-2024"; dia["26-10-2024"]="2024/10/26/"; fecha["26-10-2024"]="26-10-2024"; dia["26-10-2024"]="2024/10/26/"; fecha["26-10-2024"]="26-10-2024"; dia["27-10-2024"]="2024/10/27/"; fecha["27-10-2024"]="27-10-2024"; dia["27-10-2024"]="2024/10/27/"; fecha["27-10-2024"]="27-10-2024"; dia["29-10-2024"]="2024/10/29/"; fecha["29-10-2024"]="29-10-2024"; dia["30-10-2024"]="2024/10/30/"; fecha["30-10-2024"]="30-10-2024"; dia["31-10-2024"]="2024/10/31/"; fecha["31-10-2024"]="31-10-2024"; dia["1-11-2024"]="2024/11/01/"; fecha["1-11-2024"]="1-11-2024"; dia["1-11-2024"]="2024/11/01/"; fecha["1-11-2024"]="1-11-2024"; dia["2-11-2024"]="2024/11/02/"; fecha["2-11-2024"]="2-11-2024"; dia["2-11-2024"]="2024/11/02/"; fecha["2-11-2024"]="2-11-2024"; dia["3-11-2024"]="2024/11/03/"; fecha["3-11-2024"]="3-11-2024"; dia["3-11-2024"]="2024/11/03/"; fecha["3-11-2024"]="3-11-2024"; dia["6-11-2024"]="2024/11/06/"; fecha["6-11-2024"]="6-11-2024"; dia["7-11-2024"]="2024/11/07/"; fecha["7-11-2024"]="7-11-2024"; dia["8-11-2024"]="2024/11/08/"; fecha["8-11-2024"]="8-11-2024"; dia["9-11-2024"]="2024/11/09/"; fecha["9-11-2024"]="9-11-2024"; dia["9-11-2024"]="2024/11/09/"; fecha["9-11-2024"]="9-11-2024"; dia["10-11-2024"]="2024/11/10/"; fecha["10-11-2024"]="10-11-2024"; dia["10-11-2024"]="2024/11/10/"; fecha["10-11-2024"]="10-11-2024"; dia["12-11-2024"]="2024/11/12/"; fecha["12-11-2024"]="12-11-2024"; dia["13-11-2024"]="2024/11/13/"; fecha["13-11-2024"]="13-11-2024"; dia["14-11-2024"]="2024/11/14/"; fecha["14-11-2024"]="14-11-2024"; dia["16-11-2024"]="2024/11/16/"; fecha["16-11-2024"]="16-11-2024"; dia["16-11-2024"]="2024/11/16/"; fecha["16-11-2024"]="16-11-2024"; dia["17-11-2024"]="2024/11/17/"; fecha["17-11-2024"]="17-11-2024"; dia["17-11-2024"]="2024/11/17/"; fecha["17-11-2024"]="17-11-2024"; dia["18-11-2024"]="2024/11/18/"; fecha["18-11-2024"]="18-11-2024"; dia["20-11-2024"]="2024/11/20/"; fecha["20-11-2024"]="20-11-2024"; dia["21-11-2024"]="2024/11/21/"; fecha["21-11-2024"]="21-11-2024"; dia["22-11-2024"]="2024/11/22/"; fecha["22-11-2024"]="22-11-2024"; dia["23-11-2024"]="2024/11/23/"; fecha["23-11-2024"]="23-11-2024"; dia["23-11-2024"]="2024/11/23/"; fecha["23-11-2024"]="23-11-2024"; dia["24-11-2024"]="2024/11/24/"; fecha["24-11-2024"]="24-11-2024"; dia["24-11-2024"]="2024/11/24/"; fecha["24-11-2024"]="24-11-2024"; dia["28-11-2024"]="2024/11/28/"; fecha["28-11-2024"]="28-11-2024"; dia["29-11-2024"]="2024/11/29/"; fecha["29-11-2024"]="29-11-2024"; dia["30-11-2024"]="2024/11/30/"; fecha["30-11-2024"]="30-11-2024"; dia["30-11-2024"]="2024/11/30/"; fecha["30-11-2024"]="30-11-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[7]; mesanterior = M2b[5]; anosiguiente = 2024; anoanterior = 2024; 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 = 6; // present month pyr = 2024; // present year if (pyr < 2000) // Y2K Fix, Isaac Powell pyr = pyr + 1900; // http://onyx.idbsu.edu/~ipowell document.write(''); } document.write('
'); document.write('
espacio
'); 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('
'); // 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(""); for (var i = 0;i < 7;i ++) { document.write(""); ctr = 0; emul = 0; for (var i = 1;i < 8; i++){ if (i < dy) { document.write(""); while (ctr < ld) { for (var i = 1;i < 8; i++){ ctr++; emul++; if (ctr > ld){ document.write(""); } document.write("<\/tr><\/table>"); } //solo el mes actual getBgn(true);
" + "" + M2[mo] + " " + yr+ "<\/td><\/tr>
"+"" + D[i] + "<\/td>"); } document.write("<\/tr>
"+"<\/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>
"+ " <\/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>