	<script>		
	   	function REQUEST_RESULT(IS_SUCCESS, RESPONSE_STRING)
   		{
   			if(IS_SUCCESS === true)
   			{
   				//var JO = JSRC_JSON.REF_CREATE(RESPONSE_STRING);
   				//alert("SUCCESS: \n" + JSRC_JSON.REF_READ(JO, 'ACTION_NAME'));
   				//alert("SUCCESS: \n" + JSRC_JSON.REF_READ_ARRAY(JO, 'ACTION_NAME', '1'));
   				//if(JSRC_JSON.REF_IS_SUCCESS(JO) === true)
   				
   				
   				alert("SUCCESS: \n" + RESPONSE_STRING);
   				JSOC_ELEMENT.VAR_VALUE("HTTP_RESULT", RESPONSE_STRING);
   			}
   			else
   			{
   				alert("ERROR: \n" + RESPONSE_STRING);
   			}
   		}
   		
   		// Handle Login
   		function SANDBOX_LOGIN()
   		{
			PARAM_SET = JSRC_HTTP.REF_ADD('', 'PARAM_ACCOUNT_USERNAME', 'admin');
			//PARAM_SET = JSRC_HTTP.REF_ADD('', 'PARAM_ACCOUNT_USERNAME', 'tester');
			PARAM_SET = JSRC_HTTP.REF_ADD(PARAM_SET, 'PARAM_ACCOUNT_PASSWORD', '123456');

			CUS_SEND_REQUEST
		    (
		    	REQUEST_RESULT,
	         	'<!--[#SITE_URL;]-->/Account/member/login',
	            '<!--[#SITE_URL;]-->/System/nonce/get',
	            PARAM_SET
	   		);	
   		}
   		
     	// Handle Logout
   		function SANDBOX_LOGOUT()
   		{
  			CUS_SEND_REQUEST
		    (
		    	REQUEST_RESULT,
	         	'<!--[#SITE_URL;]-->/Account/member/logout',
	            '<!--[#SITE_URL;]-->/System/nonce/get',
	            PARAM_SET
	   		);
   		} 	
	</script>