var xmlHttp_Memo;

//XMLHttpRequest °´Ã¼»ý¼º
function createXMLHttpRequest_Memo() { 
    if (window.ActiveXObject) {
        xmlHttp_Memo = new ActiveXObject("Microsoft.XMLHTTP");
    } 
    else if (window.XMLHttpRequest) {
        xmlHttp_Memo = new XMLHttpRequest();
    }
}
//ÀÔ·Â°ª AJAXÀü¼ÛÃ³¸®ÇÏ´Â ºÎºÐ
function startRequest_Memo(){	 	
	createXMLHttpRequest_Memo(); 
	xmlHttp_Memo.onreadystatechange = Memo_handle;  
	xmlHttp_Memo.open("GET", "/common/Ajax/GetMemo.asp", true);  
	xmlHttp_Memo.setRequestHeader('Content-TDetaile', 'application/x-www-form-urlencoded; charset=euc-kr'); 
	xmlHttp_Memo.send(null);  
}

//µ¥ÀÌÅÍ ¹Þ¾Æ¿À´Â ºÎºÐ
function Memo_handle(){
    if(xmlHttp_Memo.readyState == 4) {
        if(xmlHttp_Memo.status == 200) {
            results = xmlHttp_Memo.responseText;
            if(results!=''){
				if(results.indexOf('NoList')>0) {
					document.getElementById("Layer_Memo").style.display="none";
				}
				else { 
					document.getElementById("layer_maquee3").innerHTML = results;
					document.getElementById("Layer_Memo").style.display="";
				}
			}
        }
    }
}
