﻿function GetXmlHttpObject()
{
    if (window.XMLHttpRequest) { // Mozilla, Safari, ...
        httpRequest = new XMLHttpRequest();
        if (httpRequest.overrideMimeType) {
            httpRequest.overrideMimeType('text/xml');
        }
    } 
    else if (window.ActiveXObject) { // IE
        try {
            httpRequest = new ActiveXObject("Msxml2.XMLHTTP");
        }catch (e) {
            try {
                httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
            }catch (e)
            {
            }
        }
    }

    if (!httpRequest) {
        alert('Giving up :( Cannot create an XMLHTTP instance');
        return false;
    }
    return httpRequest;
}

//地図データクラス
function geomInfo(){
    this.aplUseNo=null;
    this.geomNo=null;
    this.contentNo=null;
    this.title=null;
    //this.thumImg=null;
    this.bunruiId = null;
    //this.address = null;
    this.x = null;
    this.y = null;
    //this.angoFolderKey = null;
    //this.angoFileKey = null;
    this.pointType = null;
}
