hhhh
[HTML]<!-- CALENDARIO -->
<BloqueCalendario>
<div class="titulomenu">
<h4>Calendario</h4>
</div>
<script type="text/javascript" language="JavaScript">
<!--
//sistema calendario para blogs miarroba con links por EffectedCard - <a href="visitar.php?http://webernado.com" target="_blank">http://webernado.com</a>
function calendar()
{
var monthNames = new Array("Enero", "Febrero", "Marzo", "Abril",
"Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre");
var today = new Date();
var thisDay = today.getDate();
var monthDays = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
var nmonth = new Array(01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12);
year = today.getYear();
// ¿año bisiesto?
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0))
monthDays[1] = 29;
// achar o numero de dias deste mes
nDays = monthDays[today.getMonth()];
nummonth = nmonth[today.getMonth()];
if (nummonth < 10) nummonth = "0" + nummonth;
firstDay = today;
firstDay.setDate(1);
startDay = firstDay.getDay();
if(year < 2000) year = year + 1900;
document.writeln("<CENTER>");
document.write("<TABLE BORDER>");
document.write("<TR><TH COLSPAN=7>");
document.write(monthNames[ today.getMonth() ] + " " + year);
document.write("<TR><TH>");
document.write("D<TH>L<TH>Ma<TH>Mi<TH>J<TH>V<TH>S");
document.write("<TR>");
column = 0;
for (i=0, column=0; i<startDay; i++, column++)
document.write("<TD>");
for (i=1; i<=nDays; i++)
{
day = i;
if(day < 10) day = "0" + day;
document.write("<TD align=\"center\" valign=\"top\">");
if (i == thisDay)
document.write("<a href=\"<@UrlBlog@>/"+ year + "/" + nummonth + "/index.html#" + year + "-" + nummonth + "-" + day + "\"><FONT COLOR=\"#FF0000\">" + i + "</FONT></a>");
else if (i < thisDay)
document.write("<a href=\"<@UrlBlog@>/"+ year + "/" + nummonth + "/index.html#" + year + "-" + nummonth + "-" + day + "\">" + i + "</a>");
else document.write(i);
column++;
if (column == 7)
{
document.write("<TR>"); // inicio de nueva linea
column = 0;
}
}
document.write("</TABLE>");
document.writeln("</CENTER>");
}
calendar();
//-->
</script>
</Calendario>
</BloqueCalendario>
<!-- FIN CALENDARIO -->[/HTML]