var wdays = new Array();
var wmsgs = new Array();

wdays[0] = "February 20, 2005";
wmsgs[0] = "February 13 to 19<br>" +
"Feb 17/99 - Tough 4-3 loss in game 1 of semis vs. Apocalypse Now<br>" +
"Feb 15/00 - 6-5 shootout win in game 1 of semis vs. Freezer Burn<br>" +
"Feb 19/00 - shootout loss game 2 of semis vs. Freezer Burn<br>" + 
"Feb 14/01 - devastating 8-2 loss in final reg season loss to Revenge<br>" + 
"Feb 17/01 - The Mad Agents win game 1 Semi-finals<br>" + 
"Feb 18/01 - The Mad Agents sweep the Semi-finals<br>" + 
"Feb 17/02 - 3-0 loss to Creepers in 'Slush-ball', Yos was ejected.<br>" +
"Feb 19/02 - Stingers Win game 1 over Shoppers 4-2 in semi-finals<br>" + 
"Feb 14/03 - Shoppers Optical fails to show up. Stingers Win<br>" +
"Feb 14/03 - Tough loss to WFB Moustachios. Final 6-5<br>"; 
wdays[1] = "February 27, 2005";
wmsgs[1] = "Feb 20/00 - Game 3 WIN. 3-2 over Freezer Burn to advance to Finals<br>" +
"Feb 20/99 - Apocalypse Now eliminate the Stingers in 2 with 8-7 win.<br>" +
"Feb 20/00 - Stingers finish Freezer Burn in a game 3 battle. 3-2 Win<br>" +
"Feb 24/02 - Shoppers are swept in 2 as Stingers in win in shootout.<br>" +
"Feb 21/03 - Stingers and Shoppers meet again and Stingers win 5-1<br>" +
"Feb 22/03 - Stingers complete the sweep with 5-0 shutout in game 2.<br>" +
"Feb 21/04 - Six Gun Justice wins game 1 in shootout of the semis<br>" +
"Feb 22/04 - Another shootout win as Six Gun Justice sweep the Stingers.<br>";
wdays[2] = "March 6, 2005";
wmsgs[2] = "Apr 9/00 - Stingers win A-side championship in an indoor battle against Revenge!<br>" +
"Feb 27/02 - Cacti win Game 1 in finals with 3-2 win.<br>" +
"Mar 1/02 - Stingers tie series at 1 with 5-2 dominating win.<br>" +
"Mar 3/02 - Stingers win Division 10 A-side championship!<br>" +
"Feb 28/03 - Stingers win game 1 aganist the Generals in the finals.<br>" +
"Mar 1/03 - Stingers sweep the Generals for back-to-back championships.<br>";

var months = new Array("", 
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
);

var today = new Date(); // today
var CurrentMon = months[today.getMonth() + 1]; // month
var CurrentDay = today.getDate(); // day
var CurrentYear = y2k(today.getYear()); // year

function dateWMsg() {
for (i = 0; i < wdays.length; i++) {
	tempdate = new Date(wdays[i]);
	tempmonth = months[tempdate.getMonth() + 1];
	tempday = tempdate.getDate();
	tempyear = y2k(tempdate.getYear());
	
	if (CurrentYear == tempyear && CurrentMon == tempmonth && CurrentDay <= tempday)
		{return("<br><b>This Week in Stingers History</b><br>" + wmsgs[i]);} 
	else if (CurrentYear == tempyear && CurrentMon == tempmonth)
		{"playoffs soon!"}
	else {"playoffs soon!"}
	}
}

//if (CurrentYear == tempyear && CurrentMon == tempmonth && CurrentDay == tempday)
//	if (CurrentYear == tempyear && CurrentMon == tempmonth && CurrentDay <= tempday)
//return(wdays[i] + "<br>" + wmsgs[i]);

// Y2K Fix Function
function y2k(CurrentYear) {
if (CurrentYear < 2000)		
	CurrentYear = CurrentYear + 1900;
return CurrentYear;
}


//"Feb 19/00 - shootout loss Game 2 of semi-finals vs. Freezer Burn<br>";

