function seach_season(seasonF, seasonT, pid) {
	document.getElementById("season_view").innerHTML  = "<p align=left>&nbsp;<font color=\"#000000\" face=verdana size=2><b>Loading result....</b></font></p>";
	var url = "includes/search_season.php?from=" + escape(seasonF) + "&to=" + escape(seasonT) + "&pid=" + escape(pid); 
	http.open("GET", url, true); 
	http.onreadystatechange = handleHttpResponse_seach_keyword; http.send(null);
}

function handleHttpResponse_seach_keyword() { 
	if (http.readyState == 4){ 
		results = http.responseText; 
		document.getElementById("season_view").innerHTML = results;
	} 
}

function getHTTPObject() {
  var xmlhttp;
  /*@cc_on
  @if (@_jscript_version >= 5)
	try {
	  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
	  try {
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	  } catch (E) {
		xmlhttp = false;
	  }
	}
  @else
  xmlhttp = false;
  @end @*/
	if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
		try {
			xmlhttp = new XMLHttpRequest();
		} catch (e) {
			xmlhttp = false;
		}
	}
	return xmlhttp;
}

var http = getHTTPObject(); // We create the HTTP Object