﻿// JScript 文件


    function createXMlHttpRequest()
    {        
		var httpOb;
		try
		{
		    httpOb = new XMLHttpRequest();
		}
		catch(e)
		{
		    try
		    {
		        httpOb = new ActiveXObject("Msxml2.XMLHTTP");
		    }
		    catch(e)
		    {
		        httpOb = new ActiveXObject("Microsoft.XMLHTTP");
		    }
		}
		return httpOb;
    }
    function createXMlDoc()
    {        
		var xmlDoc;
		try
		{
		    xmlDoc = new ActiveXObject('Microsoft.XMLDOM');
		}
		catch(e)
		{
		    try
		    {
		        xmlDoc = document.implementation.createDocument('', '', null);
		    }
		    catch(e)
		    {
		        xmlDoc = null;
		    }
		}
		return xmlDoc;
    }