
function isXmlHttpRequestAvailable(){
    /* XMLHttpRequestオブジェクト作成 */
    var xmlhttp=false;
    try {
        if(typeof ActiveXObject!="undefined"){ /* IE5, IE6 */
            try {
                xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); /* MSXML3 */
                return true; 
            }
            catch(e){
                xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); /* MSXML2 */
                return true;
            }
        }
        
        if(!xmlhttp && typeof XMLHttpRequest!="undefined"){
            xmlhttp=new XMLHttpRequest(); /* Firefox, Safari, IE7 */
            return true;
        }
        if(!xmlhttp){
            return false;
        }
 
    }
    catch(e) {
        return false;
    }
}
if (!isXmlHttpRequestAvailable()) {
	location.href = "/error_browser.html";
};

