//********************************************************
//** Victor Mod (3/10/03): Displaying a nicer looking date
//********************************************************
function MakeArray(n) 
{
    this.length = n;
    return this;
}
var monthNames = new MakeArray(12);
monthNames[1] = "January";
monthNames[2] = "February";
monthNames[3] = "March";
monthNames[4] = "April";
monthNames[5] = "May";
monthNames[6] = "June";
monthNames[7] = "July";
monthNames[8] = "August";
monthNames[9] = "September";
monthNames[10] = "October";
monthNames[11] = "November";
monthNames[12] = "December";

function dateMod(date,template) 
{
	var date = date;
	var mdate = date.split("-");
	var numMonth = mdate[1];
	if (numMonth.charAt(0) == "0"){
		numMonth = numMonth.charAt(1);
	}	
	var day = mdate[2];
	if (day.charAt(0) == "0"){
		day = day.charAt(1);
	}	
	var year = mdate[0];
    var month = monthNames[numMonth];

	if (template == "player"){
		return month + " " + day + ", " + year;
	} else if (template == "transcript"){
		modDate = month + " " + day + ", " + year;
	}
}

//********************************************************
//** End Date Mod
//********************************************************