<script>
function getrequest()
{
	var http = null;;
	try
	{
		http=new XMLHttpRequest();
	}

	catch(e)
	{
		try
		{
			http = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch(e)
		{
			try
			{
				http = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch(e)
			{
				alert("Ajax Cant support");
				return false;
			}
			return http;
		}
		return http;
	}
	return http;
}

function showseasons()
{
 	http = getrequest();
	var year;
 	year =document.getElementById('year').value;
  	http.onreadystatechange=stateChanged;
  	http.open("GET","http://www.wydaily.com/index.php?option=com_fastball&tmpl=component&view=getseasons&year="+year,true);
	http.send(null);
}
function stateChanged() 
{ 
	if (http.readyState==4)
	{ 
		document.getElementById("sportsid").innerHTML=http.responseText;
	}
}
</script>
BEGIN:VCALENDAR
PRODID:-//Fastball Productions//NONSGML v1.0//EN
VERSION:2.0
BEGIN:VEVENT
DTSTART:20100903T190000
DTEND:20100903T210000
DTSTAMP:20120517T002001
UID:a684eceee76fc522773286a895bc843654@www.wydaily.com
CREATED:20120517T002001
DESCRIPTION:Smithfield Packers vs. Surry County Cougars , Game Completed
LOCATION:Home site
SUMMARY:Smithfield Packers vs. Surry County Cougars
END:VEVENT
BEGIN:VEVENT
DTSTART:20100910T190000
DTEND:20100910T210000
DTSTAMP:20120517T002001
UID:6f4922f45568161a8cdf4ad2299f6d2318@www.wydaily.com
CREATED:20120517T002001
DESCRIPTION:Surry County Cougars vs. Grafton Clippers , Game Completed
LOCATION:Bailey Field
SUMMARY:Surry County Cougars vs. Grafton Clippers
END:VEVENT
END:VCALENDAR

