function TestServerApply()
{
 
        $.post("Event/20100722/AjaxArea.asp", "", 						  
	    function (data, status) {		  
		    switch(data.ret)
		    {
			    case 0:
				    Success();
				    break;
			    case 1:
				    NotLogin();
				    break;
			    case 2:
				    NotApply();
				    break;
			    default:
				    Error();					
				    break;
		    }

	    },"json");
    
}

function Success(){
    alert("½ÅÃ»ÀÌ ¿Ï·á µÇ¾ú½À´Ï´Ù.");
}

function NotLogin(){
    alert("·Î±×ÀÎ ÈÄ ½ÅÃ» °¡´ÉÇÕ´Ï´Ù.");
}

function NotApply(){
    alert("ÀÌ¹Ì Å×½ºÆ® ¼­¹ö¿¡ ½ÅÃ»À» ÇÏ¿´½À´Ï´Ù.");
}

function Error(){
    alert("¿¡·¯¹ß»ý");
}


