function GoCheckup_test() //
{
	
} 
function GoCheckup() //
{

    var url = '/@include/b_checkup.asp';
    var resultProcessMethod = 'viewSearchKeywordResult'; 
        
    xmlHttpPost(url,resultProcessMethod);
} 

function viewSearchKeywordResult(result)
{
var strV = result ; //Á¡°Ë Á¤º¸¸¦ °¡Á®¿Â´Ù.
if (strV !=""){
 Call_alert(strV); // Á¡°Ë °æ°íÃ¢ ÇÔ¼ö È£Ãâ
}
if (strV ==""){
 Call_move(); // °ÔÀÓ½ÇÇà ÇÔ¼ö È£Ãâ
}
}

function xmlHttpPost(actionUrl, resultFunction) //XML Åë½ÅÀ¸·Î Á¡°Ë Á¤º¸¸¦ Ã¼Å©ÇÑ´Ù.
{
    var xmlHttpRequest = false;
    
    //IEÀÎ°æ¿ì
    if(window.ActiveXObject)
    {
        xmlHttpRequest = new ActiveXObject('Microsoft.XMLHTTP');
    }
    else
    {
        xmlHttpReq = new XMLHttpRequest();
        xmlHttpReq.overrideMimeType('text/xml');
    }    
            
    xmlHttpRequest.open('POST', actionUrl, true);
    xmlHttpRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    xmlHttpRequest.onreadystatechange = function() {
        if(xmlHttpRequest.readyState == 4)
        {
            switch (xmlHttpRequest.status) 
            {
                case 404:
                    alert('ÁË¼ÛÇÕ´Ï´Ù. ¿À·ù°¡ ¹ß»ýÇÏ¿´½À´Ï´Ù.');
                    break;
               case 500:
                   alert('ÁË¼ÛÇÕ´Ï´Ù. ¿À·ù°¡ ¹ß»ýÇÏ¿´½À´Ï´Ù.');
                   break;     
               case 200:
                   eval(resultFunction + '(xmlHttpRequest.responseText);');
                   break;        
            }            
        }
    }
    
    xmlHttpRequest.send();         
               
}  

function Call_alert(strV){
	
	alert('Áö±ÝÀº º¸´Ù ¿øÈ°ÇÑ °ÔÀÓ ÀÌ¿ëÀ» À§ÇØ\n¼­¹ö¸¦ Á¡°Ë Áß ÀÔ´Ï´Ù..\nÁ¡°ËÀÌ ³¡³­ ÈÄ Á¢¼Ó ¹Ù¶ø´Ï´Ù.\nÁ¡°Ë±â°£ : '+strV);
	return false;
	}
function Call_move(){	
    //document.all.if_gameStart.src = '/launcher/account_proc.asp';
	location.href="/launcher/account_proc.asp";
}	

// ºñÈ¸¿ø °ÔÀÓ½ÃÀÛ ¹öÆ° Å¬¸¯ ½Ã
// ÀÛ¼ºÀÚ ¼ÕÁö¿î, 2009-4-3
function LoginAlert() {
	alert('·Î±×ÀÎ ÈÄ ÀÌ¿ëÇØÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.');
	document.loginForm.user_id.focus();
}

function WinPopOpen(url,width,height) {
		window.open(url, "mission1","titlebar = no, toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + width + ",height=" + height);
}