<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// Modificado, traducido y formateado al Espanol por Capeli
// ==============================================

// Se puede ajustar el tipo de Font, el color, tamano, estilo...

// Los valores aceptables para TheFontFace son aquellos que
// normalmente se usan en HTML, por ejemplo:
//     Arial
//     TimesRoman
//     Courier

// Los valores aceptables para TheFontColor son cualquier #RRGGBB
// usado en HTML. Hay que recordar usar el signo # y encerrar todo entre comillas.
// Ejemplos:
//     #FF0000 es rojo
//     #00FF00 es verde
//     #0000FF es azul

// Los valores aceptables para TheFontSize estan entre 2-7.

// Los valores aceptables para TheFontStyle son (unicamente!):
//     plain
//     bold
//     italic
//     bolditalic

var TheFontFace  = "Arial";
var TheFontColor = "#1E3F26";
var TheFontSize  = "1";
var TheFontStyle = "bold"; 

// Esto ajusta el separador entre los elementos de la fecha;

var TheSeparator = " de ";

// Se muestra o no el dia de la semana; utilizar
// yes para mostrarlo, no para ocultarlo.

var ShowDay ="yes";

// NO EDITAR A PARTIR DE ESTE PUNTO
// ==============================================

var Days = new Array("Domingo","Lunes","Martes","Mi&eacute;rcoles","Jueves","Viernes","S&aacute;bado");
var TheDate = new Date();

var TheWeekDay = TheDate.getDay();
var Day ="";
if (ShowDay == "yes"){
    Day = Days[TheWeekDay];
    Day += " ";}

var TheMonth = TheDate.getMonth() + 1;
if (TheMonth < 10) TheMonth = "0" + TheMonth;

var TheMonthDay = TheDate.getDate();
if (TheMonthDay < 10) TheMonthDay = "0" + TheMonthDay;

var TheYear = TheDate.getYear();
if (TheYear < 1000) TheYear += 1900;

var FontTagLeft  = "";
var FontTagRight = "";

if (TheFontStyle == "bold"){
    FontTagLeft = "<b>";
    FontTagRight ="</b>";}
    
if (TheFontStyle == "italic"){
    FontTagLeft = "<i>";
    FontTagRight ="</i>";}
    
if (TheFontStyle == "bolditalic"){
    FontTagLeft = "<b><i>"; 
    FontTagRight = "</i></b>";}

if(TheMonth == 1){
TheMonth = "Enero";
}else{
	if(TheMonth == 2){
	TheMonth = "Febrero";
	}else{
		if(TheMonth == 3){
		TheMonth = "Marzo";
		}else{
			if(TheMonth == 4){
			TheMonth = "Abril";
			}else{
				if(TheMonth == 5){
				TheMonth = "Mayo";
				}else{
					if(TheMonth == 6){
					TheMonth = "Junio";
					}else{
						if(TheMonth == 7){
						TheMonth = "Julio";
						}else{
							if(TheMonth == 8){
							TheMonth = "Agosto";
							}else{
								if(TheMonth == 9){
								TheMonth = "Setiembre";
								}else{
									if(TheMonth == 10){
									TheMonth = "Octubre";
									}else{
										if(TheMonth == 11){
										TheMonth = "Noviembre";
										}else{
											if(TheMonth == 12){
											TheMonth = "Diciembre";
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}    

var D = "";
//D += "<font color='"+TheFontColor+"' face='"+TheFontFace+"' size='"+TheFontSize+"'>";
D += FontTagLeft+Day+TheMonthDay+TheSeparator+TheMonth+TheSeparator+TheYear+FontTagRight;
//D += "</font>";

document.write(D);

//-->
