		function XmlHttp()
		{
			var xmlHttp=null;
			
			try
			{
				// Firefox, Opera 8.0+, Safari
				xmlHttp=new XMLHttpRequest();
			}
			catch (e)
			{
				// Internet Explorer
				try
				{
					xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
				}
				catch (e)
				{
					xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
				}
			}
			return xmlHttp;

/*
var xmlHttp;
function createXMLHttpRequest() {
    if (window.XMLHttpRequest) { // 如果可以取得XMLHttpRequest
        xmlHttp = new XMLHttpRequest();  // Mozilla、Firefox、Safari 
    }
    else if (window.ActiveXObject) { // 如果可以取得ActiveXObject
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); // Internet Explorer
    }
}
createXMLHttpRequest()
if(xmlHttp) {
    // do request
else {
    alert("您的瀏覽器不支援這個Ajax程式的功能");
}*/
			
		}

		function AjaxGoto(url)
		{
			if (navigator.appName.indexOf('Internet Explorer') > 0)
			{
				Ajax = false
			}
			else
			{
				Ajax = true
			}
			
			xmlHttp=XmlHttp();

			xmlHttp.onreadystatechange=stateChanged;

			xmlHttp.open("GET",url,Ajax);
//			xmlHttp.open("GET",url,true);
			xmlHttp.send(null);

			function stateChanged() 
			{ 
				if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
				{ 
					TheShowTable = document.getElementById("PageCenter");
					TheShowTable.innerHTML = xmlHttp.responseText;
				} 
			}
		}

