    var xmlHttp = false;
    function createXMLHttpRequest()
    {
    	if(window.ActiveXObject){
    		try {
    			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP") ;
    		} catch (e) {
    			try {
    				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP") ;
    			} catch (e2) {
    				xmlHttp = false;
    			}
    		}
    	} else if(window.XMLHttpRequest){
    		xmlHttp = new XMLHttpRequest() ;
    	} else {
    		xmlHttp = false;
    	}
    }
    
    function Ajax_Request(method,URL,param,async,re_func){
    	createXMLHttpRequest();
    	if(method == 'GET'){
    		URL = URL +"?"+ param
    	}
    	xmlHttp.open(method,URL,async);  
    	xmlHttp.onreadystatechange = function(){
    		callback(re_func);
    	}
    	if(method == 'GET'){
    		xmlHttp.send(null);
    	}else if(method == 'POST'){
    		xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=euc-kr");
    		xmlHttp.send(param);
    	}
    }
    
    function callback(re_func){
    	if(xmlHttp.readyState == 4){
    		if(xmlHttp.status == 200){
    		    if(xmlHttp.responseText != ""){
    				var response = xmlHttp.responseText;
    			    re_func(response);    				
    			}
    		}
    	}
    }
