<!--
/*
 Java Script Calendar is a small script for web pages which displays current Day of the week, Month, Date and Year along with Holidays notification. Just like this working demo below. It will work with Netscape 2++, Microsoft 3++ and Opera 3++ web browsers.   

About 70 holidays from all over the world are displayed by Calendar (if you know other ones, let me know, I will add them). It even calculates Easter Sunday date! To see how it works change the date on your computer to January, 1,
for example and re-load the page.
*/
	function datetime_current_birthdates( dateColor, festivityColor, separatorChar, showDate )
	{
		function setDefault( variable, defaultVariable )
		{
			if ( variable == "" )
				return defaultVariable;
			return variable
		}

		function isDate( xMonth, xDate, msg, URL )
		{
            if (  ( month ==  xMonth )  &&  ( date ==  xDate )  )
			{
	            document.write(separatorChar);
				//if ( URL.length > 0 )
				//	document.write('[ <a href="' + URL + '" target="_blank" style="color:' + festivityColor + '">');
				document.write(msg);
	            //if ( URL.length > 0 )
				//	document.write('</a> ]');
			}
		}


		defaultDateColor 		= "";
		defaultFestivityColor 	= "";
		defaultSeparatorChar	= "<br />";
		defaultShowDate         = true;

		dateColor 		= setDefault( dateColor, 		defaultDateColor );
		festivityColor 	= setDefault( festivityColor, 	defaultFestivityColor );
		separatorChar	= setDefault( separatorChar, 	defaultSeparatorChar );
		//showDate 		= setDefault( showDate, 		defaultShowDate );

		calendar 		= new Date();
		day 			= calendar.getDay();
		month 			= calendar.getMonth();
		date 			= calendar.getDate();
		year 			= calendar.getYear();
		if ( year < 1000 )
			year += 1900;
		cent 			= parseInt( year / 100 );
		g 				= year % 19;
		k 				= parseInt(  ( cent - 17 )  /  25  );
		i 				= (   cent   -   parseInt( cent / 4 )   -   parseInt(  ( cent - k )  /  3  )   +   19   *   g   +   15  ) % 30;
		i 				= i   -   parseInt( i / 28 )   *   (  1   -   parseInt( i / 28 )   *   parseInt(  29  /  ( i + 1 )  )   *   parseInt(  ( 21 - g )  /  11  )   );
		j	 			= (  year  +  parseInt( year / 4 )  +  i  +  2  -  cent  +  parseInt( cent / 4 )  )   %   7;
		l 				= i - j;
		emonth	 		= 3   +   parseInt(  ( l + 40 )  /  44  );
		edate 			= l   +   28   -   31   *   parseInt(  ( emonth / 4 )  );
		emonth--;
		if (showDate)
		{
			var dayname 	= new Array ("Domingo", "Lunes", "Martes", "Mi&eacute;rcoles", "Jueves", "Viernes", "S&aacute;bado");
			var monthname 	= new Array ("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre" );
			document.write('<font color="' + dateColor + '">' + dayname[day] + ', ');
/*
			if ( date < 10 )
				document.write("0");
*/
			document.write(date);
			document.write(" de ");
			document.write(monthname[month] + ", ");
			document.write(year + '</font>');
		}
		document.write('<font color="' + festivityColor + '">\n');

	// January
		isDate(  0, 27, "Romelia Ochoa")
	// February
		isDate(  1,  2, "JC")
		isDate(  1,  9, "Alejandra Tarango")
		isDate(  1, 16, "Sandra Chapa")
	// March
		isDate(  2, 11, "Jes&uacute;s Miguel Terrazas")
		isDate(  2, 19, "Maricela Leal")
		isDate(  2, 24, "Gaby Gonz&aacute;lez")
		isDate(  2, 29, "Ricardo Mart&iacute;nez")
	// May
		isDate(  4,  3, "Elvira Arras")
	// June
		isDate(  5, 13, "Ivet S&aacute;nchez")
	// July
		isDate(  6,  1, "Cristy C&aacute;rdenas")
		isDate(  6,  8, "Mirna Ram&iacute;rez")
		isDate(  6, 10, "Omar Ochoa")
	// August
		isDate(  7, 18, "Perla Ortiz")
	// September
		isDate(  8, 30, "Esthela Pi&ntilde;&oacute;n")
	// October
		isDate(  9, 17, "Fernando Escobedo")
		isDate(  9, 28, "Emma Raynal")
	// November
		isDate( 10, 14, "Teresa Rubalcaba")
		isDate( 10, 26, "Margarita Rivera")
		document.write('</font>');
	}
-->
