<center><table border="1" cellpadding="0" cellspacing="0" width="172" height="200" bgcolor="#000000"> <tr><td><p align="center"><img src="http://www.fileden.com/files/2009/5/1/2426283/cal8.jpg" width="200" height="160"><br> <script language="JavaScript"> <!-- Begin var week = new Array("D", "L", "M", "Mi", "J", "V", "S"); var monthdays = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); var today = new Date(); var month = today.getMonth(); var day = today.getDay(); var dayN = today.getDate(); var days = monthdays[month]; if (month == 1) { var year = today.getYear(); if (year%4 == 0) days = 29; } document.write("<table border='0' width='200' bgcolor='#000000' cellspacing='0' cellpadding='0'>"); document.write("<tr>"); for (var i=0; i<7; i++) { document.write("<td width='29' height='17'><font color=#ccff00><b>"); document.write("<div align='center'>" + week[i] + "</div>"); document.write("</b></font></td>"); } //http://cssplantillas.es.tl | recursos web! document.write("</tr>"); var jumped = 0; var inserted = 1; var start = day - dayN%7 + 1; if (start < 0) start += 7; var weeks = parseInt((start + days)/7); if ((start + days)%7 != 0) weeks++; for (var i=weeks; i>0; i--) { document.write("<tr>"); for (var j=7; j>0; j--) { document.write("<td><font color=#ffffff><b>"); if (jumped<start || inserted>days) { document.write("<div align='center'></div>"); jumped++; } else { if (inserted == dayN) document.write("<div align='center' ><font color=#ccff00>" + inserted + "</font></div>"); else document.write("<div align='center'>" + inserted + "</div>"); inserted++; } document.write("</b></font></td>") } document.write("</tr>"); } document.write("</table><a href='http://webcp.es.tl'><font color=#000000>.</font></a>"); // End --> </script></td></tr> </table></center>