var titulos = new Array();
var imagenes = new Array();
var dia = new Array();
var fecha = new Array();
var ambito = new Array();
diahoy=1;
meshoy=6;
anohoy=2013;
dia["3-4-2013"]="2013/04/03/";
fecha["3-4-2013"]="3-4-2013";
dia["4-4-2013"]="2013/04/04/";
fecha["4-4-2013"]="4-4-2013";
dia["5-4-2013"]="2013/04/05/";
fecha["5-4-2013"]="5-4-2013";
dia["6-4-2013"]="2013/04/06/";
fecha["6-4-2013"]="6-4-2013";
dia["6-4-2013"]="2013/04/06/";
fecha["6-4-2013"]="6-4-2013";
dia["6-4-2013"]="2013/04/06/";
fecha["6-4-2013"]="6-4-2013";
dia["7-4-2013"]="2013/04/07/";
fecha["7-4-2013"]="7-4-2013";
dia["7-4-2013"]="2013/04/07/";
fecha["7-4-2013"]="7-4-2013";
dia["7-4-2013"]="2013/04/07/";
fecha["7-4-2013"]="7-4-2013";
dia["7-4-2013"]="2013/04/07/";
fecha["7-4-2013"]="7-4-2013";
dia["7-4-2013"]="2013/04/07/";
fecha["7-4-2013"]="7-4-2013";
dia["11-4-2013"]="2013/04/11/";
fecha["11-4-2013"]="11-4-2013";
dia["12-4-2013"]="2013/04/12/";
fecha["12-4-2013"]="12-4-2013";
dia["13-4-2013"]="2013/04/13/";
fecha["13-4-2013"]="13-4-2013";
dia["13-4-2013"]="2013/04/13/";
fecha["13-4-2013"]="13-4-2013";
dia["13-4-2013"]="2013/04/13/";
fecha["13-4-2013"]="13-4-2013";
dia["14-4-2013"]="2013/04/14/";
fecha["14-4-2013"]="14-4-2013";
dia["14-4-2013"]="2013/04/14/";
fecha["14-4-2013"]="14-4-2013";
dia["14-4-2013"]="2013/04/14/";
fecha["14-4-2013"]="14-4-2013";
dia["14-4-2013"]="2013/04/14/";
fecha["14-4-2013"]="14-4-2013";
dia["18-4-2013"]="2013/04/18/";
fecha["18-4-2013"]="18-4-2013";
dia["19-4-2013"]="2013/04/19/";
fecha["19-4-2013"]="19-4-2013";
dia["20-4-2013"]="2013/04/20/";
fecha["20-4-2013"]="20-4-2013";
dia["20-4-2013"]="2013/04/20/";
fecha["20-4-2013"]="20-4-2013";
dia["20-4-2013"]="2013/04/20/";
fecha["20-4-2013"]="20-4-2013";
dia["21-4-2013"]="2013/04/21/";
fecha["21-4-2013"]="21-4-2013";
dia["21-4-2013"]="2013/04/21/";
fecha["21-4-2013"]="21-4-2013";
dia["21-4-2013"]="2013/04/21/";
fecha["21-4-2013"]="21-4-2013";
dia["21-4-2013"]="2013/04/21/";
fecha["21-4-2013"]="21-4-2013";
dia["24-4-2013"]="2013/04/24/";
fecha["24-4-2013"]="24-4-2013";
dia["25-4-2013"]="2013/04/25/";
fecha["25-4-2013"]="25-4-2013";
dia["26-4-2013"]="2013/04/26/";
fecha["26-4-2013"]="26-4-2013";
dia["27-4-2013"]="2013/04/27/";
fecha["27-4-2013"]="27-4-2013";
dia["27-4-2013"]="2013/04/27/";
fecha["27-4-2013"]="27-4-2013";
dia["27-4-2013"]="2013/04/27/";
fecha["27-4-2013"]="27-4-2013";
dia["28-4-2013"]="2013/04/28/";
fecha["28-4-2013"]="28-4-2013";
dia["28-4-2013"]="2013/04/28/";
fecha["28-4-2013"]="28-4-2013";
dia["28-4-2013"]="2013/04/28/";
fecha["28-4-2013"]="28-4-2013";
dia["28-4-2013"]="2013/04/28/";
fecha["28-4-2013"]="28-4-2013";
dia["1-5-2013"]="2013/05/01/";
fecha["1-5-2013"]="1-5-2013";
dia["1-5-2013"]="2013/05/01/";
fecha["1-5-2013"]="1-5-2013";
dia["2-5-2013"]="2013/05/02/";
fecha["2-5-2013"]="2-5-2013";
dia["2-5-2013"]="2013/05/02/";
fecha["2-5-2013"]="2-5-2013";
dia["2-5-2013"]="2013/05/02/";
fecha["2-5-2013"]="2-5-2013";
dia["3-5-2013"]="2013/05/03/";
fecha["3-5-2013"]="3-5-2013";
dia["4-5-2013"]="2013/05/04/";
fecha["4-5-2013"]="4-5-2013";
dia["4-5-2013"]="2013/05/04/";
fecha["4-5-2013"]="4-5-2013";
dia["4-5-2013"]="2013/05/04/";
fecha["4-5-2013"]="4-5-2013";
dia["5-5-2013"]="2013/05/05/";
fecha["5-5-2013"]="5-5-2013";
dia["5-5-2013"]="2013/05/05/";
fecha["5-5-2013"]="5-5-2013";
dia["8-5-2013"]="2013/05/08/";
fecha["8-5-2013"]="8-5-2013";
dia["9-5-2013"]="2013/05/09/";
fecha["9-5-2013"]="9-5-2013";
dia["10-5-2013"]="2013/05/10/";
fecha["10-5-2013"]="10-5-2013";
dia["11-5-2013"]="2013/05/11/";
fecha["11-5-2013"]="11-5-2013";
dia["11-5-2013"]="2013/05/11/";
fecha["11-5-2013"]="11-5-2013";
dia["11-5-2013"]="2013/05/11/";
fecha["11-5-2013"]="11-5-2013";
dia["12-5-2013"]="2013/05/12/";
fecha["12-5-2013"]="12-5-2013";
dia["12-5-2013"]="2013/05/12/";
fecha["12-5-2013"]="12-5-2013";
dia["14-5-2013"]="2013/05/14/";
fecha["14-5-2013"]="14-5-2013";
dia["15-5-2013"]="2013/05/15/";
fecha["15-5-2013"]="15-5-2013";
dia["15-5-2013"]="2013/05/15/";
fecha["15-5-2013"]="15-5-2013";
dia["16-5-2013"]="2013/05/16/";
fecha["16-5-2013"]="16-5-2013";
dia["17-5-2013"]="2013/05/17/";
fecha["17-5-2013"]="17-5-2013";
dia["18-5-2013"]="2013/05/18/";
fecha["18-5-2013"]="18-5-2013";
dia["18-5-2013"]="2013/05/18/";
fecha["18-5-2013"]="18-5-2013";
dia["18-5-2013"]="2013/05/18/";
fecha["18-5-2013"]="18-5-2013";
dia["19-5-2013"]="2013/05/19/";
fecha["19-5-2013"]="19-5-2013";
dia["19-5-2013"]="2013/05/19/";
fecha["19-5-2013"]="19-5-2013";
dia["23-5-2013"]="2013/05/23/";
fecha["23-5-2013"]="23-5-2013";
dia["24-5-2013"]="2013/05/24/";
fecha["24-5-2013"]="24-5-2013";
dia["25-5-2013"]="2013/05/25/";
fecha["25-5-2013"]="25-5-2013";
dia["25-5-2013"]="2013/05/25/";
fecha["25-5-2013"]="25-5-2013";
dia["25-5-2013"]="2013/05/25/";
fecha["25-5-2013"]="25-5-2013";
dia["26-5-2013"]="2013/05/26/";
fecha["26-5-2013"]="26-5-2013";
dia["26-5-2013"]="2013/05/26/";
fecha["26-5-2013"]="26-5-2013";
dia["29-5-2013"]="2013/05/29/";
fecha["29-5-2013"]="29-5-2013";
dia["31-5-2013"]="2013/05/31/";
fecha["31-5-2013"]="31-5-2013";
dia["1-6-2013"]="2013/06/01/";
fecha["1-6-2013"]="1-6-2013";
dia["1-6-2013"]="2013/06/01/";
fecha["1-6-2013"]="1-6-2013";
dia["1-6-2013"]="2013/06/01/";
fecha["1-6-2013"]="1-6-2013";
dia["2-6-2013"]="2013/06/02/";
fecha["2-6-2013"]="2-6-2013";
dia["2-6-2013"]="2013/06/02/";
fecha["2-6-2013"]="2-6-2013";
dia["7-6-2013"]="2013/06/07/";
fecha["7-6-2013"]="7-6-2013";
dia["8-6-2013"]="2013/06/08/";
fecha["8-6-2013"]="8-6-2013";
dia["8-6-2013"]="2013/06/08/";
fecha["8-6-2013"]="8-6-2013";
dia["8-6-2013"]="2013/06/08/";
fecha["8-6-2013"]="8-6-2013";
dia["9-6-2013"]="2013/06/09/";
fecha["9-6-2013"]="9-6-2013";
dia["9-6-2013"]="2013/06/09/";
fecha["9-6-2013"]="9-6-2013";
dia["12-6-2013"]="2013/06/12/";
fecha["12-6-2013"]="12-6-2013";
dia["13-6-2013"]="2013/06/13/";
fecha["13-6-2013"]="13-6-2013";
dia["14-6-2013"]="2013/06/14/";
fecha["14-6-2013"]="14-6-2013";
dia["15-6-2013"]="2013/06/15/";
fecha["15-6-2013"]="15-6-2013";
dia["15-6-2013"]="2013/06/15/";
fecha["15-6-2013"]="15-6-2013";
dia["15-6-2013"]="2013/06/15/";
fecha["15-6-2013"]="15-6-2013";
dia["16-6-2013"]="2013/06/16/";
fecha["16-6-2013"]="16-6-2013";
dia["16-6-2013"]="2013/06/16/";
fecha["16-6-2013"]="16-6-2013";
dia["18-6-2013"]="2013/06/18/";
fecha["18-6-2013"]="18-6-2013";
dia["19-6-2013"]="2013/06/19/";
fecha["19-6-2013"]="19-6-2013";
dia["20-6-2013"]="2013/06/20/";
fecha["20-6-2013"]="20-6-2013";
dia["21-6-2013"]="2013/06/21/";
fecha["21-6-2013"]="21-6-2013";
dia["22-6-2013"]="2013/06/22/";
fecha["22-6-2013"]="22-6-2013";
dia["22-6-2013"]="2013/06/22/";
fecha["22-6-2013"]="22-6-2013";
dia["22-6-2013"]="2013/06/22/";
fecha["22-6-2013"]="22-6-2013";
dia["25-6-2013"]="2013/06/25/";
fecha["25-6-2013"]="25-6-2013";
dia["26-6-2013"]="2013/06/26/";
fecha["26-6-2013"]="26-6-2013";
dia["27-6-2013"]="2013/06/27/";
fecha["27-6-2013"]="27-6-2013";
dia["28-6-2013"]="2013/06/28/";
fecha["28-6-2013"]="28-6-2013";
dia["29-6-2013"]="2013/06/29/";
fecha["29-6-2013"]="29-6-2013";
dia["29-6-2013"]="2013/06/29/";
fecha["29-6-2013"]="29-6-2013";
dia["29-6-2013"]="2013/06/29/";
fecha["29-6-2013"]="29-6-2013";
dia["30-6-2013"]="2013/06/30/";
fecha["30-6-2013"]="30-6-2013";
dia["3-7-2013"]="2013/07/03/";
fecha["3-7-2013"]="3-7-2013";
dia["4-7-2013"]="2013/07/04/";
fecha["4-7-2013"]="4-7-2013";
dia["5-7-2013"]="2013/07/05/";
fecha["5-7-2013"]="5-7-2013";
dia["5-7-2013"]="2013/07/05/";
fecha["5-7-2013"]="5-7-2013";
dia["6-7-2013"]="2013/07/06/";
fecha["6-7-2013"]="6-7-2013";
dia["6-7-2013"]="2013/07/06/";
fecha["6-7-2013"]="6-7-2013";
dia["6-7-2013"]="2013/07/06/";
fecha["6-7-2013"]="6-7-2013";
dia["7-7-2013"]="2013/07/07/";
fecha["7-7-2013"]="7-7-2013";
dia["7-7-2013"]="2013/07/07/";
fecha["7-7-2013"]="7-7-2013";
dia["10-7-2013"]="2013/07/10/";
fecha["10-7-2013"]="10-7-2013";
dia["11-7-2013"]="2013/07/11/";
fecha["11-7-2013"]="11-7-2013";
dia["12-7-2013"]="2013/07/12/";
fecha["12-7-2013"]="12-7-2013";
dia["13-7-2013"]="2013/07/13/";
fecha["13-7-2013"]="13-7-2013";
dia["13-7-2013"]="2013/07/13/";
fecha["13-7-2013"]="13-7-2013";
dia["13-7-2013"]="2013/07/13/";
fecha["13-7-2013"]="13-7-2013";
dia["14-7-2013"]="2013/07/14/";
fecha["14-7-2013"]="14-7-2013";
dia["14-7-2013"]="2013/07/14/";
fecha["14-7-2013"]="14-7-2013";
dia["18-7-2013"]="2013/07/18/";
fecha["18-7-2013"]="18-7-2013";
dia["19-7-2013"]="2013/07/19/";
fecha["19-7-2013"]="19-7-2013";
dia["20-7-2013"]="2013/07/20/";
fecha["20-7-2013"]="20-7-2013";
dia["20-7-2013"]="2013/07/20/";
fecha["20-7-2013"]="20-7-2013";
dia["20-7-2013"]="2013/07/20/";
fecha["20-7-2013"]="20-7-2013";
dia["21-7-2013"]="2013/07/21/";
fecha["21-7-2013"]="21-7-2013";
dia["21-7-2013"]="2013/07/21/";
fecha["21-7-2013"]="21-7-2013";
dia["24-7-2013"]="2013/07/24/";
fecha["24-7-2013"]="24-7-2013";
dia["25-7-2013"]="2013/07/25/";
fecha["25-7-2013"]="25-7-2013";
dia["26-7-2013"]="2013/07/26/";
fecha["26-7-2013"]="26-7-2013";
dia["27-7-2013"]="2013/07/27/";
fecha["27-7-2013"]="27-7-2013";
dia["27-7-2013"]="2013/07/27/";
fecha["27-7-2013"]="27-7-2013";
dia["27-7-2013"]="2013/07/27/";
fecha["27-7-2013"]="27-7-2013";
dia["28-7-2013"]="2013/07/28/";
fecha["28-7-2013"]="28-7-2013";
dia["28-7-2013"]="2013/07/28/";
fecha["28-7-2013"]="28-7-2013";
dia["5-9-2013"]="2013/09/05/";
fecha["5-9-2013"]="5-9-2013";
dia["6-9-2013"]="2013/09/06/";
fecha["6-9-2013"]="6-9-2013";
dia["7-9-2013"]="2013/09/07/";
fecha["7-9-2013"]="7-9-2013";
dia["7-9-2013"]="2013/09/07/";
fecha["7-9-2013"]="7-9-2013";
dia["7-9-2013"]="2013/09/07/";
fecha["7-9-2013"]="7-9-2013";
dia["8-9-2013"]="2013/09/08/";
fecha["8-9-2013"]="8-9-2013";
dia["8-9-2013"]="2013/09/08/";
fecha["8-9-2013"]="8-9-2013";
dia["12-9-2013"]="2013/09/12/";
fecha["12-9-2013"]="12-9-2013";
dia["13-9-2013"]="2013/09/13/";
fecha["13-9-2013"]="13-9-2013";
dia["14-9-2013"]="2013/09/14/";
fecha["14-9-2013"]="14-9-2013";
dia["14-9-2013"]="2013/09/14/";
fecha["14-9-2013"]="14-9-2013";
dia["14-9-2013"]="2013/09/14/";
fecha["14-9-2013"]="14-9-2013";
dia["15-9-2013"]="2013/09/15/";
fecha["15-9-2013"]="15-9-2013";
dia["15-9-2013"]="2013/09/15/";
fecha["15-9-2013"]="15-9-2013";
dia["18-9-2013"]="2013/09/18/";
fecha["18-9-2013"]="18-9-2013";
dia["19-9-2013"]="2013/09/19/";
fecha["19-9-2013"]="19-9-2013";
dia["20-9-2013"]="2013/09/20/";
fecha["20-9-2013"]="20-9-2013";
dia["21-9-2013"]="2013/09/21/";
fecha["21-9-2013"]="21-9-2013";
dia["21-9-2013"]="2013/09/21/";
fecha["21-9-2013"]="21-9-2013";
dia["21-9-2013"]="2013/09/21/";
fecha["21-9-2013"]="21-9-2013";
dia["22-9-2013"]="2013/09/22/";
fecha["22-9-2013"]="22-9-2013";
dia["22-9-2013"]="2013/09/22/";
fecha["22-9-2013"]="22-9-2013";
dia["25-9-2013"]="2013/09/25/";
fecha["25-9-2013"]="25-9-2013";
dia["26-9-2013"]="2013/09/26/";
fecha["26-9-2013"]="26-9-2013";
dia["27-9-2013"]="2013/09/27/";
fecha["27-9-2013"]="27-9-2013";
dia["28-9-2013"]="2013/09/28/";
fecha["28-9-2013"]="28-9-2013";
dia["28-9-2013"]="2013/09/28/";
fecha["28-9-2013"]="28-9-2013";
dia["28-9-2013"]="2013/09/28/";
fecha["28-9-2013"]="28-9-2013";
dia["29-9-2013"]="2013/09/29/";
fecha["29-9-2013"]="29-9-2013";
dia["29-9-2013"]="2013/09/29/";
fecha["29-9-2013"]="29-9-2013";
dia["2-10-2013"]="2013/10/02/";
fecha["2-10-2013"]="2-10-2013";
dia["3-10-2013"]="2013/10/03/";
fecha["3-10-2013"]="3-10-2013";
dia["4-10-2013"]="2013/10/04/";
fecha["4-10-2013"]="4-10-2013";
dia["5-10-2013"]="2013/10/05/";
fecha["5-10-2013"]="5-10-2013";
dia["5-10-2013"]="2013/10/05/";
fecha["5-10-2013"]="5-10-2013";
dia["6-10-2013"]="2013/10/06/";
fecha["6-10-2013"]="6-10-2013";
dia["6-10-2013"]="2013/10/06/";
fecha["6-10-2013"]="6-10-2013";
dia["6-10-2013"]="2013/10/06/";
fecha["6-10-2013"]="6-10-2013";
dia["9-10-2013"]="2013/10/09/";
fecha["9-10-2013"]="9-10-2013";
dia["10-10-2013"]="2013/10/10/";
fecha["10-10-2013"]="10-10-2013";
dia["12-10-2013"]="2013/10/12/";
fecha["12-10-2013"]="12-10-2013";
dia["12-10-2013"]="2013/10/12/";
fecha["12-10-2013"]="12-10-2013";
dia["12-10-2013"]="2013/10/12/";
fecha["12-10-2013"]="12-10-2013";
dia["13-10-2013"]="2013/10/13/";
fecha["13-10-2013"]="13-10-2013";
dia["13-10-2013"]="2013/10/13/";
fecha["13-10-2013"]="13-10-2013";
dia["13-10-2013"]="2013/10/13/";
fecha["13-10-2013"]="13-10-2013";
dia["17-10-2013"]="2013/10/17/";
fecha["17-10-2013"]="17-10-2013";
dia["18-10-2013"]="2013/10/18/";
fecha["18-10-2013"]="18-10-2013";
dia["19-10-2013"]="2013/10/19/";
fecha["19-10-2013"]="19-10-2013";
dia["19-10-2013"]="2013/10/19/";
fecha["19-10-2013"]="19-10-2013";
dia["19-10-2013"]="2013/10/19/";
fecha["19-10-2013"]="19-10-2013";
dia["20-10-2013"]="2013/10/20/";
fecha["20-10-2013"]="20-10-2013";
dia["20-10-2013"]="2013/10/20/";
fecha["20-10-2013"]="20-10-2013";
dia["20-10-2013"]="2013/10/20/";
fecha["20-10-2013"]="20-10-2013";
dia["24-10-2013"]="2013/10/24/";
fecha["24-10-2013"]="24-10-2013";
dia["25-10-2013"]="2013/10/25/";
fecha["25-10-2013"]="25-10-2013";
dia["26-10-2013"]="2013/10/26/";
fecha["26-10-2013"]="26-10-2013";
dia["26-10-2013"]="2013/10/26/";
fecha["26-10-2013"]="26-10-2013";
dia["26-10-2013"]="2013/10/26/";
fecha["26-10-2013"]="26-10-2013";
dia["27-10-2013"]="2013/10/27/";
fecha["27-10-2013"]="27-10-2013";
dia["27-10-2013"]="2013/10/27/";
fecha["27-10-2013"]="27-10-2013";
dia["27-10-2013"]="2013/10/27/";
fecha["27-10-2013"]="27-10-2013";
dia["31-10-2013"]="2013/10/31/";
fecha["31-10-2013"]="31-10-2013";
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[6];
mesanterior = M2b[4];
anosiguiente = 2013;
anoanterior = 2013;
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 = 5; // present month
pyr = 2013; // 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);
| |