<!--

function GetDay(nDay)
{
	var Days = new Array("Sunday","Monday","Tuesday","Wednesday",
	                     "Thursday","Friday","Saturday");
	return Days[nDay]
}

function GetMonth(nMonth)
{
	var Months = new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio",
	                       "Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
	return Months[nMonth] 	  	 
}

function DateString()
{
	var Today = new Date();
	var suffix = "th";
	switch (Today.getDate())
	{
		case 1:
		case 21:
		case 31: 
			suffix = "st"; break;
		case 2:
		case 22:
			suffix = "nd"; break;
		case 3:
		case 23:
			suffix = "rd"; break;
	};

	var neoyear = Today.getYear();
	if (neoyear < 1000) neoyear = 1900 + neoyear;
	var strDate = GetMonth(Today.getMonth())+ " " + Today.getDate();
	strDate += ", " + neoyear;
	return strDate
}

var win = null

function Popup(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function blowOut() {
  if (win != null && win.open) win.close();
}
window.onfocus=blowOut;

//-->